Commit c6564bf21c for woocommerce
commit c6564bf21cc6db1cb3e0330a28382b17b32ac0a7
Author: louwie17 <lourensschep@gmail.com>
Date: Wed Dec 3 09:08:59 2025 +0100
Add PHPStan analysis Github action to the WooCommerce plugin (#62064)
* Add phpstan analysis
* Update config and baseline
* Add Github action for PHPStan analysis
* Add phpstan files to the distignore
* Fix missing feature config file when using phpstan
* Add optional to feature config path
* Update memory limit and processes
* Skip php stubs with linting and update README
* Add changelog
* Update to use PHP 7.4
* Use pnpm to run phpstan instead
* Update baseline
* Update baseline with PHP 7.4 run
* Remove extension installer and load extension directly
* Update composer.lock to sync with composer.json after rebase
- Update php-stubs/wordpress-stubs constraint to ^6.8 and lock to v6.8.3
- Update woocommerce/monorepo-plugin to current branch
- Remove phpstan/extension-installer (per previous commit)
* Use newer PHP version when running phpstan
PHPStan can be configured to run on older PHP versions, but the installed PHP binary can be of a newer version
PHPStan internally assesses the code with older syntax.
This allows us to update to a newer version of - php-stubs/wordpress-stubs
* Update phpstan-baseline.neon
---------
Co-authored-by: Nikhil <nikhil.chavan@automattic.com>
Co-authored-by: Chi-Hsuan Huang <chihsuan.tw@gmail.com>
diff --git a/.github/workflows/phpstan.yml b/.github/workflows/phpstan.yml
new file mode 100644
index 0000000000..26e0994120
--- /dev/null
+++ b/.github/workflows/phpstan.yml
@@ -0,0 +1,65 @@
+name: 'PHPStan Analysis'
+
+on:
+ pull_request:
+ paths:
+ - 'plugins/woocommerce/**/*.php'
+ - 'plugins/woocommerce/composer.json'
+ - 'plugins/woocommerce/composer.lock'
+ - 'plugins/woocommerce/phpstan.neon'
+ - 'plugins/woocommerce/phpstan-baseline.neon'
+ push:
+ paths:
+ - 'plugins/woocommerce/**/*.php'
+ - 'plugins/woocommerce/composer.json'
+ - 'plugins/woocommerce/composer.lock'
+ - 'plugins/woocommerce/phpstan.neon'
+ - 'plugins/woocommerce/phpstan-baseline.neon'
+ branches:
+ - 'trunk'
+ - 'release/*'
+
+concurrency:
+ group: phpstan-${{ github.event_name == 'push' && github.run_id || github.event_name }}-${{ github.ref }}
+ cancel-in-progress: true
+
+env:
+ FORCE_COLOR: 1
+
+jobs:
+ phpstan:
+ name: 'PHPStan Analysis'
+ runs-on: ubuntu-latest
+ steps:
+ - uses: 'actions/checkout@v4'
+ name: 'Checkout'
+
+ - uses: './.github/actions/setup-woocommerce-monorepo'
+ id: 'setup-monorepo'
+ with:
+ install: '@woocommerce/plugin-woocommerce...'
+ pull-package-deps: '@woocommerce/plugin-woocommerce'
+ php-version: '8.4'
+
+ - name: 'Create tmp directory'
+ working-directory: plugins/woocommerce
+ run: mkdir -p tmp
+
+ - name: 'Restore PHPStan result cache'
+ uses: actions/cache/restore@v4
+ with:
+ path: plugins/woocommerce/tmp
+ key: phpstan-result-cache-${{ github.run_id }}
+ restore-keys: |
+ phpstan-result-cache-
+
+ - name: 'Run PHPStan'
+ working-directory: plugins/woocommerce
+ run: pnpm --filter='@woocommerce/plugin-woocommerce' phpstan
+
+ - name: 'Save PHPStan result cache'
+ uses: actions/cache/save@v4
+ if: ${{ !cancelled() }}
+ with:
+ path: plugins/woocommerce/tmp
+ key: phpstan-result-cache-${{ github.run_id }}
diff --git a/plugins/woocommerce/.distignore b/plugins/woocommerce/.distignore
index e5798c7e38..52942c0067 100644
--- a/plugins/woocommerce/.distignore
+++ b/plugins/woocommerce/.distignore
@@ -45,3 +45,6 @@ webpack.config.js
/client/legacy/
/client/admin/
/client/blocks/
+phpstan.neon
+phpstan-baseline.neon
+/php-stubs/
diff --git a/plugins/woocommerce/README.md b/plugins/woocommerce/README.md
index f9eaae6e2a..513a1d4a69 100644
--- a/plugins/woocommerce/README.md
+++ b/plugins/woocommerce/README.md
@@ -16,7 +16,7 @@ If you are not a developer, please use the [WooCommerce plugin page](https://wor
Ensure your system meets [the requirements](../../README.md#getting-started) (TLDR: NVM, PNPM, PHP 7.4+, Composer are required for development).
-Depending on the preferred environment for running the development instance of WooCommerce, you might need [Docker](https://docs.docker.com/get-docker/) as well. You can learn more about supported environments [here](https://developer.woocommerce.com/docs/setting-up-your-development-environment/).
+Depending on the preferred environment for running the development instance of WooCommerce, you might need [Docker](https://docs.docker.com/get-docker/) as well. You can learn more about supported environments [here in the developer docs](https://developer.woocommerce.com/docs/setting-up-your-development-environment/).
Once you have verified the prerequisites, you can start the development environment:
@@ -77,12 +77,26 @@ pnpm run --filter='@woocommerce/block-library' lint
pnpm run --filter='@woocommerce/block-library' test
```
+## PHP Code Analysis
+
+WooCommerce uses [PHPStan](https://phpstan.org/) for static analysis of PHP code. PHPStan helps catch bugs and type errors before runtime.
+
+```bash
+# Run PHPStan analysis on the WooCommerce plugin.
+composer phpstan
+
+# Generate a baseline file to ignore existing errors (useful for initial setup).
+composer phpstan:baseline
+```
+
+PHPStan configuration is stored in `phpstan.neon` at the root of the plugin directory. The analysis runs at level 9 (the strictest level) and includes WordPress-specific stubs via the `szepeviktor/phpstan-wordpress` extension.
+
## Documentation
-- [WooCommerce Documentation](https://woocommerce.com/)
-- [WooCommerce Developer Documentation](https://github.com/woocommerce/woocommerce/wiki)
-- [WooCommerce Code Reference](https://woocommerce.com/wc-apidocs/)
-- [WooCommerce REST API Docs](https://woocommerce.github.io/woocommerce-rest-api-docs/)
+- [WooCommerce Documentation](https://woocommerce.com/)
+- [WooCommerce Developer Documentation](https://github.com/woocommerce/woocommerce/wiki)
+- [WooCommerce Code Reference](https://woocommerce.com/wc-apidocs/)
+- [WooCommerce REST API Docs](https://woocommerce.github.io/woocommerce-rest-api-docs/)
## Reporting Security Issues
diff --git a/plugins/woocommerce/changelog/add-phpstan b/plugins/woocommerce/changelog/add-phpstan
new file mode 100644
index 0000000000..5f310f6c80
--- /dev/null
+++ b/plugins/woocommerce/changelog/add-phpstan
@@ -0,0 +1,4 @@
+Significance: minor
+Type: dev
+
+Add PHPStan analyze support and Github action to run on each PR.
diff --git a/plugins/woocommerce/composer.json b/plugins/woocommerce/composer.json
index 2dcf53790e..beb44a1453 100644
--- a/plugins/woocommerce/composer.json
+++ b/plugins/woocommerce/composer.json
@@ -65,9 +65,12 @@
"dms/phpunit-arraysubset-asserts": "^0.4.0",
"johnkary/phpunit-speedtrap": "*",
"mockery/mockery": "1.6.6",
+ "php-stubs/wordpress-stubs": "^6.8",
+ "phpstan/phpstan": "^2.1",
"phpunit/phpunit": "^9.6",
"sebastian/comparator": "^4.0",
"spatie/phpunit-watcher": "^1.23",
+ "szepeviktor/phpstan-wordpress": "^2.0",
"woocommerce/monorepo-plugin": "*",
"yoast/phpunit-polyfills": "^2.0"
},
@@ -153,6 +156,12 @@
],
"build-lib": [
"sh ./bin/build-lib.sh"
+ ],
+ "phpstan": [
+ "vendor/bin/phpstan analyse --configuration=phpstan.neon --memory-limit=4G"
+ ],
+ "phpstan:baseline": [
+ "vendor/bin/phpstan analyse --configuration=phpstan.neon --memory-limit=4G --generate-baseline=phpstan-baseline.neon"
]
},
"extra": {
@@ -167,6 +176,8 @@
"test": "Run unit tests",
"phpcs": "Analyze code against the WordPress coding standards with PHP_CodeSniffer",
"phpcbf": "Fix coding standards warnings/errors automatically with PHP Code Beautifier",
+ "phpstan": "Run PHPStan static analysis on the WooCommerce plugin",
+ "phpstan:baseline": "Generate a PHPStan baseline file to ignore existing errors",
"makepot-audit": "Generate i18n/languages/woocommerce.pot file and run audit",
"makepot": "Generate i18n/languages/woocommerce.pot file"
},
diff --git a/plugins/woocommerce/composer.lock b/plugins/woocommerce/composer.lock
index 0dbfd928b8..6285916724 100644
--- a/plugins/woocommerce/composer.lock
+++ b/plugins/woocommerce/composer.lock
@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
- "content-hash": "d53a02736b9464bf4de8108d46e2c77d",
+ "content-hash": "315ee6c9605b8b066188f64f63d5b320",
"packages": [
{
"name": "automattic/block-delimiter",
@@ -2425,6 +2425,110 @@
},
"time": "2022-02-21T01:04:05+00:00"
},
+ {
+ "name": "php-stubs/wordpress-stubs",
+ "version": "v6.8.3",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/php-stubs/wordpress-stubs.git",
+ "reference": "abeb5a8b58fda7ac21f15ee596f302f2959a7114"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/php-stubs/wordpress-stubs/zipball/abeb5a8b58fda7ac21f15ee596f302f2959a7114",
+ "reference": "abeb5a8b58fda7ac21f15ee596f302f2959a7114",
+ "shasum": ""
+ },
+ "conflict": {
+ "phpdocumentor/reflection-docblock": "5.6.1"
+ },
+ "require-dev": {
+ "dealerdirect/phpcodesniffer-composer-installer": "^1.0",
+ "nikic/php-parser": "^5.5",
+ "php": "^7.4 || ^8.0",
+ "php-stubs/generator": "^0.8.3",
+ "phpdocumentor/reflection-docblock": "^5.4.1",
+ "phpstan/phpstan": "^2.1",
+ "phpunit/phpunit": "^9.5",
+ "szepeviktor/phpcs-psr-12-neutron-hybrid-ruleset": "^1.1.1",
+ "wp-coding-standards/wpcs": "3.1.0 as 2.3.0"
+ },
+ "suggest": {
+ "paragonie/sodium_compat": "Pure PHP implementation of libsodium",
+ "symfony/polyfill-php80": "Symfony polyfill backporting some PHP 8.0+ features to lower PHP versions",
+ "szepeviktor/phpstan-wordpress": "WordPress extensions for PHPStan"
+ },
+ "type": "library",
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "description": "WordPress function and class declaration stubs for static analysis.",
+ "homepage": "https://github.com/php-stubs/wordpress-stubs",
+ "keywords": [
+ "PHPStan",
+ "static analysis",
+ "wordpress"
+ ],
+ "support": {
+ "issues": "https://github.com/php-stubs/wordpress-stubs/issues",
+ "source": "https://github.com/php-stubs/wordpress-stubs/tree/v6.8.3"
+ },
+ "time": "2025-09-30T20:58:47+00:00"
+ },
+ {
+ "name": "phpstan/phpstan",
+ "version": "2.1.32",
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/phpstan/phpstan/zipball/e126cad1e30a99b137b8ed75a85a676450ebb227",
+ "reference": "e126cad1e30a99b137b8ed75a85a676450ebb227",
+ "shasum": ""
+ },
+ "require": {
+ "php": "^7.4|^8.0"
+ },
+ "conflict": {
+ "phpstan/phpstan-shim": "*"
+ },
+ "bin": [
+ "phpstan",
+ "phpstan.phar"
+ ],
+ "type": "library",
+ "autoload": {
+ "files": [
+ "bootstrap.php"
+ ]
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "description": "PHPStan - PHP Static Analysis Tool",
+ "keywords": [
+ "dev",
+ "static analysis"
+ ],
+ "support": {
+ "docs": "https://phpstan.org/user-guide/getting-started",
+ "forum": "https://github.com/phpstan/phpstan/discussions",
+ "issues": "https://github.com/phpstan/phpstan/issues",
+ "security": "https://github.com/phpstan/phpstan/security/policy",
+ "source": "https://github.com/phpstan/phpstan-src"
+ },
+ "funding": [
+ {
+ "url": "https://github.com/ondrejmirtes",
+ "type": "github"
+ },
+ {
+ "url": "https://github.com/phpstan",
+ "type": "github"
+ }
+ ],
+ "time": "2025-11-11T15:18:17+00:00"
+ },
{
"name": "phpunit/php-code-coverage",
"version": "9.2.32",
@@ -5162,6 +5266,69 @@
],
"time": "2024-09-25T14:11:13+00:00"
},
+ {
+ "name": "szepeviktor/phpstan-wordpress",
+ "version": "v2.0.3",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/szepeviktor/phpstan-wordpress.git",
+ "reference": "aa722f037b2d034828cd6c55ebe9e5c74961927e"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/szepeviktor/phpstan-wordpress/zipball/aa722f037b2d034828cd6c55ebe9e5c74961927e",
+ "reference": "aa722f037b2d034828cd6c55ebe9e5c74961927e",
+ "shasum": ""
+ },
+ "require": {
+ "php": "^7.4 || ^8.0",
+ "php-stubs/wordpress-stubs": "^6.6.2",
+ "phpstan/phpstan": "^2.0"
+ },
+ "require-dev": {
+ "composer/composer": "^2.1.14",
+ "composer/semver": "^3.4",
+ "dealerdirect/phpcodesniffer-composer-installer": "^1.0",
+ "php-parallel-lint/php-parallel-lint": "^1.1",
+ "phpstan/phpstan-strict-rules": "^2.0",
+ "phpunit/phpunit": "^9.0",
+ "szepeviktor/phpcs-psr-12-neutron-hybrid-ruleset": "^1.0",
+ "wp-coding-standards/wpcs": "3.1.0 as 2.3.0"
+ },
+ "suggest": {
+ "swissspidy/phpstan-no-private": "Detect usage of internal core functions, classes and methods"
+ },
+ "type": "phpstan-extension",
+ "extra": {
+ "phpstan": {
+ "includes": [
+ "extension.neon"
+ ]
+ }
+ },
+ "autoload": {
+ "psr-4": {
+ "SzepeViktor\\PHPStan\\WordPress\\": "src/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "description": "WordPress extensions for PHPStan",
+ "keywords": [
+ "PHPStan",
+ "code analyse",
+ "code analysis",
+ "static analysis",
+ "wordpress"
+ ],
+ "support": {
+ "issues": "https://github.com/szepeviktor/phpstan-wordpress/issues",
+ "source": "https://github.com/szepeviktor/phpstan-wordpress/tree/v2.0.3"
+ },
+ "time": "2025-09-14T02:58:22+00:00"
+ },
{
"name": "theseer/tokenizer",
"version": "1.2.3",
@@ -5269,7 +5436,7 @@
},
{
"name": "woocommerce/monorepo-plugin",
- "version": "dev-fix/support-composer-update",
+ "version": "dev-add/phpstan",
"dist": {
"type": "path",
"url": "../../packages/php/monorepo-plugin",
diff --git a/plugins/woocommerce/package.json b/plugins/woocommerce/package.json
index a7c9a80a5f..1f92722674 100644
--- a/plugins/woocommerce/package.json
+++ b/plugins/woocommerce/package.json
@@ -49,6 +49,8 @@
"lint:php:changes:branch": "composer run-script lint-branch",
"lint:php:changes:staged": "composer run-script lint-staged",
"lint:php:fix": "composer run-script phpcbf",
+ "phpstan": "composer run-script phpstan",
+ "phpstan:baseline": "composer run-script phpstan:baseline",
"make:collection": "pnpm exec wc-api-tests make:collection",
"makepot": "XDEBUG_MODE=off composer run-script makepot",
"test": "pnpm test:unit",
diff --git a/plugins/woocommerce/php-stubs/wc-admin-feature-config.php b/plugins/woocommerce/php-stubs/wc-admin-feature-config.php
new file mode 100644
index 0000000000..ae4cd52731
--- /dev/null
+++ b/plugins/woocommerce/php-stubs/wc-admin-feature-config.php
@@ -0,0 +1,14 @@
+<?php
+/**
+ * Stub file for wc_admin_get_feature_config function.
+ * This file is auto-generated and git-ignored, so we provide a stub for PHPStan.
+ */
+
+/**
+ * Retrieves the feature configuration array for WooCommerce admin features.
+ *
+ * @return array<string, bool> Associative array of feature names (keys) to their enabled status (values).
+ */
+function wc_admin_get_feature_config() {
+}
+
diff --git a/plugins/woocommerce/phpcs.xml b/plugins/woocommerce/phpcs.xml
index 2309540951..342ad0d8cb 100644
--- a/plugins/woocommerce/phpcs.xml
+++ b/plugins/woocommerce/phpcs.xml
@@ -16,6 +16,7 @@
<exclude-pattern>*/node_modules/*</exclude-pattern>
<exclude-pattern>*/vendor/*</exclude-pattern>
<exclude-pattern>lib/</exclude-pattern>
+ <exclude-pattern>php-stubs/</exclude-pattern>
<!-- Only check PHP files. -->
<arg name="extensions" value="php" />
diff --git a/plugins/woocommerce/phpstan-baseline.neon b/plugins/woocommerce/phpstan-baseline.neon
new file mode 100644
index 0000000000..38874e36ab
--- /dev/null
+++ b/plugins/woocommerce/phpstan-baseline.neon
@@ -0,0 +1,108266 @@
+parameters:
+ ignoreErrors:
+ -
+ message: '#^@param tag must not be named \$this\. Choose a descriptive alias, for example \$instance\.$#'
+ identifier: phpDoc.parseError
+ count: 3
+ path: includes/abstracts/abstract-wc-data.php
+
+ -
+ message: '#^Access to an undefined property WC_Meta_Data\:\:\$id\.$#'
+ identifier: property.notFound
+ count: 2
+ path: includes/abstracts/abstract-wc-data.php
+
+ -
+ message: '#^Access to an undefined property WC_Meta_Data\:\:\$key\.$#'
+ identifier: property.notFound
+ count: 5
+ path: includes/abstracts/abstract-wc-data.php
+
+ -
+ message: '#^Access to an undefined property WC_Meta_Data\:\:\$value\.$#'
+ identifier: property.notFound
+ count: 6
+ path: includes/abstracts/abstract-wc-data.php
+
+ -
+ message: '#^Argument of an invalid type array\<WC_Meta_Data\>\|null supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
+ count: 1
+ path: includes/abstracts/abstract-wc-data.php
+
+ -
+ message: '#^Call to an undefined method object\:\:add_meta\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/abstracts/abstract-wc-data.php
+
+ -
+ message: '#^Call to an undefined method object\:\:create\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/abstracts/abstract-wc-data.php
+
+ -
+ message: '#^Call to an undefined method object\:\:delete\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/abstracts/abstract-wc-data.php
+
+ -
+ message: '#^Call to an undefined method object\:\:delete_meta\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/abstracts/abstract-wc-data.php
+
+ -
+ message: '#^Call to an undefined method object\:\:filter_raw_meta_data\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/abstracts/abstract-wc-data.php
+
+ -
+ message: '#^Call to an undefined method object\:\:get_internal_meta_keys\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/abstracts/abstract-wc-data.php
+
+ -
+ message: '#^Call to an undefined method object\:\:read_meta\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/abstracts/abstract-wc-data.php
+
+ -
+ message: '#^Call to an undefined method object\:\:update\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/abstracts/abstract-wc-data.php
+
+ -
+ message: '#^Call to an undefined method object\:\:update_meta\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/abstracts/abstract-wc-data.php
+
+ -
+ message: '#^Cannot access property \$value on mixed\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/abstracts/abstract-wc-data.php
+
+ -
+ message: '#^Constructor of class WC_Data has an unused parameter \$read\.$#'
+ identifier: constructor.unusedParameter
+ count: 1
+ path: includes/abstracts/abstract-wc-data.php
+
+ -
+ message: '#^Method WC_Data\:\:__toString\(\) should return string but returns string\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/abstracts/abstract-wc-data.php
+
+ -
+ message: '#^Method WC_Data\:\:add_meta_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-data.php
+
+ -
+ message: '#^Method WC_Data\:\:apply_changes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-data.php
+
+ -
+ message: '#^Method WC_Data\:\:delete\(\) should return bool but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/abstracts/abstract-wc-data.php
+
+ -
+ message: '#^Method WC_Data\:\:delete_meta_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-data.php
+
+ -
+ message: '#^Method WC_Data\:\:delete_meta_data_by_mid\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-data.php
+
+ -
+ message: '#^Method WC_Data\:\:delete_meta_data_value\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-data.php
+
+ -
+ message: '#^Method WC_Data\:\:error\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-data.php
+
+ -
+ message: '#^Method WC_Data\:\:get_meta_cache_key\(\) should return string but returns false\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/abstracts/abstract-wc-data.php
+
+ -
+ message: '#^Method WC_Data\:\:init_meta_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-data.php
+
+ -
+ message: '#^Method WC_Data\:\:maybe_read_meta_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-data.php
+
+ -
+ message: '#^Method WC_Data\:\:prime_raw_meta_data_cache\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-data.php
+
+ -
+ message: '#^Method WC_Data\:\:read_meta_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-data.php
+
+ -
+ message: '#^Method WC_Data\:\:save_meta_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-data.php
+
+ -
+ message: '#^Method WC_Data\:\:set_clone_mode\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-data.php
+
+ -
+ message: '#^Method WC_Data\:\:set_date_prop\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-data.php
+
+ -
+ message: '#^Method WC_Data\:\:set_defaults\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-data.php
+
+ -
+ message: '#^Method WC_Data\:\:set_id\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-data.php
+
+ -
+ message: '#^Method WC_Data\:\:set_meta_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-data.php
+
+ -
+ message: '#^Method WC_Data\:\:set_object_read\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-data.php
+
+ -
+ message: '#^Method WC_Data\:\:set_prop\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-data.php
+
+ -
+ message: '#^Method WC_Data\:\:update_meta_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-data.php
+
+ -
+ message: '#^Offset \(int\|string\) might not exist on array\<WC_Meta_Data\>\|null\.$#'
+ identifier: offsetAccess.notFound
+ count: 5
+ path: includes/abstracts/abstract-wc-data.php
+
+ -
+ message: '#^Offset 7 on list\{0\: non\-falsy\-string, 1\: non\-falsy\-string&numeric\-string, 2\: non\-falsy\-string&numeric\-string, 3\: non\-falsy\-string&numeric\-string, 4\: non\-falsy\-string&numeric\-string, 5\: non\-falsy\-string&numeric\-string, 6\: non\-falsy\-string&numeric\-string, 7\: non\-falsy\-string, \.\.\.\} in empty\(\) always exists and is not falsy\.$#'
+ identifier: empty.offset
+ count: 1
+ path: includes/abstracts/abstract-wc-data.php
+
+ -
+ message: '#^Offset int\|string might not exist on array\<WC_Meta_Data\>\|null\.$#'
+ identifier: offsetAccess.notFound
+ count: 1
+ path: includes/abstracts/abstract-wc-data.php
+
+ -
+ message: '#^PHPDoc tag @param has invalid value \(WC_Data \$this The data object being deleted\.\)\: Unexpected token "\$this", expected variable at offset 183 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/abstracts/abstract-wc-data.php
+
+ -
+ message: '#^Parameter \#1 \$hour of function gmmktime expects int, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/abstracts/abstract-wc-data.php
+
+ -
+ message: '#^Parameter \#1 \$input of function array_filter expects array, array\<WC_Meta_Data\>\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/abstracts/abstract-wc-data.php
+
+ -
+ message: '#^Parameter \#1 \$input_list of function wp_list_pluck expects array, array\<WC_Meta_Data\>\|null given\.$#'
+ identifier: argument.type
+ count: 4
+ path: includes/abstracts/abstract-wc-data.php
+
+ -
+ message: '#^Parameter \#1 \$object_or_string of function is_a expects object, int\<min, \-1\>\|int\<1, max\>\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/abstracts/abstract-wc-data.php
+
+ -
+ message: '#^Parameter \#1 \$offset of method WC_DateTime\:\:set_utc_offset\(\) expects int, float given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/abstracts/abstract-wc-data.php
+
+ -
+ message: '#^Parameter \#2 \$min of function gmmktime expects int, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/abstracts/abstract-wc-data.php
+
+ -
+ message: '#^Parameter \#3 \$sec of function gmmktime expects int, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/abstracts/abstract-wc-data.php
+
+ -
+ message: '#^Parameter \#4 \$mon of function gmmktime expects int, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/abstracts/abstract-wc-data.php
+
+ -
+ message: '#^Parameter \#5 \$day of function gmmktime expects int, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/abstracts/abstract-wc-data.php
+
+ -
+ message: '#^Parameter \#6 \$year of function gmmktime expects int, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/abstracts/abstract-wc-data.php
+
+ -
+ message: '#^Variable \$cached_meta might not be defined\.$#'
+ identifier: variable.undefined
+ count: 1
+ path: includes/abstracts/abstract-wc-data.php
+
+ -
+ message: '#^Variable \$datetime might not be defined\.$#'
+ identifier: variable.undefined
+ count: 3
+ path: includes/abstracts/abstract-wc-data.php
+
+ -
+ message: '#^Method WC_Deprecated_Hooks\:\:display_notice\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-deprecated-hooks.php
+
+ -
+ message: '#^Method WC_Deprecated_Hooks\:\:hook_in\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-deprecated-hooks.php
+
+ -
+ message: '#^Method WC_Deprecated_Hooks\:\:maybe_handle_deprecated_hook\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-deprecated-hooks.php
+
+ -
+ message: '#^Method WC_Integration\:\:admin_options\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-integration.php
+
+ -
+ message: '#^Method WC_Integration\:\:init_settings\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-integration.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_Settings_API\)\: Unexpected token "\\n \* ", expected ''\<'' at offset 170 on line 7$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/abstracts/abstract-wc-integration.php
+
+ -
+ message: '#^Parameter \#1 \$objectOrClass of class ReflectionClass constructor expects class\-string\<static\(WC_Log_Handler\)\>\|static\(WC_Log_Handler\), class\-string\<static\(WC_Log_Handler\)\>\|WC_Logger_Interface given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/abstracts/abstract-wc-log-handler.php
+
+ -
+ message: '#^Method WC_Object_Query\:\:set\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-object-query.php
+
+ -
+ message: '#^@param WC_Order \$order does not accept actual type of parameter\: \$this\(WC_Abstract_Order\)\.$#'
+ identifier: parameter.phpDocType
+ count: 2
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^@param tag must not be named \$this\. Choose a descriptive alias, for example \$instance\.$#'
+ identifier: phpDoc.parseError
+ count: 4
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Call to an undefined method WC_Abstract_Order\:\:get_billing_city\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Call to an undefined method WC_Abstract_Order\:\:get_billing_country\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Call to an undefined method WC_Abstract_Order\:\:get_billing_email\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Call to an undefined method WC_Abstract_Order\:\:get_billing_postcode\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Call to an undefined method WC_Abstract_Order\:\:get_billing_state\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Call to an undefined method WC_Abstract_Order\:\:get_customer_id\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Call to an undefined method WC_Abstract_Order\:\:get_shipping_city\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Call to an undefined method WC_Abstract_Order\:\:get_shipping_country\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Call to an undefined method WC_Abstract_Order\:\:get_shipping_postcode\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Call to an undefined method WC_Abstract_Order\:\:get_shipping_state\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_code\(\)\.$#'
+ identifier: method.notFound
+ count: 4
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_discount\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_discount_tax\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_label\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_rate_code\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_rate_id\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_shipping_tax_total\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_subtotal\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_subtotal_tax\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_tax_total\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_taxes\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_total\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Call to an undefined method WC_Order_Item\:\:is_compound\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Call to an undefined method WC_Order_Item\:\:set_taxes\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Call to an undefined method WC_Order_Item\:\:set_total\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Call to an undefined method WC_Order_Item\:\:set_total_tax\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Call to an undefined method object\:\:check_and_hold_coupon\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Call to an undefined method object\:\:check_and_hold_coupon_for_user\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Call to an undefined method object\:\:create\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Call to an undefined method object\:\:delete_items\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Call to an undefined method object\:\:get_order_item_type\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Call to an undefined method object\:\:get_payment_token_ids\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Call to an undefined method object\:\:get_quantity\(\)\.$#'
+ identifier: method.notFound
+ count: 6
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Call to an undefined method object\:\:get_recorded_coupon_usage_counts\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Call to an undefined method object\:\:get_subtotal_tax\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Call to an undefined method object\:\:get_total_tax\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Call to an undefined method object\:\:get_usage_by_email\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Call to an undefined method object\:\:read_items\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Call to an undefined method object\:\:set_coupon_held_keys\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Call to an undefined method object\:\:update\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Call to an undefined method object\:\:update_payment_token_ids\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Cannot call method call_function\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Cannot call method feature_is_enabled\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Cannot call method find_user_ids_by_billing_email_for_coupons_usage_lookup\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Cannot call method get_instance_of\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Cannot call method get_quantity\(\) on class\-string\|object\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Cannot call method get_tax_class\(\) on WC_Order_Item\|false\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Cannot call method get_tax_status\(\) on WC_Order_Item\|false\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Cannot call method get_total\(\) on WC_Order_Item\|false\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Cannot call method get_total_tax\(\) on class\-string\|object\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Cannot call method set_discount\(\) on WC_Order_Item\|false\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Cannot call method set_discount_tax\(\) on WC_Order_Item\|false\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Cannot call method set_total\(\) on WC_Order_Item\|false\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Cannot cast mixed to float\.$#'
+ identifier: cast.double
+ count: 2
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Class WC_Order_Item_Fee referenced with incorrect case\: WC_Order_item_Fee\.$#'
+ identifier: class.nameCase
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Constant WC_ABSPATH not found\.$#'
+ identifier: constant.notFound
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Constant WC_ROUNDING_PRECISION not found\.$#'
+ identifier: constant.notFound
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Method WC_Abstract_Order\:\:add_order_item_totals_discount_row\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Method WC_Abstract_Order\:\:add_order_item_totals_fee_rows\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Method WC_Abstract_Order\:\:add_order_item_totals_shipping_row\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Method WC_Abstract_Order\:\:add_order_item_totals_subtotal_row\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Method WC_Abstract_Order\:\:add_order_item_totals_tax_rows\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Method WC_Abstract_Order\:\:add_order_item_totals_total_row\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Method WC_Abstract_Order\:\:calculate_shipping\(\) should return float but returns string\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Method WC_Abstract_Order\:\:calculate_taxes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Method WC_Abstract_Order\:\:get_cart_tax\(\) should return float but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Method WC_Abstract_Order\:\:get_coupons\(\) should return array\<WC_Order_Item_Coupon\> but returns array\<WC_Order_Item\>\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Method WC_Abstract_Order\:\:get_currency\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Method WC_Abstract_Order\:\:get_date_completed\(\) should return WC_DateTime\|null but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Method WC_Abstract_Order\:\:get_date_created\(\) should return WC_DateTime\|null but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Method WC_Abstract_Order\:\:get_date_modified\(\) should return WC_DateTime\|null but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Method WC_Abstract_Order\:\:get_date_paid\(\) should return WC_DateTime\|null but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Method WC_Abstract_Order\:\:get_discount_tax\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Method WC_Abstract_Order\:\:get_discount_total\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Method WC_Abstract_Order\:\:get_fees\(\) should return array\<WC_Order_Item_Fee\> but returns array\<WC_Order_Item\>\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Method WC_Abstract_Order\:\:get_formatted_order_total\(\) invoked with 1 parameter, 0 required\.$#'
+ identifier: arguments.count
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Method WC_Abstract_Order\:\:get_parent_id\(\) should return int but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Method WC_Abstract_Order\:\:get_prices_include_tax\(\) should return bool but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Method WC_Abstract_Order\:\:get_shipping_methods\(\) should return array\<WC_Order_Item_Shipping\> but returns array\<WC_Order_Item\>\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Method WC_Abstract_Order\:\:get_shipping_tax\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Method WC_Abstract_Order\:\:get_shipping_total\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Method WC_Abstract_Order\:\:get_status\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Method WC_Abstract_Order\:\:get_taxes\(\) should return array\<WC_Order_Item_Tax\> but returns array\<WC_Order_Item\>\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Method WC_Abstract_Order\:\:get_total\(\) should return float but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Method WC_Abstract_Order\:\:get_total_tax\(\) should return float but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Method WC_Abstract_Order\:\:get_version\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Method WC_Abstract_Order\:\:handle_exception\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Method WC_Abstract_Order\:\:hold_applied_coupons\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Method WC_Abstract_Order\:\:recalculate_coupons\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Method WC_Abstract_Order\:\:remove_order_items\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Method WC_Abstract_Order\:\:save_items\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Method WC_Abstract_Order\:\:set_cart_tax\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Method WC_Abstract_Order\:\:set_cogs_total_value\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Method WC_Abstract_Order\:\:set_coupon_discount_amounts\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Method WC_Abstract_Order\:\:set_currency\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Method WC_Abstract_Order\:\:set_date_created\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Method WC_Abstract_Order\:\:set_date_modified\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Method WC_Abstract_Order\:\:set_discount_tax\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Method WC_Abstract_Order\:\:set_discount_total\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Method WC_Abstract_Order\:\:set_item_discount_amounts\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Method WC_Abstract_Order\:\:set_parent_id\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Method WC_Abstract_Order\:\:set_prices_include_tax\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Method WC_Abstract_Order\:\:set_shipping_tax\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Method WC_Abstract_Order\:\:set_shipping_total\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Method WC_Abstract_Order\:\:set_total_tax\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Method WC_Abstract_Order\:\:set_version\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Method WC_Abstract_Order\:\:update_taxes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^One or more @param tags has an invalid name or invalid syntax\.$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^PHPDoc tag @param has invalid value \(boolean apply_base_tax Whether apply base tax for local pickup\. Default true\.\)\: Unexpected token "apply_base_tax", expected variable at offset 124 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Parameter \#1 \$amount of method WC_Abstract_Legacy_Order\:\:legacy_set_total\(\) expects float, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Parameter \#1 \$amount of method WC_Order_Item_Fee\:\:set_total\(\) expects string, float given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Parameter \#1 \$coupon_item of method WC_Abstract_Order\:\:get_temporary_coupon\(\) expects WC_Order_Item_Coupon, WC_Order_Item given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Parameter \#1 \$info of method WC_Coupon\:\:set_short_info\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Parameter \#1 \$item of method WC_Abstract_Order\:\:add_item\(\) expects WC_Order_Item, WC_Order_Item\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Parameter \#1 \$object of class WC_Discounts constructor expects WC_Cart\|WC_Order\|null, \$this\(WC_Abstract_Order\) given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Parameter \#1 \$object_or_string of function is_a expects object, bool\|WC_Product given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Parameter \#1 \$object_or_string of function is_a expects object, string given\.$#'
+ identifier: argument.type
+ count: 5
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Parameter \#1 \$object_or_string of function is_a expects object, string\|WC_Coupon given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Parameter \#1 \$price of function wc_price expects float, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Parameter \#1 \$raw_tax_data of method WC_Order_Item_Shipping\:\:set_taxes\(\) expects array, false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Parameter \#1 \$string of function wc_string_to_bool expects bool\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Parameter \#1 \$used_by of method WC_Coupon\:\:decrease_usage_count\(\) expects string, int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Parameter \#1 \$value of method WC_Abstract_Order\:\:set_cart_tax\(\) expects string, float\|int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Parameter \#1 \$value of method WC_Abstract_Order\:\:set_discount_tax\(\) expects string, float given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Parameter \#1 \$value of method WC_Abstract_Order\:\:set_discount_total\(\) expects string, float given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Parameter \#1 \$value of method WC_Abstract_Order\:\:set_shipping_tax\(\) expects string, float\|int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Parameter \#1 \$value of method WC_Abstract_Order\:\:set_shipping_total\(\) expects string, float\|int given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Parameter \#1 \$value of method WC_Abstract_Order\:\:set_total\(\) expects string, float given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Parameter \#1 \$value of method WC_Abstract_Order\:\:set_total_tax\(\) expects string, float given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Parameter \#1 \$value of method WC_Order_Item_Tax\:\:set_shipping_tax_total\(\) expects string, float\|int given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Parameter \#1 \$value of method WC_Order_Item_Tax\:\:set_tax_total\(\) expects string, float\|int given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Parameter \#2 \$rates of static method WC_Tax\:\:calc_tax\(\) expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Parameter \#2 \$tax_display of method WC_Abstract_Order\:\:add_order_item_totals_discount_row\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Parameter \#2 \$tax_display of method WC_Abstract_Order\:\:add_order_item_totals_fee_rows\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Parameter \#2 \$tax_display of method WC_Abstract_Order\:\:add_order_item_totals_shipping_row\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Parameter \#2 \$tax_display of method WC_Abstract_Order\:\:add_order_item_totals_subtotal_row\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Parameter \#2 \$tax_display of method WC_Abstract_Order\:\:add_order_item_totals_tax_rows\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Parameter \#2 \$tax_display of method WC_Abstract_Order\:\:add_order_item_totals_total_row\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Parameter \#2 \$value of method WC_Data\:\:set_date_prop\(\) expects int\|string, int\|string\|null given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Parameter \#3 \$user_alias of method WC_Abstract_Order\:\:hold_coupon_for_users\(\) expects string, int\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^Variable \$user_alias might not be defined\.$#'
+ identifier: variable.undefined
+ count: 1
+ path: includes/abstracts/abstract-wc-order.php
+
+ -
+ message: '#^@param tag must not be named \$this\. Choose a descriptive alias, for example \$instance\.$#'
+ identifier: phpDoc.parseError
+ count: 7
+ path: includes/abstracts/abstract-wc-payment-gateway.php
+
+ -
+ message: '#^Access to an undefined property WC_Cart\:\:\$total\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/abstracts/abstract-wc-payment-gateway.php
+
+ -
+ message: '#^Cannot call method get_total\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/abstracts/abstract-wc-payment-gateway.php
+
+ -
+ message: '#^Cannot call method sanitize\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/abstracts/abstract-wc-payment-gateway.php
+
+ -
+ message: '#^Expected 3 @param tags, found 2\.$#'
+ identifier: paramTag.count
+ count: 1
+ path: includes/abstracts/abstract-wc-payment-gateway.php
+
+ -
+ message: '#^Method WC_Payment_Gateway\:\:admin_options\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-payment-gateway.php
+
+ -
+ message: '#^Method WC_Payment_Gateway\:\:credit_card_form\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-payment-gateway.php
+
+ -
+ message: '#^Method WC_Payment_Gateway\:\:get_new_payment_method_option_html\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-payment-gateway.php
+
+ -
+ message: '#^Method WC_Payment_Gateway\:\:init_settings\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-payment-gateway.php
+
+ -
+ message: '#^Method WC_Payment_Gateway\:\:payment_fields\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-payment-gateway.php
+
+ -
+ message: '#^Method WC_Payment_Gateway\:\:save_payment_method_checkbox\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-payment-gateway.php
+
+ -
+ message: '#^Method WC_Payment_Gateway\:\:saved_payment_methods\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-payment-gateway.php
+
+ -
+ message: '#^Method WC_Payment_Gateway\:\:set_current\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-payment-gateway.php
+
+ -
+ message: '#^Method WC_Payment_Gateway\:\:tokenization_script\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-payment-gateway.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_Settings_API\)\: Unexpected token "\\n \* ", expected ''\<'' at offset 177 on line 7$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/abstracts/abstract-wc-payment-gateway.php
+
+ -
+ message: '#^PHPDoc tag @param has invalid value \(WC_Payment_Gateway \$this Payment gateway instance\.\)\: Unexpected token "\$this", expected variable at offset 128 on line 6$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/abstracts/abstract-wc-payment-gateway.php
+
+ -
+ message: '#^PHPDoc tag @param has invalid value \(WC_Payment_Gateway \$this Payment gateway instance\.\)\: Unexpected token "\$this", expected variable at offset 135 on line 6$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/abstracts/abstract-wc-payment-gateway.php
+
+ -
+ message: '#^PHPDoc tag @param has invalid value \(WC_Payment_Gateway \$this Payment gateway instance\.\)\: Unexpected token "\$this", expected variable at offset 141 on line 6$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/abstracts/abstract-wc-payment-gateway.php
+
+ -
+ message: '#^PHPDoc tag @param has invalid value \(WC_Payment_Gateway \$this Payment gateway instance\.\)\: Unexpected token "\$this", expected variable at offset 146 on line 6$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/abstracts/abstract-wc-payment-gateway.php
+
+ -
+ message: '#^PHPDoc tag @param has invalid value \(WC_Payment_Gateway \$this Payment gateway instance\.\)\: Unexpected token "\$this", expected variable at offset 149 on line 6$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/abstracts/abstract-wc-payment-gateway.php
+
+ -
+ message: '#^PHPDoc tag @param has invalid value \(WC_Payment_Gateway \$this Payment gateway instance\.\)\: Unexpected token "\$this", expected variable at offset 195 on line 7$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/abstracts/abstract-wc-payment-gateway.php
+
+ -
+ message: '#^PHPDoc tag @param has invalid value \(WC_Payment_Gateway \$this Payment gateway instance\.\)\: Unexpected token "\$this", expected variable at offset 215 on line 7$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/abstracts/abstract-wc-payment-gateway.php
+
+ -
+ message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/abstracts/abstract-wc-payment-gateway.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_attr expects string, int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/abstracts/abstract-wc-payment-gateway.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_attr expects string, int\<0, max\> given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/abstracts/abstract-wc-payment-gateway.php
+
+ -
+ message: '#^Call to an undefined method object\:\:get_id\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/abstracts/abstract-wc-payment-token.php
+
+ -
+ message: '#^Constant WC_ABSPATH not found\.$#'
+ identifier: constant.notFound
+ count: 1
+ path: includes/abstracts/abstract-wc-payment-token.php
+
+ -
+ message: '#^Method WC_Payment_Token\:\:get_gateway_id\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/abstracts/abstract-wc-payment-token.php
+
+ -
+ message: '#^Method WC_Payment_Token\:\:get_is_default\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/abstracts/abstract-wc-payment-token.php
+
+ -
+ message: '#^Method WC_Payment_Token\:\:get_token\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/abstracts/abstract-wc-payment-token.php
+
+ -
+ message: '#^Method WC_Payment_Token\:\:get_user_id\(\) should return int but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/abstracts/abstract-wc-payment-token.php
+
+ -
+ message: '#^Method WC_Payment_Token\:\:set_default\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-payment-token.php
+
+ -
+ message: '#^Method WC_Payment_Token\:\:set_gateway_id\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-payment-token.php
+
+ -
+ message: '#^Method WC_Payment_Token\:\:set_token\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-payment-token.php
+
+ -
+ message: '#^Method WC_Payment_Token\:\:set_user_id\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-payment-token.php
+
+ -
+ message: '#^Parameter \#1 \$id of method WC_Data\:\:set_id\(\) expects int, float\|int\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/abstracts/abstract-wc-payment-token.php
+
+ -
+ message: '#^Parameter \#1 \$read of method WC_Data\:\:__construct\(\) expects array\|int\|object, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/abstracts/abstract-wc-payment-token.php
+
+ -
+ message: '#^Method WC_Abstract_Privacy\:\:add_privacy_message\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-privacy.php
+
+ -
+ message: '#^Method WC_Abstract_Privacy\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-privacy.php
+
+ -
+ message: '#^@param tag must not be named \$this\. Choose a descriptive alias, for example \$instance\.$#'
+ identifier: phpDoc.parseError
+ count: 6
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Call to an undefined method object\:\:create\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Call to an undefined method object\:\:update\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Cannot call method call_function\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Cannot call method feature_is_enabled\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Cannot call method on_product_changed\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Cannot call method on_product_deleted\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Cannot cast mixed to float\.$#'
+ identifier: cast.double
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Constant WC_ABSPATH not found\.$#'
+ identifier: constant.notFound
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Method WC_Product\:\:after_data_store_save_or_update\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Method WC_Product\:\:get_average_rating\(\) should return float but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Method WC_Product\:\:get_backorders\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Method WC_Product\:\:get_brand_ids\(\) should return array but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Method WC_Product\:\:get_catalog_visibility\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Method WC_Product\:\:get_category_ids\(\) should return array but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Method WC_Product\:\:get_cross_sell_ids\(\) should return array but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Method WC_Product\:\:get_date_created\(\) should return WC_DateTime\|null but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Method WC_Product\:\:get_date_modified\(\) should return WC_DateTime\|null but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Method WC_Product\:\:get_date_on_sale_from\(\) should return WC_DateTime\|null but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Method WC_Product\:\:get_date_on_sale_to\(\) should return WC_DateTime\|null but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Method WC_Product\:\:get_default_attributes\(\) should return array but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Method WC_Product\:\:get_description\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Method WC_Product\:\:get_download_expiry\(\) should return int but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Method WC_Product\:\:get_download_limit\(\) should return int but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Method WC_Product\:\:get_downloadable\(\) should return bool but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Method WC_Product\:\:get_downloads\(\) should return array but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Method WC_Product\:\:get_featured\(\) should return bool but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Method WC_Product\:\:get_gallery_image_ids\(\) should return array but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Method WC_Product\:\:get_global_unique_id\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Method WC_Product\:\:get_height\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Method WC_Product\:\:get_image_id\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Method WC_Product\:\:get_length\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Method WC_Product\:\:get_low_stock_amount\(\) should return int\|string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Method WC_Product\:\:get_manage_stock\(\) should return bool but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Method WC_Product\:\:get_menu_order\(\) should return int but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Method WC_Product\:\:get_name\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Method WC_Product\:\:get_parent_id\(\) should return int but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Method WC_Product\:\:get_permalink\(\) should return string but returns string\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Method WC_Product\:\:get_post_password\(\) should return int but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Method WC_Product\:\:get_price\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Method WC_Product\:\:get_purchase_note\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Method WC_Product\:\:get_rating_counts\(\) should return array but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Method WC_Product\:\:get_regular_price\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Method WC_Product\:\:get_review_count\(\) should return int but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Method WC_Product\:\:get_reviews_allowed\(\) should return bool but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Method WC_Product\:\:get_sale_price\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Method WC_Product\:\:get_shipping_class_id\(\) should return int but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Method WC_Product\:\:get_short_description\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Method WC_Product\:\:get_sku\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Method WC_Product\:\:get_slug\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Method WC_Product\:\:get_sold_individually\(\) should return bool but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Method WC_Product\:\:get_status\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Method WC_Product\:\:get_stock_quantity\(\) should return int\|null but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Method WC_Product\:\:get_stock_status\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Method WC_Product\:\:get_tag_ids\(\) should return array but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Method WC_Product\:\:get_tax_class\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Method WC_Product\:\:get_tax_status\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Method WC_Product\:\:get_total_sales\(\) should return int but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Method WC_Product\:\:get_upsell_ids\(\) should return array but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Method WC_Product\:\:get_virtual\(\) should return bool but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Method WC_Product\:\:get_weight\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Method WC_Product\:\:get_width\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Method WC_Product\:\:maybe_defer_product_sync\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Method WC_Product\:\:set_attributes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Method WC_Product\:\:set_average_rating\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Method WC_Product\:\:set_backorders\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Method WC_Product\:\:set_brand_ids\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Method WC_Product\:\:set_catalog_visibility\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Method WC_Product\:\:set_category_ids\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Method WC_Product\:\:set_cross_sell_ids\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Method WC_Product\:\:set_date_created\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Method WC_Product\:\:set_date_modified\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Method WC_Product\:\:set_date_on_sale_from\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Method WC_Product\:\:set_date_on_sale_to\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Method WC_Product\:\:set_default_attributes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Method WC_Product\:\:set_description\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Method WC_Product\:\:set_download_expiry\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Method WC_Product\:\:set_download_limit\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Method WC_Product\:\:set_downloadable\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Method WC_Product\:\:set_downloads\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Method WC_Product\:\:set_featured\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Method WC_Product\:\:set_gallery_image_ids\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Method WC_Product\:\:set_global_unique_id\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Method WC_Product\:\:set_height\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Method WC_Product\:\:set_image_id\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Method WC_Product\:\:set_length\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Method WC_Product\:\:set_low_stock_amount\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Method WC_Product\:\:set_manage_stock\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Method WC_Product\:\:set_menu_order\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Method WC_Product\:\:set_name\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Method WC_Product\:\:set_parent_id\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Method WC_Product\:\:set_post_password\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Method WC_Product\:\:set_price\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Method WC_Product\:\:set_purchase_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Method WC_Product\:\:set_rating_counts\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Method WC_Product\:\:set_regular_price\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Method WC_Product\:\:set_review_count\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Method WC_Product\:\:set_reviews_allowed\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Method WC_Product\:\:set_sale_price\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Method WC_Product\:\:set_shipping_class_id\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Method WC_Product\:\:set_short_description\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Method WC_Product\:\:set_sku\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Method WC_Product\:\:set_slug\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Method WC_Product\:\:set_sold_individually\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Method WC_Product\:\:set_status\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Method WC_Product\:\:set_stock_quantity\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Method WC_Product\:\:set_stock_status\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Method WC_Product\:\:set_tag_ids\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Method WC_Product\:\:set_tax_class\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Method WC_Product\:\:set_tax_status\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Method WC_Product\:\:set_total_sales\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Method WC_Product\:\:set_upsell_ids\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Method WC_Product\:\:set_virtual\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Method WC_Product\:\:set_weight\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Method WC_Product\:\:set_width\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Method WC_Product\:\:validate_props\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^PHPDoc tag @param has invalid value \(WC_Product \$this Product object\.\)\: Unexpected token "\$this", expected variable at offset 195 on line 7$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^PHPDoc tag @param has invalid value \(\\WC_Product \$this The product object\.\)\: Unexpected token "\$this", expected variable at offset 153 on line 6$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^PHPDoc tag @param has invalid value \(\\WC_Product \$this The product object\.\)\: Unexpected token "\$this", expected variable at offset 172 on line 6$#'
+ identifier: phpDoc.parseError
+ count: 2
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Parameter \#1 \$amount of function wc_stock_amount expects float\|int, float\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Parameter \#1 \$attachment_id of function wp_get_attachment_image expects int, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Parameter \#1 \$data of function wp_kses_post expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Parameter \#1 \$dimensions of function wc_format_dimensions expects array, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Parameter \#1 \$object_or_string of function is_a expects object, array\|WC_Product_Download given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Parameter \#1 \$post_id of function get_post_meta expects int, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Parameter \#1 \$price of function wc_price expects float, float\|string given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Parameter \#1 \$quantity of method WC_Product\:\:set_stock_quantity\(\) expects float\|null, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Parameter \#1 \$regular_price of function wc_format_sale_price expects string, float given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Parameter \#1 \$value of method WC_Product_Download\:\:set_id\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Parameter \#2 \$callback of function uasort expects callable\(WC_Product_Attribute\|null, WC_Product_Attribute\|null\)\: int, ''wc_product…'' given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Parameter \#2 \$sale_price of function wc_format_sale_price expects string, float given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Parameter \#2 \$value of method WC_Data\:\:set_date_prop\(\) expects int\|string, int\|string\|null given\.$#'
+ identifier: argument.type
+ count: 4
+ path: includes/abstracts/abstract-wc-product.php
+
+ -
+ message: '#^Method WC_Session\:\:cleanup_sessions\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-session.php
+
+ -
+ message: '#^Method WC_Session\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-session.php
+
+ -
+ message: '#^Method WC_Session\:\:set\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-session.php
+
+ -
+ message: '#^Parameter \#1 \$data of function maybe_serialize expects array\|object\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/abstracts/abstract-wc-session.php
+
+ -
+ message: '#^Cannot call method sanitize\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/abstracts/abstract-wc-settings-api.php
+
+ -
+ message: '#^Method WC_Settings_API\:\:add_error\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-settings-api.php
+
+ -
+ message: '#^Method WC_Settings_API\:\:admin_options\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-settings-api.php
+
+ -
+ message: '#^Method WC_Settings_API\:\:display_errors\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-settings-api.php
+
+ -
+ message: '#^Method WC_Settings_API\:\:generate_checkbox_html\(\) should return string but returns string\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/abstracts/abstract-wc-settings-api.php
+
+ -
+ message: '#^Method WC_Settings_API\:\:generate_color_html\(\) should return string but returns string\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/abstracts/abstract-wc-settings-api.php
+
+ -
+ message: '#^Method WC_Settings_API\:\:generate_decimal_html\(\) should return string but returns string\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/abstracts/abstract-wc-settings-api.php
+
+ -
+ message: '#^Method WC_Settings_API\:\:generate_multiselect_html\(\) should return string but returns string\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/abstracts/abstract-wc-settings-api.php
+
+ -
+ message: '#^Method WC_Settings_API\:\:generate_price_html\(\) should return string but returns string\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/abstracts/abstract-wc-settings-api.php
+
+ -
+ message: '#^Method WC_Settings_API\:\:generate_select_html\(\) should return string but returns string\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/abstracts/abstract-wc-settings-api.php
+
+ -
+ message: '#^Method WC_Settings_API\:\:generate_settings_html\(\) should return string but return statement is missing\.$#'
+ identifier: return.missing
+ count: 1
+ path: includes/abstracts/abstract-wc-settings-api.php
+
+ -
+ message: '#^Method WC_Settings_API\:\:generate_text_html\(\) should return string but returns string\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/abstracts/abstract-wc-settings-api.php
+
+ -
+ message: '#^Method WC_Settings_API\:\:generate_textarea_html\(\) should return string but returns string\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/abstracts/abstract-wc-settings-api.php
+
+ -
+ message: '#^Method WC_Settings_API\:\:generate_title_html\(\) should return string but returns string\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/abstracts/abstract-wc-settings-api.php
+
+ -
+ message: '#^Method WC_Settings_API\:\:get_errors\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-settings-api.php
+
+ -
+ message: '#^Method WC_Settings_API\:\:init_form_fields\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-settings-api.php
+
+ -
+ message: '#^Method WC_Settings_API\:\:init_settings\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-settings-api.php
+
+ -
+ message: '#^Method WC_Settings_API\:\:set_post_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-settings-api.php
+
+ -
+ message: '#^Method WC_Settings_API\:\:validate_select_field\(\) should return string but returns array\|string\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/abstracts/abstract-wc-settings-api.php
+
+ -
+ message: '#^Method WC_Settings_API\:\:validate_settings_fields\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-settings-api.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_attr expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/abstracts/abstract-wc-settings-api.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_html expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/abstracts/abstract-wc-settings-api.php
+
+ -
+ message: '#^Parameter \#3 \$autoload of function update_option expects bool\|null, string given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/abstracts/abstract-wc-settings-api.php
+
+ -
+ message: '#^Property WC_Settings_API\:\:\$settings \(array\) does not accept mixed\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: includes/abstracts/abstract-wc-settings-api.php
+
+ -
+ message: '#^Binary operation "\*" between float and string results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: includes/abstracts/abstract-wc-shipping-method.php
+
+ -
+ message: '#^Method WC_Shipping_Method\:\:add_rate\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-shipping-method.php
+
+ -
+ message: '#^Method WC_Shipping_Method\:\:admin_options\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-shipping-method.php
+
+ -
+ message: '#^Method WC_Shipping_Method\:\:calculate_shipping\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-shipping-method.php
+
+ -
+ message: '#^Method WC_Shipping_Method\:\:init_instance_settings\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-shipping-method.php
+
+ -
+ message: '#^Parameter \#1 \$haystack of function strstr expects string, float\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/abstracts/abstract-wc-shipping-method.php
+
+ -
+ message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/abstracts/abstract-wc-shipping-method.php
+
+ -
+ message: '#^Parameter \#1 \$price of static method WC_Tax\:\:calc_shipping_tax\(\) expects float, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/abstracts/abstract-wc-shipping-method.php
+
+ -
+ message: '#^Parameter \#3 \$autoload of function update_option expects bool\|null, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/abstracts/abstract-wc-shipping-method.php
+
+ -
+ message: '#^Parameter \#3 \$subject of function str_replace expects array\<string\>\|string, float\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/abstracts/abstract-wc-shipping-method.php
+
+ -
+ message: '#^Property WC_Shipping_Method\:\:\$instance_settings \(array\) does not accept mixed\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: includes/abstracts/abstract-wc-shipping-method.php
+
+ -
+ message: '#^Cannot access property \$slug on WP_Post\|WP_Post_Type\|WP_Term\|WP_User\|null\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/abstracts/abstract-wc-widget.php
+
+ -
+ message: '#^Cannot access property \$taxonomy on WP_Post\|WP_Post_Type\|WP_Term\|WP_User\|null\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/abstracts/abstract-wc-widget.php
+
+ -
+ message: '#^Class WC_Widget extends generic class WP_Widget but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/abstracts/abstract-wc-widget.php
+
+ -
+ message: '#^Method WC_Widget\:\:flush_widget_cache\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-widget.php
+
+ -
+ message: '#^Method WC_Widget\:\:widget_end\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-widget.php
+
+ -
+ message: '#^Method WC_Widget\:\:widget_start\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/abstract-wc-widget.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WP_Widget\)\: Unexpected token "\\n ", expected ''\<'' at offset 96 on line 6$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/abstracts/abstract-wc-widget.php
+
+ -
+ message: '#^Parameter \#1 \$term of function get_term_link expects int\|string\|WP_Term, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/abstracts/abstract-wc-widget.php
+
+ -
+ message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 5
+ path: includes/abstracts/abstract-wc-widget.php
+
+ -
+ message: '#^Parameter \#1 \(mixed\) of echo cannot be converted to string\.$#'
+ identifier: echo.nonString
+ count: 1
+ path: includes/abstracts/abstract-wc-widget.php
+
+ -
+ message: '#^Property WC_Widget\:\:\$settings \(array\) in isset\(\) is not nullable\.$#'
+ identifier: isset.property
+ count: 1
+ path: includes/abstracts/abstract-wc-widget.php
+
+ -
+ message: '#^Binary operation "\." between mixed and ''_batch_'' results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 3
+ path: includes/abstracts/class-wc-background-process.php
+
+ -
+ message: '#^Binary operation "\." between mixed and ''_cron_interval'' results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 3
+ path: includes/abstracts/class-wc-background-process.php
+
+ -
+ message: '#^Method WC_Background_Process\:\:handle\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/class-wc-background-process.php
+
+ -
+ message: '#^Method WC_Background_Process\:\:kill_process\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/abstracts/class-wc-background-process.php
+
+ -
+ message: '#^Parameter \#1 \$hook of function wp_clear_scheduled_hook expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/abstracts/class-wc-background-process.php
+
+ -
+ message: '#^Binary operation "\." between ''Bearer '' and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: includes/admin/class-wc-admin-addons.php
+
+ -
+ message: '#^Cannot access offset ''access_token'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/admin/class-wc-admin-addons.php
+
+ -
+ message: '#^Method WC_Admin_Addons\:\:add_in_app_purchase_url_params\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-addons.php
+
+ -
+ message: '#^Method WC_Admin_Addons\:\:fetch_featured\(\) should return array\|WP_Error but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/admin/class-wc-admin-addons.php
+
+ -
+ message: '#^Method WC_Admin_Addons\:\:get_in_app_purchase_url_params\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-addons.php
+
+ -
+ message: '#^Method WC_Admin_Addons\:\:output_button\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-addons.php
+
+ -
+ message: '#^Parameter \#1 \$str of function sanitize_text_field expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/admin/class-wc-admin-addons.php
+
+ -
+ message: '#^Binary operation "\." between ''AND description…'' and array\|string results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: includes/admin/class-wc-admin-api-keys-table-list.php
+
+ -
+ message: '#^Method WC_Admin_API_Keys_Table_List\:\:no_items\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-api-keys-table-list.php
+
+ -
+ message: '#^Method WC_Admin_API_Keys_Table_List\:\:prepare_items\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-api-keys-table-list.php
+
+ -
+ message: '#^Parameter \#1 \$args of method WP_List_Table\:\:set_pagination_args\(\) expects array\{total_items\?\: int, total_pages\?\: int, per_page\?\: int\}, array\{total_items\: mixed, per_page\: int, total_pages\: float\} given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-api-keys-table-list.php
+
+ -
+ message: '#^Parameter \#1 \$str of function sanitize_text_field expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-api-keys-table-list.php
+
+ -
+ message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-api-keys-table-list.php
+
+ -
+ message: '#^Method WC_Admin_API_Keys\:\:actions\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-api-keys.php
+
+ -
+ message: '#^Method WC_Admin_API_Keys\:\:bulk_actions\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-api-keys.php
+
+ -
+ message: '#^Method WC_Admin_API_Keys\:\:bulk_revoke_key\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-api-keys.php
+
+ -
+ message: '#^Method WC_Admin_API_Keys\:\:notices\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-api-keys.php
+
+ -
+ message: '#^Method WC_Admin_API_Keys\:\:page_output\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-api-keys.php
+
+ -
+ message: '#^Method WC_Admin_API_Keys\:\:revoke_key\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-api-keys.php
+
+ -
+ message: '#^Method WC_Admin_API_Keys\:\:screen_option\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-api-keys.php
+
+ -
+ message: '#^Method WC_Admin_API_Keys\:\:table_list_output\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-api-keys.php
+
+ -
+ message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 3
+ path: includes/admin/class-wc-admin-api-keys.php
+
+ -
+ message: '#^Parameter \#1 \$str of function sanitize_text_field expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-api-keys.php
+
+ -
+ message: '#^Cannot call method feature_is_enabled\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/admin/class-wc-admin-assets.php
+
+ -
+ message: '#^Cannot call method get_general_cost_edit_field_tooltip\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: includes/admin/class-wc-admin-assets.php
+
+ -
+ message: '#^Constant WC_ADMIN_ABSPATH not found\.$#'
+ identifier: constant.notFound
+ count: 1
+ path: includes/admin/class-wc-admin-assets.php
+
+ -
+ message: '#^Constant WC_ADMIN_DIST_JS_FOLDER not found\.$#'
+ identifier: constant.notFound
+ count: 1
+ path: includes/admin/class-wc-admin-assets.php
+
+ -
+ message: '#^Constant WC_DELIMITER not found\.$#'
+ identifier: constant.notFound
+ count: 2
+ path: includes/admin/class-wc-admin-assets.php
+
+ -
+ message: '#^If condition is always true\.$#'
+ identifier: if.alwaysTrue
+ count: 1
+ path: includes/admin/class-wc-admin-assets.php
+
+ -
+ message: '#^Method WC_Admin_Assets\:\:admin_scripts\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-assets.php
+
+ -
+ message: '#^Method WC_Admin_Assets\:\:admin_styles\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-assets.php
+
+ -
+ message: '#^Method WC_Admin_Assets\:\:enqueue_block_editor_script\(\) has parameter \$script_name with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/admin/class-wc-admin-assets.php
+
+ -
+ message: '#^Method WC_Admin_Assets\:\:enqueue_block_editor_script\(\) has parameter \$script_path_name with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/admin/class-wc-admin-assets.php
+
+ -
+ message: '#^Method WC_Admin_Assets\:\:register_scripts\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-assets.php
+
+ -
+ message: '#^Parameter \#1 \$callback of function array_map expects \(callable\(mixed\)\: mixed\)\|null, ''dirname'' given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-assets.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_attr expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 3
+ path: includes/admin/class-wc-admin-assets.php
+
+ -
+ message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-assets.php
+
+ -
+ message: '#^Parameter \#2 \$array of function array_map expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-assets.php
+
+ -
+ message: '#^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-assets.php
+
+ -
+ message: '#^Parameter \#4 \$ver of function wp_enqueue_script expects bool\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 4
+ path: includes/admin/class-wc-admin-assets.php
+
+ -
+ message: '#^Parameter \#4 \$ver of function wp_register_script expects bool\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 10
+ path: includes/admin/class-wc-admin-assets.php
+
+ -
+ message: '#^Parameter \#4 \$ver of function wp_register_style expects bool\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 8
+ path: includes/admin/class-wc-admin-assets.php
+
+ -
+ message: '#^Cannot cast numeric\-string\|WP_Error to int\.$#'
+ identifier: cast.int
+ count: 1
+ path: includes/admin/class-wc-admin-attributes.php
+
+ -
+ message: '#^Method WC_Admin_Attributes\:\:add_attribute\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-attributes.php
+
+ -
+ message: '#^Method WC_Admin_Attributes\:\:edit_attribute\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-attributes.php
+
+ -
+ message: '#^Method WC_Admin_Attributes\:\:output\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-attributes.php
+
+ -
+ message: '#^One or more @param tags has an invalid name or invalid syntax\.$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/admin/class-wc-admin-attributes.php
+
+ -
+ message: '#^PHPDoc tag @param has invalid value \(int @default_max_terms_to_display Default value\.\)\: Unexpected token "@default", expected variable at offset 152 on line 4$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/admin/class-wc-admin-attributes.php
+
+ -
+ message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 3
+ path: includes/admin/class-wc-admin-attributes.php
+
+ -
+ message: '#^Parameter \#1 \$taxonomy of function wc_sanitize_taxonomy_name expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-attributes.php
+
+ -
+ message: '#^Parameter \#1 \$taxonomy of function wc_sanitize_taxonomy_name expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-attributes.php
+
+ -
+ message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 3
+ path: includes/admin/class-wc-admin-attributes.php
+
+ -
+ message: '#^Parameter \#2 \$pieces of function implode expects array, list\<string\>\|WP_Error given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-attributes.php
+
+ -
+ message: '#^Static property WC_Admin_Attributes\:\:\$edited_attribute_id \(int\) does not accept null\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: includes/admin/class-wc-admin-attributes.php
+
+ -
+ message: '#^Argument of an invalid type array\<int, WP_Term\>\|WP_Error supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
+ count: 2
+ path: includes/admin/class-wc-admin-brands.php
+
+ -
+ message: '#^Binary operation "\.\=" between mixed and non\-falsy\-string results in an error\.$#'
+ identifier: assignOp.invalid
+ count: 1
+ path: includes/admin/class-wc-admin-brands.php
+
+ -
+ message: '#^Call to function is_scalar\(\) with string will always evaluate to true\.$#'
+ identifier: function.alreadyNarrowedType
+ count: 1
+ path: includes/admin/class-wc-admin-brands.php
+
+ -
+ message: '#^Cannot access offset ''cb'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: includes/admin/class-wc-admin-brands.php
+
+ -
+ message: '#^Cannot access offset ''taxonomy\-product_brand'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: includes/admin/class-wc-admin-brands.php
+
+ -
+ message: '#^Cannot access property \$id on WP_Screen\|null\.$#'
+ identifier: property.nonObject
+ count: 2
+ path: includes/admin/class-wc-admin-brands.php
+
+ -
+ message: '#^Cannot cast numeric\-string\|WP_Error to int\.$#'
+ identifier: cast.int
+ count: 1
+ path: includes/admin/class-wc-admin-brands.php
+
+ -
+ message: '#^Method WC_Brands_Admin\:\:add_brand_base_setting\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-brands.php
+
+ -
+ message: '#^Method WC_Brands_Admin\:\:add_settings_section\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-brands.php
+
+ -
+ message: '#^Method WC_Brands_Admin\:\:add_settings_tab\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-brands.php
+
+ -
+ message: '#^Method WC_Brands_Admin\:\:add_thumbnail_field\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-brands.php
+
+ -
+ message: '#^Method WC_Brands_Admin\:\:admin_settings\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-brands.php
+
+ -
+ message: '#^Method WC_Brands_Admin\:\:column\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-brands.php
+
+ -
+ message: '#^Method WC_Brands_Admin\:\:columns\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-brands.php
+
+ -
+ message: '#^Method WC_Brands_Admin\:\:edit_thumbnail_field\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-brands.php
+
+ -
+ message: '#^Method WC_Brands_Admin\:\:init_form_fields\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-brands.php
+
+ -
+ message: '#^Method WC_Brands_Admin\:\:process_import\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-brands.php
+
+ -
+ message: '#^Method WC_Brands_Admin\:\:product_brand_slug_input\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-brands.php
+
+ -
+ message: '#^Method WC_Brands_Admin\:\:product_columns\(\) should return array but returns array\|float\|int\|string\|false\|null\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/admin/class-wc-admin-brands.php
+
+ -
+ message: '#^Method WC_Brands_Admin\:\:render_product_brand_filter\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-brands.php
+
+ -
+ message: '#^Method WC_Brands_Admin\:\:save_admin_settings\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-brands.php
+
+ -
+ message: '#^Method WC_Brands_Admin\:\:save_permalink_settings\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-brands.php
+
+ -
+ message: '#^Method WC_Brands_Admin\:\:sort_brands\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-brands.php
+
+ -
+ message: '#^Method WC_Brands_Admin\:\:taxonomy_description\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-brands.php
+
+ -
+ message: '#^Method WC_Brands_Admin\:\:validate_product_base\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-brands.php
+
+ -
+ message: '#^Parameter \#1 \$args of function wp_count_terms expects array\{taxonomy\?\: array\<string\>\|string, object_ids\?\: array\<int\>\|int, orderby\?\: string, order\?\: string, hide_empty\?\: bool\|int, include\?\: array\<int\>\|string, exclude\?\: array\<int\>\|string, exclude_tree\?\: array\<int\>\|string, \.\.\.\}, ''product_brand'' given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-brands.php
+
+ -
+ message: '#^Parameter \#1 \$attachment_id of function wp_get_attachment_url expects int, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/admin/class-wc-admin-brands.php
+
+ -
+ message: '#^Parameter \#1 \$callback of function array_map expects \(callable\(mixed\)\: mixed\)\|null, ''intval'' given\.$#'
+ identifier: argument.type
+ count: 3
+ path: includes/admin/class-wc-admin-brands.php
+
+ -
+ message: '#^Parameter \#1 \$input of function array_slice expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/admin/class-wc-admin-brands.php
+
+ -
+ message: '#^Parameter \#1 \$input_list of function wp_parse_id_list expects array\|string, list\<int\>\|WP_Error given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-brands.php
+
+ -
+ message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-brands.php
+
+ -
+ message: '#^Parameter \#1 \$str of function trim expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-brands.php
+
+ -
+ message: '#^Parameter \#1 \$term_id of function get_term_meta expects int, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-brands.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_attr expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-brands.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_attr expects string, int given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/admin/class-wc-admin-brands.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_attr expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/admin/class-wc-admin-brands.php
+
+ -
+ message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-brands.php
+
+ -
+ message: '#^Parameter \#2 \$array of function array_map expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/admin/class-wc-admin-brands.php
+
+ -
+ message: '#^Parameter \#2 \$value of function get_term_by expects int\|string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-brands.php
+
+ -
+ message: '#^Parameter \#2 \.\.\.\$args of function array_merge expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-brands.php
+
+ -
+ message: '#^Parameter \#3 \$parent_term of function term_exists expects int\|null, int\|string\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-brands.php
+
+ -
+ message: '#^Parameter \#3 \$priority of function add_action expects int, null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-brands.php
+
+ -
+ message: '#^Parameter \#4 \$ver of function wp_enqueue_style expects bool\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-brands.php
+
+ -
+ message: '#^Parameter \#4 \$ver of function wp_register_script expects bool\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-brands.php
+
+ -
+ message: '#^Call to method get_id\(\) on an unknown class Task\.$#'
+ identifier: class.notFound
+ count: 1
+ path: includes/admin/class-wc-admin-dashboard-setup.php
+
+ -
+ message: '#^Call to method get_json\(\) on an unknown class Task\.$#'
+ identifier: class.notFound
+ count: 1
+ path: includes/admin/class-wc-admin-dashboard-setup.php
+
+ -
+ message: '#^Cannot call method get_viewable_tasks\(\) on array\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/admin/class-wc-admin-dashboard-setup.php
+
+ -
+ message: '#^Cannot call method is_complete\(\) on array\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/admin/class-wc-admin-dashboard-setup.php
+
+ -
+ message: '#^Cannot call method is_hidden\(\) on array\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/admin/class-wc-admin-dashboard-setup.php
+
+ -
+ message: '#^Method WC_Admin_Dashboard_Setup\:\:get_task_list\(\) should return array but returns array\|float\|int\|string\|false\|null\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/admin/class-wc-admin-dashboard-setup.php
+
+ -
+ message: '#^Method WC_Admin_Dashboard_Setup\:\:render\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-dashboard-setup.php
+
+ -
+ message: '#^Method WC_Admin_Dashboard_Setup\:\:set_task_list\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-dashboard-setup.php
+
+ -
+ message: '#^Method WC_Admin_Dashboard_Setup\:\:set_task_list\(\) has parameter \$task_list with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/admin/class-wc-admin-dashboard-setup.php
+
+ -
+ message: '#^Parameter \#1 \$task of method WC_Admin_Dashboard_Setup\:\:get_button_link\(\) expects Task, array given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-dashboard-setup.php
+
+ -
+ message: '#^Parameter \#4 \$ver of function wp_enqueue_style expects bool\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-dashboard-setup.php
+
+ -
+ message: '#^Parameter \$task of method WC_Admin_Dashboard_Setup\:\:get_button_link\(\) has invalid type Task\.$#'
+ identifier: class.notFound
+ count: 1
+ path: includes/admin/class-wc-admin-dashboard-setup.php
+
+ -
+ message: '#^Property WC_Admin_Dashboard_Setup\:\:\$completed_tasks_count is never read, only written\.$#'
+ identifier: property.onlyWritten
+ count: 1
+ path: includes/admin/class-wc-admin-dashboard-setup.php
+
+ -
+ message: '#^Property WC_Admin_Dashboard_Setup\:\:\$initalized has no type specified\.$#'
+ identifier: missingType.property
+ count: 1
+ path: includes/admin/class-wc-admin-dashboard-setup.php
+
+ -
+ message: '#^Property WC_Admin_Dashboard_Setup\:\:\$task_list has no type specified\.$#'
+ identifier: missingType.property
+ count: 1
+ path: includes/admin/class-wc-admin-dashboard-setup.php
+
+ -
+ message: '#^Property WC_Admin_Dashboard_Setup\:\:\$tasks has no type specified\.$#'
+ identifier: missingType.property
+ count: 1
+ path: includes/admin/class-wc-admin-dashboard-setup.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$product_id\.$#'
+ identifier: property.notFound
+ count: 3
+ path: includes/admin/class-wc-admin-dashboard.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$qty\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/admin/class-wc-admin-dashboard.php
+
+ -
+ message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
+ count: 2
+ path: includes/admin/class-wc-admin-dashboard.php
+
+ -
+ message: '#^Cannot access offset ''chart'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/admin/class-wc-admin-dashboard.php
+
+ -
+ message: '#^Cannot access offset ''data'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: includes/admin/class-wc-admin-dashboard.php
+
+ -
+ message: '#^Cannot access offset ''interval'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/admin/class-wc-admin-dashboard.php
+
+ -
+ message: '#^Cannot access offset ''intervals'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/admin/class-wc-admin-dashboard.php
+
+ -
+ message: '#^Cannot access offset ''subtotals'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: includes/admin/class-wc-admin-dashboard.php
+
+ -
+ message: '#^Cannot access offset ''total'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: includes/admin/class-wc-admin-dashboard.php
+
+ -
+ message: '#^Cannot access offset ''value'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/admin/class-wc-admin-dashboard.php
+
+ -
+ message: '#^Cannot access property \$items_sold on mixed\.$#'
+ identifier: property.nonObject
+ count: 2
+ path: includes/admin/class-wc-admin-dashboard.php
+
+ -
+ message: '#^Cannot access property \$net_revenue on mixed\.$#'
+ identifier: property.nonObject
+ count: 2
+ path: includes/admin/class-wc-admin-dashboard.php
+
+ -
+ message: '#^Default value of the parameter \#1 \$id \(string\) of method WC_Admin_Dashboard\:\:get_sales_sparkline\(\) is incompatible with type int\.$#'
+ identifier: parameter.defaultValue
+ count: 1
+ path: includes/admin/class-wc-admin-dashboard.php
+
+ -
+ message: '#^Method WC_Admin_Dashboard\:\:get_wc_admin_performance_data\(\) never returns WP_REST_Response so it can be removed from the return type\.$#'
+ identifier: return.unusedType
+ count: 1
+ path: includes/admin/class-wc-admin-dashboard.php
+
+ -
+ message: '#^Method WC_Admin_Dashboard\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-dashboard.php
+
+ -
+ message: '#^Method WC_Admin_Dashboard\:\:network_orders\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-dashboard.php
+
+ -
+ message: '#^Method WC_Admin_Dashboard\:\:recent_reviews\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-dashboard.php
+
+ -
+ message: '#^Method WC_Admin_Dashboard\:\:register_network_order_widget\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-dashboard.php
+
+ -
+ message: '#^Method WC_Admin_Dashboard\:\:status_widget\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-dashboard.php
+
+ -
+ message: '#^Method WC_Admin_Dashboard\:\:status_widget_content\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-dashboard.php
+
+ -
+ message: '#^Method WC_Admin_Dashboard\:\:status_widget_order_rows\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-dashboard.php
+
+ -
+ message: '#^Method WC_Admin_Dashboard\:\:status_widget_stock_rows\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-dashboard.php
+
+ -
+ message: '#^Parameter \#1 \$json of function wc_esc_json expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-dashboard.php
+
+ -
+ message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/admin/class-wc-admin-dashboard.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_attr expects string, int given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/admin/class-wc-admin-dashboard.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_html expects string, int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-dashboard.php
+
+ -
+ message: '#^Parameter \#1 \$time of function strtotime expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-dashboard.php
+
+ -
+ message: '#^Parameter \#1 \$url of function esc_url expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-dashboard.php
+
+ -
+ message: '#^Parameter \#1 \$var of function intval expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-dashboard.php
+
+ -
+ message: '#^Parameter \#1 \$version1 of function version_compare expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-dashboard.php
+
+ -
+ message: '#^Parameter \#2 \$size of function get_avatar expects int, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-dashboard.php
+
+ -
+ message: '#^Parameter \#2 \.\.\.\$values of function printf expects bool\|float\|int\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-dashboard.php
+
+ -
+ message: '#^Parameter \#3 \$number of function _n expects int, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-dashboard.php
+
+ -
+ message: '#^Parameter \#3 \$total of method WC_Admin_Dashboard\:\:sales_sparkline_markup\(\) expects int, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/admin/class-wc-admin-dashboard.php
+
+ -
+ message: '#^Parameter \#4 \$sparkline_data of method WC_Admin_Dashboard\:\:sales_sparkline_markup\(\) expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/admin/class-wc-admin-dashboard.php
+
+ -
+ message: '#^Parameter \#4 \$ver of function wp_enqueue_script expects bool\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 3
+ path: includes/admin/class-wc-admin-dashboard.php
+
+ -
+ message: '#^Parameter \#4 \$ver of function wp_enqueue_style expects bool\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-dashboard.php
+
+ -
+ message: '#^Possibly invalid array key type mixed\.$#'
+ identifier: offsetAccess.invalidOffset
+ count: 1
+ path: includes/admin/class-wc-admin-dashboard.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$ID\.$#'
+ identifier: property.notFound
+ count: 2
+ path: includes/admin/class-wc-admin-duplicate-product.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$post_parent\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/admin/class-wc-admin-duplicate-product.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$post_type\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/admin/class-wc-admin-duplicate-product.php
+
+ -
+ message: '#^Argument of an invalid type array\|null supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
+ count: 1
+ path: includes/admin/class-wc-admin-duplicate-product.php
+
+ -
+ message: '#^Cannot call method get_global_unique_id\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/admin/class-wc-admin-duplicate-product.php
+
+ -
+ message: '#^Cannot call method get_sku\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: includes/admin/class-wc-admin-duplicate-product.php
+
+ -
+ message: '#^Cannot call method read_meta_data\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/admin/class-wc-admin-duplicate-product.php
+
+ -
+ message: '#^Cannot clone non\-object variable \$child of type WC_Product\|false\|null\.$#'
+ identifier: clone.nonObject
+ count: 1
+ path: includes/admin/class-wc-admin-duplicate-product.php
+
+ -
+ message: '#^Method WC_Admin_Duplicate_Product\:\:dupe_button\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-duplicate-product.php
+
+ -
+ message: '#^Method WC_Admin_Duplicate_Product\:\:duplicate_product_action\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-duplicate-product.php
+
+ -
+ message: '#^Method WC_Admin_Duplicate_Product\:\:generate_unique_slug\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-duplicate-product.php
+
+ -
+ message: '#^Method WC_Admin_Duplicate_Product\:\:product_duplicate\(\) should return WC_Product but returns WC_Product\|false\|null\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/admin/class-wc-admin-duplicate-product.php
+
+ -
+ message: '#^Parameter \#1 \$counts of method WC_Product\:\:set_rating_counts\(\) expects array, int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-duplicate-product.php
+
+ -
+ message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/admin/class-wc-admin-duplicate-product.php
+
+ -
+ message: '#^Parameter \#1 \$product of method WC_Admin_Duplicate_Product\:\:product_duplicate\(\) expects WC_Product, WC_Product\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-duplicate-product.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_html expects string, int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-duplicate-product.php
+
+ -
+ message: '#^Constant WC_ABSPATH not found\.$#'
+ identifier: constant.notFound
+ count: 3
+ path: includes/admin/class-wc-admin-exporters.php
+
+ -
+ message: '#^Method WC_Admin_Exporters\:\:add_to_menus\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-exporters.php
+
+ -
+ message: '#^Method WC_Admin_Exporters\:\:admin_scripts\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-exporters.php
+
+ -
+ message: '#^Method WC_Admin_Exporters\:\:do_ajax_product_export\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-exporters.php
+
+ -
+ message: '#^Method WC_Admin_Exporters\:\:download_export_file\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-exporters.php
+
+ -
+ message: '#^Method WC_Admin_Exporters\:\:hide_from_menus\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-exporters.php
+
+ -
+ message: '#^Method WC_Admin_Exporters\:\:menu_highlight_for_product_export\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-exporters.php
+
+ -
+ message: '#^Method WC_Admin_Exporters\:\:product_exporter\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-exporters.php
+
+ -
+ message: '#^Offset ''callback'' does not exist on string\.$#'
+ identifier: offsetAccess.notFound
+ count: 1
+ path: includes/admin/class-wc-admin-exporters.php
+
+ -
+ message: '#^Offset ''capability'' does not exist on string\.$#'
+ identifier: offsetAccess.notFound
+ count: 1
+ path: includes/admin/class-wc-admin-exporters.php
+
+ -
+ message: '#^Offset ''menu'' does not exist on string\.$#'
+ identifier: offsetAccess.notFound
+ count: 4
+ path: includes/admin/class-wc-admin-exporters.php
+
+ -
+ message: '#^Offset ''name'' does not exist on string\.$#'
+ identifier: offsetAccess.notFound
+ count: 2
+ path: includes/admin/class-wc-admin-exporters.php
+
+ -
+ message: '#^Parameter \#1 \$column_names of method WC_CSV_Exporter\:\:set_column_names\(\) expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-exporters.php
+
+ -
+ message: '#^Parameter \#1 \$columns of method WC_CSV_Exporter\:\:set_columns_to_export\(\) expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-exporters.php
+
+ -
+ message: '#^Parameter \#1 \$filename of method WC_CSV_Exporter\:\:set_filename\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-exporters.php
+
+ -
+ message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-exporters.php
+
+ -
+ message: '#^Parameter \#1 \$nonce of function wp_verify_nonce expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-exporters.php
+
+ -
+ message: '#^Parameter \#1 \$product_category_to_export of method WC_Product_CSV_Exporter\:\:set_product_category_to_export\(\) expects string, list\<mixed\> given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-exporters.php
+
+ -
+ message: '#^Parameter \#1 \$product_types_to_export of method WC_Product_CSV_Exporter\:\:set_product_types_to_export\(\) expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-exporters.php
+
+ -
+ message: '#^Parameter \#1 \$str of function sanitize_text_field expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-exporters.php
+
+ -
+ message: '#^Parameter \#4 \$ver of function wp_register_script expects bool\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-exporters.php
+
+ -
+ message: '#^Property WC_Admin_Exporters\:\:\$exporters \(array\<string\>\) does not accept array\<array\<string, list\<\$this\(WC_Admin_Exporters\)\|string\>\|string\>\|string\>\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: includes/admin/class-wc-admin-exporters.php
+
+ -
+ message: '#^Method WC_Admin_Help\:\:add_tabs\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-help.php
+
+ -
+ message: '#^Cannot call method register\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/admin/class-wc-admin-importers.php
+
+ -
+ message: '#^Constant WC_ABSPATH not found\.$#'
+ identifier: constant.notFound
+ count: 3
+ path: includes/admin/class-wc-admin-importers.php
+
+ -
+ message: '#^Method WC_Admin_Importers\:\:add_to_menus\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-importers.php
+
+ -
+ message: '#^Method WC_Admin_Importers\:\:admin_scripts\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-importers.php
+
+ -
+ message: '#^Method WC_Admin_Importers\:\:do_ajax_product_import\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-importers.php
+
+ -
+ message: '#^Method WC_Admin_Importers\:\:hide_from_menus\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-importers.php
+
+ -
+ message: '#^Method WC_Admin_Importers\:\:menu_highlight_for_product_import\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-importers.php
+
+ -
+ message: '#^Method WC_Admin_Importers\:\:post_importer_compatibility\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-importers.php
+
+ -
+ message: '#^Method WC_Admin_Importers\:\:product_importer\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-importers.php
+
+ -
+ message: '#^Method WC_Admin_Importers\:\:register_importers\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-importers.php
+
+ -
+ message: '#^Method WC_Admin_Importers\:\:tax_rates_importer\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-importers.php
+
+ -
+ message: '#^Offset ''callback'' does not exist on string\.$#'
+ identifier: offsetAccess.notFound
+ count: 1
+ path: includes/admin/class-wc-admin-importers.php
+
+ -
+ message: '#^Offset ''capability'' does not exist on string\.$#'
+ identifier: offsetAccess.notFound
+ count: 1
+ path: includes/admin/class-wc-admin-importers.php
+
+ -
+ message: '#^Offset ''menu'' does not exist on string\.$#'
+ identifier: offsetAccess.notFound
+ count: 4
+ path: includes/admin/class-wc-admin-importers.php
+
+ -
+ message: '#^Offset ''name'' does not exist on string\.$#'
+ identifier: offsetAccess.notFound
+ count: 2
+ path: includes/admin/class-wc-admin-importers.php
+
+ -
+ message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-importers.php
+
+ -
+ message: '#^Parameter \#1 \$str of function sanitize_text_field expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-importers.php
+
+ -
+ message: '#^Parameter \#4 \$ver of function wp_register_script expects bool\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-importers.php
+
+ -
+ message: '#^Property WC_Admin_Importers\:\:\$importers \(array\<string\>\) does not accept array\<array\<string, list\<\$this\(WC_Admin_Importers\)\|string\>\|string\>\|string\>\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: includes/admin/class-wc-admin-importers.php
+
+ -
+ message: '#^Cannot access an offset on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/admin/class-wc-admin-log-table-list.php
+
+ -
+ message: '#^Cannot access offset ''value'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/admin/class-wc-admin-log-table-list.php
+
+ -
+ message: '#^Cannot access offset ''version'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/admin/class-wc-admin-log-table-list.php
+
+ -
+ message: '#^Method WC_Admin_Log_Table_List\:\:column_context\(\) should return string but returns string\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/admin/class-wc-admin-log-table-list.php
+
+ -
+ message: '#^Method WC_Admin_Log_Table_List\:\:extra_tablenav\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-log-table-list.php
+
+ -
+ message: '#^Method WC_Admin_Log_Table_List\:\:get_total_items_count\(\) should return int but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/admin/class-wc-admin-log-table-list.php
+
+ -
+ message: '#^Method WC_Admin_Log_Table_List\:\:level_dropdown\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-log-table-list.php
+
+ -
+ message: '#^Method WC_Admin_Log_Table_List\:\:prepare_column_headers\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-log-table-list.php
+
+ -
+ message: '#^Method WC_Admin_Log_Table_List\:\:prepare_items\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-log-table-list.php
+
+ -
+ message: '#^Method WC_Admin_Log_Table_List\:\:source_dropdown\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-log-table-list.php
+
+ -
+ message: '#^Parameter \#1 \$args of method WP_List_Table\:\:set_pagination_args\(\) expects array\{total_items\?\: int, total_pages\?\: int, per_page\?\: int\}, array\{total_items\: int, per_page\: int, total_pages\: float\} given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-log-table-list.php
+
+ -
+ message: '#^Parameter \#1 \$level of static method WC_Log_Levels\:\:get_level_severity\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-log-table-list.php
+
+ -
+ message: '#^Parameter \#1 \$level of static method WC_Log_Levels\:\:is_valid_level\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-log-table-list.php
+
+ -
+ message: '#^Parameter \#1 \$str of function strtolower expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-log-table-list.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_attr expects string, int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-log-table-list.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_html expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-log-table-list.php
+
+ -
+ message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 3
+ path: includes/admin/class-wc-admin-log-table-list.php
+
+ -
+ message: '#^Part \$by \(non\-empty\-array\|string\) of encapsed string cannot be cast to string\.$#'
+ identifier: encapsedStringPart.nonString
+ count: 1
+ path: includes/admin/class-wc-admin-log-table-list.php
+
+ -
+ message: '#^Argument of an invalid type array\|null supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
+ count: 1
+ path: includes/admin/class-wc-admin-marketplace-promotions.php
+
+ -
+ message: '#^Found usage of constant DOING_AJAX\. Use wp_doing_ajax\(\) instead\.$#'
+ identifier: phpstanWP.wpConstant.fetch
+ count: 1
+ path: includes/admin/class-wc-admin-marketplace-promotions.php
+
+ -
+ message: '#^Found usage of constant DOING_CRON\. Use wp_doing_cron\(\) instead\.$#'
+ identifier: phpstanWP.wpConstant.fetch
+ count: 1
+ path: includes/admin/class-wc-admin-marketplace-promotions.php
+
+ -
+ message: '#^Method WC_Admin_Marketplace_Promotions\:\:clear_deprecated_action\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-marketplace-promotions.php
+
+ -
+ message: '#^Method WC_Admin_Marketplace_Promotions\:\:get_active_promotions\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-marketplace-promotions.php
+
+ -
+ message: '#^Method WC_Admin_Marketplace_Promotions\:\:merge_promos\(\) should return array but returns array\|null\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/admin/class-wc-admin-marketplace-promotions.php
+
+ -
+ message: '#^Parameter \#1 \$promotions of static method WC_Admin_Marketplace_Promotions\:\:get_promotions_of_format\(\) expects array\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-marketplace-promotions.php
+
+ -
+ message: '#^Parameter \#1 \$promotions of static method WC_Admin_Marketplace_Promotions\:\:merge_promos\(\) expects array\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-marketplace-promotions.php
+
+ -
+ message: '#^Parameter \#1 \$timestamp of function wp_unschedule_event expects int, int\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-marketplace-promotions.php
+
+ -
+ message: '#^Argument of an invalid type int supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
+ count: 1
+ path: includes/admin/class-wc-admin-menus.php
+
+ -
+ message: '#^Cannot call method custom_orders_table_usage_is_enabled\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/admin/class-wc-admin-menus.php
+
+ -
+ message: '#^Cannot call method setup\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: includes/admin/class-wc-admin-menus.php
+
+ -
+ message: '#^Method WC_Admin_Menus\:\:add_nav_menu_meta_boxes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-menus.php
+
+ -
+ message: '#^Method WC_Admin_Menus\:\:addons_menu\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-menus.php
+
+ -
+ message: '#^Method WC_Admin_Menus\:\:addons_page\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-menus.php
+
+ -
+ message: '#^Method WC_Admin_Menus\:\:admin_bar_menus\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-menus.php
+
+ -
+ message: '#^Method WC_Admin_Menus\:\:admin_menu\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-menus.php
+
+ -
+ message: '#^Method WC_Admin_Menus\:\:attributes_page\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-menus.php
+
+ -
+ message: '#^Method WC_Admin_Menus\:\:can_view_woocommerce_menu_item\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-menus.php
+
+ -
+ message: '#^Method WC_Admin_Menus\:\:hide_submenu_element\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-menus.php
+
+ -
+ message: '#^Method WC_Admin_Menus\:\:maybe_add_new_product_management_experience\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-menus.php
+
+ -
+ message: '#^Method WC_Admin_Menus\:\:menu_highlight\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-menus.php
+
+ -
+ message: '#^Method WC_Admin_Menus\:\:menu_order_count\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-menus.php
+
+ -
+ message: '#^Method WC_Admin_Menus\:\:nav_menu_links\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-menus.php
+
+ -
+ message: '#^Method WC_Admin_Menus\:\:reports_menu\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-menus.php
+
+ -
+ message: '#^Method WC_Admin_Menus\:\:reports_page\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-menus.php
+
+ -
+ message: '#^Method WC_Admin_Menus\:\:set_screen_option\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-menus.php
+
+ -
+ message: '#^Method WC_Admin_Menus\:\:settings_menu\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-menus.php
+
+ -
+ message: '#^Method WC_Admin_Menus\:\:settings_page\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-menus.php
+
+ -
+ message: '#^Method WC_Admin_Menus\:\:settings_page_init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-menus.php
+
+ -
+ message: '#^Method WC_Admin_Menus\:\:status_menu\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-menus.php
+
+ -
+ message: '#^Method WC_Admin_Menus\:\:status_page\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-menus.php
+
+ -
+ message: '#^Parameter \#1 \$data of function wp_kses_post expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/admin/class-wc-admin-menus.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_attr expects string, int\<min, \-1\> given\.$#'
+ identifier: argument.type
+ count: 6
+ path: includes/admin/class-wc-admin-menus.php
+
+ -
+ message: '#^Parameter \#1 \$title of function sanitize_title expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/admin/class-wc-admin-menus.php
+
+ -
+ message: '#^Parameter \#1 \$var of function intval expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-menus.php
+
+ -
+ message: '#^Parameter \#2 \$haystack of function array_search expects array, int given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/admin/class-wc-admin-menus.php
+
+ -
+ message: '#^Parameter \#3 \$menu_title of function add_submenu_page expects string, null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-menus.php
+
+ -
+ message: '#^Parameter \#5 \$callback of function add_menu_page expects ''''\|\(callable\(\)\: mixed\), null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-menus.php
+
+ -
+ message: '#^Parameter \#7 \$position of function add_menu_page expects float\|int\|null, string given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/admin/class-wc-admin-menus.php
+
+ -
+ message: '#^Cannot access property \$labels on WP_Post_Type\|null\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/admin/class-wc-admin-meta-boxes.php
+
+ -
+ message: '#^Method WC_Admin_Meta_Boxes\:\:add_error\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-meta-boxes.php
+
+ -
+ message: '#^Method WC_Admin_Meta_Boxes\:\:add_meta_boxes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-meta-boxes.php
+
+ -
+ message: '#^Method WC_Admin_Meta_Boxes\:\:add_product_boxes_sort_order\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-meta-boxes.php
+
+ -
+ message: '#^Method WC_Admin_Meta_Boxes\:\:append_to_error_store\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-meta-boxes.php
+
+ -
+ message: '#^Method WC_Admin_Meta_Boxes\:\:output_errors\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-meta-boxes.php
+
+ -
+ message: '#^Method WC_Admin_Meta_Boxes\:\:remove_meta_boxes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-meta-boxes.php
+
+ -
+ message: '#^Method WC_Admin_Meta_Boxes\:\:rename_meta_boxes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-meta-boxes.php
+
+ -
+ message: '#^Method WC_Admin_Meta_Boxes\:\:save_errors\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-meta-boxes.php
+
+ -
+ message: '#^Method WC_Admin_Meta_Boxes\:\:save_meta_boxes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-meta-boxes.php
+
+ -
+ message: '#^Parameter \#1 \$arr1 of function array_merge expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-meta-boxes.php
+
+ -
+ message: '#^Parameter \#1 \$data of function wp_kses_post expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-meta-boxes.php
+
+ -
+ message: '#^Parameter \#1 \$nonce of function wp_verify_nonce expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-meta-boxes.php
+
+ -
+ message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-meta-boxes.php
+
+ -
+ message: '#^Parameter \#2 \$object_id of function metadata_exists expects int, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-meta-boxes.php
+
+ -
+ message: '#^Binary operation "\." between ''woocommerce_admin…'' and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: includes/admin/class-wc-admin-notices.php
+
+ -
+ message: '#^Cannot access offset ''enabled'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/admin/class-wc-admin-notices.php
+
+ -
+ message: '#^Cannot access offset ''license_key'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/admin/class-wc-admin-notices.php
+
+ -
+ message: '#^Cannot call method get_legacy_webhooks_count\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: includes/admin/class-wc-admin-notices.php
+
+ -
+ message: '#^Constant WC_ABSPATH not found\.$#'
+ identifier: constant.notFound
+ count: 1
+ path: includes/admin/class-wc-admin-notices.php
+
+ -
+ message: '#^Constant WC_NOTICE_MIN_PHP_VERSION not found\.$#'
+ identifier: constant.notFound
+ count: 1
+ path: includes/admin/class-wc-admin-notices.php
+
+ -
+ message: '#^Constant WC_NOTICE_MIN_WP_VERSION not found\.$#'
+ identifier: constant.notFound
+ count: 1
+ path: includes/admin/class-wc-admin-notices.php
+
+ -
+ message: '#^Constant WC_PHP_MIN_REQUIREMENTS_NOTICE not found\.$#'
+ identifier: constant.notFound
+ count: 1
+ path: includes/admin/class-wc-admin-notices.php
+
+ -
+ message: '#^Method WC_Admin_Notices\:\:add_custom_notice\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-notices.php
+
+ -
+ message: '#^Method WC_Admin_Notices\:\:add_maxmind_missing_license_key_notice\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-notices.php
+
+ -
+ message: '#^Method WC_Admin_Notices\:\:add_min_version_notice\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-notices.php
+
+ -
+ message: '#^Method WC_Admin_Notices\:\:add_notice\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-notices.php
+
+ -
+ message: '#^Method WC_Admin_Notices\:\:add_notices\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-notices.php
+
+ -
+ message: '#^Method WC_Admin_Notices\:\:add_redirect_download_method_notice\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-notices.php
+
+ -
+ message: '#^Method WC_Admin_Notices\:\:base_tables_missing_notice\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-notices.php
+
+ -
+ message: '#^Method WC_Admin_Notices\:\:download_directories_sync_complete\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-notices.php
+
+ -
+ message: '#^Method WC_Admin_Notices\:\:get_notices\(\) should return array but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/admin/class-wc-admin-notices.php
+
+ -
+ message: '#^Method WC_Admin_Notices\:\:hide_notice\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-notices.php
+
+ -
+ message: '#^Method WC_Admin_Notices\:\:hide_notices\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-notices.php
+
+ -
+ message: '#^Method WC_Admin_Notices\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-notices.php
+
+ -
+ message: '#^Method WC_Admin_Notices\:\:install_notice\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-notices.php
+
+ -
+ message: '#^Method WC_Admin_Notices\:\:legacy_shipping_notice\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-notices.php
+
+ -
+ message: '#^Method WC_Admin_Notices\:\:maxmind_missing_license_key_notice\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-notices.php
+
+ -
+ message: '#^Method WC_Admin_Notices\:\:maybe_add_legacy_api_removal_notice\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-notices.php
+
+ -
+ message: '#^Method WC_Admin_Notices\:\:maybe_remove_legacy_api_removal_notice\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-notices.php
+
+ -
+ message: '#^Method WC_Admin_Notices\:\:no_shipping_methods_notice\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-notices.php
+
+ -
+ message: '#^Method WC_Admin_Notices\:\:output_custom_notices\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-notices.php
+
+ -
+ message: '#^Method WC_Admin_Notices\:\:redirect_download_method_notice\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-notices.php
+
+ -
+ message: '#^Method WC_Admin_Notices\:\:regenerating_lookup_table_notice\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-notices.php
+
+ -
+ message: '#^Method WC_Admin_Notices\:\:regenerating_thumbnails_notice\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-notices.php
+
+ -
+ message: '#^Method WC_Admin_Notices\:\:remove_all_notices\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-notices.php
+
+ -
+ message: '#^Method WC_Admin_Notices\:\:remove_notice\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-notices.php
+
+ -
+ message: '#^Method WC_Admin_Notices\:\:reset_admin_notices\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-notices.php
+
+ -
+ message: '#^Method WC_Admin_Notices\:\:secure_connection_notice\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-notices.php
+
+ -
+ message: '#^Method WC_Admin_Notices\:\:set_notices\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-notices.php
+
+ -
+ message: '#^Method WC_Admin_Notices\:\:simplify_commerce_notice\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-notices.php
+
+ -
+ message: '#^Method WC_Admin_Notices\:\:store_notices\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-notices.php
+
+ -
+ message: '#^Method WC_Admin_Notices\:\:template_file_check_notice\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-notices.php
+
+ -
+ message: '#^Method WC_Admin_Notices\:\:theme_check_notice\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-notices.php
+
+ -
+ message: '#^Method WC_Admin_Notices\:\:update_notice\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-notices.php
+
+ -
+ message: '#^Method WC_Admin_Notices\:\:uploads_directory_is_unprotected_notice\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-notices.php
+
+ -
+ message: '#^Parameter \#1 \$arr1 of function array_diff expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-notices.php
+
+ -
+ message: '#^Parameter \#1 \$notices of static method WC_Admin_Notices\:\:set_notices\(\) expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-notices.php
+
+ -
+ message: '#^Parameter \#1 \$str of function sanitize_text_field expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-notices.php
+
+ -
+ message: '#^Parameter \#2 \$callback of function add_action expects callable\(\)\: mixed, array\{''WC_Admin_Notices'', mixed\} given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-notices.php
+
+ -
+ message: '#^Parameter \#4 \$ver of function wp_enqueue_style expects bool\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-notices.php
+
+ -
+ message: '#^Possibly invalid array key type mixed\.$#'
+ identifier: offsetAccess.invalidOffset
+ count: 1
+ path: includes/admin/class-wc-admin-notices.php
+
+ -
+ message: '#^Method WC_Admin_Permalink_Settings\:\:product_attribute_slug_input\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-permalink-settings.php
+
+ -
+ message: '#^Method WC_Admin_Permalink_Settings\:\:product_category_slug_input\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-permalink-settings.php
+
+ -
+ message: '#^Method WC_Admin_Permalink_Settings\:\:product_tag_slug_input\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-permalink-settings.php
+
+ -
+ message: '#^Method WC_Admin_Permalink_Settings\:\:settings\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-permalink-settings.php
+
+ -
+ message: '#^Method WC_Admin_Permalink_Settings\:\:settings_init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-permalink-settings.php
+
+ -
+ message: '#^Method WC_Admin_Permalink_Settings\:\:settings_save\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-permalink-settings.php
+
+ -
+ message: '#^Parameter \#1 \$str of function urldecode expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-permalink-settings.php
+
+ -
+ message: '#^Parameter \#1 \$value of function trailingslashit expects string, string\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-permalink-settings.php
+
+ -
+ message: '#^Parameter \#1 \$value of function wc_sanitize_permalink expects string, array\|string\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-permalink-settings.php
+
+ -
+ message: '#^Method WC_Admin_Pointers\:\:create_product_tutorial\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-pointers.php
+
+ -
+ message: '#^Method WC_Admin_Pointers\:\:create_variable_product_tutorial\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-pointers.php
+
+ -
+ message: '#^Method WC_Admin_Pointers\:\:create_wc_addons_tutorial\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-pointers.php
+
+ -
+ message: '#^Method WC_Admin_Pointers\:\:setup_pointers_for_screen\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-pointers.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$base\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/admin/class-wc-admin-post-types.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$post_type\.$#'
+ identifier: property.notFound
+ count: 2
+ path: includes/admin/class-wc-admin-post-types.php
+
+ -
+ message: '#^Action callback returns int but should not return anything\.$#'
+ identifier: return.void
+ count: 1
+ path: includes/admin/class-wc-admin-post-types.php
+
+ -
+ message: '#^Binary operation "\+" between float and non\-falsy\-string results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: includes/admin/class-wc-admin-post-types.php
+
+ -
+ message: '#^Binary operation "\-" between float and non\-falsy\-string results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: includes/admin/class-wc-admin-post-types.php
+
+ -
+ message: '#^Binary operation "/" between string and 100 results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 3
+ path: includes/admin/class-wc-admin-post-types.php
+
+ -
+ message: '#^Call to an undefined method object\:\:get_shipping_class_id_by_slug\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/admin/class-wc-admin-post-types.php
+
+ -
+ message: '#^Cannot access property \$id on WP_Screen\|null\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/admin/class-wc-admin-post-types.php
+
+ -
+ message: '#^Cannot access property \$post_password on mixed\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/admin/class-wc-admin-post-types.php
+
+ -
+ message: '#^Cannot access property \$post_type on mixed\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/admin/class-wc-admin-post-types.php
+
+ -
+ message: '#^Cannot call method feature_is_enabled\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: includes/admin/class-wc-admin-post-types.php
+
+ -
+ message: '#^Cannot call method get_catalog_visibility\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/admin/class-wc-admin-post-types.php
+
+ -
+ message: '#^Cannot call method get_featured\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/admin/class-wc-admin-post-types.php
+
+ -
+ message: '#^Cannot call method save\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/admin/class-wc-admin-post-types.php
+
+ -
+ message: '#^Cannot call method set_stock_status\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/admin/class-wc-admin-post-types.php
+
+ -
+ message: '#^Cannot cast array\|string to string\.$#'
+ identifier: cast.string
+ count: 1
+ path: includes/admin/class-wc-admin-post-types.php
+
+ -
+ message: '#^Method WC_Admin_Post_Types\:\:add_display_post_states\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-post-types.php
+
+ -
+ message: '#^Method WC_Admin_Post_Types\:\:bulk_and_quick_edit_hook\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-post-types.php
+
+ -
+ message: '#^Method WC_Admin_Post_Types\:\:bulk_edit\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-post-types.php
+
+ -
+ message: '#^Method WC_Admin_Post_Types\:\:bulk_edit_save\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-post-types.php
+
+ -
+ message: '#^Method WC_Admin_Post_Types\:\:disable_autosave\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-post-types.php
+
+ -
+ message: '#^Method WC_Admin_Post_Types\:\:edit_form_after_title\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-post-types.php
+
+ -
+ message: '#^Method WC_Admin_Post_Types\:\:edit_form_top\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-post-types.php
+
+ -
+ message: '#^Method WC_Admin_Post_Types\:\:maybe_display_warning_for_password_protected_coupon\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-post-types.php
+
+ -
+ message: '#^Method WC_Admin_Post_Types\:\:maybe_update_cogs_value\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-post-types.php
+
+ -
+ message: '#^Method WC_Admin_Post_Types\:\:process_product_file_download_paths\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-post-types.php
+
+ -
+ message: '#^Method WC_Admin_Post_Types\:\:product_data_visibility\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-post-types.php
+
+ -
+ message: '#^Method WC_Admin_Post_Types\:\:quick_edit\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-post-types.php
+
+ -
+ message: '#^Method WC_Admin_Post_Types\:\:quick_edit_save\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-post-types.php
+
+ -
+ message: '#^Method WC_Admin_Post_Types\:\:setup_screen\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-post-types.php
+
+ -
+ message: '#^Method WC_Admin_Post_Types\:\:show_cpt_archive_notice\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-post-types.php
+
+ -
+ message: '#^Negated boolean expression is always true\.$#'
+ identifier: booleanNot.alwaysTrue
+ count: 1
+ path: includes/admin/class-wc-admin-post-types.php
+
+ -
+ message: '#^Parameter \#1 \$amount of function wc_stock_amount expects float\|int, float\|int\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-post-types.php
+
+ -
+ message: '#^Parameter \#1 \$args of function get_terms expects array\{taxonomy\?\: array\<string\>\|string, object_ids\?\: array\<int\>\|int, orderby\?\: string, order\?\: string, hide_empty\?\: bool\|int, include\?\: array\<int\>\|string, exclude\?\: array\<int\>\|string, exclude_tree\?\: array\<int\>\|string, \.\.\.\}, ''product_shipping…'' given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/admin/class-wc-admin-post-types.php
+
+ -
+ message: '#^Parameter \#1 \$backorders of method WC_Product\:\:set_backorders\(\) expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/admin/class-wc-admin-post-types.php
+
+ -
+ message: '#^Parameter \#1 \$class of method WC_Product\:\:set_tax_class\(\) expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-post-types.php
+
+ -
+ message: '#^Parameter \#1 \$haystack of function strstr expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-post-types.php
+
+ -
+ message: '#^Parameter \#1 \$height of method WC_Product\:\:set_height\(\) expects float\|string, array\|string given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/admin/class-wc-admin-post-types.php
+
+ -
+ message: '#^Parameter \#1 \$length of method WC_Product\:\:set_length\(\) expects float\|string, array\|string given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/admin/class-wc-admin-post-types.php
+
+ -
+ message: '#^Parameter \#1 \$manage_stock of method WC_Product\:\:set_manage_stock\(\) expects bool, string given\.$#'
+ identifier: argument.type
+ count: 3
+ path: includes/admin/class-wc-admin-post-types.php
+
+ -
+ message: '#^Parameter \#1 \$number of function wc_format_decimal expects float\|string, array\|string given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/admin/class-wc-admin-post-types.php
+
+ -
+ message: '#^Parameter \#1 \$quantity of method WC_Product\:\:set_stock_quantity\(\) expects float\|null, float\|int\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-post-types.php
+
+ -
+ message: '#^Parameter \#1 \$quantity of method WC_Product\:\:set_stock_quantity\(\) expects float\|null, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-post-types.php
+
+ -
+ message: '#^Parameter \#1 \$sku of method WC_Product\:\:set_sku\(\) expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-post-types.php
+
+ -
+ message: '#^Parameter \#1 \$sold_individually of method WC_Product\:\:set_sold_individually\(\) expects bool, string given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/admin/class-wc-admin-post-types.php
+
+ -
+ message: '#^Parameter \#1 \$status of method WC_Product\:\:set_tax_status\(\) expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/admin/class-wc-admin-post-types.php
+
+ -
+ message: '#^Parameter \#1 \$url of function esc_url expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 3
+ path: includes/admin/class-wc-admin-post-types.php
+
+ -
+ message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-post-types.php
+
+ -
+ message: '#^Parameter \#1 \$visibility of method WC_Product\:\:set_catalog_visibility\(\) expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/admin/class-wc-admin-post-types.php
+
+ -
+ message: '#^Parameter \#1 \$weight of method WC_Product\:\:set_weight\(\) expects float\|string, array\|string given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/admin/class-wc-admin-post-types.php
+
+ -
+ message: '#^Parameter \#1 \$width of method WC_Product\:\:set_width\(\) expects float\|string, array\|string given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/admin/class-wc-admin-post-types.php
+
+ -
+ message: '#^Parameter \#2 \$product of method WC_Admin_Post_Types\:\:bulk_edit_save\(\) expects WC_Product, WC_Product\|false\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-post-types.php
+
+ -
+ message: '#^Parameter \#2 \$product of method WC_Admin_Post_Types\:\:quick_edit_save\(\) expects WC_Product, WC_Product\|false\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-post-types.php
+
+ -
+ message: '#^Parameter \#2 \$stock_quantity of function wc_update_product_stock expects int\|null, float\|int\|null given\.$#'
+ identifier: argument.type
+ count: 3
+ path: includes/admin/class-wc-admin-post-types.php
+
+ -
+ message: '#^Parameter \#2 \$stock_status of method WC_Admin_Post_Types\:\:maybe_update_stock_status\(\) expects string\|null, array\|string\|null given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/admin/class-wc-admin-post-types.php
+
+ -
+ message: '#^Unable to resolve the template type T in call to function wp_unslash$#'
+ identifier: argument.templateType
+ count: 1
+ path: includes/admin/class-wc-admin-post-types.php
+
+ -
+ message: '#^Cannot access property \$user_email on WP_User\|false\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/admin/class-wc-admin-profile.php
+
+ -
+ message: '#^Cannot cast mixed to int\.$#'
+ identifier: cast.int
+ count: 1
+ path: includes/admin/class-wc-admin-profile.php
+
+ -
+ message: '#^Method WC_Admin_Profile\:\:add_customer_meta_fields\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-profile.php
+
+ -
+ message: '#^Method WC_Admin_Profile\:\:get_user_meta\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/admin/class-wc-admin-profile.php
+
+ -
+ message: '#^Method WC_Admin_Profile\:\:save_customer_meta_fields\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-profile.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_attr expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-profile.php
+
+ -
+ message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-profile.php
+
+ -
+ message: '#^Call to an undefined method object\:\:output_report\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/admin/class-wc-admin-reports.php
+
+ -
+ message: '#^Method WC_Admin_Reports\:\:get_report\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-reports.php
+
+ -
+ message: '#^Method WC_Admin_Reports\:\:output\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-reports.php
+
+ -
+ message: '#^Method WC_Admin_Reports\:\:register_hook_handlers\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-reports.php
+
+ -
+ message: '#^Method WC_Admin_Reports\:\:replace_dashboard_status_widget_reports\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-reports.php
+
+ -
+ message: '#^Parameter \#1 \$key of function array_key_exists expects int\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-reports.php
+
+ -
+ message: '#^Parameter \#1 \$title of function sanitize_title expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-reports.php
+
+ -
+ message: '#^Property WC_Admin_Report\:\:\$end_date \(int\) does not accept int\|false\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: includes/admin/class-wc-admin-reports.php
+
+ -
+ message: '#^Property WC_Admin_Report\:\:\$start_date \(int\) does not accept int\|false\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: includes/admin/class-wc-admin-reports.php
+
+ -
+ message: '#^Access to an undefined property WC_Countries\:\:\$countries\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/admin/class-wc-admin-settings.php
+
+ -
+ message: '#^Cannot access offset mixed on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/admin/class-wc-admin-settings.php
+
+ -
+ message: '#^Cannot access property \$id on WP_Screen\|null\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/admin/class-wc-admin-settings.php
+
+ -
+ message: '#^Cannot access property \$post_title on WP_Post\|null\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/admin/class-wc-admin-settings.php
+
+ -
+ message: '#^Cannot call method remove_help_tabs\(\) on WP_Screen\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/admin/class-wc-admin-settings.php
+
+ -
+ message: '#^Method WC_Admin_Settings\:\:add_error\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-settings.php
+
+ -
+ message: '#^Method WC_Admin_Settings\:\:add_message\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-settings.php
+
+ -
+ message: '#^Method WC_Admin_Settings\:\:check_download_folder_protection\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-settings.php
+
+ -
+ message: '#^Method WC_Admin_Settings\:\:get_settings_pages\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-settings.php
+
+ -
+ message: '#^Method WC_Admin_Settings\:\:output\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-settings.php
+
+ -
+ message: '#^Method WC_Admin_Settings\:\:output_fields\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-settings.php
+
+ -
+ message: '#^Method WC_Admin_Settings\:\:reset_settings_pages_on_feature_change\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-settings.php
+
+ -
+ message: '#^Method WC_Admin_Settings\:\:save\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-settings.php
+
+ -
+ message: '#^Method WC_Admin_Settings\:\:show_messages\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-settings.php
+
+ -
+ message: '#^Parameter \#1 \$array_arg of function key expects array\|object, array\<mixed\>\|string given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/admin/class-wc-admin-settings.php
+
+ -
+ message: '#^Parameter \#1 \$json of function wc_esc_json expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-settings.php
+
+ -
+ message: '#^Parameter \#1 \$option of function get_option expects string, int\|string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-settings.php
+
+ -
+ message: '#^Parameter \#1 \$str of function stripslashes expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-settings.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_attr expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-settings.php
+
+ -
+ message: '#^Parameter \#3 \$autoload of function update_option expects bool\|null, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-settings.php
+
+ -
+ message: '#^Variable \$option_display_name might not be defined\.$#'
+ identifier: variable.undefined
+ count: 1
+ path: includes/admin/class-wc-admin-settings.php
+
+ -
+ message: '#^Access to an undefined property WC_Countries\:\:\$countries\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/admin/class-wc-admin-setup-wizard.php
+
+ -
+ message: '#^Call to function is_callable\(\) with ''fastcgi_finish…'' will always evaluate to true\.$#'
+ identifier: function.alreadyNarrowedType
+ count: 1
+ path: includes/admin/class-wc-admin-setup-wizard.php
+
+ -
+ message: '#^Cannot access offset mixed on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: includes/admin/class-wc-admin-setup-wizard.php
+
+ -
+ message: '#^Method WC_Admin_Setup_Wizard\:\:admin_menus\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-setup-wizard.php
+
+ -
+ message: '#^Method WC_Admin_Setup_Wizard\:\:close_http_connection\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-setup-wizard.php
+
+ -
+ message: '#^Method WC_Admin_Setup_Wizard\:\:display_recommended_item\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-setup-wizard.php
+
+ -
+ message: '#^Method WC_Admin_Setup_Wizard\:\:display_recommended_item\(\) has parameter \$item_info with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/admin/class-wc-admin-setup-wizard.php
+
+ -
+ message: '#^Method WC_Admin_Setup_Wizard\:\:display_service_item\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-setup-wizard.php
+
+ -
+ message: '#^Method WC_Admin_Setup_Wizard\:\:enqueue_scripts\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-setup-wizard.php
+
+ -
+ message: '#^Method WC_Admin_Setup_Wizard\:\:get_activate_error_message\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-setup-wizard.php
+
+ -
+ message: '#^Method WC_Admin_Setup_Wizard\:\:get_activate_error_message\(\) has parameter \$code with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/admin/class-wc-admin-setup-wizard.php
+
+ -
+ message: '#^Method WC_Admin_Setup_Wizard\:\:get_all_activate_errors\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-setup-wizard.php
+
+ -
+ message: '#^Method WC_Admin_Setup_Wizard\:\:get_product_dimension_selection\(\) should return string but returns string\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/admin/class-wc-admin-setup-wizard.php
+
+ -
+ message: '#^Method WC_Admin_Setup_Wizard\:\:get_product_weight_selection\(\) should return string but returns string\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/admin/class-wc-admin-setup-wizard.php
+
+ -
+ message: '#^Method WC_Admin_Setup_Wizard\:\:install_jetpack\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-setup-wizard.php
+
+ -
+ message: '#^Method WC_Admin_Setup_Wizard\:\:install_plugin\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-setup-wizard.php
+
+ -
+ message: '#^Method WC_Admin_Setup_Wizard\:\:install_theme\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-setup-wizard.php
+
+ -
+ message: '#^Method WC_Admin_Setup_Wizard\:\:install_woocommerce_services\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-setup-wizard.php
+
+ -
+ message: '#^Method WC_Admin_Setup_Wizard\:\:is_eway_payments_supported_country\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-setup-wizard.php
+
+ -
+ message: '#^Method WC_Admin_Setup_Wizard\:\:is_klarna_checkout_supported_country\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-setup-wizard.php
+
+ -
+ message: '#^Method WC_Admin_Setup_Wizard\:\:is_klarna_payments_supported_country\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-setup-wizard.php
+
+ -
+ message: '#^Method WC_Admin_Setup_Wizard\:\:is_shipstation_supported_country\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-setup-wizard.php
+
+ -
+ message: '#^Method WC_Admin_Setup_Wizard\:\:is_square_supported_country\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-setup-wizard.php
+
+ -
+ message: '#^Method WC_Admin_Setup_Wizard\:\:is_stripe_supported_country\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-setup-wizard.php
+
+ -
+ message: '#^Method WC_Admin_Setup_Wizard\:\:is_wcs_shipping_labels_supported_country\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-setup-wizard.php
+
+ -
+ message: '#^Method WC_Admin_Setup_Wizard\:\:plugin_install_info\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-setup-wizard.php
+
+ -
+ message: '#^Method WC_Admin_Setup_Wizard\:\:run_deferred_actions\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-setup-wizard.php
+
+ -
+ message: '#^Method WC_Admin_Setup_Wizard\:\:setup_wizard\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-setup-wizard.php
+
+ -
+ message: '#^Method WC_Admin_Setup_Wizard\:\:setup_wizard_content\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-setup-wizard.php
+
+ -
+ message: '#^Method WC_Admin_Setup_Wizard\:\:setup_wizard_footer\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-setup-wizard.php
+
+ -
+ message: '#^Method WC_Admin_Setup_Wizard\:\:setup_wizard_header\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-setup-wizard.php
+
+ -
+ message: '#^Method WC_Admin_Setup_Wizard\:\:setup_wizard_steps\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-setup-wizard.php
+
+ -
+ message: '#^Method WC_Admin_Setup_Wizard\:\:shipping_method_selection_form\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-setup-wizard.php
+
+ -
+ message: '#^Method WC_Admin_Setup_Wizard\:\:should_show_automated_tax\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-setup-wizard.php
+
+ -
+ message: '#^Method WC_Admin_Setup_Wizard\:\:tracking_modal\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-setup-wizard.php
+
+ -
+ message: '#^Method WC_Admin_Setup_Wizard\:\:wc_setup_activate\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-setup-wizard.php
+
+ -
+ message: '#^Method WC_Admin_Setup_Wizard\:\:wc_setup_activate_actions\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-setup-wizard.php
+
+ -
+ message: '#^Method WC_Admin_Setup_Wizard\:\:wc_setup_activate_get_feature_list\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-setup-wizard.php
+
+ -
+ message: '#^Method WC_Admin_Setup_Wizard\:\:wc_setup_activate_get_feature_list_str\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-setup-wizard.php
+
+ -
+ message: '#^Method WC_Admin_Setup_Wizard\:\:wc_setup_activate_save\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-setup-wizard.php
+
+ -
+ message: '#^Method WC_Admin_Setup_Wizard\:\:wc_setup_new_onboarding\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-setup-wizard.php
+
+ -
+ message: '#^Method WC_Admin_Setup_Wizard\:\:wc_setup_new_onboarding_save\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-setup-wizard.php
+
+ -
+ message: '#^Method WC_Admin_Setup_Wizard\:\:wc_setup_payment\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-setup-wizard.php
+
+ -
+ message: '#^Method WC_Admin_Setup_Wizard\:\:wc_setup_payment_save\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-setup-wizard.php
+
+ -
+ message: '#^Method WC_Admin_Setup_Wizard\:\:wc_setup_ready\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-setup-wizard.php
+
+ -
+ message: '#^Method WC_Admin_Setup_Wizard\:\:wc_setup_recommended\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-setup-wizard.php
+
+ -
+ message: '#^Method WC_Admin_Setup_Wizard\:\:wc_setup_recommended_save\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-setup-wizard.php
+
+ -
+ message: '#^Method WC_Admin_Setup_Wizard\:\:wc_setup_shipping\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-setup-wizard.php
+
+ -
+ message: '#^Method WC_Admin_Setup_Wizard\:\:wc_setup_shipping_save\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-setup-wizard.php
+
+ -
+ message: '#^Method WC_Admin_Setup_Wizard\:\:wc_setup_store_setup\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-setup-wizard.php
+
+ -
+ message: '#^Method WC_Admin_Setup_Wizard\:\:wc_setup_store_setup_save\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-setup-wizard.php
+
+ -
+ message: '#^Parameter \#1 \$json of function wc_esc_json expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 4
+ path: includes/admin/class-wc-admin-setup-wizard.php
+
+ -
+ message: '#^Parameter \#1 \$str of function rawurlencode expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-setup-wizard.php
+
+ -
+ message: '#^Parameter \#1 \$str of function sanitize_text_field expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-setup-wizard.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_attr expects string, int given\.$#'
+ identifier: argument.type
+ count: 3
+ path: includes/admin/class-wc-admin-setup-wizard.php
+
+ -
+ message: '#^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-setup-wizard.php
+
+ -
+ message: '#^Parameter \#3 \$subject of function str_replace expects array\<string\>\|string, float given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-setup-wizard.php
+
+ -
+ message: '#^Property WC_Admin_Setup_Wizard\:\:\$step \(string\) does not accept int\|string\|false\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: includes/admin/class-wc-admin-setup-wizard.php
+
+ -
+ message: '#^Property WC_Admin_Setup_Wizard\:\:\$tweets is never read, only written\.$#'
+ identifier: property.onlyWritten
+ count: 1
+ path: includes/admin/class-wc-admin-setup-wizard.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$Author URI\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/admin/class-wc-admin-status.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$Name\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/admin/class-wc-admin-status.php
+
+ -
+ message: '#^Binary operation "\." between mixed and ''\.0'' results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: includes/admin/class-wc-admin-status.php
+
+ -
+ message: '#^Call to an undefined method object\:\:get_stylesheet\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/admin/class-wc-admin-status.php
+
+ -
+ message: '#^Cannot access offset ''version'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/admin/class-wc-admin-status.php
+
+ -
+ message: '#^Cannot access offset 0 on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/admin/class-wc-admin-status.php
+
+ -
+ message: '#^Cannot call method render\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/admin/class-wc-admin-status.php
+
+ -
+ message: '#^Method WC_Admin_Status\:\:flush_db_logs\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-status.php
+
+ -
+ message: '#^Method WC_Admin_Status\:\:log_table_bulk_actions\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-status.php
+
+ -
+ message: '#^Method WC_Admin_Status\:\:output\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-status.php
+
+ -
+ message: '#^Method WC_Admin_Status\:\:output_tables_info\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-status.php
+
+ -
+ message: '#^Method WC_Admin_Status\:\:remove_log\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-status.php
+
+ -
+ message: '#^Method WC_Admin_Status\:\:status_logs\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-status.php
+
+ -
+ message: '#^Method WC_Admin_Status\:\:status_logs_db\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-status.php
+
+ -
+ message: '#^Method WC_Admin_Status\:\:status_logs_file\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-status.php
+
+ -
+ message: '#^Method WC_Admin_Status\:\:status_report\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-status.php
+
+ -
+ message: '#^Method WC_Admin_Status\:\:status_tools\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-status.php
+
+ -
+ message: '#^Parameter \#1 \$fp of function fclose expects resource, resource\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-status.php
+
+ -
+ message: '#^Parameter \#1 \$fp of function fread expects resource, resource\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-status.php
+
+ -
+ message: '#^Parameter \#1 \$key of function array_key_exists expects int\|string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-status.php
+
+ -
+ message: '#^Parameter \#1 \$nonce of function wp_verify_nonce expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/admin/class-wc-admin-status.php
+
+ -
+ message: '#^Parameter \#1 \$title of function sanitize_title expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/admin/class-wc-admin-status.php
+
+ -
+ message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-status.php
+
+ -
+ message: '#^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-status.php
+
+ -
+ message: '#^Parameter \#3 \$length of function substr expects int, int\<0, max\>\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-status.php
+
+ -
+ message: '#^Parameter \#3 \$subject of function preg_replace expects array\<float\|int\|string\>\|string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-status.php
+
+ -
+ message: '#^Parameter \#3 \$subject of function str_replace expects array\<string\>\|string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-status.php
+
+ -
+ message: '#^Static method WC_Admin_Status\:\:output_plugins_info\(\) is unused\.$#'
+ identifier: method.unused
+ count: 1
+ path: includes/admin/class-wc-admin-status.php
+
+ -
+ message: '#^Static method WC_Admin_Status\:\:output_tables_info\(\) is unused\.$#'
+ identifier: method.unused
+ count: 1
+ path: includes/admin/class-wc-admin-status.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$name\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/admin/class-wc-admin-taxonomies.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$term_id\.$#'
+ identifier: property.notFound
+ count: 4
+ path: includes/admin/class-wc-admin-taxonomies.php
+
+ -
+ message: '#^Cannot access offset ''cb'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/admin/class-wc-admin-taxonomies.php
+
+ -
+ message: '#^Cannot access property \$term_id on mixed\.$#'
+ identifier: property.nonObject
+ count: 2
+ path: includes/admin/class-wc-admin-taxonomies.php
+
+ -
+ message: '#^Cannot call method schedule_action\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/admin/class-wc-admin-taxonomies.php
+
+ -
+ message: '#^Constant WC_VERSION not found\.$#'
+ identifier: constant.notFound
+ count: 1
+ path: includes/admin/class-wc-admin-taxonomies.php
+
+ -
+ message: '#^Method WC_Admin_Taxonomies\:\:add_category_fields\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-taxonomies.php
+
+ -
+ message: '#^Method WC_Admin_Taxonomies\:\:create_term\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-taxonomies.php
+
+ -
+ message: '#^Method WC_Admin_Taxonomies\:\:delete_term\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-taxonomies.php
+
+ -
+ message: '#^Method WC_Admin_Taxonomies\:\:edit_category_fields\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-taxonomies.php
+
+ -
+ message: '#^Method WC_Admin_Taxonomies\:\:get_instance\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-taxonomies.php
+
+ -
+ message: '#^Method WC_Admin_Taxonomies\:\:handle_product_cat_row_actions\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-taxonomies.php
+
+ -
+ message: '#^Method WC_Admin_Taxonomies\:\:product_attribute_description\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-taxonomies.php
+
+ -
+ message: '#^Method WC_Admin_Taxonomies\:\:product_cat_description\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-taxonomies.php
+
+ -
+ message: '#^Method WC_Admin_Taxonomies\:\:product_cat_notes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-taxonomies.php
+
+ -
+ message: '#^Method WC_Admin_Taxonomies\:\:save_category_fields\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-taxonomies.php
+
+ -
+ message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 4
+ path: includes/admin/class-wc-admin-taxonomies.php
+
+ -
+ message: '#^Parameter \#1 \$post_id of function wp_get_attachment_thumb_url expects int, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-taxonomies.php
+
+ -
+ message: '#^Parameter \#1 \$term of function get_term expects int\|object, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-taxonomies.php
+
+ -
+ message: '#^Parameter \#1 \$term_id of function update_term_meta expects int, mixed given\.$#'
+ identifier: argument.type
+ count: 3
+ path: includes/admin/class-wc-admin-taxonomies.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_attr expects string, int given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/admin/class-wc-admin-taxonomies.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_attr expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-taxonomies.php
+
+ -
+ message: '#^Parameter \#1 \$url of function esc_url expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-taxonomies.php
+
+ -
+ message: '#^Parameter \#2 \.\.\.\$args of function array_merge expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-taxonomies.php
+
+ -
+ message: '#^Parameter \#3 \$subject of function str_replace expects array\<string\>\|string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-taxonomies.php
+
+ -
+ message: '#^Property WC_Admin_Taxonomies\:\:\$default_cat_id \(int\) does not accept mixed\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: includes/admin/class-wc-admin-taxonomies.php
+
+ -
+ message: '#^Static property WC_Admin_Taxonomies\:\:\$instance \(WC_Admin_Taxonomies\) does not accept default value of type false\.$#'
+ identifier: property.defaultValue
+ count: 1
+ path: includes/admin/class-wc-admin-taxonomies.php
+
+ -
+ message: '#^Method WC_Admin_Upload_Downloadable_Product\:\:woocommerce_media_upload_downloadable_product\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-upload-downloadable-product.php
+
+ -
+ message: '#^Negated boolean expression is always false\.$#'
+ identifier: booleanNot.alwaysFalse
+ count: 1
+ path: includes/admin/class-wc-admin-upload-downloadable-product.php
+
+ -
+ message: '#^Parameter \#2 \$callback of function add_action expects callable\(\)\: mixed, array\{\$this\(WC_Admin_Upload_Downloadable_Product\), ''media_upload…''\} given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-upload-downloadable-product.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_count_webhooks_by_status\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/admin/class-wc-admin-webhooks-table-list.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:search_webhooks\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/admin/class-wc-admin-webhooks-table-list.php
+
+ -
+ message: '#^Cannot call method get_legacy_webhooks_count\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/admin/class-wc-admin-webhooks-table-list.php
+
+ -
+ message: '#^Method WC_Admin_Webhooks_Table_List\:\:display_tablenav\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-webhooks-table-list.php
+
+ -
+ message: '#^Method WC_Admin_Webhooks_Table_List\:\:no_items\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-webhooks-table-list.php
+
+ -
+ message: '#^Method WC_Admin_Webhooks_Table_List\:\:prepare_items\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-webhooks-table-list.php
+
+ -
+ message: '#^Method WC_Admin_Webhooks_Table_List\:\:process_bulk_action\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-webhooks-table-list.php
+
+ -
+ message: '#^Parameter \#1 \$callback of function array_map expects \(callable\(mixed\)\: mixed\)\|null, ''absint'' given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-webhooks-table-list.php
+
+ -
+ message: '#^Parameter \#1 \$key of function sanitize_key expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 4
+ path: includes/admin/class-wc-admin-webhooks-table-list.php
+
+ -
+ message: '#^Parameter \#1 \$str of function sanitize_text_field expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/admin/class-wc-admin-webhooks-table-list.php
+
+ -
+ message: '#^Parameter \#1 \$which of method WP_List_Table\:\:bulk_actions\(\) expects ''bottom''\|''top'', string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-webhooks-table-list.php
+
+ -
+ message: '#^Parameter \#1 \$which of method WP_List_Table\:\:pagination\(\) expects ''bottom''\|''top'', string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-webhooks-table-list.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_count_webhooks_by_status\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/admin/class-wc-admin-webhooks.php
+
+ -
+ message: '#^Default value of the parameter \#1 \$webhook \(string\) of method WC_Admin_Webhooks\:\:logs_output\(\) is incompatible with type WC_Webhook\.$#'
+ identifier: parameter.defaultValue
+ count: 1
+ path: includes/admin/class-wc-admin-webhooks.php
+
+ -
+ message: '#^Method WC_Admin_Webhooks\:\:actions\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-webhooks.php
+
+ -
+ message: '#^Method WC_Admin_Webhooks\:\:bulk_delete\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-webhooks.php
+
+ -
+ message: '#^Method WC_Admin_Webhooks\:\:delete\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-webhooks.php
+
+ -
+ message: '#^Method WC_Admin_Webhooks\:\:get_logs_navigation\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-webhooks.php
+
+ -
+ message: '#^Method WC_Admin_Webhooks\:\:logs_output\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-webhooks.php
+
+ -
+ message: '#^Method WC_Admin_Webhooks\:\:maybe_display_legacy_rest_api_warning\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-webhooks.php
+
+ -
+ message: '#^Method WC_Admin_Webhooks\:\:notices\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-webhooks.php
+
+ -
+ message: '#^Method WC_Admin_Webhooks\:\:page_output\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-webhooks.php
+
+ -
+ message: '#^Method WC_Admin_Webhooks\:\:save\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-webhooks.php
+
+ -
+ message: '#^Method WC_Admin_Webhooks\:\:screen_option\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-webhooks.php
+
+ -
+ message: '#^Method WC_Admin_Webhooks\:\:table_list_output\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin-webhooks.php
+
+ -
+ message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 4
+ path: includes/admin/class-wc-admin-webhooks.php
+
+ -
+ message: '#^Parameter \#1 \$str of function sanitize_text_field expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 7
+ path: includes/admin/class-wc-admin-webhooks.php
+
+ -
+ message: '#^Parameter \#1 \$url of function esc_url_raw expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin-webhooks.php
+
+ -
+ message: '#^Binary operation "\." between ''plugin\-install\.php…'' and array\|string results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: includes/admin/class-wc-admin.php
+
+ -
+ message: '#^Cannot call method ensure_links_open_in_new_tab\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: includes/admin/class-wc-admin.php
+
+ -
+ message: '#^Cannot call method render\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: includes/admin/class-wc-admin.php
+
+ -
+ message: '#^Cannot call method set_email_type\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/admin/class-wc-admin.php
+
+ -
+ message: '#^Constant WC_VERSION not found\.$#'
+ identifier: constant.notFound
+ count: 1
+ path: includes/admin/class-wc-admin.php
+
+ -
+ message: '#^Method WC_Admin\:\:admin_redirects\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin.php
+
+ -
+ message: '#^Method WC_Admin\:\:buffer\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin.php
+
+ -
+ message: '#^Method WC_Admin\:\:conditional_includes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin.php
+
+ -
+ message: '#^Method WC_Admin\:\:includes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin.php
+
+ -
+ message: '#^Method WC_Admin\:\:init_page_controller\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin.php
+
+ -
+ message: '#^Method WC_Admin\:\:prevent_admin_access\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin.php
+
+ -
+ message: '#^Method WC_Admin\:\:preview_emails\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin.php
+
+ -
+ message: '#^Method WC_Admin\:\:setup_wizard_check_jetpack\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/class-wc-admin.php
+
+ -
+ message: '#^Parameter \#1 \$str of function sanitize_text_field expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/admin/class-wc-admin.php
+
+ -
+ message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/class-wc-admin.php
+
+ -
+ message: '#^Cannot access offset ''connected_notice'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/admin/helper/class-wc-helper-admin.php
+
+ -
+ message: '#^Cannot access offset ''connection_url_notice'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/admin/helper/class-wc-helper-admin.php
+
+ -
+ message: '#^Cannot access offset ''disconnected_notice'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/admin/helper/class-wc-helper-admin.php
+
+ -
+ message: '#^Cannot access offset ''email'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/admin/helper/class-wc-helper-admin.php
+
+ -
+ message: '#^Cannot access offset ''has_host_plan_orders'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/admin/helper/class-wc-helper-admin.php
+
+ -
+ message: '#^Cannot access offset ''subscription_expired_notice'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/admin/helper/class-wc-helper-admin.php
+
+ -
+ message: '#^Cannot access offset ''subscription_expiring_notice'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/admin/helper/class-wc-helper-admin.php
+
+ -
+ message: '#^Cannot access offset ''subscription_missing_notice'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/admin/helper/class-wc-helper-admin.php
+
+ -
+ message: '#^Cannot access offset ''wccomHelper'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/admin/helper/class-wc-helper-admin.php
+
+ -
+ message: '#^Cannot access offset ''woocomConnectNoticeType'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/admin/helper/class-wc-helper-admin.php
+
+ -
+ message: '#^Method WC_Helper_Admin\:\:get_featured\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/helper/class-wc-helper-admin.php
+
+ -
+ message: '#^Method WC_Helper_Admin\:\:get_permission\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/helper/class-wc-helper-admin.php
+
+ -
+ message: '#^Method WC_Helper_Admin\:\:get_product_preview\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/helper/class-wc-helper-admin.php
+
+ -
+ message: '#^Method WC_Helper_Admin\:\:get_product_preview\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/admin/helper/class-wc-helper-admin.php
+
+ -
+ message: '#^Method WC_Helper_Admin\:\:register_rest_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/helper/class-wc-helper-admin.php
+
+ -
+ message: '#^Method WC_Helper_Admin\:\:run_clear_cache_tool\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/helper/class-wc-helper-admin.php
+
+ -
+ message: '#^Parameter \#1 \$user_email of static method Automattic\\WooCommerce\\Admin\\PluginsHelper\:\:get_wccom_connected_notice\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/helper/class-wc-helper-admin.php
+
+ -
+ message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/admin/helper/class-wc-helper-admin.php
+
+ -
+ message: '#^Parameter \#2 \$args of function get_avatar_url expects array\{size\?\: int, default\?\: string, force_default\?\: bool, rating\?\: string, scheme\?\: string, processed_args\?\: array\}\|null, array\{size\: ''48''\} given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/helper/class-wc-helper-admin.php
+
+ -
+ message: '#^Binary operation "\." between ''Bearer '' and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: includes/admin/helper/class-wc-helper-api.php
+
+ -
+ message: '#^Cannot access offset ''access_token'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: includes/admin/helper/class-wc-helper-api.php
+
+ -
+ message: '#^Cannot access offset ''access_token_secret'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: includes/admin/helper/class-wc-helper-api.php
+
+ -
+ message: '#^Cannot cast mixed to string\.$#'
+ identifier: cast.string
+ count: 2
+ path: includes/admin/helper/class-wc-helper-api.php
+
+ -
+ message: '#^Method WC_Helper_API\:\:add_auth_parameters\(\) should return string but returns false\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/admin/helper/class-wc-helper-api.php
+
+ -
+ message: '#^Method WC_Helper_API\:\:get\(\) should return array but returns array\|WP_Error\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/admin/helper/class-wc-helper-api.php
+
+ -
+ message: '#^Method WC_Helper_API\:\:load\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/helper/class-wc-helper-api.php
+
+ -
+ message: '#^Method WC_Helper_API\:\:post\(\) should return array but returns array\|WP_Error\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/admin/helper/class-wc-helper-api.php
+
+ -
+ message: '#^Method WC_Helper_API\:\:put\(\) should return array but returns array\|WP_Error\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/admin/helper/class-wc-helper-api.php
+
+ -
+ message: '#^PHPDoc tag @var has invalid value \(\$api_base\)\: Unexpected token "\$api_base", expected type at offset 47 on line 4$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/admin/helper/class-wc-helper-api.php
+
+ -
+ message: '#^Parameter \#2 \$data of function hash_hmac expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/helper/class-wc-helper-api.php
+
+ -
+ message: '#^Property WC_Helper_API\:\:\$api_base has no type specified\.$#'
+ identifier: missingType.property
+ count: 1
+ path: includes/admin/helper/class-wc-helper-api.php
+
+ -
+ message: '#^Cannot access offset ''access_token'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/admin/helper/class-wc-helper-compat.php
+
+ -
+ message: '#^Cannot access offset ''access_token_secret'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/admin/helper/class-wc-helper-compat.php
+
+ -
+ message: '#^Cannot access offset ''site_id'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/admin/helper/class-wc-helper-compat.php
+
+ -
+ message: '#^Cannot access offset ''user_id'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/admin/helper/class-wc-helper-compat.php
+
+ -
+ message: '#^Cannot access property \$admin on mixed\.$#'
+ identifier: property.nonObject
+ count: 4
+ path: includes/admin/helper/class-wc-helper-compat.php
+
+ -
+ message: '#^Method WC_Helper_Compat\:\:admin_menu\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/helper/class-wc-helper-compat.php
+
+ -
+ message: '#^Method WC_Helper_Compat\:\:deactivate_plugin\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/helper/class-wc-helper-compat.php
+
+ -
+ message: '#^Method WC_Helper_Compat\:\:helper_loaded\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/helper/class-wc-helper-compat.php
+
+ -
+ message: '#^Method WC_Helper_Compat\:\:load\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/helper/class-wc-helper-compat.php
+
+ -
+ message: '#^Method WC_Helper_Compat\:\:migrate_connection\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/helper/class-wc-helper-compat.php
+
+ -
+ message: '#^Method WC_Helper_Compat\:\:plugin_deactivation_notice\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/helper/class-wc-helper-compat.php
+
+ -
+ message: '#^Method WC_Helper_Compat\:\:remove_actions\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/helper/class-wc-helper-compat.php
+
+ -
+ message: '#^Method WC_Helper_Compat\:\:render_compat_menu\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/helper/class-wc-helper-compat.php
+
+ -
+ message: '#^Cannot access offset string on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/admin/helper/class-wc-helper-options.php
+
+ -
+ message: '#^Method WC_Helper_Orders_API\:\:create_order\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/admin/helper/class-wc-helper-orders-api.php
+
+ -
+ message: '#^Method WC_Helper_Orders_API\:\:register_rest_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/helper/class-wc-helper-orders-api.php
+
+ -
+ message: '#^Parameter \#2 \$status of class WP_REST_Response constructor expects int, int\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/helper/class-wc-helper-orders-api.php
+
+ -
+ message: '#^Method WC_Helper_Sanitization\:\:wc_pre_sanitize_svg\(\) should return string but returns string\|null\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/admin/helper/class-wc-helper-sanitization.php
+
+ -
+ message: '#^Parameter \#3 \$subject of function preg_replace expects array\<float\|int\|string\>\|string, string\|null given\.$#'
+ identifier: argument.type
+ count: 4
+ path: includes/admin/helper/class-wc-helper-sanitization.php
+
+ -
+ message: '#^Parameter \#3 \$subject of function preg_replace_callback expects array\<float\|int\|string\>\|string, string\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/helper/class-wc-helper-sanitization.php
+
+ -
+ message: '#^Parameter \#3 \$subject of function str_replace expects array\<string\>\|string, string\|null given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/admin/helper/class-wc-helper-sanitization.php
+
+ -
+ message: '#^Cannot access offset ''local'' on non\-empty\-array\|true\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: includes/admin/helper/class-wc-helper-subscriptions-api.php
+
+ -
+ message: '#^Cannot access offset ''product_key'' on non\-empty\-array\|true\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/admin/helper/class-wc-helper-subscriptions-api.php
+
+ -
+ message: '#^Cannot access offset ''product_slug'' on non\-empty\-array\|true\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/admin/helper/class-wc-helper-subscriptions-api.php
+
+ -
+ message: '#^Method WC_Helper_Subscriptions_API\:\:activate\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/helper/class-wc-helper-subscriptions-api.php
+
+ -
+ message: '#^Method WC_Helper_Subscriptions_API\:\:activate\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/admin/helper/class-wc-helper-subscriptions-api.php
+
+ -
+ message: '#^Method WC_Helper_Subscriptions_API\:\:activate_plugin\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/helper/class-wc-helper-subscriptions-api.php
+
+ -
+ message: '#^Method WC_Helper_Subscriptions_API\:\:activate_plugin\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/admin/helper/class-wc-helper-subscriptions-api.php
+
+ -
+ message: '#^Method WC_Helper_Subscriptions_API\:\:connect\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/helper/class-wc-helper-subscriptions-api.php
+
+ -
+ message: '#^Method WC_Helper_Subscriptions_API\:\:connect\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/admin/helper/class-wc-helper-subscriptions-api.php
+
+ -
+ message: '#^Method WC_Helper_Subscriptions_API\:\:disconnect\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/helper/class-wc-helper-subscriptions-api.php
+
+ -
+ message: '#^Method WC_Helper_Subscriptions_API\:\:disconnect\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/admin/helper/class-wc-helper-subscriptions-api.php
+
+ -
+ message: '#^Method WC_Helper_Subscriptions_API\:\:get_permission\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/helper/class-wc-helper-subscriptions-api.php
+
+ -
+ message: '#^Method WC_Helper_Subscriptions_API\:\:get_subscriptions\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/helper/class-wc-helper-subscriptions-api.php
+
+ -
+ message: '#^Method WC_Helper_Subscriptions_API\:\:install_url\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/helper/class-wc-helper-subscriptions-api.php
+
+ -
+ message: '#^Method WC_Helper_Subscriptions_API\:\:install_url\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/admin/helper/class-wc-helper-subscriptions-api.php
+
+ -
+ message: '#^Method WC_Helper_Subscriptions_API\:\:refresh\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/helper/class-wc-helper-subscriptions-api.php
+
+ -
+ message: '#^Method WC_Helper_Subscriptions_API\:\:register_rest_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/helper/class-wc-helper-subscriptions-api.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$checked\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/admin/helper/class-wc-helper-updater.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$id\.$#'
+ identifier: property.notFound
+ count: 2
+ path: includes/admin/helper/class-wc-helper-updater.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$response\.$#'
+ identifier: property.notFound
+ count: 2
+ path: includes/admin/helper/class-wc-helper-updater.php
+
+ -
+ message: '#^Action callback returns WP_Error\|false but should not return anything\.$#'
+ identifier: return.void
+ count: 1
+ path: includes/admin/helper/class-wc-helper-updater.php
+
+ -
+ message: '#^Action callback returns object but should not return anything\.$#'
+ identifier: return.void
+ count: 2
+ path: includes/admin/helper/class-wc-helper-updater.php
+
+ -
+ message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
+ count: 2
+ path: includes/admin/helper/class-wc-helper-updater.php
+
+ -
+ message: '#^Cannot access offset ''data'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/admin/helper/class-wc-helper-updater.php
+
+ -
+ message: '#^Cannot access offset ''last_modified'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: includes/admin/helper/class-wc-helper-updater.php
+
+ -
+ message: '#^Cannot access offset ''package'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/admin/helper/class-wc-helper-updater.php
+
+ -
+ message: '#^Cannot access offset ''products'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/admin/helper/class-wc-helper-updater.php
+
+ -
+ message: '#^Cannot access offset ''version'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/admin/helper/class-wc-helper-updater.php
+
+ -
+ message: '#^Cannot access offset ''wp_locale'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: includes/admin/helper/class-wc-helper-updater.php
+
+ -
+ message: '#^Method WC_Helper_Updater\:\:_update_check\(\) should return array but returns mixed\.$#'
+ identifier: return.type
+ count: 2
+ path: includes/admin/helper/class-wc-helper-updater.php
+
+ -
+ message: '#^Method WC_Helper_Updater\:\:add_connect_woocom_plugin_message\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/helper/class-wc-helper-updater.php
+
+ -
+ message: '#^Method WC_Helper_Updater\:\:add_hook_for_modifying_update_notices\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/helper/class-wc-helper-updater.php
+
+ -
+ message: '#^Method WC_Helper_Updater\:\:add_install_marketplace_plugin_message\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/helper/class-wc-helper-updater.php
+
+ -
+ message: '#^Method WC_Helper_Updater\:\:block_expired_updates\(\) should return WP_Error\|false but returns true\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/admin/helper/class-wc-helper-updater.php
+
+ -
+ message: '#^Method WC_Helper_Updater\:\:display_notice_for_expired_and_expiring_subscriptions\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/helper/class-wc-helper-updater.php
+
+ -
+ message: '#^Method WC_Helper_Updater\:\:display_notice_for_plugins_without_subscription\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/helper/class-wc-helper-updater.php
+
+ -
+ message: '#^Method WC_Helper_Updater\:\:flush_updates_cache\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/helper/class-wc-helper-updater.php
+
+ -
+ message: '#^Method WC_Helper_Updater\:\:get_updates_count\(\) should return int but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/admin/helper/class-wc-helper-updater.php
+
+ -
+ message: '#^Method WC_Helper_Updater\:\:load\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/helper/class-wc-helper-updater.php
+
+ -
+ message: '#^Method WC_Helper_Updater\:\:setup_message_for_expired_and_expiring_subscriptions\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/helper/class-wc-helper-updater.php
+
+ -
+ message: '#^Method WC_Helper_Updater\:\:setup_message_for_plugins_without_subscription\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/helper/class-wc-helper-updater.php
+
+ -
+ message: '#^Method WC_Helper_Updater\:\:setup_update_plugins_messages\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/helper/class-wc-helper-updater.php
+
+ -
+ message: '#^Method WC_Helper_Updater\:\:upgrader_process_complete\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/helper/class-wc-helper-updater.php
+
+ -
+ message: '#^Negated boolean expression is always true\.$#'
+ identifier: booleanNot.alwaysTrue
+ count: 1
+ path: includes/admin/helper/class-wc-helper-updater.php
+
+ -
+ message: '#^PHPDoc tag @return has invalid value \(void\.\)\: Unexpected token "\.", expected TOKEN_HORIZONTAL_WS at offset 141 on line 4$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/admin/helper/class-wc-helper-updater.php
+
+ -
+ message: '#^PHPDoc tag @return has invalid value \(void\.\)\: Unexpected token "\.", expected TOKEN_HORIZONTAL_WS at offset 142 on line 4$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/admin/helper/class-wc-helper-updater.php
+
+ -
+ message: '#^PHPDoc tag @return has invalid value \(void\.\)\: Unexpected token "\.", expected TOKEN_HORIZONTAL_WS at offset 289 on line 7$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/admin/helper/class-wc-helper-updater.php
+
+ -
+ message: '#^PHPDoc tag @return has invalid value \(void\.\)\: Unexpected token "\.", expected TOKEN_HORIZONTAL_WS at offset 369 on line 8$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/admin/helper/class-wc-helper-updater.php
+
+ -
+ message: '#^PHPDoc tag @return has invalid value \(void\.\)\: Unexpected token "\.", expected TOKEN_HORIZONTAL_WS at offset 388 on line 9$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/admin/helper/class-wc-helper-updater.php
+
+ -
+ message: '#^Parameter \#1 \$datetime of class DateTime constructor expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/helper/class-wc-helper-updater.php
+
+ -
+ message: '#^Parameter \#1 \$key of function array_key_exists expects int\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/admin/helper/class-wc-helper-updater.php
+
+ -
+ message: '#^Parameter \#1 \$product_id of static method WC_Helper\:\:has_product_subscription\(\) expects int, \(array\<string\>\|string\|null\) given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/helper/class-wc-helper-updater.php
+
+ -
+ message: '#^Parameter \#1 \$str of function md5 expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/helper/class-wc-helper-updater.php
+
+ -
+ message: '#^Parameter \#2 \$args of function wp_remote_post expects array\{method\?\: string, timeout\?\: float, redirection\?\: int, httpversion\?\: string, user\-agent\?\: string, reject_unsafe_urls\?\: bool, blocking\?\: bool, headers\?\: array\|string, \.\.\.\}, array\{body\: non\-empty\-string\|false, headers\: array\{''Content\-Type\:…''\}, timeout\: int\} given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/helper/class-wc-helper-updater.php
+
+ -
+ message: '#^Parameter \#2 \$arr2 of function array_intersect expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/helper/class-wc-helper-updater.php
+
+ -
+ message: '#^Parameter \#2 \$search of function array_key_exists expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/helper/class-wc-helper-updater.php
+
+ -
+ message: '#^Possibly invalid array key type mixed\.$#'
+ identifier: offsetAccess.invalidOffset
+ count: 1
+ path: includes/admin/helper/class-wc-helper-updater.php
+
+ -
+ message: '#^@param int \$product_id does not accept actual type of parameter\: string\.$#'
+ identifier: parameter.phpDocType
+ count: 2
+ path: includes/admin/helper/class-wc-helper.php
+
+ -
+ message: '#^@param string \$product_key does not accept actual type of parameter\: mixed\.$#'
+ identifier: parameter.phpDocType
+ count: 4
+ path: includes/admin/helper/class-wc-helper.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$id\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/admin/helper/class-wc-helper.php
+
+ -
+ message: '#^Anonymous function has an unused use \$site_id\.$#'
+ identifier: closure.unusedUse
+ count: 1
+ path: includes/admin/helper/class-wc-helper.php
+
+ -
+ message: '#^Argument of an invalid type array\|true supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
+ count: 2
+ path: includes/admin/helper/class-wc-helper.php
+
+ -
+ message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
+ count: 1
+ path: includes/admin/helper/class-wc-helper.php
+
+ -
+ message: '#^Binary operation "\." between ''activate\:'' and array\|string results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: includes/admin/helper/class-wc-helper.php
+
+ -
+ message: '#^Binary operation "\." between ''deactivate\:'' and array\|string results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: includes/admin/helper/class-wc-helper.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_notes_with_name\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/admin/helper/class-wc-helper.php
+
+ -
+ message: '#^Cannot access offset ''_filename'' on array\|bool\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/admin/helper/class-wc-helper.php
+
+ -
+ message: '#^Cannot access offset ''_filename'' on non\-empty\-array\|true\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/admin/helper/class-wc-helper.php
+
+ -
+ message: '#^Cannot access offset ''_type'' on non\-empty\-array\|true\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/admin/helper/class-wc-helper.php
+
+ -
+ message: '#^Cannot access offset ''access_token'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 3
+ path: includes/admin/helper/class-wc-helper.php
+
+ -
+ message: '#^Cannot access offset ''access_token_secret'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: includes/admin/helper/class-wc-helper.php
+
+ -
+ message: '#^Cannot access offset ''code'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/admin/helper/class-wc-helper.php
+
+ -
+ message: '#^Cannot access offset ''email'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/admin/helper/class-wc-helper.php
+
+ -
+ message: '#^Cannot access offset ''message'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/admin/helper/class-wc-helper.php
+
+ -
+ message: '#^Cannot access offset ''name'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/admin/helper/class-wc-helper.php
+
+ -
+ message: '#^Cannot access offset ''product_id'' on array\|bool\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: includes/admin/helper/class-wc-helper.php
+
+ -
+ message: '#^Cannot access offset ''product_id'' on non\-empty\-array\|true\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 3
+ path: includes/admin/helper/class-wc-helper.php
+
+ -
+ message: '#^Cannot access offset ''product_key'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: includes/admin/helper/class-wc-helper.php
+
+ -
+ message: '#^Cannot access offset ''product_name'' on array\|bool\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 7
+ path: includes/admin/helper/class-wc-helper.php
+
+ -
+ message: '#^Cannot access offset ''site_id'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 6
+ path: includes/admin/helper/class-wc-helper.php
+
+ -
+ message: '#^Cannot access offset ''success'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/admin/helper/class-wc-helper.php
+
+ -
+ message: '#^Cannot access offset ''url'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: includes/admin/helper/class-wc-helper.php
+
+ -
+ message: '#^Cannot access offset ''user_id'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: includes/admin/helper/class-wc-helper.php
+
+ -
+ message: '#^Cannot access property \$file on mixed\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/admin/helper/class-wc-helper.php
+
+ -
+ message: '#^Cannot access property \$file_id on mixed\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/admin/helper/class-wc-helper.php
+
+ -
+ message: '#^Cannot access property \$product_id on mixed\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/admin/helper/class-wc-helper.php
+
+ -
+ message: '#^Cannot access property \$response on mixed\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/admin/helper/class-wc-helper.php
+
+ -
+ message: '#^Method WC_Helper\:\:_filter\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/helper/class-wc-helper.php
+
+ -
+ message: '#^Method WC_Helper\:\:_flush_authentication_cache\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/helper/class-wc-helper.php
+
+ -
+ message: '#^Method WC_Helper\:\:_flush_subscriptions_cache\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/helper/class-wc-helper.php
+
+ -
+ message: '#^Method WC_Helper\:\:_flush_updates_cache\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/helper/class-wc-helper.php
+
+ -
+ message: '#^Method WC_Helper\:\:_get_extensions_update_notice\(\) never returns null so it can be removed from the return type\.$#'
+ identifier: return.unusedType
+ count: 1
+ path: includes/admin/helper/class-wc-helper.php
+
+ -
+ message: '#^Method WC_Helper\:\:_get_extensions_update_notice\(\) should return string\|null but empty return statement found\.$#'
+ identifier: return.empty
+ count: 1
+ path: includes/admin/helper/class-wc-helper.php
+
+ -
+ message: '#^Method WC_Helper\:\:_helper_auth_connect\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/helper/class-wc-helper.php
+
+ -
+ message: '#^Method WC_Helper\:\:_helper_auth_disconnect\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/helper/class-wc-helper.php
+
+ -
+ message: '#^Method WC_Helper\:\:_helper_auth_refresh\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/helper/class-wc-helper.php
+
+ -
+ message: '#^Method WC_Helper\:\:_helper_auth_return\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/helper/class-wc-helper.php
+
+ -
+ message: '#^Method WC_Helper\:\:_helper_plugin_deactivate\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/helper/class-wc-helper.php
+
+ -
+ message: '#^Method WC_Helper\:\:_helper_subscription_activate\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/helper/class-wc-helper.php
+
+ -
+ message: '#^Method WC_Helper\:\:activated_plugin\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/helper/class-wc-helper.php
+
+ -
+ message: '#^Method WC_Helper\:\:add_api_error_notice\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/helper/class-wc-helper.php
+
+ -
+ message: '#^Method WC_Helper\:\:admin_enqueue_scripts\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/helper/class-wc-helper.php
+
+ -
+ message: '#^Method WC_Helper\:\:admin_notices\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/helper/class-wc-helper.php
+
+ -
+ message: '#^Method WC_Helper\:\:connect_theme\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/helper/class-wc-helper.php
+
+ -
+ message: '#^Method WC_Helper\:\:current_screen\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/helper/class-wc-helper.php
+
+ -
+ message: '#^Method WC_Helper\:\:deactivated_plugin\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/helper/class-wc-helper.php
+
+ -
+ message: '#^Method WC_Helper\:\:fetch_helper_connection_info\(\) should return array\|WP_Error but returns array\|true\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/admin/helper/class-wc-helper.php
+
+ -
+ message: '#^Method WC_Helper\:\:fetch_helper_connection_info\(\) should return array\|WP_Error but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/admin/helper/class-wc-helper.php
+
+ -
+ message: '#^Method WC_Helper\:\:flush_connection_data_cache\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/helper/class-wc-helper.php
+
+ -
+ message: '#^Method WC_Helper\:\:flush_product_usage_notice_rules_cache\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/helper/class-wc-helper.php
+
+ -
+ message: '#^Method WC_Helper\:\:get_cached_connection_data\(\) should return array\|bool but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/admin/helper/class-wc-helper.php
+
+ -
+ message: '#^Method WC_Helper\:\:get_current_filter\(\) should return string but returns array\|string\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/admin/helper/class-wc-helper.php
+
+ -
+ message: '#^Method WC_Helper\:\:get_local_woo_plugins\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/helper/class-wc-helper.php
+
+ -
+ message: '#^Method WC_Helper\:\:get_local_woo_themes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/helper/class-wc-helper.php
+
+ -
+ message: '#^Method WC_Helper\:\:get_notices\(\) should return array but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/admin/helper/class-wc-helper.php
+
+ -
+ message: '#^Method WC_Helper\:\:get_product_usage_notice_rules\(\) should return array but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/admin/helper/class-wc-helper.php
+
+ -
+ message: '#^Method WC_Helper\:\:get_subscriptions\(\) should return array but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/admin/helper/class-wc-helper.php
+
+ -
+ message: '#^Method WC_Helper\:\:helper_subscription_deactivate\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/helper/class-wc-helper.php
+
+ -
+ message: '#^Method WC_Helper\:\:includes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/helper/class-wc-helper.php
+
+ -
+ message: '#^Method WC_Helper\:\:load\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/helper/class-wc-helper.php
+
+ -
+ message: '#^Method WC_Helper\:\:log\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/helper/class-wc-helper.php
+
+ -
+ message: '#^Method WC_Helper\:\:maybe_redirect_to_new_marketplace_installer\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/helper/class-wc-helper.php
+
+ -
+ message: '#^Method WC_Helper\:\:refresh_helper_subscriptions\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/helper/class-wc-helper.php
+
+ -
+ message: '#^Method WC_Helper\:\:remove_api_error_notice\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/helper/class-wc-helper.php
+
+ -
+ message: '#^Method WC_Helper\:\:render_helper_output\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/helper/class-wc-helper.php
+
+ -
+ message: '#^PHPDoc tag @var has invalid value \(\$log\)\: Unexpected token "\$log", expected type at offset 63 on line 4$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/admin/helper/class-wc-helper.php
+
+ -
+ message: '#^Parameter \#1 \$access_token of static method WC_Helper\:\:update_auth_option\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/admin/helper/class-wc-helper.php
+
+ -
+ message: '#^Parameter \#1 \$callback of function array_map expects \(callable\(mixed\)\: mixed\)\|null, ''esc_html'' given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/helper/class-wc-helper.php
+
+ -
+ message: '#^Parameter \#1 \$code of static method WC_Helper\:\:get_message_for_response_code\(\) expects int, int\<min, 199\>\|int\<201, max\>\|string given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/admin/helper/class-wc-helper.php
+
+ -
+ message: '#^Parameter \#1 \$haystack of function stripos expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 5
+ path: includes/admin/helper/class-wc-helper.php
+
+ -
+ message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 13
+ path: includes/admin/helper/class-wc-helper.php
+
+ -
+ message: '#^Parameter \#1 \$message of class Exception constructor expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/helper/class-wc-helper.php
+
+ -
+ message: '#^Parameter \#1 \$nonce of function wp_verify_nonce expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 7
+ path: includes/admin/helper/class-wc-helper.php
+
+ -
+ message: '#^Parameter \#1 \$product_id of static method WC_Helper\:\:_get_subscriptions_from_product_id\(\) expects int, int\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/helper/class-wc-helper.php
+
+ -
+ message: '#^Parameter \#1 \$product_key of static method WC_Helper\:\:activate_helper_subscription\(\) expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/helper/class-wc-helper.php
+
+ -
+ message: '#^Parameter \#1 \$product_key of static method WC_Helper\:\:deactivate_helper_subscription\(\) expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/helper/class-wc-helper.php
+
+ -
+ message: '#^Parameter \#1 \$product_key of static method WC_Helper\:\:wccom_activate\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/admin/helper/class-wc-helper.php
+
+ -
+ message: '#^Parameter \#1 \$str of function rawurlencode expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/helper/class-wc-helper.php
+
+ -
+ message: '#^Parameter \#1 \$str of function sanitize_text_field expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/helper/class-wc-helper.php
+
+ -
+ message: '#^Parameter \#1 \$str of function urldecode expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/helper/class-wc-helper.php
+
+ -
+ message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 5
+ path: includes/admin/helper/class-wc-helper.php
+
+ -
+ message: '#^Parameter \#1 \$version1 of function version_compare expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/helper/class-wc-helper.php
+
+ -
+ message: '#^Parameter \#2 \$access_token_secret of static method WC_Helper\:\:update_auth_option\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/admin/helper/class-wc-helper.php
+
+ -
+ message: '#^Parameter \#2 \$code of class Exception constructor expects int, int\<min, 199\>\|int\<201, max\>\|string given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/admin/helper/class-wc-helper.php
+
+ -
+ message: '#^Parameter \#2 \$subject of function preg_split expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/helper/class-wc-helper.php
+
+ -
+ message: '#^Parameter \#3 \$site_id of static method WC_Helper\:\:update_auth_option\(\) expects int, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/admin/helper/class-wc-helper.php
+
+ -
+ message: '#^Parameter \#4 \$data of class WC_Data_Exception constructor expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/helper/class-wc-helper.php
+
+ -
+ message: '#^Parameter \#4 \$ver of function wp_enqueue_style expects bool\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/helper/class-wc-helper.php
+
+ -
+ message: '#^Property WC_Helper\:\:\$log has no type specified\.$#'
+ identifier: missingType.property
+ count: 1
+ path: includes/admin/helper/class-wc-helper.php
+
+ -
+ message: '#^Static method WC_Helper\:\:activate_helper_subscription\(\) invoked with 2 parameters, 1 required\.$#'
+ identifier: arguments.count
+ count: 1
+ path: includes/admin/helper/class-wc-helper.php
+
+ -
+ message: '#^Method WC_Plugin_Api_Updater\:\:load\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/helper/class-wc-plugin-api-updater.php
+
+ -
+ message: '#^Method WC_Plugin_Api_Updater\:\:override_products_api_response\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/helper/class-wc-plugin-api-updater.php
+
+ -
+ message: '#^Method WC_Plugin_Api_Updater\:\:themes_api\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/helper/class-wc-plugin-api-updater.php
+
+ -
+ message: '#^Cannot access property \$id on WP_Screen\|null\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/admin/helper/class-wc-product-usage-notice.php
+
+ -
+ message: '#^Method WC_Product_Usage_Notice\:\:ajax_dismiss\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/helper/class-wc-product-usage-notice.php
+
+ -
+ message: '#^Method WC_Product_Usage_Notice\:\:ajax_remind_later\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/helper/class-wc-product-usage-notice.php
+
+ -
+ message: '#^Method WC_Product_Usage_Notice\:\:enqueue_product_usage_notice_scripts\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/helper/class-wc-product-usage-notice.php
+
+ -
+ message: '#^Method WC_Product_Usage_Notice\:\:maybe_show_product_usage_notice\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/helper/class-wc-product-usage-notice.php
+
+ -
+ message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 7
+ path: includes/admin/helper/class-wc-product-usage-notice.php
+
+ -
+ message: '#^Parameter \#1 \$message of function wp_die expects string\|WP_Error, int given\.$#'
+ identifier: argument.type
+ count: 8
+ path: includes/admin/helper/class-wc-product-usage-notice.php
+
+ -
+ message: '#^Cannot access offset ''alert_url_mismatch'' on array\|true\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/admin/helper/class-wc-woo-helper-connection.php
+
+ -
+ message: '#^Cannot access offset ''url'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/admin/helper/class-wc-woo-helper-connection.php
+
+ -
+ message: '#^PHPDoc tag @return with type bool is incompatible with native type string\.$#'
+ identifier: return.phpDocType
+ count: 1
+ path: includes/admin/helper/class-wc-woo-helper-connection.php
+
+ -
+ message: '#^Parameter \#1 \$str of function rtrim expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/helper/class-wc-woo-helper-connection.php
+
+ -
+ message: '#^Method WC_Woo_Update_Manager_Plugin\:\:activate_admin_notice_dismissed\(\) should return bool but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/admin/helper/class-wc-woo-update-manager-plugin.php
+
+ -
+ message: '#^Method WC_Woo_Update_Manager_Plugin\:\:install_admin_notice_dismissed\(\) should return bool but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/admin/helper/class-wc-woo-update-manager-plugin.php
+
+ -
+ message: '#^PHPDoc tag @return with type int is incompatible with native type string\.$#'
+ identifier: return.phpDocType
+ count: 1
+ path: includes/admin/helper/class-wc-woo-update-manager-plugin.php
+
+ -
+ message: '#^Variable \$helper_url might not be defined\.$#'
+ identifier: variable.undefined
+ count: 1
+ path: includes/admin/helper/views/html-helper-compat.php
+
+ -
+ message: '#^Variable \$connect_url might not be defined\.$#'
+ identifier: variable.undefined
+ count: 1
+ path: includes/admin/helper/views/html-oauth-start.php
+
+ -
+ message: '#^Variable \$auth_user_data might not be defined\.$#'
+ identifier: variable.undefined
+ count: 2
+ path: includes/admin/helper/views/html-section-account.php
+
+ -
+ message: '#^Variable \$disconnect_url might not be defined\.$#'
+ identifier: variable.undefined
+ count: 1
+ path: includes/admin/helper/views/html-section-account.php
+
+ -
+ message: '#^Variable \$refresh_url might not be defined\.$#'
+ identifier: variable.undefined
+ count: 1
+ path: includes/admin/helper/views/html-section-account.php
+
+ -
+ message: '#^Variable \$notices might not be defined\.$#'
+ identifier: variable.undefined
+ count: 1
+ path: includes/admin/helper/views/html-section-notices.php
+
+ -
+ message: '#^Binary operation "\." between string and non\-empty\-array\|non\-falsy\-string results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: includes/admin/importers/class-wc-product-csv-importer-controller.php
+
+ -
+ message: '#^Cannot call method feature_is_enabled\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: includes/admin/importers/class-wc-product-csv-importer-controller.php
+
+ -
+ message: '#^Cannot call method handle_csv_upload\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/admin/importers/class-wc-product-csv-importer-controller.php
+
+ -
+ message: '#^Constant WC_ABSPATH not found\.$#'
+ identifier: constant.notFound
+ count: 1
+ path: includes/admin/importers/class-wc-product-csv-importer-controller.php
+
+ -
+ message: '#^Method WC_Product_CSV_Importer_Controller\:\:add_error\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/importers/class-wc-product-csv-importer-controller.php
+
+ -
+ message: '#^Method WC_Product_CSV_Importer_Controller\:\:dispatch\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/importers/class-wc-product-csv-importer-controller.php
+
+ -
+ message: '#^Method WC_Product_CSV_Importer_Controller\:\:dispatch_ajax\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/importers/class-wc-product-csv-importer-controller.php
+
+ -
+ message: '#^Method WC_Product_CSV_Importer_Controller\:\:done\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/importers/class-wc-product-csv-importer-controller.php
+
+ -
+ message: '#^Method WC_Product_CSV_Importer_Controller\:\:get_importer\(\) should return WC_Product_CSV_Importer but returns object\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/admin/importers/class-wc-product-csv-importer-controller.php
+
+ -
+ message: '#^Method WC_Product_CSV_Importer_Controller\:\:import\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/importers/class-wc-product-csv-importer-controller.php
+
+ -
+ message: '#^Method WC_Product_CSV_Importer_Controller\:\:mapping_form\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/importers/class-wc-product-csv-importer-controller.php
+
+ -
+ message: '#^Method WC_Product_CSV_Importer_Controller\:\:output_errors\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/importers/class-wc-product-csv-importer-controller.php
+
+ -
+ message: '#^Method WC_Product_CSV_Importer_Controller\:\:output_footer\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/importers/class-wc-product-csv-importer-controller.php
+
+ -
+ message: '#^Method WC_Product_CSV_Importer_Controller\:\:output_header\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/importers/class-wc-product-csv-importer-controller.php
+
+ -
+ message: '#^Method WC_Product_CSV_Importer_Controller\:\:output_steps\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/importers/class-wc-product-csv-importer-controller.php
+
+ -
+ message: '#^Method WC_Product_CSV_Importer_Controller\:\:upload_form\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/importers/class-wc-product-csv-importer-controller.php
+
+ -
+ message: '#^Method WC_Product_CSV_Importer_Controller\:\:upload_form_handler\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/importers/class-wc-product-csv-importer-controller.php
+
+ -
+ message: '#^Parameter \#1 \$dimensions_unit of static method Automattic\\WooCommerce\\Utilities\\I18nUtil\:\:get_dimensions_unit_label\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/admin/importers/class-wc-product-csv-importer-controller.php
+
+ -
+ message: '#^Parameter \#1 \$file of static method WC_Product_CSV_Importer_Controller\:\:get_importer\(\) expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/importers/class-wc-product-csv-importer-controller.php
+
+ -
+ message: '#^Parameter \#1 \$key of function sanitize_key expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/importers/class-wc-product-csv-importer-controller.php
+
+ -
+ message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 6
+ path: includes/admin/importers/class-wc-product-csv-importer-controller.php
+
+ -
+ message: '#^Parameter \#1 \$path of static method WC_Product_CSV_Importer_Controller\:\:validate_file_path\(\) expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/importers/class-wc-product-csv-importer-controller.php
+
+ -
+ message: '#^Parameter \#1 \$str of function sanitize_text_field expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/importers/class-wc-product-csv-importer-controller.php
+
+ -
+ message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 9
+ path: includes/admin/importers/class-wc-product-csv-importer-controller.php
+
+ -
+ message: '#^Parameter \#1 \$weight_unit of static method Automattic\\WooCommerce\\Utilities\\I18nUtil\:\:get_weight_unit_label\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/admin/importers/class-wc-product-csv-importer-controller.php
+
+ -
+ message: '#^Property WC_Product_CSV_Importer_Controller\:\:\$character_encoding \(string\) does not accept array\|string\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: includes/admin/importers/class-wc-product-csv-importer-controller.php
+
+ -
+ message: '#^Property WC_Product_CSV_Importer_Controller\:\:\$delimiter \(string\) does not accept array\|string\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: includes/admin/importers/class-wc-product-csv-importer-controller.php
+
+ -
+ message: '#^Property WC_Product_CSV_Importer_Controller\:\:\$file \(string\) does not accept array\|string\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: includes/admin/importers/class-wc-product-csv-importer-controller.php
+
+ -
+ message: '#^Property WC_Product_CSV_Importer_Controller\:\:\$step \(string\) does not accept int\|string\|false\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: includes/admin/importers/class-wc-product-csv-importer-controller.php
+
+ -
+ message: '#^Binary operation "\." between string and non\-empty\-array\|non\-falsy\-string results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 3
+ path: includes/admin/importers/class-wc-tax-rate-importer.php
+
+ -
+ message: '#^Cannot cast array\|string to string\.$#'
+ identifier: cast.string
+ count: 1
+ path: includes/admin/importers/class-wc-tax-rate-importer.php
+
+ -
+ message: '#^Cannot cast mixed to int\.$#'
+ identifier: cast.int
+ count: 1
+ path: includes/admin/importers/class-wc-tax-rate-importer.php
+
+ -
+ message: '#^Cannot use array destructuring on list\<string\|null\>\|null\.$#'
+ identifier: offsetAccess.nonArray
+ count: 1
+ path: includes/admin/importers/class-wc-tax-rate-importer.php
+
+ -
+ message: '#^Method WC_Tax_Rate_Importer\:\:dispatch\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/importers/class-wc-tax-rate-importer.php
+
+ -
+ message: '#^Method WC_Tax_Rate_Importer\:\:footer\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/importers/class-wc-tax-rate-importer.php
+
+ -
+ message: '#^Method WC_Tax_Rate_Importer\:\:format_data_from_csv\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/admin/importers/class-wc-tax-rate-importer.php
+
+ -
+ message: '#^Method WC_Tax_Rate_Importer\:\:greet\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/importers/class-wc-tax-rate-importer.php
+
+ -
+ message: '#^Method WC_Tax_Rate_Importer\:\:header\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/importers/class-wc-tax-rate-importer.php
+
+ -
+ message: '#^Method WC_Tax_Rate_Importer\:\:import\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/importers/class-wc-tax-rate-importer.php
+
+ -
+ message: '#^Method WC_Tax_Rate_Importer\:\:import_end\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/importers/class-wc-tax-rate-importer.php
+
+ -
+ message: '#^Method WC_Tax_Rate_Importer\:\:import_error\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/importers/class-wc-tax-rate-importer.php
+
+ -
+ message: '#^Method WC_Tax_Rate_Importer\:\:import_start\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/importers/class-wc-tax-rate-importer.php
+
+ -
+ message: '#^Method WC_Tax_Rate_Importer\:\:set_import_error_message\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/importers/class-wc-tax-rate-importer.php
+
+ -
+ message: '#^Parameter \#1 \$data of function utf8_encode expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/importers/class-wc-tax-rate-importer.php
+
+ -
+ message: '#^Parameter \#1 \$filename of function fopen expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/importers/class-wc-tax-rate-importer.php
+
+ -
+ message: '#^Parameter \#1 \$filename of function is_file expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/importers/class-wc-tax-rate-importer.php
+
+ -
+ message: '#^Parameter \#1 \$haystack of function stripos expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/importers/class-wc-tax-rate-importer.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_attr expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/importers/class-wc-tax-rate-importer.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_attr expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/importers/class-wc-tax-rate-importer.php
+
+ -
+ message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/admin/importers/class-wc-tax-rate-importer.php
+
+ -
+ message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, string\|null given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/admin/importers/class-wc-tax-rate-importer.php
+
+ -
+ message: '#^Parameter \#2 \$cities of static method WC_Tax\:\:_update_tax_rate_cities\(\) expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/importers/class-wc-tax-rate-importer.php
+
+ -
+ message: '#^Parameter \#2 \$postcodes of static method WC_Tax\:\:_update_tax_rate_postcodes\(\) expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/importers/class-wc-tax-rate-importer.php
+
+ -
+ message: '#^Cannot call method feature_is_enabled\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/admin/importers/mappings/default.php
+
+ -
+ message: '#^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 4
+ path: includes/admin/importers/mappings/default.php
+
+ -
+ message: '#^Array has 2 duplicate keys with value ''Variant SKU'' \(''Variant SKU'', ''Variant SKU''\)\.$#'
+ identifier: array.duplicateKey
+ count: 1
+ path: includes/admin/importers/mappings/shopify.php
+
+ -
+ message: '#^Cannot access offset ''row'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/admin/importers/views/html-csv-import-done.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_html expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/importers/views/html-csv-import-done.php
+
+ -
+ message: '#^Variable \$errors might not be defined\.$#'
+ identifier: variable.undefined
+ count: 1
+ path: includes/admin/importers/views/html-csv-import-done.php
+
+ -
+ message: '#^Variable \$failed might not be defined\.$#'
+ identifier: variable.undefined
+ count: 1
+ path: includes/admin/importers/views/html-csv-import-done.php
+
+ -
+ message: '#^Variable \$imported might not be defined\.$#'
+ identifier: variable.undefined
+ count: 1
+ path: includes/admin/importers/views/html-csv-import-done.php
+
+ -
+ message: '#^Variable \$imported_variations might not be defined\.$#'
+ identifier: variable.undefined
+ count: 1
+ path: includes/admin/importers/views/html-csv-import-done.php
+
+ -
+ message: '#^Variable \$skipped might not be defined\.$#'
+ identifier: variable.undefined
+ count: 1
+ path: includes/admin/importers/views/html-csv-import-done.php
+
+ -
+ message: '#^Variable \$updated might not be defined\.$#'
+ identifier: variable.undefined
+ count: 1
+ path: includes/admin/importers/views/html-csv-import-done.php
+
+ -
+ message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
+ count: 1
+ path: includes/admin/importers/views/html-csv-import-mapping.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_attr expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/admin/importers/views/html-csv-import-mapping.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_html expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/importers/views/html-csv-import-mapping.php
+
+ -
+ message: '#^Variable \$args might not be defined\.$#'
+ identifier: variable.undefined
+ count: 2
+ path: includes/admin/importers/views/html-csv-import-mapping.php
+
+ -
+ message: '#^Variable \$headers might not be defined\.$#'
+ identifier: variable.undefined
+ count: 1
+ path: includes/admin/importers/views/html-csv-import-mapping.php
+
+ -
+ message: '#^Variable \$mapped_items might not be defined\.$#'
+ identifier: variable.undefined
+ count: 1
+ path: includes/admin/importers/views/html-csv-import-mapping.php
+
+ -
+ message: '#^Variable \$this might not be defined\.$#'
+ identifier: variable.undefined
+ count: 5
+ path: includes/admin/importers/views/html-csv-import-mapping.php
+
+ -
+ message: '#^Variable \$this might not be defined\.$#'
+ identifier: variable.undefined
+ count: 5
+ path: includes/admin/importers/views/html-csv-import-steps.php
+
+ -
+ message: '#^Variable \$bytes might not be defined\.$#'
+ identifier: variable.undefined
+ count: 1
+ path: includes/admin/importers/views/html-product-csv-import-form.php
+
+ -
+ message: '#^Variable \$size might not be defined\.$#'
+ identifier: variable.undefined
+ count: 1
+ path: includes/admin/importers/views/html-product-csv-import-form.php
+
+ -
+ message: '#^Method WC_Admin_List_Table\:\:get_primary_column\(\) should return array but returns string\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/admin/list-tables/abstract-class-wc-admin-list-table.php
+
+ -
+ message: '#^Method WC_Admin_List_Table\:\:list_table_primary_column\(\) should return string but returns array\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/admin/list-tables/abstract-class-wc-admin-list-table.php
+
+ -
+ message: '#^Method WC_Admin_List_Table\:\:maybe_render_blank_state\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/list-tables/abstract-class-wc-admin-list-table.php
+
+ -
+ message: '#^Method WC_Admin_List_Table\:\:prepare_row_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/list-tables/abstract-class-wc-admin-list-table.php
+
+ -
+ message: '#^Method WC_Admin_List_Table\:\:render_blank_state\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/list-tables/abstract-class-wc-admin-list-table.php
+
+ -
+ message: '#^Method WC_Admin_List_Table\:\:render_columns\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/list-tables/abstract-class-wc-admin-list-table.php
+
+ -
+ message: '#^Method WC_Admin_List_Table\:\:render_filters\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/list-tables/abstract-class-wc-admin-list-table.php
+
+ -
+ message: '#^Method WC_Admin_List_Table\:\:restrict_manage_posts\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/list-tables/abstract-class-wc-admin-list-table.php
+
+ -
+ message: '#^Call to an undefined method object\:\:get_id\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-coupons.php
+
+ -
+ message: '#^Cannot call method get_amount\(\) on object\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-coupons.php
+
+ -
+ message: '#^Cannot call method get_code\(\) on object\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-coupons.php
+
+ -
+ message: '#^Cannot call method get_date_expires\(\) on object\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-coupons.php
+
+ -
+ message: '#^Cannot call method get_description\(\) on object\|null\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: includes/admin/list-tables/class-wc-admin-list-table-coupons.php
+
+ -
+ message: '#^Cannot call method get_discount_type\(\) on object\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-coupons.php
+
+ -
+ message: '#^Cannot call method get_id\(\) on object\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-coupons.php
+
+ -
+ message: '#^Cannot call method get_product_ids\(\) on object\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-coupons.php
+
+ -
+ message: '#^Cannot call method get_usage_count\(\) on object\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-coupons.php
+
+ -
+ message: '#^Cannot call method get_usage_limit\(\) on object\|null\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: includes/admin/list-tables/class-wc-admin-list-table-coupons.php
+
+ -
+ message: '#^Method WC_Admin_List_Table_Coupons\:\:prepare_row_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-coupons.php
+
+ -
+ message: '#^Method WC_Admin_List_Table_Coupons\:\:render_amount_column\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-coupons.php
+
+ -
+ message: '#^Method WC_Admin_List_Table_Coupons\:\:render_blank_state\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-coupons.php
+
+ -
+ message: '#^Method WC_Admin_List_Table_Coupons\:\:render_coupon_code_column\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-coupons.php
+
+ -
+ message: '#^Method WC_Admin_List_Table_Coupons\:\:render_description_column\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-coupons.php
+
+ -
+ message: '#^Method WC_Admin_List_Table_Coupons\:\:render_expiry_date_column\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-coupons.php
+
+ -
+ message: '#^Method WC_Admin_List_Table_Coupons\:\:render_filters\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-coupons.php
+
+ -
+ message: '#^Method WC_Admin_List_Table_Coupons\:\:render_products_column\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-coupons.php
+
+ -
+ message: '#^Method WC_Admin_List_Table_Coupons\:\:render_type_column\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-coupons.php
+
+ -
+ message: '#^Method WC_Admin_List_Table_Coupons\:\:render_usage_column\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-coupons.php
+
+ -
+ message: '#^Method WC_Admin_List_Table_Coupons\:\:render_usage_limit_column\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-coupons.php
+
+ -
+ message: '#^Parameter \#1 \$url of function esc_url expects string, string\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-coupons.php
+
+ -
+ message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/admin/list-tables/class-wc-admin-list-table-coupons.php
+
+ -
+ message: '#^Return type \(string\) of method WC_Admin_List_Table_Coupons\:\:get_primary_column\(\) should be compatible with return type \(array\) of method WC_Admin_List_Table\:\:get_primary_column\(\)$#'
+ identifier: method.childReturnType
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-coupons.php
+
+ -
+ message: '#^Access to an undefined property WooCommerce\:\:\$payment_gateways\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-orders.php
+
+ -
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_product_id\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-orders.php
+
+ -
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_total\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/admin/list-tables/class-wc-admin-list-table-orders.php
+
+ -
+ message: '#^Call to an undefined method object\:\:get_id\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-orders.php
+
+ -
+ message: '#^Cannot access an offset on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-orders.php
+
+ -
+ message: '#^Cannot access property \$cap on WP_Post_Type\|null\.$#'
+ identifier: property.nonObject
+ count: 2
+ path: includes/admin/list-tables/class-wc-admin-list-table-orders.php
+
+ -
+ message: '#^Cannot call method get_product\(\) on class\-string\|object\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-orders.php
+
+ -
+ message: '#^Cannot call method update_status\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-orders.php
+
+ -
+ message: '#^Cannot cast mixed to int\.$#'
+ identifier: cast.int
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-orders.php
+
+ -
+ message: '#^Expected 2 @param tags, found 1\.$#'
+ identifier: paramTag.count
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-orders.php
+
+ -
+ message: '#^Method WC_Admin_List_Table_Orders\:\:add_custom_query_var\(\) should return array but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-orders.php
+
+ -
+ message: '#^Method WC_Admin_List_Table_Orders\:\:bulk_admin_notices\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-orders.php
+
+ -
+ message: '#^Method WC_Admin_List_Table_Orders\:\:order_preview_template\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-orders.php
+
+ -
+ message: '#^Method WC_Admin_List_Table_Orders\:\:prepare_row_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-orders.php
+
+ -
+ message: '#^Method WC_Admin_List_Table_Orders\:\:render_billing_address_column\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-orders.php
+
+ -
+ message: '#^Method WC_Admin_List_Table_Orders\:\:render_blank_state\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-orders.php
+
+ -
+ message: '#^Method WC_Admin_List_Table_Orders\:\:render_filters\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-orders.php
+
+ -
+ message: '#^Method WC_Admin_List_Table_Orders\:\:render_order_date_column\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-orders.php
+
+ -
+ message: '#^Method WC_Admin_List_Table_Orders\:\:render_order_number_column\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-orders.php
+
+ -
+ message: '#^Method WC_Admin_List_Table_Orders\:\:render_order_status_column\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-orders.php
+
+ -
+ message: '#^Method WC_Admin_List_Table_Orders\:\:render_order_total_column\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-orders.php
+
+ -
+ message: '#^Method WC_Admin_List_Table_Orders\:\:render_shipping_address_column\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-orders.php
+
+ -
+ message: '#^Method WC_Admin_List_Table_Orders\:\:render_wc_actions_column\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-orders.php
+
+ -
+ message: '#^Method WC_Admin_List_Table_Orders\:\:restrict_manage_posts\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-orders.php
+
+ -
+ message: '#^Method WC_Admin_List_Table_Orders\:\:search_custom_fields\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-orders.php
+
+ -
+ message: '#^Method WC_Admin_List_Table_Orders\:\:search_label\(\) should return string but returns array\|string\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-orders.php
+
+ -
+ message: '#^Method WC_Admin_List_Table_Orders\:\:search_label\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-orders.php
+
+ -
+ message: '#^Parameter \#1 \$order of method Automattic\\WooCommerce\\Internal\\Admin\\Orders\\ListTable\:\:render_billing_address_column\(\) expects WC_Order, object\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-orders.php
+
+ -
+ message: '#^Parameter \#1 \$order of method Automattic\\WooCommerce\\Internal\\Admin\\Orders\\ListTable\:\:render_order_date_column\(\) expects WC_Order, object\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-orders.php
+
+ -
+ message: '#^Parameter \#1 \$order of method Automattic\\WooCommerce\\Internal\\Admin\\Orders\\ListTable\:\:render_order_number_column\(\) expects WC_Order, object\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-orders.php
+
+ -
+ message: '#^Parameter \#1 \$order of method Automattic\\WooCommerce\\Internal\\Admin\\Orders\\ListTable\:\:render_order_status_column\(\) expects WC_Order, object\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-orders.php
+
+ -
+ message: '#^Parameter \#1 \$order of method Automattic\\WooCommerce\\Internal\\Admin\\Orders\\ListTable\:\:render_order_total_column\(\) expects WC_Order, object\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-orders.php
+
+ -
+ message: '#^Parameter \#1 \$order of method Automattic\\WooCommerce\\Internal\\Admin\\Orders\\ListTable\:\:render_shipping_address_column\(\) expects WC_Order, object\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-orders.php
+
+ -
+ message: '#^Parameter \#1 \$order of method Automattic\\WooCommerce\\Internal\\Admin\\Orders\\ListTable\:\:render_wc_actions_column\(\) expects WC_Order, object\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-orders.php
+
+ -
+ message: '#^Parameter \#1 \$str of function sanitize_text_field expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-orders.php
+
+ -
+ message: '#^Parameter \#1 \$string of function wc_string_to_bool expects bool\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-orders.php
+
+ -
+ message: '#^Parameter \#1 \$term of function wc_order_search expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-orders.php
+
+ -
+ message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 4
+ path: includes/admin/list-tables/class-wc-admin-list-table-orders.php
+
+ -
+ message: '#^Part \$date_query \(array\|string\) of encapsed string cannot be cast to string\.$#'
+ identifier: encapsedStringPart.nonString
+ count: 2
+ path: includes/admin/list-tables/class-wc-admin-list-table-orders.php
+
+ -
+ message: '#^Property WC_Admin_List_Table\:\:\$object \(object\|null\) does not accept bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-orders.php
+
+ -
+ message: '#^Property WC_Admin_List_Table_Orders\:\:\$orders_list_table \(Automattic\\WooCommerce\\Internal\\Admin\\Orders\\ListTable\) does not accept mixed\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-orders.php
+
+ -
+ message: '#^Return type \(string\) of method WC_Admin_List_Table_Orders\:\:get_primary_column\(\) should be compatible with return type \(array\) of method WC_Admin_List_Table\:\:get_primary_column\(\)$#'
+ identifier: method.childReturnType
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-orders.php
+
+ -
+ message: '#^Variable \$report_action might not be defined\.$#'
+ identifier: variable.undefined
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-orders.php
+
+ -
+ message: '#^Argument of an invalid type array\<WP_Term\>\|WP_Error supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
+ count: 2
+ path: includes/admin/list-tables/class-wc-admin-list-table-products.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:search_products\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-products.php
+
+ -
+ message: '#^Call to an undefined method object\:\:get_id\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-products.php
+
+ -
+ message: '#^Call to function is_array\(\) with array\{\} will always evaluate to true\.$#'
+ identifier: function.alreadyNarrowedType
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-products.php
+
+ -
+ message: '#^Cannot access an offset on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-products.php
+
+ -
+ message: '#^Cannot call method feature_is_enabled\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-products.php
+
+ -
+ message: '#^Cannot call method get_backorders\(\) on object\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-products.php
+
+ -
+ message: '#^Cannot call method get_catalog_visibility\(\) on object\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-products.php
+
+ -
+ message: '#^Cannot call method get_cogs_value\(\) on object\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-products.php
+
+ -
+ message: '#^Cannot call method get_cogs_value_html\(\) on object\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-products.php
+
+ -
+ message: '#^Cannot call method get_featured\(\) on object\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-products.php
+
+ -
+ message: '#^Cannot call method get_global_unique_id\(\) on object\|null\.$#'
+ identifier: method.nonObject
+ count: 3
+ path: includes/admin/list-tables/class-wc-admin-list-table-products.php
+
+ -
+ message: '#^Cannot call method get_height\(\) on object\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-products.php
+
+ -
+ message: '#^Cannot call method get_id\(\) on object\|null\.$#'
+ identifier: method.nonObject
+ count: 8
+ path: includes/admin/list-tables/class-wc-admin-list-table-products.php
+
+ -
+ message: '#^Cannot call method get_image\(\) on object\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-products.php
+
+ -
+ message: '#^Cannot call method get_length\(\) on object\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-products.php
+
+ -
+ message: '#^Cannot call method get_low_stock_amount\(\) on object\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-products.php
+
+ -
+ message: '#^Cannot call method get_manage_stock\(\) on object\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-products.php
+
+ -
+ message: '#^Cannot call method get_menu_order\(\) on object\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-products.php
+
+ -
+ message: '#^Cannot call method get_parent_id\(\) on object\|null\.$#'
+ identifier: method.nonObject
+ count: 3
+ path: includes/admin/list-tables/class-wc-admin-list-table-products.php
+
+ -
+ message: '#^Cannot call method get_price_html\(\) on object\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-products.php
+
+ -
+ message: '#^Cannot call method get_regular_price\(\) on object\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-products.php
+
+ -
+ message: '#^Cannot call method get_sale_price\(\) on object\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-products.php
+
+ -
+ message: '#^Cannot call method get_shipping_class\(\) on object\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-products.php
+
+ -
+ message: '#^Cannot call method get_sku\(\) on object\|null\.$#'
+ identifier: method.nonObject
+ count: 3
+ path: includes/admin/list-tables/class-wc-admin-list-table-products.php
+
+ -
+ message: '#^Cannot call method get_stock_quantity\(\) on object\|null\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: includes/admin/list-tables/class-wc-admin-list-table-products.php
+
+ -
+ message: '#^Cannot call method get_stock_status\(\) on object\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-products.php
+
+ -
+ message: '#^Cannot call method get_tax_class\(\) on object\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-products.php
+
+ -
+ message: '#^Cannot call method get_tax_status\(\) on object\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-products.php
+
+ -
+ message: '#^Cannot call method get_type\(\) on object\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-products.php
+
+ -
+ message: '#^Cannot call method get_virtual\(\) on object\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-products.php
+
+ -
+ message: '#^Cannot call method get_weight\(\) on object\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-products.php
+
+ -
+ message: '#^Cannot call method get_width\(\) on object\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-products.php
+
+ -
+ message: '#^Cannot call method is_featured\(\) on object\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-products.php
+
+ -
+ message: '#^Cannot call method is_in_stock\(\) on object\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-products.php
+
+ -
+ message: '#^Cannot call method is_on_backorder\(\) on object\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-products.php
+
+ -
+ message: '#^Cannot call method managing_stock\(\) on object\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-products.php
+
+ -
+ message: '#^Cannot call method product_meta_lookup_table_cogs_value_columns_exist\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-products.php
+
+ -
+ message: '#^Cannot cast numeric\-string\|WP_Error to int\.$#'
+ identifier: cast.int
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-products.php
+
+ -
+ message: '#^Method WC_Admin_List_Table_Products\:\:add_custom_query_var\(\) should return array but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-products.php
+
+ -
+ message: '#^Method WC_Admin_List_Table_Products\:\:add_sample_product_badge\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-products.php
+
+ -
+ message: '#^Method WC_Admin_List_Table_Products\:\:prepare_row_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-products.php
+
+ -
+ message: '#^Method WC_Admin_List_Table_Products\:\:render_blank_state\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-products.php
+
+ -
+ message: '#^Method WC_Admin_List_Table_Products\:\:render_cogs_value_column\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-products.php
+
+ -
+ message: '#^Method WC_Admin_List_Table_Products\:\:render_featured_column\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-products.php
+
+ -
+ message: '#^Method WC_Admin_List_Table_Products\:\:render_filters\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-products.php
+
+ -
+ message: '#^Method WC_Admin_List_Table_Products\:\:render_global_unique_id_column\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-products.php
+
+ -
+ message: '#^Method WC_Admin_List_Table_Products\:\:render_is_in_stock_column\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-products.php
+
+ -
+ message: '#^Method WC_Admin_List_Table_Products\:\:render_name_column\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-products.php
+
+ -
+ message: '#^Method WC_Admin_List_Table_Products\:\:render_price_column\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-products.php
+
+ -
+ message: '#^Method WC_Admin_List_Table_Products\:\:render_product_cat_column\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-products.php
+
+ -
+ message: '#^Method WC_Admin_List_Table_Products\:\:render_product_tag_column\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-products.php
+
+ -
+ message: '#^Method WC_Admin_List_Table_Products\:\:render_products_category_filter\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-products.php
+
+ -
+ message: '#^Method WC_Admin_List_Table_Products\:\:render_products_stock_status_filter\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-products.php
+
+ -
+ message: '#^Method WC_Admin_List_Table_Products\:\:render_products_type_filter\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-products.php
+
+ -
+ message: '#^Method WC_Admin_List_Table_Products\:\:render_sku_column\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-products.php
+
+ -
+ message: '#^Method WC_Admin_List_Table_Products\:\:render_thumb_column\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-products.php
+
+ -
+ message: '#^Method WC_Admin_List_Table_Products\:\:search_label\(\) should return string but returns array\|string\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-products.php
+
+ -
+ message: '#^Parameter \#1 \$args of function wp_count_terms expects array\{taxonomy\?\: array\<string\>\|string, object_ids\?\: array\<int\>\|int, orderby\?\: string, order\?\: string, hide_empty\?\: bool\|int, include\?\: array\<int\>\|string, exclude\?\: array\<int\>\|string, exclude_tree\?\: array\<int\>\|string, \.\.\.\}, ''product_cat'' given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-products.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_attr expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-products.php
+
+ -
+ message: '#^Parameter \#1 \$title of function sanitize_title expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-products.php
+
+ -
+ message: '#^Parameter \#1 \$url of function esc_url expects string, string\|null given\.$#'
+ identifier: argument.type
+ count: 3
+ path: includes/admin/list-tables/class-wc-admin-list-table-products.php
+
+ -
+ message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 5
+ path: includes/admin/list-tables/class-wc-admin-list-table-products.php
+
+ -
+ message: '#^Parameter \#2 \$value of function get_term_by expects int\|string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-products.php
+
+ -
+ message: '#^Property WC_Admin_List_Table\:\:\$object \(object\|null\) does not accept WC_Product\|false\|null\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-products.php
+
+ -
+ message: '#^Return type \(string\) of method WC_Admin_List_Table_Products\:\:get_primary_column\(\) should be compatible with return type \(array\) of method WC_Admin_List_Table\:\:get_primary_column\(\)$#'
+ identifier: method.childReturnType
+ count: 1
+ path: includes/admin/list-tables/class-wc-admin-list-table-products.php
+
+ -
+ message: '#^Action callback returns array but should not return anything\.$#'
+ identifier: return.void
+ count: 1
+ path: includes/admin/marketplace-suggestions/class-wc-marketplace-suggestions.php
+
+ -
+ message: '#^Cannot access offset ''suggestions'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/admin/marketplace-suggestions/class-wc-marketplace-suggestions.php
+
+ -
+ message: '#^Cannot access offset ''updated'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/admin/marketplace-suggestions/class-wc-marketplace-suggestions.php
+
+ -
+ message: '#^Method WC_Marketplace_Suggestions\:\:get_dismissed_suggestions\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/marketplace-suggestions/class-wc-marketplace-suggestions.php
+
+ -
+ message: '#^Method WC_Marketplace_Suggestions\:\:get_suggestions_api_data\(\) should return array but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/admin/marketplace-suggestions/class-wc-marketplace-suggestions.php
+
+ -
+ message: '#^Method WC_Marketplace_Suggestions\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/marketplace-suggestions/class-wc-marketplace-suggestions.php
+
+ -
+ message: '#^Method WC_Marketplace_Suggestions\:\:maybe_trigger_suggestions_fetch\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/marketplace-suggestions/class-wc-marketplace-suggestions.php
+
+ -
+ message: '#^Method WC_Marketplace_Suggestions\:\:post_add_dismissed_suggestion_handler\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/marketplace-suggestions/class-wc-marketplace-suggestions.php
+
+ -
+ message: '#^Method WC_Marketplace_Suggestions\:\:product_data_panels\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/marketplace-suggestions/class-wc-marketplace-suggestions.php
+
+ -
+ message: '#^Method WC_Marketplace_Suggestions\:\:render_orders_list_empty_state\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/marketplace-suggestions/class-wc-marketplace-suggestions.php
+
+ -
+ message: '#^Method WC_Marketplace_Suggestions\:\:render_suggestions_container\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/marketplace-suggestions/class-wc-marketplace-suggestions.php
+
+ -
+ message: '#^Parameter \#1 \$str of function sanitize_text_field expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/marketplace-suggestions/class-wc-marketplace-suggestions.php
+
+ -
+ message: '#^Cannot access offset ''suggestions'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/admin/marketplace-suggestions/class-wc-marketplace-updater.php
+
+ -
+ message: '#^Cannot access offset ''updated'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/admin/marketplace-suggestions/class-wc-marketplace-updater.php
+
+ -
+ message: '#^Method WC_Marketplace_Updater\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/marketplace-suggestions/class-wc-marketplace-updater.php
+
+ -
+ message: '#^Method WC_Marketplace_Updater\:\:load\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/marketplace-suggestions/class-wc-marketplace-updater.php
+
+ -
+ message: '#^Method WC_Marketplace_Updater\:\:retry\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/marketplace-suggestions/class-wc-marketplace-updater.php
+
+ -
+ message: '#^Method WC_Marketplace_Updater\:\:update_marketplace_suggestions\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/marketplace-suggestions/class-wc-marketplace-updater.php
+
+ -
+ message: '#^Variable \$context might not be defined\.$#'
+ identifier: variable.undefined
+ count: 1
+ path: includes/admin/marketplace-suggestions/views/container.php
+
+ -
+ message: '#^Argument of an invalid type array\<int, WP_Term\>\|WP_Error supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
+ count: 2
+ path: includes/admin/meta-boxes/class-wc-meta-box-coupon-data.php
+
+ -
+ message: '#^Method WC_Meta_Box_Coupon_Data\:\:output\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/meta-boxes/class-wc-meta-box-coupon-data.php
+
+ -
+ message: '#^Method WC_Meta_Box_Coupon_Data\:\:save\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/meta-boxes/class-wc-meta-box-coupon-data.php
+
+ -
+ message: '#^Parameter \#1 \$args of function get_terms expects array\{taxonomy\?\: array\<string\>\|string, object_ids\?\: array\<int\>\|int, orderby\?\: string, order\?\: string, hide_empty\?\: bool\|int, include\?\: array\<int\>\|string, exclude\?\: array\<int\>\|string, exclude_tree\?\: array\<int\>\|string, \.\.\.\}, ''product_cat'' given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/admin/meta-boxes/class-wc-meta-box-coupon-data.php
+
+ -
+ message: '#^Parameter \#1 \$callback of function array_map expects \(callable\(mixed\)\: mixed\)\|null, ''intval'' given\.$#'
+ identifier: argument.type
+ count: 4
+ path: includes/admin/meta-boxes/class-wc-meta-box-coupon-data.php
+
+ -
+ message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 3
+ path: includes/admin/meta-boxes/class-wc-meta-box-coupon-data.php
+
+ -
+ message: '#^Parameter \#1 \$number of function wc_format_decimal expects float\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 3
+ path: includes/admin/meta-boxes/class-wc-meta-box-coupon-data.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_attr expects string, int given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/admin/meta-boxes/class-wc-meta-box-coupon-data.php
+
+ -
+ message: '#^Parameter \#1 \$value of function wc_format_localized_price expects string, int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/meta-boxes/class-wc-meta-box-coupon-data.php
+
+ -
+ message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 3
+ path: includes/admin/meta-boxes/class-wc-meta-box-coupon-data.php
+
+ -
+ message: '#^Parameter \#2 \$str of function explode expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/meta-boxes/class-wc-meta-box-coupon-data.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:delete_by_order_id\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/admin/meta-boxes/class-wc-meta-box-order-actions.php
+
+ -
+ message: '#^Call to an undefined method WC_Email\:\:trigger\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/admin/meta-boxes/class-wc-meta-box-order-actions.php
+
+ -
+ message: '#^Cannot call method add_order_note\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/admin/meta-boxes/class-wc-meta-box-order-actions.php
+
+ -
+ message: '#^Cannot call method get_base_page_url\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/admin/meta-boxes/class-wc-meta-box-order-actions.php
+
+ -
+ message: '#^Cannot call method get_id\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/admin/meta-boxes/class-wc-meta-box-order-actions.php
+
+ -
+ message: '#^Cannot call method get_type\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/admin/meta-boxes/class-wc-meta-box-order-actions.php
+
+ -
+ message: '#^Method WC_Meta_Box_Order_Actions\:\:get_trash_or_delete_order_link\(\) should return string but returns string\|null\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/admin/meta-boxes/class-wc-meta-box-order-actions.php
+
+ -
+ message: '#^Method WC_Meta_Box_Order_Actions\:\:output\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/meta-boxes/class-wc-meta-box-order-actions.php
+
+ -
+ message: '#^Method WC_Meta_Box_Order_Actions\:\:save\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/meta-boxes/class-wc-meta-box-order-actions.php
+
+ -
+ message: '#^Parameter \#1 \$order of method WC_Emails\:\:customer_invoice\(\) expects int\|WC_Order, bool\|WC_Order\|WC_Order_Refund given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/meta-boxes/class-wc-meta-box-order-actions.php
+
+ -
+ message: '#^Parameter \#1 \$title of function sanitize_title expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/admin/meta-boxes/class-wc-meta-box-order-actions.php
+
+ -
+ message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/meta-boxes/class-wc-meta-box-order-actions.php
+
+ -
+ message: '#^Access to an undefined property WooCommerce\:\:\$payment_gateways\.$#'
+ identifier: property.notFound
+ count: 2
+ path: includes/admin/meta-boxes/class-wc-meta-box-order-data.php
+
+ -
+ message: '#^Cannot access property \$labels on WP_Post_Type\|null\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/admin/meta-boxes/class-wc-meta-box-order-data.php
+
+ -
+ message: '#^Cannot call method get_customer_id\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/admin/meta-boxes/class-wc-meta-box-order-data.php
+
+ -
+ message: '#^Cannot call method get_order_key\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/admin/meta-boxes/class-wc-meta-box-order-data.php
+
+ -
+ message: '#^Cannot call method get_payment_method\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/admin/meta-boxes/class-wc-meta-box-order-data.php
+
+ -
+ message: '#^Cannot call method save\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/admin/meta-boxes/class-wc-meta-box-order-data.php
+
+ -
+ message: '#^Cannot call method set_props\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/admin/meta-boxes/class-wc-meta-box-order-data.php
+
+ -
+ message: '#^Cannot call method set_status\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/admin/meta-boxes/class-wc-meta-box-order-data.php
+
+ -
+ message: '#^Cannot call method update_meta_data\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: includes/admin/meta-boxes/class-wc-meta-box-order-data.php
+
+ -
+ message: '#^Default value of the parameter \#1 \$order \(false\) of method WC_Meta_Box_Order_Data\:\:get_billing_fields\(\) is incompatible with type WC_Order\.$#'
+ identifier: parameter.defaultValue
+ count: 1
+ path: includes/admin/meta-boxes/class-wc-meta-box-order-data.php
+
+ -
+ message: '#^Default value of the parameter \#1 \$order \(false\) of method WC_Meta_Box_Order_Data\:\:get_shipping_fields\(\) is incompatible with type WC_Order\.$#'
+ identifier: parameter.defaultValue
+ count: 1
+ path: includes/admin/meta-boxes/class-wc-meta-box-order-data.php
+
+ -
+ message: '#^Method WC_Meta_Box_Order_Data\:\:get_billing_fields\(\) should return array but returns WC_Order\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/admin/meta-boxes/class-wc-meta-box-order-data.php
+
+ -
+ message: '#^Method WC_Meta_Box_Order_Data\:\:get_shipping_fields\(\) should return array but returns WC_Order\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/admin/meta-boxes/class-wc-meta-box-order-data.php
+
+ -
+ message: '#^Method WC_Meta_Box_Order_Data\:\:init_address_fields\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/meta-boxes/class-wc-meta-box-order-data.php
+
+ -
+ message: '#^Method WC_Meta_Box_Order_Data\:\:output\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/meta-boxes/class-wc-meta-box-order-data.php
+
+ -
+ message: '#^Method WC_Meta_Box_Order_Data\:\:save\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/meta-boxes/class-wc-meta-box-order-data.php
+
+ -
+ message: '#^One or more @param tags has an invalid name or invalid syntax\.$#'
+ identifier: phpDoc.parseError
+ count: 5
+ path: includes/admin/meta-boxes/class-wc-meta-box-order-data.php
+
+ -
+ message: '#^PHPDoc tag @param has invalid value \(array @user_info An array containing one item with the name and email of the user currently selected as the customer for the order\.\)\: Unexpected token "@user", expected variable at offset 317 on line 7$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/admin/meta-boxes/class-wc-meta-box-order-data.php
+
+ -
+ message: '#^PHPDoc tag @param has invalid value \(array Billing fields\.\)\: Unexpected token "Billing", expected variable at offset 146 on line 6$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/admin/meta-boxes/class-wc-meta-box-order-data.php
+
+ -
+ message: '#^PHPDoc tag @param has invalid value \(array Shipping fields\.\)\: Unexpected token "Shipping", expected variable at offset 147 on line 6$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/admin/meta-boxes/class-wc-meta-box-order-data.php
+
+ -
+ message: '#^PHPDoc tag @param has invalid value \(bool TRUE if the note should be displayed\. FALSE otherwise\.\)\: Unexpected token "TRUE", expected variable at offset 167 on line 6$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/admin/meta-boxes/class-wc-meta-box-order-data.php
+
+ -
+ message: '#^Parameter \#1 \$order of static method WC_Meta_Box_Order_Data\:\:get_billing_fields\(\) expects WC_Order, bool\|WC_Order\|WC_Order_Refund given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/meta-boxes/class-wc-meta-box-order-data.php
+
+ -
+ message: '#^Parameter \#1 \$order of static method WC_Meta_Box_Order_Data\:\:get_shipping_fields\(\) expects WC_Order, bool\|WC_Order\|WC_Order_Refund given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/meta-boxes/class-wc-meta-box-order-data.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_attr expects string, int\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/meta-boxes/class-wc-meta-box-order-data.php
+
+ -
+ message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/meta-boxes/class-wc-meta-box-order-data.php
+
+ -
+ message: '#^Parameter \#2 \$format of function wc_format_datetime expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/meta-boxes/class-wc-meta-box-order-data.php
+
+ -
+ message: '#^Parameter \#2 \$timestamp of function gmdate expects int, int\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/meta-boxes/class-wc-meta-box-order-data.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_downloads\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/admin/meta-boxes/class-wc-meta-box-order-downloads.php
+
+ -
+ message: '#^Cannot access offset int\<0, max\> on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/admin/meta-boxes/class-wc-meta-box-order-downloads.php
+
+ -
+ message: '#^Method WC_Meta_Box_Order_Downloads\:\:output\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/meta-boxes/class-wc-meta-box-order-downloads.php
+
+ -
+ message: '#^Method WC_Meta_Box_Order_Downloads\:\:save\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/meta-boxes/class-wc-meta-box-order-downloads.php
+
+ -
+ message: '#^Parameter \#1 \$date of method WC_Customer_Download\:\:set_access_expires\(\) expects int\|string\|null, int\|string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/meta-boxes/class-wc-meta-box-order-downloads.php
+
+ -
+ message: '#^Parameter \#1 \$download of class WC_Customer_Download constructor expects array\|int\|object, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/meta-boxes/class-wc-meta-box-order-downloads.php
+
+ -
+ message: '#^Parameter \#1 \$input of function array_keys expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/meta-boxes/class-wc-meta-box-order-downloads.php
+
+ -
+ message: '#^Parameter \#1 \$value of method WC_Customer_Download\:\:set_downloads_remaining\(\) expects int\|string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/meta-boxes/class-wc-meta-box-order-downloads.php
+
+ -
+ message: '#^Parameter \#1 \.\.\.\$arg1 of function max expects non\-empty\-array, list\<int\|string\> given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/meta-boxes/class-wc-meta-box-order-downloads.php
+
+ -
+ message: '#^Method WC_Meta_Box_Order_Items\:\:output\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/meta-boxes/class-wc-meta-box-order-items.php
+
+ -
+ message: '#^Method WC_Meta_Box_Order_Items\:\:save\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/meta-boxes/class-wc-meta-box-order-items.php
+
+ -
+ message: '#^Method WC_Meta_Box_Order_Notes\:\:output\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/meta-boxes/class-wc-meta-box-order-notes.php
+
+ -
+ message: '#^Cannot cast numeric\-string\|WP_Error to int\.$#'
+ identifier: cast.int
+ count: 1
+ path: includes/admin/meta-boxes/class-wc-meta-box-product-categories.php
+
+ -
+ message: '#^Method WC_Meta_Box_Product_Categories\:\:output\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/meta-boxes/class-wc-meta-box-product-categories.php
+
+ -
+ message: '#^Parameter \#1 \$args of function wp_count_terms expects array\{taxonomy\?\: array\<string\>\|string, object_ids\?\: array\<int\>\|int, orderby\?\: string, order\?\: string, hide_empty\?\: bool\|int, include\?\: array\<int\>\|string, exclude\?\: array\<int\>\|string, exclude_tree\?\: array\<int\>\|string, \.\.\.\}, ''product_cat'' given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/meta-boxes/class-wc-meta-box-product-categories.php
+
+ -
+ message: '#^Call to an undefined method object\:\:delete_meta_data\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/admin/meta-boxes/class-wc-meta-box-product-data.php
+
+ -
+ message: '#^Call to an undefined method object\:\:get_data_store\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/admin/meta-boxes/class-wc-meta-box-product-data.php
+
+ -
+ message: '#^Call to an undefined method object\:\:get_id\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/admin/meta-boxes/class-wc-meta-box-product-data.php
+
+ -
+ message: '#^Call to an undefined method object\:\:get_stock_quantity\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/admin/meta-boxes/class-wc-meta-box-product-data.php
+
+ -
+ message: '#^Call to an undefined method object\:\:is_type\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/admin/meta-boxes/class-wc-meta-box-product-data.php
+
+ -
+ message: '#^Call to an undefined method object\:\:save\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/admin/meta-boxes/class-wc-meta-box-product-data.php
+
+ -
+ message: '#^Call to an undefined method object\:\:set_cogs_value\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/admin/meta-boxes/class-wc-meta-box-product-data.php
+
+ -
+ message: '#^Call to an undefined method object\:\:set_props\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/admin/meta-boxes/class-wc-meta-box-product-data.php
+
+ -
+ message: '#^Call to an undefined method object\:\:sort_all_product_variations\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/admin/meta-boxes/class-wc-meta-box-product-data.php
+
+ -
+ message: '#^Cannot access offset int on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/admin/meta-boxes/class-wc-meta-box-product-data.php
+
+ -
+ message: '#^Cannot access offset int\<0, max\> on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/admin/meta-boxes/class-wc-meta-box-product-data.php
+
+ -
+ message: '#^Cannot call method feature_is_enabled\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: includes/admin/meta-boxes/class-wc-meta-box-product-data.php
+
+ -
+ message: '#^Cannot call method get_attributes\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: includes/admin/meta-boxes/class-wc-meta-box-product-data.php
+
+ -
+ message: '#^Cannot call method get_data_store\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/admin/meta-boxes/class-wc-meta-box-product-data.php
+
+ -
+ message: '#^Cannot call method get_id\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/admin/meta-boxes/class-wc-meta-box-product-data.php
+
+ -
+ message: '#^Cannot call method save\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/admin/meta-boxes/class-wc-meta-box-product-data.php
+
+ -
+ message: '#^Cannot call method set_default_attributes\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/admin/meta-boxes/class-wc-meta-box-product-data.php
+
+ -
+ message: '#^Default value of the parameter \#1 \$data \(false\) of method WC_Meta_Box_Product_Data\:\:prepare_attributes\(\) is incompatible with type array\.$#'
+ identifier: parameter.defaultValue
+ count: 1
+ path: includes/admin/meta-boxes/class-wc-meta-box-product-data.php
+
+ -
+ message: '#^Method WC_Meta_Box_Product_Data\:\:output\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/meta-boxes/class-wc-meta-box-product-data.php
+
+ -
+ message: '#^Method WC_Meta_Box_Product_Data\:\:output_tabs\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/meta-boxes/class-wc-meta-box-product-data.php
+
+ -
+ message: '#^Method WC_Meta_Box_Product_Data\:\:output_variations\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/meta-boxes/class-wc-meta-box-product-data.php
+
+ -
+ message: '#^Method WC_Meta_Box_Product_Data\:\:product_data_tabs_sort\(\) should return bool but returns int\.$#'
+ identifier: return.type
+ count: 3
+ path: includes/admin/meta-boxes/class-wc-meta-box-product-data.php
+
+ -
+ message: '#^Method WC_Meta_Box_Product_Data\:\:save\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/meta-boxes/class-wc-meta-box-product-data.php
+
+ -
+ message: '#^Method WC_Meta_Box_Product_Data\:\:save_variations\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/meta-boxes/class-wc-meta-box-product-data.php
+
+ -
+ message: '#^Parameter \#1 \$amount of function wc_stock_amount expects float\|int, int\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/meta-boxes/class-wc-meta-box-product-data.php
+
+ -
+ message: '#^Parameter \#1 \$amount of function wc_stock_amount expects float\|int, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/admin/meta-boxes/class-wc-meta-box-product-data.php
+
+ -
+ message: '#^Parameter \#1 \$callback of function array_map expects \(callable\(mixed\)\: mixed\)\|null, ''intval'' given\.$#'
+ identifier: argument.type
+ count: 3
+ path: includes/admin/meta-boxes/class-wc-meta-box-product-data.php
+
+ -
+ message: '#^Parameter \#1 \$data of function wp_kses_post expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/meta-boxes/class-wc-meta-box-product-data.php
+
+ -
+ message: '#^Parameter \#1 \$file_names of static method WC_Meta_Box_Product_Data\:\:prepare_downloads\(\) expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/meta-boxes/class-wc-meta-box-product-data.php
+
+ -
+ message: '#^Parameter \#1 \$input of function array_keys expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/meta-boxes/class-wc-meta-box-product-data.php
+
+ -
+ message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 4
+ path: includes/admin/meta-boxes/class-wc-meta-box-product-data.php
+
+ -
+ message: '#^Parameter \#1 \$name of function wc_attribute_taxonomy_id_by_name expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/meta-boxes/class-wc-meta-box-product-data.php
+
+ -
+ message: '#^Parameter \#1 \$number of function wc_format_decimal expects float\|string, array\|string given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/admin/meta-boxes/class-wc-meta-box-product-data.php
+
+ -
+ message: '#^Parameter \#1 \$string of function html_entity_decode expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/meta-boxes/class-wc-meta-box-product-data.php
+
+ -
+ message: '#^Parameter \#1 \$string of function substr expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/meta-boxes/class-wc-meta-box-product-data.php
+
+ -
+ message: '#^Parameter \#1 \$time of function strtotime expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 4
+ path: includes/admin/meta-boxes/class-wc-meta-box-product-data.php
+
+ -
+ message: '#^Parameter \#1 \$title of function sanitize_title expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 3
+ path: includes/admin/meta-boxes/class-wc-meta-box-product-data.php
+
+ -
+ message: '#^Parameter \#1 \$url of function esc_url_raw expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/meta-boxes/class-wc-meta-box-product-data.php
+
+ -
+ message: '#^Parameter \#1 \$value of method WC_Product_Attribute\:\:set_name\(\) expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/meta-boxes/class-wc-meta-box-product-data.php
+
+ -
+ message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 19
+ path: includes/admin/meta-boxes/class-wc-meta-box-product-data.php
+
+ -
+ message: '#^Parameter \#1 \.\.\.\$arg1 of function max expects non\-empty\-array, list\<int\|string\> given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/admin/meta-boxes/class-wc-meta-box-product-data.php
+
+ -
+ message: '#^Parameter \#2 \$file_urls of static method WC_Meta_Box_Product_Data\:\:prepare_downloads\(\) expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/meta-boxes/class-wc-meta-box-product-data.php
+
+ -
+ message: '#^Parameter \#2 \$timestamp of function date expects int, int\|false given\.$#'
+ identifier: argument.type
+ count: 4
+ path: includes/admin/meta-boxes/class-wc-meta-box-product-data.php
+
+ -
+ message: '#^Parameter \#3 \$file_hashes of static method WC_Meta_Box_Product_Data\:\:prepare_downloads\(\) expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/meta-boxes/class-wc-meta-box-product-data.php
+
+ -
+ message: '#^Static method WC_Meta_Box_Product_Data\:\:filter_non_variation_attributes\(\) is unused\.$#'
+ identifier: method.unused
+ count: 1
+ path: includes/admin/meta-boxes/class-wc-meta-box-product-data.php
+
+ -
+ message: '#^Static method WC_Meta_Box_Product_Data\:\:get_product_data_tabs\(\) is unused\.$#'
+ identifier: method.unused
+ count: 1
+ path: includes/admin/meta-boxes/class-wc-meta-box-product-data.php
+
+ -
+ message: '#^Static method WC_Meta_Box_Product_Data\:\:get_product_type_options\(\) is unused\.$#'
+ identifier: method.unused
+ count: 1
+ path: includes/admin/meta-boxes/class-wc-meta-box-product-data.php
+
+ -
+ message: '#^Static method WC_Meta_Box_Product_Data\:\:output_tabs\(\) is unused\.$#'
+ identifier: method.unused
+ count: 1
+ path: includes/admin/meta-boxes/class-wc-meta-box-product-data.php
+
+ -
+ message: '#^Call to an undefined method object\:\:save\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/admin/meta-boxes/class-wc-meta-box-product-images.php
+
+ -
+ message: '#^Call to an undefined method object\:\:set_gallery_image_ids\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/admin/meta-boxes/class-wc-meta-box-product-images.php
+
+ -
+ message: '#^Cannot call method get_gallery_image_ids\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/admin/meta-boxes/class-wc-meta-box-product-images.php
+
+ -
+ message: '#^Method WC_Meta_Box_Product_Images\:\:output\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/meta-boxes/class-wc-meta-box-product-images.php
+
+ -
+ message: '#^Method WC_Meta_Box_Product_Images\:\:save\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/meta-boxes/class-wc-meta-box-product-images.php
+
+ -
+ message: '#^Parameter \#1 \$str of function stripslashes expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/meta-boxes/class-wc-meta-box-product-images.php
+
+ -
+ message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/meta-boxes/class-wc-meta-box-product-images.php
+
+ -
+ message: '#^Parameter \#2 \$str of function explode expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/meta-boxes/class-wc-meta-box-product-images.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$comment_ID\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/admin/meta-boxes/class-wc-meta-box-product-reviews.php
+
+ -
+ message: '#^Cannot access offset ''comment_ID'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/admin/meta-boxes/class-wc-meta-box-product-reviews.php
+
+ -
+ message: '#^Method WC_Meta_Box_Product_Reviews\:\:output\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/meta-boxes/class-wc-meta-box-product-reviews.php
+
+ -
+ message: '#^Parameter \#1 \$comment_id of function update_comment_meta expects int, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/meta-boxes/class-wc-meta-box-product-reviews.php
+
+ -
+ message: '#^Parameter \#1 \$var of function intval expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/meta-boxes/class-wc-meta-box-product-reviews.php
+
+ -
+ message: '#^Method WC_Meta_Box_Product_Short_Description\:\:output\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/meta-boxes/class-wc-meta-box-product-short-description.php
+
+ -
+ message: '#^Variable \$download might not be defined\.$#'
+ identifier: variable.undefined
+ count: 19
+ path: includes/admin/meta-boxes/views/html-order-download-permission.php
+
+ -
+ message: '#^Variable \$file_count might not be defined\.$#'
+ identifier: variable.undefined
+ count: 1
+ path: includes/admin/meta-boxes/views/html-order-download-permission.php
+
+ -
+ message: '#^Variable \$loop might not be defined\.$#'
+ identifier: variable.undefined
+ count: 3
+ path: includes/admin/meta-boxes/views/html-order-download-permission.php
+
+ -
+ message: '#^Variable \$product might not be defined\.$#'
+ identifier: variable.undefined
+ count: 3
+ path: includes/admin/meta-boxes/views/html-order-download-permission.php
+
+ -
+ message: '#^Call to an undefined method object\:\:get_name\(\)\.$#'
+ identifier: method.notFound
+ count: 4
+ path: includes/admin/meta-boxes/views/html-order-fee.php
+
+ -
+ message: '#^Call to an undefined method object\:\:get_tax_class\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/admin/meta-boxes/views/html-order-fee.php
+
+ -
+ message: '#^Call to an undefined method object\:\:get_taxes\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/admin/meta-boxes/views/html-order-fee.php
+
+ -
+ message: '#^Call to an undefined method object\:\:get_total\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/admin/meta-boxes/views/html-order-fee.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_attr expects string, int given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/admin/meta-boxes/views/html-order-fee.php
+
+ -
+ message: '#^Parameter \#1 \$value of function wc_format_localized_price expects string, int given\.$#'
+ identifier: argument.type
+ count: 4
+ path: includes/admin/meta-boxes/views/html-order-fee.php
+
+ -
+ message: '#^Variable \$order might not be defined\.$#'
+ identifier: variable.undefined
+ count: 7
+ path: includes/admin/meta-boxes/views/html-order-fee.php
+
+ -
+ message: '#^Variable \$order_taxes might not be defined\.$#'
+ identifier: variable.undefined
+ count: 1
+ path: includes/admin/meta-boxes/views/html-order-fee.php
+
+ -
+ message: '#^Variable \$tax_item_total in isset\(\) always exists and is not nullable\.$#'
+ identifier: isset.variable
+ count: 1
+ path: includes/admin/meta-boxes/views/html-order-fee.php
+
+ -
+ message: '#^Call to an undefined method object\:\:get_all_formatted_meta_data\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/admin/meta-boxes/views/html-order-item-meta.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_attr expects string, int given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/admin/meta-boxes/views/html-order-item-meta.php
+
+ -
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_product\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/admin/meta-boxes/views/html-order-item.php
+
+ -
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_product_id\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/admin/meta-boxes/views/html-order-item.php
+
+ -
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_subtotal\(\)\.$#'
+ identifier: method.notFound
+ count: 4
+ path: includes/admin/meta-boxes/views/html-order-item.php
+
+ -
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_taxes\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/admin/meta-boxes/views/html-order-item.php
+
+ -
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_total\(\)\.$#'
+ identifier: method.notFound
+ count: 6
+ path: includes/admin/meta-boxes/views/html-order-item.php
+
+ -
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_variation_id\(\)\.$#'
+ identifier: method.notFound
+ count: 4
+ path: includes/admin/meta-boxes/views/html-order-item.php
+
+ -
+ message: '#^Cannot call method feature_is_enabled\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/admin/meta-boxes/views/html-order-item.php
+
+ -
+ message: '#^Parameter \#1 \$price of function wc_price expects float, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/meta-boxes/views/html-order-item.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_attr expects string, float given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/meta-boxes/views/html-order-item.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_attr expects string, int given\.$#'
+ identifier: argument.type
+ count: 4
+ path: includes/admin/meta-boxes/views/html-order-item.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_html expects string, \(float\|int\<min, \-1\>\|int\<1, max\>\) given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/meta-boxes/views/html-order-item.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_html expects string, int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/meta-boxes/views/html-order-item.php
+
+ -
+ message: '#^Parameter \#1 \$value of function wc_format_localized_price expects string, int given\.$#'
+ identifier: argument.type
+ count: 6
+ path: includes/admin/meta-boxes/views/html-order-item.php
+
+ -
+ message: '#^Variable \$order might not be defined\.$#'
+ identifier: variable.undefined
+ count: 10
+ path: includes/admin/meta-boxes/views/html-order-item.php
+
+ -
+ message: '#^Variable \$order_taxes might not be defined\.$#'
+ identifier: variable.undefined
+ count: 1
+ path: includes/admin/meta-boxes/views/html-order-item.php
+
+ -
+ message: '#^Cannot access offset 0 on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/admin/meta-boxes/views/html-order-items.php
+
+ -
+ message: '#^Cannot call method can_refund_order\(\) on WC_Payment_Gateway\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/admin/meta-boxes/views/html-order-items.php
+
+ -
+ message: '#^Cannot call method feature_is_enabled\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/admin/meta-boxes/views/html-order-items.php
+
+ -
+ message: '#^Cannot call method get_title\(\) on WC_Payment_Gateway\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/admin/meta-boxes/views/html-order-items.php
+
+ -
+ message: '#^Variable \$order might not be defined\.$#'
+ identifier: variable.undefined
+ count: 76
+ path: includes/admin/meta-boxes/views/html-order-items.php
+
+ -
+ message: '#^Variable \$notes might not be defined\.$#'
+ identifier: variable.undefined
+ count: 1
+ path: includes/admin/meta-boxes/views/html-order-notes.php
+
+ -
+ message: '#^Binary operation "\." between mixed and '', '' results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 2
+ path: includes/admin/meta-boxes/views/html-order-refund.php
+
+ -
+ message: '#^Binary operation "\." between non\-falsy\-string and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 2
+ path: includes/admin/meta-boxes/views/html-order-refund.php
+
+ -
+ message: '#^Call to an undefined method object\:\:get_amount\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/admin/meta-boxes/views/html-order-refund.php
+
+ -
+ message: '#^Call to an undefined method object\:\:get_currency\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/admin/meta-boxes/views/html-order-refund.php
+
+ -
+ message: '#^Call to an undefined method object\:\:get_date_created\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/admin/meta-boxes/views/html-order-refund.php
+
+ -
+ message: '#^Call to an undefined method object\:\:get_id\(\)\.$#'
+ identifier: method.notFound
+ count: 5
+ path: includes/admin/meta-boxes/views/html-order-refund.php
+
+ -
+ message: '#^Call to an undefined method object\:\:get_reason\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/admin/meta-boxes/views/html-order-refund.php
+
+ -
+ message: '#^Call to an undefined method object\:\:get_refunded_by\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/admin/meta-boxes/views/html-order-refund.php
+
+ -
+ message: '#^Parameter \#1 \$price of function wc_price expects float, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/meta-boxes/views/html-order-refund.php
+
+ -
+ message: '#^Variable \$order_taxes might not be defined\.$#'
+ identifier: variable.undefined
+ count: 1
+ path: includes/admin/meta-boxes/views/html-order-refund.php
+
+ -
+ message: '#^Call to an undefined method object\:\:get_method_id\(\)\.$#'
+ identifier: method.notFound
+ count: 3
+ path: includes/admin/meta-boxes/views/html-order-shipping.php
+
+ -
+ message: '#^Call to an undefined method object\:\:get_name\(\)\.$#'
+ identifier: method.notFound
+ count: 3
+ path: includes/admin/meta-boxes/views/html-order-shipping.php
+
+ -
+ message: '#^Call to an undefined method object\:\:get_taxes\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/admin/meta-boxes/views/html-order-shipping.php
+
+ -
+ message: '#^Call to an undefined method object\:\:get_total\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/admin/meta-boxes/views/html-order-shipping.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_attr expects string, int given\.$#'
+ identifier: argument.type
+ count: 5
+ path: includes/admin/meta-boxes/views/html-order-shipping.php
+
+ -
+ message: '#^Parameter \#1 \$value of function wc_format_localized_price expects string, int given\.$#'
+ identifier: argument.type
+ count: 4
+ path: includes/admin/meta-boxes/views/html-order-shipping.php
+
+ -
+ message: '#^Variable \$order might not be defined\.$#'
+ identifier: variable.undefined
+ count: 7
+ path: includes/admin/meta-boxes/views/html-order-shipping.php
+
+ -
+ message: '#^Variable \$order_taxes might not be defined\.$#'
+ identifier: variable.undefined
+ count: 1
+ path: includes/admin/meta-boxes/views/html-order-shipping.php
+
+ -
+ message: '#^Variable \$shipping_methods might not be defined\.$#'
+ identifier: variable.undefined
+ count: 1
+ path: includes/admin/meta-boxes/views/html-order-shipping.php
+
+ -
+ message: '#^Variable \$tax_item_total in isset\(\) always exists and is not nullable\.$#'
+ identifier: isset.variable
+ count: 1
+ path: includes/admin/meta-boxes/views/html-order-shipping.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_attr expects string, int\<0, max\> given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/meta-boxes/views/html-product-attribute-inner.php
+
+ -
+ message: '#^Variable \$attribute might not be defined\.$#'
+ identifier: variable.undefined
+ count: 15
+ path: includes/admin/meta-boxes/views/html-product-attribute-inner.php
+
+ -
+ message: '#^Variable \$i might not be defined\.$#'
+ identifier: variable.undefined
+ count: 9
+ path: includes/admin/meta-boxes/views/html-product-attribute-inner.php
+
+ -
+ message: '#^Variable \$attribute might not be defined\.$#'
+ identifier: variable.undefined
+ count: 5
+ path: includes/admin/meta-boxes/views/html-product-attribute.php
+
+ -
+ message: '#^Variable \$metabox_class might not be defined\.$#'
+ identifier: variable.undefined
+ count: 1
+ path: includes/admin/meta-boxes/views/html-product-attribute.php
+
+ -
+ message: '#^Variable \$product_object might not be defined\.$#'
+ identifier: variable.undefined
+ count: 3
+ path: includes/admin/meta-boxes/views/html-product-data-advanced.php
+
+ -
+ message: '#^Variable \$product_object might not be defined\.$#'
+ identifier: variable.undefined
+ count: 1
+ path: includes/admin/meta-boxes/views/html-product-data-attributes.php
+
+ -
+ message: '#^Cannot call method feature_is_enabled\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/admin/meta-boxes/views/html-product-data-general.php
+
+ -
+ message: '#^Cannot call method get_button_text\(\) on class\-string\|object\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/admin/meta-boxes/views/html-product-data-general.php
+
+ -
+ message: '#^Cannot call method get_general_cost_edit_field_tooltip\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/admin/meta-boxes/views/html-product-data-general.php
+
+ -
+ message: '#^Cannot call method get_product_url\(\) on class\-string\|object\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/admin/meta-boxes/views/html-product-data-general.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_attr expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/meta-boxes/views/html-product-data-general.php
+
+ -
+ message: '#^Variable \$product_object might not be defined\.$#'
+ identifier: variable.undefined
+ count: 1
+ path: includes/admin/meta-boxes/views/html-product-data-general.php
+
+ -
+ message: '#^Constant WC_ADMIN_IMAGES_FOLDER_URL not found\.$#'
+ identifier: constant.notFound
+ count: 1
+ path: includes/admin/meta-boxes/views/html-product-data-inventory.php
+
+ -
+ message: '#^One or more @param tags has an invalid name or invalid syntax\.$#'
+ identifier: phpDoc.parseError
+ count: 2
+ path: includes/admin/meta-boxes/views/html-product-data-inventory.php
+
+ -
+ message: '#^PHPDoc tag @param has invalid value \(bool If false, "Allow backorders\?" will be shown as a select\. Default\: it will use radio buttons\.\)\: Unexpected token "If", expected variable at offset 158 on line 6$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/admin/meta-boxes/views/html-product-data-inventory.php
+
+ -
+ message: '#^PHPDoc tag @param has invalid value \(bool If false, the "Stock status" will be shown as a select\. Default\: it will use radio buttons\.\)\: Unexpected token "If", expected variable at offset 153 on line 6$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/admin/meta-boxes/views/html-product-data-inventory.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_attr expects string, float\|int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/meta-boxes/views/html-product-data-inventory.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_attr expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/meta-boxes/views/html-product-data-inventory.php
+
+ -
+ message: '#^Variable \$product_object might not be defined\.$#'
+ identifier: variable.undefined
+ count: 9
+ path: includes/admin/meta-boxes/views/html-product-data-inventory.php
+
+ -
+ message: '#^Variable \$post might not be defined\.$#'
+ identifier: variable.undefined
+ count: 3
+ path: includes/admin/meta-boxes/views/html-product-data-linked-products.php
+
+ -
+ message: '#^Variable \$product_object might not be defined\.$#'
+ identifier: variable.undefined
+ count: 4
+ path: includes/admin/meta-boxes/views/html-product-data-linked-products.php
+
+ -
+ message: '#^Calling self\:\:get_product_data_tabs\(\) outside of class scope\.$#'
+ identifier: outOfClass.self
+ count: 1
+ path: includes/admin/meta-boxes/views/html-product-data-panel.php
+
+ -
+ message: '#^Calling self\:\:get_product_type_options\(\) outside of class scope\.$#'
+ identifier: outOfClass.self
+ count: 1
+ path: includes/admin/meta-boxes/views/html-product-data-panel.php
+
+ -
+ message: '#^Calling self\:\:output_tabs\(\) outside of class scope\.$#'
+ identifier: outOfClass.self
+ count: 1
+ path: includes/admin/meta-boxes/views/html-product-data-panel.php
+
+ -
+ message: '#^Calling self\:\:output_variations\(\) outside of class scope\.$#'
+ identifier: outOfClass.self
+ count: 1
+ path: includes/admin/meta-boxes/views/html-product-data-panel.php
+
+ -
+ message: '#^Variable \$post might not be defined\.$#'
+ identifier: variable.undefined
+ count: 2
+ path: includes/admin/meta-boxes/views/html-product-data-panel.php
+
+ -
+ message: '#^Variable \$product_object might not be defined\.$#'
+ identifier: variable.undefined
+ count: 3
+ path: includes/admin/meta-boxes/views/html-product-data-panel.php
+
+ -
+ message: '#^Parameter \#1 \$dimensions_unit of static method Automattic\\WooCommerce\\Utilities\\I18nUtil\:\:get_dimensions_unit_label\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/meta-boxes/views/html-product-data-shipping.php
+
+ -
+ message: '#^Parameter \#1 \$value of function wc_format_localized_decimal expects string, int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/meta-boxes/views/html-product-data-shipping.php
+
+ -
+ message: '#^Parameter \#1 \$weight_unit of static method Automattic\\WooCommerce\\Utilities\\I18nUtil\:\:get_weight_unit_label\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/meta-boxes/views/html-product-data-shipping.php
+
+ -
+ message: '#^Variable \$product_object might not be defined\.$#'
+ identifier: variable.undefined
+ count: 5
+ path: includes/admin/meta-boxes/views/html-product-data-shipping.php
+
+ -
+ message: '#^Cannot call method feature_is_enabled\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/admin/meta-boxes/views/html-product-data-variations.php
+
+ -
+ message: '#^Cannot call method get_name\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 6
+ path: includes/admin/meta-boxes/views/html-product-data-variations.php
+
+ -
+ message: '#^Cannot call method get_options\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/admin/meta-boxes/views/html-product-data-variations.php
+
+ -
+ message: '#^Cannot call method get_terms\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/admin/meta-boxes/views/html-product-data-variations.php
+
+ -
+ message: '#^Cannot call method is_taxonomy\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/admin/meta-boxes/views/html-product-data-variations.php
+
+ -
+ message: '#^Constant WC_ADMIN_IMAGES_FOLDER_URL not found\.$#'
+ identifier: constant.notFound
+ count: 3
+ path: includes/admin/meta-boxes/views/html-product-data-variations.php
+
+ -
+ message: '#^Parameter \#1 \$json of function wc_esc_json expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/meta-boxes/views/html-product-data-variations.php
+
+ -
+ message: '#^Variable \$modal_title might not be defined\.$#'
+ identifier: variable.undefined
+ count: 1
+ path: includes/admin/meta-boxes/views/html-product-data-variations.php
+
+ -
+ message: '#^Variable \$product_object might not be defined\.$#'
+ identifier: variable.undefined
+ count: 2
+ path: includes/admin/meta-boxes/views/html-product-data-variations.php
+
+ -
+ message: '#^Variable \$variations_count might not be defined\.$#'
+ identifier: variable.undefined
+ count: 5
+ path: includes/admin/meta-boxes/views/html-product-data-variations.php
+
+ -
+ message: '#^Variable \$variations_total_pages might not be defined\.$#'
+ identifier: variable.undefined
+ count: 5
+ path: includes/admin/meta-boxes/views/html-product-data-variations.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_attr expects string, int given\.$#'
+ identifier: argument.type
+ count: 3
+ path: includes/admin/meta-boxes/views/html-product-variation-download.php
+
+ -
+ message: '#^Class WP_Post referenced with incorrect case\: WP_POST\.$#'
+ identifier: class.nameCase
+ count: 1
+ path: includes/admin/meta-boxes/views/html-variation-admin.php
+
+ -
+ message: '#^Parameter \#1 \$amount of function wc_stock_amount expects float\|int, int\|null given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/admin/meta-boxes/views/html-variation-admin.php
+
+ -
+ message: '#^Parameter \#1 \$dimensions_unit of static method Automattic\\WooCommerce\\Utilities\\I18nUtil\:\:get_dimensions_unit_label\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/meta-boxes/views/html-variation-admin.php
+
+ -
+ message: '#^Parameter \#1 \$post_id of function wp_get_attachment_thumb_url expects int, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/meta-boxes/views/html-variation-admin.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_attr expects string, float\|int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/meta-boxes/views/html-variation-admin.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_attr expects string, int given\.$#'
+ identifier: argument.type
+ count: 4
+ path: includes/admin/meta-boxes/views/html-variation-admin.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_attr expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/meta-boxes/views/html-variation-admin.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_attr expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/meta-boxes/views/html-variation-admin.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_html expects string, int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/meta-boxes/views/html-variation-admin.php
+
+ -
+ message: '#^Parameter \#1 \$url of function esc_url expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/meta-boxes/views/html-variation-admin.php
+
+ -
+ message: '#^Parameter \#1 \$value of function wc_format_localized_price expects string, float given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/meta-boxes/views/html-variation-admin.php
+
+ -
+ message: '#^Parameter \#1 \$weight_unit of static method Automattic\\WooCommerce\\Utilities\\I18nUtil\:\:get_weight_unit_label\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/meta-boxes/views/html-variation-admin.php
+
+ -
+ message: '#^Variable \$base_cost might not be defined\.$#'
+ identifier: variable.undefined
+ count: 1
+ path: includes/admin/meta-boxes/views/html-variation-admin.php
+
+ -
+ message: '#^Variable \$loop might not be defined\.$#'
+ identifier: variable.undefined
+ count: 51
+ path: includes/admin/meta-boxes/views/html-variation-admin.php
+
+ -
+ message: '#^Variable \$product_object might not be defined\.$#'
+ identifier: variable.undefined
+ count: 10
+ path: includes/admin/meta-boxes/views/html-variation-admin.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$label\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/admin/notes/class-wc-notes-refund-returns.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_notes_with_name\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/admin/notes/class-wc-notes-refund-returns.php
+
+ -
+ message: '#^Call to an undefined method object\:\:get_action\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/admin/notes/class-wc-notes-refund-returns.php
+
+ -
+ message: '#^Call to an undefined method object\:\:get_content\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/admin/notes/class-wc-notes-refund-returns.php
+
+ -
+ message: '#^Call to an undefined method object\:\:get_title\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/admin/notes/class-wc-notes-refund-returns.php
+
+ -
+ message: '#^Call to an undefined method object\:\:save\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/admin/notes/class-wc-notes-refund-returns.php
+
+ -
+ message: '#^Method WC_Notes_Refund_Returns\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/notes/class-wc-notes-refund-returns.php
+
+ -
+ message: '#^Method WC_Notes_Refund_Returns\:\:possibly_add_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/notes/class-wc-notes-refund-returns.php
+
+ -
+ message: '#^Result of \|\| is always true\.$#'
+ identifier: booleanOr.alwaysTrue
+ count: 1
+ path: includes/admin/notes/class-wc-notes-refund-returns.php
+
+ -
+ message: '#^Strict comparison using \!\=\= between false and Automattic\\WooCommerce\\Admin\\Notes\\Note will always evaluate to true\.$#'
+ identifier: notIdentical.alwaysTrue
+ count: 1
+ path: includes/admin/notes/class-wc-notes-refund-returns.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_notes_with_name\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/admin/notes/class-wc-notes-run-db-update.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Notes\\Note\:\:add_action\(\) invoked with 7 parameters, 2\-6 required\.$#'
+ identifier: arguments.count
+ count: 1
+ path: includes/admin/notes/class-wc-notes-run-db-update.php
+
+ -
+ message: '#^Method WC_Notes_Run_Db_Update\:\:add_notice\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/notes/class-wc-notes-run-db-update.php
+
+ -
+ message: '#^Method WC_Notes_Run_Db_Update\:\:get_current_notice\(\) never returns null so it can be removed from the return type\.$#'
+ identifier: return.unusedType
+ count: 1
+ path: includes/admin/notes/class-wc-notes-run-db-update.php
+
+ -
+ message: '#^Method WC_Notes_Run_Db_Update\:\:get_current_notice\(\) should return Automattic\\WooCommerce\\Admin\\Notes\\Note\|null but empty return statement found\.$#'
+ identifier: return.empty
+ count: 2
+ path: includes/admin/notes/class-wc-notes-run-db-update.php
+
+ -
+ message: '#^Method WC_Notes_Run_Db_Update\:\:set_notice_actioned\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/notes/class-wc-notes-run-db-update.php
+
+ -
+ message: '#^Method WC_Notes_Run_Db_Update\:\:show_reminder\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/notes/class-wc-notes-run-db-update.php
+
+ -
+ message: '#^Method WC_Notes_Run_Db_Update\:\:update_done_notice\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/notes/class-wc-notes-run-db-update.php
+
+ -
+ message: '#^Method WC_Notes_Run_Db_Update\:\:update_in_progress_notice\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/notes/class-wc-notes-run-db-update.php
+
+ -
+ message: '#^Method WC_Notes_Run_Db_Update\:\:update_needed_notice\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/notes/class-wc-notes-run-db-update.php
+
+ -
+ message: '#^Offset ''nonce_action'' on array\{name\: ''update\-db_done'', label\: mixed, url\: string, status\: ''actioned'', primary\: true, nonce_action\: ''woocommerce_hide…'', nonce_name\: ''_wc_notice_nonce''\} in isset\(\) always exists and is not nullable\.$#'
+ identifier: isset.offset
+ count: 1
+ path: includes/admin/notes/class-wc-notes-run-db-update.php
+
+ -
+ message: '#^Method WC_Plugin_Updates\:\:generic_modal_js\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/plugin-updates/class-wc-plugin-updates.php
+
+ -
+ message: '#^Method WC_Plugin_Updates\:\:get_extensions_inline_warning_major\(\) should return string but empty return statement found\.$#'
+ identifier: return.empty
+ count: 1
+ path: includes/admin/plugin-updates/class-wc-plugin-updates.php
+
+ -
+ message: '#^Method WC_Plugin_Updates\:\:get_extensions_inline_warning_major\(\) should return string but returns string\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/admin/plugin-updates/class-wc-plugin-updates.php
+
+ -
+ message: '#^Method WC_Plugin_Updates\:\:get_extensions_modal_warning\(\) should return string but returns string\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/admin/plugin-updates/class-wc-plugin-updates.php
+
+ -
+ message: '#^Method WC_Plugins_Screen_Updates\:\:get_upgrade_notice\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/admin/plugin-updates/class-wc-plugins-screen-updates.php
+
+ -
+ message: '#^Method WC_Plugins_Screen_Updates\:\:in_plugin_update_message\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/plugin-updates/class-wc-plugins-screen-updates.php
+
+ -
+ message: '#^Method WC_Plugins_Screen_Updates\:\:plugin_screen_modal_js\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/plugin-updates/class-wc-plugins-screen-updates.php
+
+ -
+ message: '#^Parameter \#1 \$version1 of function version_compare expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/plugin-updates/class-wc-plugins-screen-updates.php
+
+ -
+ message: '#^Parameter \#2 \$str of function explode expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/plugin-updates/class-wc-plugins-screen-updates.php
+
+ -
+ message: '#^Parameter \#3 \$subject of function preg_replace expects array\<float\|int\|string\>\|string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/plugin-updates/class-wc-plugins-screen-updates.php
+
+ -
+ message: '#^Method WC_Updates_Screen_Updates\:\:update_screen_modal\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/plugin-updates/class-wc-updates-screen-updates.php
+
+ -
+ message: '#^Method WC_Updates_Screen_Updates\:\:update_screen_modal_js\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/plugin-updates/class-wc-updates-screen-updates.php
+
+ -
+ message: '#^Parameter \#1 \$new_version of method WC_Plugin_Updates\:\:get_untested_plugins\(\) expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/plugin-updates/class-wc-updates-screen-updates.php
+
+ -
+ message: '#^Property WC_Plugin_Updates\:\:\$new_version \(string\) does not accept array\|string\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: includes/admin/plugin-updates/class-wc-updates-screen-updates.php
+
+ -
+ message: '#^Variable \$message might not be defined\.$#'
+ identifier: variable.undefined
+ count: 1
+ path: includes/admin/plugin-updates/views/html-notice-untested-extensions-inline.php
+
+ -
+ message: '#^Variable \$plugins might not be defined\.$#'
+ identifier: variable.undefined
+ count: 1
+ path: includes/admin/plugin-updates/views/html-notice-untested-extensions-inline.php
+
+ -
+ message: '#^Variable \$upgrade_type might not be defined\.$#'
+ identifier: variable.undefined
+ count: 1
+ path: includes/admin/plugin-updates/views/html-notice-untested-extensions-inline.php
+
+ -
+ message: '#^Variable \$new_version might not be defined\.$#'
+ identifier: variable.undefined
+ count: 1
+ path: includes/admin/plugin-updates/views/html-notice-untested-extensions-modal.php
+
+ -
+ message: '#^Variable \$plugins might not be defined\.$#'
+ identifier: variable.undefined
+ count: 1
+ path: includes/admin/plugin-updates/views/html-notice-untested-extensions-modal.php
+
+ -
+ message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
+ count: 1
+ path: includes/admin/reports/class-wc-admin-report.php
+
+ -
+ message: '#^Binary operation "\." between mixed and ''_array'' results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 2
+ path: includes/admin/reports/class-wc-admin-report.php
+
+ -
+ message: '#^Cannot access property \$sparkline_value on mixed\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/admin/reports/class-wc-admin-report.php
+
+ -
+ message: '#^Default value of the parameter \#1 \$id \(string\) of method WC_Admin_Report\:\:get_sales_sparkline\(\) is incompatible with type int\.$#'
+ identifier: parameter.defaultValue
+ count: 1
+ path: includes/admin/reports/class-wc-admin-report.php
+
+ -
+ message: '#^Default value of the parameter \#1 \$id \(string\) of method WC_Admin_Report\:\:sales_sparkline\(\) is incompatible with type int\.$#'
+ identifier: parameter.defaultValue
+ count: 1
+ path: includes/admin/reports/class-wc-admin-report.php
+
+ -
+ message: '#^Method WC_Admin_Report\:\:add_update_transients_hook\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/reports/class-wc-admin-report.php
+
+ -
+ message: '#^Method WC_Admin_Report\:\:calculate_current_range\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/reports/class-wc-admin-report.php
+
+ -
+ message: '#^Method WC_Admin_Report\:\:check_current_range_nonce\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/reports/class-wc-admin-report.php
+
+ -
+ message: '#^Method WC_Admin_Report\:\:enable_big_selects\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/reports/class-wc-admin-report.php
+
+ -
+ message: '#^Method WC_Admin_Report\:\:get_export_button\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/reports/class-wc-admin-report.php
+
+ -
+ message: '#^Method WC_Admin_Report\:\:get_main_chart\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/reports/class-wc-admin-report.php
+
+ -
+ message: '#^Method WC_Admin_Report\:\:maybe_update_transients\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/reports/class-wc-admin-report.php
+
+ -
+ message: '#^Method WC_Admin_Report\:\:output_report\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/reports/class-wc-admin-report.php
+
+ -
+ message: '#^Method WC_Admin_Report\:\:set_cached_query\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/reports/class-wc-admin-report.php
+
+ -
+ message: '#^Parameter \#1 \$data of method WC_Admin_Report\:\:prepare_chart_data\(\) expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/reports/class-wc-admin-report.php
+
+ -
+ message: '#^Parameter \#1 \$input of function str_pad expects string, int\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/reports/class-wc-admin-report.php
+
+ -
+ message: '#^Parameter \#1 \$json of function wc_esc_json expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/reports/class-wc-admin-report.php
+
+ -
+ message: '#^Parameter \#1 \$key of function sanitize_key expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/admin/reports/class-wc-admin-report.php
+
+ -
+ message: '#^Parameter \#1 \$str of function sanitize_text_field expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/admin/reports/class-wc-admin-report.php
+
+ -
+ message: '#^Parameter \#1 \$url of function esc_url_raw expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/reports/class-wc-admin-report.php
+
+ -
+ message: '#^Parameter \#2 \$now of function strtotime expects int, int\|false given\.$#'
+ identifier: argument.type
+ count: 4
+ path: includes/admin/reports/class-wc-admin-report.php
+
+ -
+ message: '#^Parameter \#2 \$now of function strtotime expects int, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/reports/class-wc-admin-report.php
+
+ -
+ message: '#^Parameter \#2 \$timestamp of function date expects int, int\|false given\.$#'
+ identifier: argument.type
+ count: 3
+ path: includes/admin/reports/class-wc-admin-report.php
+
+ -
+ message: '#^Parameter \#2 \$timestamp of function date expects int, string given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/admin/reports/class-wc-admin-report.php
+
+ -
+ message: '#^Parameter \#5 \$start_date of method WC_Admin_Report\:\:prepare_chart_data\(\) expects string, int\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/reports/class-wc-admin-report.php
+
+ -
+ message: '#^Part \$join_type \(mixed\) of encapsed string cannot be cast to string\.$#'
+ identifier: encapsedStringPart.nonString
+ count: 3
+ path: includes/admin/reports/class-wc-admin-report.php
+
+ -
+ message: '#^Part \$value\[''meta_key''\] \(mixed\) of encapsed string cannot be cast to string\.$#'
+ identifier: encapsedStringPart.nonString
+ count: 2
+ path: includes/admin/reports/class-wc-admin-report.php
+
+ -
+ message: '#^Property WC_Admin_Report\:\:\$end_date \(int\) does not accept int\|false\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: includes/admin/reports/class-wc-admin-report.php
+
+ -
+ message: '#^Property WC_Admin_Report\:\:\$start_date \(int\) does not accept int\|false\.$#'
+ identifier: assign.propertyType
+ count: 3
+ path: includes/admin/reports/class-wc-admin-report.php
+
+ -
+ message: '#^Unreachable statement \- code above always terminates\.$#'
+ identifier: deadCode.unreachable
+ count: 1
+ path: includes/admin/reports/class-wc-admin-report.php
+
+ -
+ message: '#^Variable \$debug might not be defined\.$#'
+ identifier: variable.undefined
+ count: 1
+ path: includes/admin/reports/class-wc-admin-report.php
+
+ -
+ message: '#^Variable \$filter_range might not be defined\.$#'
+ identifier: variable.undefined
+ count: 1
+ path: includes/admin/reports/class-wc-admin-report.php
+
+ -
+ message: '#^Variable \$group_by might not be defined\.$#'
+ identifier: variable.undefined
+ count: 1
+ path: includes/admin/reports/class-wc-admin-report.php
+
+ -
+ message: '#^Variable \$limit might not be defined\.$#'
+ identifier: variable.undefined
+ count: 1
+ path: includes/admin/reports/class-wc-admin-report.php
+
+ -
+ message: '#^Variable \$nocache might not be defined\.$#'
+ identifier: variable.undefined
+ count: 1
+ path: includes/admin/reports/class-wc-admin-report.php
+
+ -
+ message: '#^Variable \$order_by might not be defined\.$#'
+ identifier: variable.undefined
+ count: 1
+ path: includes/admin/reports/class-wc-admin-report.php
+
+ -
+ message: '#^Variable \$order_status might not be defined\.$#'
+ identifier: variable.undefined
+ count: 1
+ path: includes/admin/reports/class-wc-admin-report.php
+
+ -
+ message: '#^Variable \$order_types might not be defined\.$#'
+ identifier: variable.undefined
+ count: 1
+ path: includes/admin/reports/class-wc-admin-report.php
+
+ -
+ message: '#^Variable \$query_type might not be defined\.$#'
+ identifier: variable.undefined
+ count: 3
+ path: includes/admin/reports/class-wc-admin-report.php
+
+ -
+ message: '#^Variable \$where might not be defined\.$#'
+ identifier: variable.undefined
+ count: 1
+ path: includes/admin/reports/class-wc-admin-report.php
+
+ -
+ message: '#^Cannot access property \$coupon_code on mixed\.$#'
+ identifier: property.nonObject
+ count: 6
+ path: includes/admin/reports/class-wc-report-coupon-usage.php
+
+ -
+ message: '#^Cannot access property \$coupon_count on mixed\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/admin/reports/class-wc-report-coupon-usage.php
+
+ -
+ message: '#^Cannot access property \$discount_amount on mixed\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/admin/reports/class-wc-report-coupon-usage.php
+
+ -
+ message: '#^Method WC_Report_Coupon_Usage\:\:coupons_widget\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/reports/class-wc-report-coupon-usage.php
+
+ -
+ message: '#^Method WC_Report_Coupon_Usage\:\:get_export_button\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/reports/class-wc-report-coupon-usage.php
+
+ -
+ message: '#^Method WC_Report_Coupon_Usage\:\:get_main_chart\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/reports/class-wc-report-coupon-usage.php
+
+ -
+ message: '#^Method WC_Report_Coupon_Usage\:\:output_report\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/reports/class-wc-report-coupon-usage.php
+
+ -
+ message: '#^Parameter \#1 \$callback of function array_map expects \(callable\(mixed\)\: mixed\)\|null, ''sanitize_text_field'' given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/reports/class-wc-report-coupon-usage.php
+
+ -
+ message: '#^Parameter \#1 \$data of method WC_Admin_Report\:\:prepare_chart_data\(\) expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/admin/reports/class-wc-report-coupon-usage.php
+
+ -
+ message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/reports/class-wc-report-coupon-usage.php
+
+ -
+ message: '#^Parameter \#1 \$price of function wc_price expects float, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/reports/class-wc-report-coupon-usage.php
+
+ -
+ message: '#^Parameter \#1 \$str of function rawurlencode expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/admin/reports/class-wc-report-coupon-usage.php
+
+ -
+ message: '#^Parameter \#1 \$str of function sanitize_text_field expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 3
+ path: includes/admin/reports/class-wc-report-coupon-usage.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_attr expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 7
+ path: includes/admin/reports/class-wc-report-coupon-usage.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_html expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/reports/class-wc-report-coupon-usage.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_js expects string, int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/reports/class-wc-report-coupon-usage.php
+
+ -
+ message: '#^Parameter \#1 \$value of function wc_selected expects int\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/reports/class-wc-report-coupon-usage.php
+
+ -
+ message: '#^Parameter \#5 \$start_date of method WC_Admin_Report\:\:prepare_chart_data\(\) expects string, int given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/admin/reports/class-wc-report-coupon-usage.php
+
+ -
+ message: '#^Access to an undefined property WP_User_Query\:\:\$total_users\.$#'
+ identifier: property.notFound
+ count: 2
+ path: includes/admin/reports/class-wc-report-customer-list.php
+
+ -
+ message: '#^Action callback returns WP_User_Query but should not return anything\.$#'
+ identifier: return.void
+ count: 1
+ path: includes/admin/reports/class-wc-report-customer-list.php
+
+ -
+ message: '#^Cannot access offset 0 on non\-empty\-array\<WC_Order\>\|stdClass\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/admin/reports/class-wc-report-customer-list.php
+
+ -
+ message: '#^Cannot access property \$display_name on WP_User\|false\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/admin/reports/class-wc-report-customer-list.php
+
+ -
+ message: '#^Method WC_Report_Customer_List\:\:column_default\(\) should return string but returns int\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/admin/reports/class-wc-report-customer-list.php
+
+ -
+ message: '#^Method WC_Report_Customer_List\:\:column_default\(\) should return string but returns string\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/admin/reports/class-wc-report-customer-list.php
+
+ -
+ message: '#^Method WC_Report_Customer_List\:\:no_items\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/reports/class-wc-report-customer-list.php
+
+ -
+ message: '#^Method WC_Report_Customer_List\:\:output_report\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/reports/class-wc-report-customer-list.php
+
+ -
+ message: '#^Method WC_Report_Customer_List\:\:prepare_items\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/reports/class-wc-report-customer-list.php
+
+ -
+ message: '#^Parameter \#1 \$args of method WP_List_Table\:\:set_pagination_args\(\) expects array\{total_items\?\: int, total_pages\?\: int, per_page\?\: int\}, array\{total_items\: mixed, per_page\: 20, total_pages\: float\} given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/reports/class-wc-report-customer-list.php
+
+ -
+ message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/admin/reports/class-wc-report-customer-list.php
+
+ -
+ message: '#^Parameter \#1 \$nonce of function wp_verify_nonce expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/admin/reports/class-wc-report-customer-list.php
+
+ -
+ message: '#^Parameter \#1 \$price of function wc_price expects float, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/reports/class-wc-report-customer-list.php
+
+ -
+ message: '#^Parameter \#3 \$subject of function str_replace expects array\<string\>\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 3
+ path: includes/admin/reports/class-wc-report-customer-list.php
+
+ -
+ message: '#^Unreachable statement \- code above always terminates\.$#'
+ identifier: deadCode.unreachable
+ count: 1
+ path: includes/admin/reports/class-wc-report-customer-list.php
+
+ -
+ message: '#^Cannot access property \$total_orders on mixed\.$#'
+ identifier: property.nonObject
+ count: 2
+ path: includes/admin/reports/class-wc-report-customers.php
+
+ -
+ message: '#^Method WC_Report_Customers\:\:customers_vs_guests\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/reports/class-wc-report-customers.php
+
+ -
+ message: '#^Method WC_Report_Customers\:\:get_export_button\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/reports/class-wc-report-customers.php
+
+ -
+ message: '#^Method WC_Report_Customers\:\:get_main_chart\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/reports/class-wc-report-customers.php
+
+ -
+ message: '#^Method WC_Report_Customers\:\:output_report\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/reports/class-wc-report-customers.php
+
+ -
+ message: '#^Parameter \#1 \$data of method WC_Admin_Report\:\:prepare_chart_data\(\) expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/admin/reports/class-wc-report-customers.php
+
+ -
+ message: '#^Parameter \#1 \$str of function rawurlencode expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/admin/reports/class-wc-report-customers.php
+
+ -
+ message: '#^Parameter \#1 \$str of function sanitize_text_field expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/admin/reports/class-wc-report-customers.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_html expects string, int given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/admin/reports/class-wc-report-customers.php
+
+ -
+ message: '#^Parameter \#5 \$start_date of method WC_Admin_Report\:\:prepare_chart_data\(\) expects string, int given\.$#'
+ identifier: argument.type
+ count: 3
+ path: includes/admin/reports/class-wc-report-customers.php
+
+ -
+ message: '#^Access to an undefined property WC_Customer_Download\:\:\$order_id\.$#'
+ identifier: property.notFound
+ count: 2
+ path: includes/admin/reports/class-wc-report-downloads.php
+
+ -
+ message: '#^Access to an undefined property WC_Customer_Download\:\:\$product_id\.$#'
+ identifier: property.notFound
+ count: 2
+ path: includes/admin/reports/class-wc-report-downloads.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$download_id\.$#'
+ identifier: property.notFound
+ count: 2
+ path: includes/admin/reports/class-wc-report-downloads.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$order_id\.$#'
+ identifier: property.notFound
+ count: 2
+ path: includes/admin/reports/class-wc-report-downloads.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$permission_id\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/admin/reports/class-wc-report-downloads.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$product_id\.$#'
+ identifier: property.notFound
+ count: 2
+ path: includes/admin/reports/class-wc-report-downloads.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$user_id\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/admin/reports/class-wc-report-downloads.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$user_ip_address\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/admin/reports/class-wc-report-downloads.php
+
+ -
+ message: '#^Argument of an invalid type object supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
+ count: 1
+ path: includes/admin/reports/class-wc-report-downloads.php
+
+ -
+ message: '#^Cannot access property \$permission_id on mixed\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/admin/reports/class-wc-report-downloads.php
+
+ -
+ message: '#^Cannot access property \$timestamp on mixed\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/admin/reports/class-wc-report-downloads.php
+
+ -
+ message: '#^Cannot access property \$user_id on mixed\.$#'
+ identifier: property.nonObject
+ count: 4
+ path: includes/admin/reports/class-wc-report-downloads.php
+
+ -
+ message: '#^Cannot access property \$user_ip_address on mixed\.$#'
+ identifier: property.nonObject
+ count: 2
+ path: includes/admin/reports/class-wc-report-downloads.php
+
+ -
+ message: '#^Cannot call method get_file\(\) on array\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/admin/reports/class-wc-report-downloads.php
+
+ -
+ message: '#^Cannot call method get_id\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/admin/reports/class-wc-report-downloads.php
+
+ -
+ message: '#^Cannot call method get_name\(\) on array\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/admin/reports/class-wc-report-downloads.php
+
+ -
+ message: '#^Cannot call method get_order_number\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: includes/admin/reports/class-wc-report-downloads.php
+
+ -
+ message: '#^Method WC_Report_Downloads\:\:column_default\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/reports/class-wc-report-downloads.php
+
+ -
+ message: '#^Method WC_Report_Downloads\:\:display_tablenav\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/reports/class-wc-report-downloads.php
+
+ -
+ message: '#^Method WC_Report_Downloads\:\:get_items\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/reports/class-wc-report-downloads.php
+
+ -
+ message: '#^Method WC_Report_Downloads\:\:no_items\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/reports/class-wc-report-downloads.php
+
+ -
+ message: '#^Method WC_Report_Downloads\:\:output_report\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/reports/class-wc-report-downloads.php
+
+ -
+ message: '#^Method WC_Report_Downloads\:\:prepare_items\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/reports/class-wc-report-downloads.php
+
+ -
+ message: '#^Parameter \#1 \$args of method WP_List_Table\:\:set_pagination_args\(\) expects array\{total_items\?\: int, total_pages\?\: int, per_page\?\: int\}, array\{total_items\: int, per_page\: mixed, total_pages\: float\} given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/reports/class-wc-report-downloads.php
+
+ -
+ message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 5
+ path: includes/admin/reports/class-wc-report-downloads.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_html expects string, int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/reports/class-wc-report-downloads.php
+
+ -
+ message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/admin/reports/class-wc-report-downloads.php
+
+ -
+ message: '#^Parameter \#1 \$which of method WP_List_Table\:\:display_tablenav\(\) expects ''bottom''\|''top'', string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/reports/class-wc-report-downloads.php
+
+ -
+ message: '#^Variable \$permission in empty\(\) always exists and is not falsy\.$#'
+ identifier: empty.variable
+ count: 2
+ path: includes/admin/reports/class-wc-report-downloads.php
+
+ -
+ message: '#^Method WC_Report_Low_In_Stock\:\:get_items\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/reports/class-wc-report-low-in-stock.php
+
+ -
+ message: '#^Method WC_Report_Low_In_Stock\:\:no_items\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/reports/class-wc-report-low-in-stock.php
+
+ -
+ message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/admin/reports/class-wc-report-low-in-stock.php
+
+ -
+ message: '#^Method WC_Report_Most_Stocked\:\:get_items\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/reports/class-wc-report-most-stocked.php
+
+ -
+ message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/reports/class-wc-report-most-stocked.php
+
+ -
+ message: '#^Method WC_Report_Out_Of_Stock\:\:get_items\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/reports/class-wc-report-out-of-stock.php
+
+ -
+ message: '#^Method WC_Report_Out_Of_Stock\:\:no_items\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/reports/class-wc-report-out-of-stock.php
+
+ -
+ message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/reports/class-wc-report-out-of-stock.php
+
+ -
+ message: '#^Cannot access an offset on array\|WP_Error\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/admin/reports/class-wc-report-sales-by-category.php
+
+ -
+ message: '#^Cannot access property \$name on WP_Error\|WP_Term\|null\.$#'
+ identifier: property.nonObject
+ count: 2
+ path: includes/admin/reports/class-wc-report-sales-by-category.php
+
+ -
+ message: '#^Cannot access property \$order_item_amount on mixed\.$#'
+ identifier: property.nonObject
+ count: 4
+ path: includes/admin/reports/class-wc-report-sales-by-category.php
+
+ -
+ message: '#^Cannot access property \$post_date on mixed\.$#'
+ identifier: property.nonObject
+ count: 2
+ path: includes/admin/reports/class-wc-report-sales-by-category.php
+
+ -
+ message: '#^Cannot access property \$product_id on mixed\.$#'
+ identifier: property.nonObject
+ count: 6
+ path: includes/admin/reports/class-wc-report-sales-by-category.php
+
+ -
+ message: '#^Cannot access property \$term_id on WP_Error\|WP_Term\|null\.$#'
+ identifier: property.nonObject
+ count: 4
+ path: includes/admin/reports/class-wc-report-sales-by-category.php
+
+ -
+ message: '#^Method WC_Report_Sales_By_Category\:\:category_widget\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/reports/class-wc-report-sales-by-category.php
+
+ -
+ message: '#^Method WC_Report_Sales_By_Category\:\:get_export_button\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/reports/class-wc-report-sales-by-category.php
+
+ -
+ message: '#^Method WC_Report_Sales_By_Category\:\:get_main_chart\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/reports/class-wc-report-sales-by-category.php
+
+ -
+ message: '#^Method WC_Report_Sales_By_Category\:\:output_report\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/reports/class-wc-report-sales-by-category.php
+
+ -
+ message: '#^Parameter \#1 \$args of function get_terms expects array\{taxonomy\?\: array\<string\>\|string, object_ids\?\: array\<int\>\|int, orderby\?\: string, order\?\: string, hide_empty\?\: bool\|int, include\?\: array\<int\>\|string, exclude\?\: array\<int\>\|string, exclude_tree\?\: array\<int\>\|string, \.\.\.\}, ''product_cat'' given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/reports/class-wc-report-sales-by-category.php
+
+ -
+ message: '#^Parameter \#1 \$callback of function array_map expects \(callable\(mixed\)\: mixed\)\|null, ''absint'' given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/reports/class-wc-report-sales-by-category.php
+
+ -
+ message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/reports/class-wc-report-sales-by-category.php
+
+ -
+ message: '#^Parameter \#1 \$str of function rawurlencode expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/admin/reports/class-wc-report-sales-by-category.php
+
+ -
+ message: '#^Parameter \#1 \$str of function sanitize_text_field expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/admin/reports/class-wc-report-sales-by-category.php
+
+ -
+ message: '#^Parameter \#1 \$term_ids of function get_objects_in_term expects array\<int\>\|int, array\|\(ArrayAccess&WP_Error\) given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/reports/class-wc-report-sales-by-category.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_attr expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 6
+ path: includes/admin/reports/class-wc-report-sales-by-category.php
+
+ -
+ message: '#^Parameter \#1 \(mixed\) of echo cannot be converted to string\.$#'
+ identifier: echo.nonString
+ count: 1
+ path: includes/admin/reports/class-wc-report-sales-by-category.php
+
+ -
+ message: '#^Parameter \#2 \$timestamp of function gmdate expects int, int\|false given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/admin/reports/class-wc-report-sales-by-category.php
+
+ -
+ message: '#^Binary operation "\-" between string and string results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: includes/admin/reports/class-wc-report-sales-by-date.php
+
+ -
+ message: '#^Binary operation "/" between string and int results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 2
+ path: includes/admin/reports/class-wc-report-sales-by-date.php
+
+ -
+ message: '#^Cannot access property \$net_refund on mixed\.$#'
+ identifier: property.nonObject
+ count: 2
+ path: includes/admin/reports/class-wc-report-sales-by-date.php
+
+ -
+ message: '#^Cannot access property \$order_item_count on mixed\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/admin/reports/class-wc-report-sales-by-date.php
+
+ -
+ message: '#^Cannot access property \$total_refund on mixed\.$#'
+ identifier: property.nonObject
+ count: 4
+ path: includes/admin/reports/class-wc-report-sales-by-date.php
+
+ -
+ message: '#^Cannot access property \$total_shipping on mixed\.$#'
+ identifier: property.nonObject
+ count: 6
+ path: includes/admin/reports/class-wc-report-sales-by-date.php
+
+ -
+ message: '#^Cannot access property \$total_shipping_tax on mixed\.$#'
+ identifier: property.nonObject
+ count: 6
+ path: includes/admin/reports/class-wc-report-sales-by-date.php
+
+ -
+ message: '#^Cannot access property \$total_tax on mixed\.$#'
+ identifier: property.nonObject
+ count: 6
+ path: includes/admin/reports/class-wc-report-sales-by-date.php
+
+ -
+ message: '#^Method WC_Report_Sales_By_Date\:\:get_export_button\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/reports/class-wc-report-sales-by-date.php
+
+ -
+ message: '#^Method WC_Report_Sales_By_Date\:\:get_main_chart\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/reports/class-wc-report-sales-by-date.php
+
+ -
+ message: '#^Method WC_Report_Sales_By_Date\:\:output_report\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/reports/class-wc-report-sales-by-date.php
+
+ -
+ message: '#^Method WC_Report_Sales_By_Date\:\:query_report_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/reports/class-wc-report-sales-by-date.php
+
+ -
+ message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/reports/class-wc-report-sales-by-date.php
+
+ -
+ message: '#^Parameter \#1 \$str of function rawurlencode expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/admin/reports/class-wc-report-sales-by-date.php
+
+ -
+ message: '#^Parameter \#1 \$str of function sanitize_text_field expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/admin/reports/class-wc-report-sales-by-date.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_js expects string, int given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/admin/reports/class-wc-report-sales-by-date.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_js expects string, int\|string\|false given\.$#'
+ identifier: argument.type
+ count: 4
+ path: includes/admin/reports/class-wc-report-sales-by-date.php
+
+ -
+ message: '#^Parameter \#1 \.\.\.\$arg1 of function max expects non\-empty\-array, list\<int\|string\> given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/admin/reports/class-wc-report-sales-by-date.php
+
+ -
+ message: '#^Parameter \#1 \.\.\.\$arg1 of function min expects non\-empty\-array, list\<int\|string\> given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/admin/reports/class-wc-report-sales-by-date.php
+
+ -
+ message: '#^Parameter \#5 \$start_date of method WC_Admin_Report\:\:prepare_chart_data\(\) expects string, int given\.$#'
+ identifier: argument.type
+ count: 9
+ path: includes/admin/reports/class-wc-report-sales-by-date.php
+
+ -
+ message: '#^Property WC_Report_Sales_By_Date\:\:\$report_data \(stdClass\) in empty\(\) is not falsy\.$#'
+ identifier: empty.property
+ count: 1
+ path: includes/admin/reports/class-wc-report-sales-by-date.php
+
+ -
+ message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
+ count: 3
+ path: includes/admin/reports/class-wc-report-sales-by-product.php
+
+ -
+ message: '#^Cannot access property \$order_item_qty on mixed\.$#'
+ identifier: property.nonObject
+ count: 2
+ path: includes/admin/reports/class-wc-report-sales-by-product.php
+
+ -
+ message: '#^Cannot access property \$order_item_total on mixed\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/admin/reports/class-wc-report-sales-by-product.php
+
+ -
+ message: '#^Cannot access property \$product_id on mixed\.$#'
+ identifier: property.nonObject
+ count: 12
+ path: includes/admin/reports/class-wc-report-sales-by-product.php
+
+ -
+ message: '#^Method WC_Report_Sales_By_Product\:\:current_filters\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/reports/class-wc-report-sales-by-product.php
+
+ -
+ message: '#^Method WC_Report_Sales_By_Product\:\:get_export_button\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/reports/class-wc-report-sales-by-product.php
+
+ -
+ message: '#^Method WC_Report_Sales_By_Product\:\:get_main_chart\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/reports/class-wc-report-sales-by-product.php
+
+ -
+ message: '#^Method WC_Report_Sales_By_Product\:\:output_report\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/reports/class-wc-report-sales-by-product.php
+
+ -
+ message: '#^Method WC_Report_Sales_By_Product\:\:products_widget\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/reports/class-wc-report-sales-by-product.php
+
+ -
+ message: '#^Parameter \#1 \$callback of function array_map expects \(callable\(mixed\)\: mixed\)\|null, ''absint'' given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/reports/class-wc-report-sales-by-product.php
+
+ -
+ message: '#^Parameter \#1 \$data of method WC_Admin_Report\:\:prepare_chart_data\(\) expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/admin/reports/class-wc-report-sales-by-product.php
+
+ -
+ message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/admin/reports/class-wc-report-sales-by-product.php
+
+ -
+ message: '#^Parameter \#1 \$price of function wc_price expects float, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/reports/class-wc-report-sales-by-product.php
+
+ -
+ message: '#^Parameter \#1 \$str of function rawurlencode expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/admin/reports/class-wc-report-sales-by-product.php
+
+ -
+ message: '#^Parameter \#1 \$str of function sanitize_text_field expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/admin/reports/class-wc-report-sales-by-product.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_attr expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 6
+ path: includes/admin/reports/class-wc-report-sales-by-product.php
+
+ -
+ message: '#^Parameter \#5 \$start_date of method WC_Admin_Report\:\:prepare_chart_data\(\) expects string, int given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/admin/reports/class-wc-report-sales-by-product.php
+
+ -
+ message: '#^Call to an undefined method WC_Report_Stock\:\:get_items\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/admin/reports/class-wc-report-stock.php
+
+ -
+ message: '#^Cannot access property \$id on mixed\.$#'
+ identifier: property.nonObject
+ count: 3
+ path: includes/admin/reports/class-wc-report-stock.php
+
+ -
+ message: '#^Cannot access property \$parent on mixed\.$#'
+ identifier: property.nonObject
+ count: 3
+ path: includes/admin/reports/class-wc-report-stock.php
+
+ -
+ message: '#^Method WC_Report_Stock\:\:column_default\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/reports/class-wc-report-stock.php
+
+ -
+ message: '#^Method WC_Report_Stock\:\:display_tablenav\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/reports/class-wc-report-stock.php
+
+ -
+ message: '#^Method WC_Report_Stock\:\:no_items\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/reports/class-wc-report-stock.php
+
+ -
+ message: '#^Method WC_Report_Stock\:\:output_report\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/reports/class-wc-report-stock.php
+
+ -
+ message: '#^Method WC_Report_Stock\:\:prepare_items\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/reports/class-wc-report-stock.php
+
+ -
+ message: '#^Parameter \#1 \$args of method WP_List_Table\:\:set_pagination_args\(\) expects array\{total_items\?\: int, total_pages\?\: int, per_page\?\: int\}, array\{total_items\: int, per_page\: mixed, total_pages\: float\} given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/reports/class-wc-report-stock.php
+
+ -
+ message: '#^Parameter \#1 \$which of method WP_List_Table\:\:display_tablenav\(\) expects ''bottom''\|''top'', string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/reports/class-wc-report-stock.php
+
+ -
+ message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
+ count: 1
+ path: includes/admin/reports/class-wc-report-taxes-by-code.php
+
+ -
+ message: '#^Binary operation "\+" between mixed and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: includes/admin/reports/class-wc-report-taxes-by-code.php
+
+ -
+ message: '#^Cannot access property \$shipping_tax_amount on mixed\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/admin/reports/class-wc-report-taxes-by-code.php
+
+ -
+ message: '#^Cannot access property \$tax_amount on mixed\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/admin/reports/class-wc-report-taxes-by-code.php
+
+ -
+ message: '#^Cannot access property \$tax_rate on mixed\.$#'
+ identifier: property.nonObject
+ count: 2
+ path: includes/admin/reports/class-wc-report-taxes-by-code.php
+
+ -
+ message: '#^Method WC_Report_Taxes_By_Code\:\:get_export_button\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/reports/class-wc-report-taxes-by-code.php
+
+ -
+ message: '#^Method WC_Report_Taxes_By_Code\:\:get_main_chart\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/reports/class-wc-report-taxes-by-code.php
+
+ -
+ message: '#^Method WC_Report_Taxes_By_Code\:\:output_report\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/reports/class-wc-report-taxes-by-code.php
+
+ -
+ message: '#^Parameter \#1 \$str of function sanitize_text_field expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/admin/reports/class-wc-report-taxes-by-code.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_html expects string, int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/reports/class-wc-report-taxes-by-code.php
+
+ -
+ message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
+ count: 3
+ path: includes/admin/reports/class-wc-report-taxes-by-date.php
+
+ -
+ message: '#^Binary operation "\*" between string and \-1 results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 2
+ path: includes/admin/reports/class-wc-report-taxes-by-date.php
+
+ -
+ message: '#^Binary operation "\+" between mixed and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: includes/admin/reports/class-wc-report-taxes-by-date.php
+
+ -
+ message: '#^Cannot access property \$post_date on mixed\.$#'
+ identifier: property.nonObject
+ count: 3
+ path: includes/admin/reports/class-wc-report-taxes-by-date.php
+
+ -
+ message: '#^Cannot access property \$post_parent on mixed\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/admin/reports/class-wc-report-taxes-by-date.php
+
+ -
+ message: '#^Cannot access property \$shipping_tax_amount on mixed\.$#'
+ identifier: property.nonObject
+ count: 2
+ path: includes/admin/reports/class-wc-report-taxes-by-date.php
+
+ -
+ message: '#^Cannot access property \$tax_amount on mixed\.$#'
+ identifier: property.nonObject
+ count: 2
+ path: includes/admin/reports/class-wc-report-taxes-by-date.php
+
+ -
+ message: '#^Cannot access property \$total_orders on mixed\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/admin/reports/class-wc-report-taxes-by-date.php
+
+ -
+ message: '#^Cannot access property \$total_sales on mixed\.$#'
+ identifier: property.nonObject
+ count: 2
+ path: includes/admin/reports/class-wc-report-taxes-by-date.php
+
+ -
+ message: '#^Cannot access property \$total_shipping on mixed\.$#'
+ identifier: property.nonObject
+ count: 2
+ path: includes/admin/reports/class-wc-report-taxes-by-date.php
+
+ -
+ message: '#^Cannot call method get_cart_tax\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/admin/reports/class-wc-report-taxes-by-date.php
+
+ -
+ message: '#^Cannot call method get_shipping_tax\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/admin/reports/class-wc-report-taxes-by-date.php
+
+ -
+ message: '#^Cannot call method get_shipping_total\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/admin/reports/class-wc-report-taxes-by-date.php
+
+ -
+ message: '#^Cannot call method get_total\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/admin/reports/class-wc-report-taxes-by-date.php
+
+ -
+ message: '#^Method WC_Report_Taxes_By_Date\:\:get_export_button\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/reports/class-wc-report-taxes-by-date.php
+
+ -
+ message: '#^Method WC_Report_Taxes_By_Date\:\:get_main_chart\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/reports/class-wc-report-taxes-by-date.php
+
+ -
+ message: '#^Method WC_Report_Taxes_By_Date\:\:output_report\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/reports/class-wc-report-taxes-by-date.php
+
+ -
+ message: '#^Parameter \#1 \$format of function date_i18n expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/reports/class-wc-report-taxes-by-date.php
+
+ -
+ message: '#^Parameter \#1 \$str of function sanitize_text_field expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/admin/reports/class-wc-report-taxes-by-date.php
+
+ -
+ message: '#^Parameter \#1 \$time of function strtotime expects string, int\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/reports/class-wc-report-taxes-by-date.php
+
+ -
+ message: '#^Constant WC_VERSION not found\.$#'
+ identifier: constant.notFound
+ count: 1
+ path: includes/admin/settings/class-wc-settings-accounts.php
+
+ -
+ message: '#^Method WC_Settings_Accounts\:\:output\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/settings/class-wc-settings-accounts.php
+
+ -
+ message: '#^Cannot call method feature_is_enabled\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/admin/settings/class-wc-settings-advanced.php
+
+ -
+ message: '#^Method WC_Settings_Advanced\:\:notices\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/settings/class-wc-settings-advanced.php
+
+ -
+ message: '#^Method WC_Settings_Advanced\:\:output\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/settings/class-wc-settings-advanced.php
+
+ -
+ message: '#^Method WC_Settings_Advanced\:\:save\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/settings/class-wc-settings-advanced.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$id\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/admin/settings/class-wc-settings-emails.php
+
+ -
+ message: '#^Binary operation "\+" between mixed and 1 results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 2
+ path: includes/admin/settings/class-wc-settings-emails.php
+
+ -
+ message: '#^Call to an undefined method object\:\:admin_options\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/admin/settings/class-wc-settings-emails.php
+
+ -
+ message: '#^Call to an undefined method object\:\:get_title\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/admin/settings/class-wc-settings-emails.php
+
+ -
+ message: '#^Cannot call method change_feature_enable\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/admin/settings/class-wc-settings-emails.php
+
+ -
+ message: '#^If condition is always false\.$#'
+ identifier: if.alwaysFalse
+ count: 1
+ path: includes/admin/settings/class-wc-settings-emails.php
+
+ -
+ message: '#^Method WC_Settings_Emails\:\:delete_transient_email_settings\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/settings/class-wc-settings-emails.php
+
+ -
+ message: '#^Method WC_Settings_Emails\:\:email_color_palette\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/settings/class-wc-settings-emails.php
+
+ -
+ message: '#^Method WC_Settings_Emails\:\:email_font_family\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/settings/class-wc-settings-emails.php
+
+ -
+ message: '#^Method WC_Settings_Emails\:\:email_image_url\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/settings/class-wc-settings-emails.php
+
+ -
+ message: '#^Method WC_Settings_Emails\:\:email_notification_setting\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/settings/class-wc-settings-emails.php
+
+ -
+ message: '#^Method WC_Settings_Emails\:\:email_notification_setting_block_emails\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/settings/class-wc-settings-emails.php
+
+ -
+ message: '#^Method WC_Settings_Emails\:\:email_preview\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/settings/class-wc-settings-emails.php
+
+ -
+ message: '#^Method WC_Settings_Emails\:\:email_preview_single\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/settings/class-wc-settings-emails.php
+
+ -
+ message: '#^Method WC_Settings_Emails\:\:enable_email_improvements_when_trying_new_templates\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/settings/class-wc-settings-emails.php
+
+ -
+ message: '#^Method WC_Settings_Emails\:\:get_custom_fonts\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/settings/class-wc-settings-emails.php
+
+ -
+ message: '#^Method WC_Settings_Emails\:\:output\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/settings/class-wc-settings-emails.php
+
+ -
+ message: '#^Method WC_Settings_Emails\:\:run_email_admin_options\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/settings/class-wc-settings-emails.php
+
+ -
+ message: '#^Method WC_Settings_Emails\:\:save\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/settings/class-wc-settings-emails.php
+
+ -
+ message: '#^Method WC_Settings_Emails\:\:track_email_improvements_feature_change\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/settings/class-wc-settings-emails.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_attr expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 3
+ path: includes/admin/settings/class-wc-settings-emails.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_attr expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 6
+ path: includes/admin/settings/class-wc-settings-emails.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_attr expects string, string\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/settings/class-wc-settings-emails.php
+
+ -
+ message: '#^Cannot call method get_providers\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/admin/settings/class-wc-settings-general.php
+
+ -
+ message: '#^Constant WC_VERSION not found\.$#'
+ identifier: constant.notFound
+ count: 1
+ path: includes/admin/settings/class-wc-settings-general.php
+
+ -
+ message: '#^Method WC_Settings_General\:\:color_picker\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/settings/class-wc-settings-general.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_attr expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/settings/class-wc-settings-general.php
+
+ -
+ message: '#^Method WC_Settings_Integrations\:\:output\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/settings/class-wc-settings-integrations.php
+
+ -
+ message: '#^Property WooCommerce\:\:\$integrations \(WC_Integrations\) in isset\(\) is not nullable\.$#'
+ identifier: isset.property
+ count: 1
+ path: includes/admin/settings/class-wc-settings-integrations.php
+
+ -
+ message: '#^Default value of the parameter \#2 \$section_id \(false\) of method WC_Settings_Page\:\:get_custom_view\(\) is incompatible with type string\.$#'
+ identifier: parameter.defaultValue
+ count: 1
+ path: includes/admin/settings/class-wc-settings-page.php
+
+ -
+ message: '#^Method WC_Settings_Page\:\:add_settings_slot\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/settings/class-wc-settings-page.php
+
+ -
+ message: '#^Method WC_Settings_Page\:\:do_update_options_action\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/settings/class-wc-settings-page.php
+
+ -
+ message: '#^Method WC_Settings_Page\:\:get_custom_view\(\) should return string but returns array\<string, string\>\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/admin/settings/class-wc-settings-page.php
+
+ -
+ message: '#^Method WC_Settings_Page\:\:get_custom_view\(\) should return string but returns null\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/admin/settings/class-wc-settings-page.php
+
+ -
+ message: '#^Method WC_Settings_Page\:\:output\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/settings/class-wc-settings-page.php
+
+ -
+ message: '#^Method WC_Settings_Page\:\:output_sections\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/settings/class-wc-settings-page.php
+
+ -
+ message: '#^Method WC_Settings_Page\:\:save\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/settings/class-wc-settings-page.php
+
+ -
+ message: '#^Method WC_Settings_Page\:\:save_settings_for_current_section\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/settings/class-wc-settings-page.php
+
+ -
+ message: '#^Parameter \#1 \$section_id of method WC_Settings_Page\:\:get_settings_for_section\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/settings/class-wc-settings-page.php
+
+ -
+ message: '#^Parameter \#1 \$str of function trim expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/admin/settings/class-wc-settings-page.php
+
+ -
+ message: '#^Call to an undefined method object\:\:admin_options\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/admin/settings/class-wc-settings-payment-gateways.php
+
+ -
+ message: '#^Cannot cast mixed to string\.$#'
+ identifier: cast.string
+ count: 1
+ path: includes/admin/settings/class-wc-settings-payment-gateways.php
+
+ -
+ message: '#^Expected 0 @param tags, found 1\.$#'
+ identifier: paramTag.count
+ count: 1
+ path: includes/admin/settings/class-wc-settings-payment-gateways.php
+
+ -
+ message: '#^Method WC_Settings_Payment_Gateways\:\:hide_help_tabs\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/settings/class-wc-settings-payment-gateways.php
+
+ -
+ message: '#^Method WC_Settings_Payment_Gateways\:\:output\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/settings/class-wc-settings-payment-gateways.php
+
+ -
+ message: '#^Method WC_Settings_Payment_Gateways\:\:render_classic_gateway_settings_page\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/settings/class-wc-settings-payment-gateways.php
+
+ -
+ message: '#^Method WC_Settings_Payment_Gateways\:\:render_react_section\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/settings/class-wc-settings-payment-gateways.php
+
+ -
+ message: '#^Method WC_Settings_Payment_Gateways\:\:run_gateway_admin_options\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/settings/class-wc-settings-payment-gateways.php
+
+ -
+ message: '#^Method WC_Settings_Payment_Gateways\:\:save\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/settings/class-wc-settings-payment-gateways.php
+
+ -
+ message: '#^Method WC_Settings_Payment_Gateways\:\:suppress_admin_notices\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/settings/class-wc-settings-payment-gateways.php
+
+ -
+ message: '#^Parameter \#1 \$title of function sanitize_title expects string, class\-string\|false given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/admin/settings/class-wc-settings-payment-gateways.php
+
+ -
+ message: '#^Parameter \#2 \$callback of function remove_action expects array\|\(callable\(\)\: mixed\)\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/settings/class-wc-settings-payment-gateways.php
+
+ -
+ message: '#^Method WC_Settings_Products\:\:save\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/settings/class-wc-settings-products.php
+
+ -
+ message: '#^Argument of an invalid type int supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
+ count: 1
+ path: includes/admin/settings/class-wc-settings-shipping.php
+
+ -
+ message: '#^Cannot access offset mixed on int\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: includes/admin/settings/class-wc-settings-shipping.php
+
+ -
+ message: '#^Cannot call method display_errors\(\) on WC_Shipping_Method\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/admin/settings/class-wc-settings-shipping.php
+
+ -
+ message: '#^Cannot call method get_id\(\) on WC_Shipping_Zone\|true\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: includes/admin/settings/class-wc-settings-shipping.php
+
+ -
+ message: '#^Cannot call method get_shipping_methods\(\) on WC_Shipping_Zone\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/admin/settings/class-wc-settings-shipping.php
+
+ -
+ message: '#^Cannot call method get_zone_locations\(\) on WC_Shipping_Zone\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/admin/settings/class-wc-settings-shipping.php
+
+ -
+ message: '#^Cannot call method get_zone_name\(\) on WC_Shipping_Zone\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/admin/settings/class-wc-settings-shipping.php
+
+ -
+ message: '#^Cannot call method has_settings\(\) on WC_Shipping_Method\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/admin/settings/class-wc-settings-shipping.php
+
+ -
+ message: '#^Cannot call method process_admin_options\(\) on WC_Shipping_Method\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/admin/settings/class-wc-settings-shipping.php
+
+ -
+ message: '#^Method WC_Settings_Shipping\:\:get_region_options\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/settings/class-wc-settings-shipping.php
+
+ -
+ message: '#^Method WC_Settings_Shipping\:\:instance_settings_screen\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/settings/class-wc-settings-shipping.php
+
+ -
+ message: '#^Method WC_Settings_Shipping\:\:output\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/settings/class-wc-settings-shipping.php
+
+ -
+ message: '#^Method WC_Settings_Shipping\:\:output_shipping_class_screen\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/settings/class-wc-settings-shipping.php
+
+ -
+ message: '#^Method WC_Settings_Shipping\:\:output_zones_screen\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/settings/class-wc-settings-shipping.php
+
+ -
+ message: '#^Method WC_Settings_Shipping\:\:save\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/settings/class-wc-settings-shipping.php
+
+ -
+ message: '#^Method WC_Settings_Shipping\:\:zone_methods_screen\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/settings/class-wc-settings-shipping.php
+
+ -
+ message: '#^Method WC_Settings_Shipping\:\:zones_screen\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/settings/class-wc-settings-shipping.php
+
+ -
+ message: '#^Parameter \#1 \$allowed_countries of method WC_Settings_Shipping\:\:get_region_options\(\) expects int, array given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/settings/class-wc-settings-shipping.php
+
+ -
+ message: '#^Parameter \#1 \$arr1 of function array_intersect expects array, null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/settings/class-wc-settings-shipping.php
+
+ -
+ message: '#^Parameter \#1 \$input of function array_keys expects array, int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/settings/class-wc-settings-shipping.php
+
+ -
+ message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/settings/class-wc-settings-shipping.php
+
+ -
+ message: '#^Parameter \#1 \$nonce of function wp_verify_nonce expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/settings/class-wc-settings-shipping.php
+
+ -
+ message: '#^Parameter \#1 \$title of function sanitize_title expects string, class\-string\|false given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/admin/settings/class-wc-settings-shipping.php
+
+ -
+ message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/settings/class-wc-settings-shipping.php
+
+ -
+ message: '#^Parameter \#1 \$zone_id of method WC_Settings_Shipping\:\:zone_methods_screen\(\) expects int, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/settings/class-wc-settings-shipping.php
+
+ -
+ message: '#^Parameter \#2 \$shipping_continents of method WC_Settings_Shipping\:\:get_region_options\(\) expects int, array given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/settings/class-wc-settings-shipping.php
+
+ -
+ message: '#^Argument of an invalid type array\|string supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
+ count: 1
+ path: includes/admin/settings/class-wc-settings-tax.php
+
+ -
+ message: '#^Cannot access offset \(int\|string\) on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 3
+ path: includes/admin/settings/class-wc-settings-tax.php
+
+ -
+ message: '#^Cannot access offset string on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 3
+ path: includes/admin/settings/class-wc-settings-tax.php
+
+ -
+ message: '#^Method WC_Settings_Tax\:\:conflict_error\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/settings/class-wc-settings-tax.php
+
+ -
+ message: '#^Method WC_Settings_Tax\:\:output\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/settings/class-wc-settings-tax.php
+
+ -
+ message: '#^Method WC_Settings_Tax\:\:output_tax_rates\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/settings/class-wc-settings-tax.php
+
+ -
+ message: '#^Method WC_Settings_Tax\:\:save\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/settings/class-wc-settings-tax.php
+
+ -
+ message: '#^Method WC_Settings_Tax\:\:save_tax_rates\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/settings/class-wc-settings-tax.php
+
+ -
+ message: '#^Parameter \#1 \$array_arg of function key expects array\|object, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/settings/class-wc-settings-tax.php
+
+ -
+ message: '#^Parameter \#1 \$input of function array_values expects array, array\|object\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/settings/class-wc-settings-tax.php
+
+ -
+ message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/admin/settings/class-wc-settings-tax.php
+
+ -
+ message: '#^Parameter \#1 \$raw_tax_classes of method WC_Settings_Tax\:\:save_tax_classes\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/settings/class-wc-settings-tax.php
+
+ -
+ message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 4
+ path: includes/admin/settings/class-wc-settings-tax.php
+
+ -
+ message: '#^Parameter \#2 \$cities of static method WC_Tax\:\:_update_tax_rate_cities\(\) expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/settings/class-wc-settings-tax.php
+
+ -
+ message: '#^Parameter \#2 \$postcodes of static method WC_Tax\:\:_update_tax_rate_postcodes\(\) expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/settings/class-wc-settings-tax.php
+
+ -
+ message: '#^Variable \$shipping_class_columns might not be defined\.$#'
+ identifier: variable.undefined
+ count: 1
+ path: includes/admin/settings/views/html-admin-page-shipping-classes.php
+
+ -
+ message: '#^Variable \$zone might not be defined\.$#'
+ identifier: variable.undefined
+ count: 6
+ path: includes/admin/settings/views/html-admin-page-shipping-zone-methods.php
+
+ -
+ message: '#^Variable \$shipping_method might not be defined\.$#'
+ identifier: variable.undefined
+ count: 2
+ path: includes/admin/settings/views/html-admin-page-shipping-zones-instance.php
+
+ -
+ message: '#^Variable \$zone might not be defined\.$#'
+ identifier: variable.undefined
+ count: 2
+ path: includes/admin/settings/views/html-admin-page-shipping-zones-instance.php
+
+ -
+ message: '#^Variable \$method_count might not be defined\.$#'
+ identifier: variable.undefined
+ count: 1
+ path: includes/admin/settings/views/html-admin-page-shipping-zones.php
+
+ -
+ message: '#^Cannot access property \$ID on WP_User\|false\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/admin/settings/views/html-keys-edit.php
+
+ -
+ message: '#^Cannot access property \$display_name on WP_User\|false\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/admin/settings/views/html-keys-edit.php
+
+ -
+ message: '#^Cannot access property \$user_email on WP_User\|false\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/admin/settings/views/html-keys-edit.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_attr expects string, int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/settings/views/html-keys-edit.php
+
+ -
+ message: '#^Variable \$key_data might not be defined\.$#'
+ identifier: variable.undefined
+ count: 4
+ path: includes/admin/settings/views/html-keys-edit.php
+
+ -
+ message: '#^Variable \$key_id might not be defined\.$#'
+ identifier: variable.undefined
+ count: 2
+ path: includes/admin/settings/views/html-keys-edit.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_attr expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/settings/views/html-settings-tax.php
+
+ -
+ message: '#^Variable \$current_class might not be defined\.$#'
+ identifier: variable.undefined
+ count: 1
+ path: includes/admin/settings/views/html-settings-tax.php
+
+ -
+ message: '#^Variable \$webhook might not be defined\.$#'
+ identifier: variable.undefined
+ count: 17
+ path: includes/admin/settings/views/html-webhooks-edit.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_html expects string, \(float\|int\) given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/views/html-admin-dashboard-setup.php
+
+ -
+ message: '#^Variable \$button_link might not be defined\.$#'
+ identifier: variable.undefined
+ count: 1
+ path: includes/admin/views/html-admin-dashboard-setup.php
+
+ -
+ message: '#^Variable \$circle_dashoffset might not be defined\.$#'
+ identifier: variable.undefined
+ count: 1
+ path: includes/admin/views/html-admin-dashboard-setup.php
+
+ -
+ message: '#^Variable \$step_number might not be defined\.$#'
+ identifier: variable.undefined
+ count: 2
+ path: includes/admin/views/html-admin-dashboard-setup.php
+
+ -
+ message: '#^Variable \$tasks_count might not be defined\.$#'
+ identifier: variable.undefined
+ count: 2
+ path: includes/admin/views/html-admin-dashboard-setup.php
+
+ -
+ message: '#^Parameter \#1 \$str of function sanitize_text_field expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/views/html-admin-page-product-export.php
+
+ -
+ message: '#^Variable \$current_report might not be defined\.$#'
+ identifier: variable.undefined
+ count: 4
+ path: includes/admin/views/html-admin-page-reports.php
+
+ -
+ message: '#^Variable \$current_tab might not be defined\.$#'
+ identifier: variable.undefined
+ count: 6
+ path: includes/admin/views/html-admin-page-reports.php
+
+ -
+ message: '#^Variable \$reports might not be defined\.$#'
+ identifier: variable.undefined
+ count: 1
+ path: includes/admin/views/html-admin-page-reports.php
+
+ -
+ message: '#^Variable \$log_table_list might not be defined\.$#'
+ identifier: variable.undefined
+ count: 2
+ path: includes/admin/views/html-admin-page-status-logs-db.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_html expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/views/html-admin-page-status-logs.php
+
+ -
+ message: '#^Parameter \#2 \$timestamp of function wp_date expects int\|null, int\<0, max\>\|false given\.$#'
+ identifier: argument.type
+ count: 3
+ path: includes/admin/views/html-admin-page-status-logs.php
+
+ -
+ message: '#^Variable \$logs might not be defined\.$#'
+ identifier: variable.undefined
+ count: 1
+ path: includes/admin/views/html-admin-page-status-logs.php
+
+ -
+ message: '#^Variable \$viewed_log might not be defined\.$#'
+ identifier: variable.undefined
+ count: 1
+ path: includes/admin/views/html-admin-page-status-logs.php
+
+ -
+ message: '#^Access to private property WooCommerce\:\:\$api\.$#'
+ identifier: property.private
+ count: 1
+ path: includes/admin/views/html-admin-page-status-report.php
+
+ -
+ message: '#^Call to method get_rest_api_package_path\(\) on an unknown class WC_API\.$#'
+ identifier: class.notFound
+ count: 1
+ path: includes/admin/views/html-admin-page-status-report.php
+
+ -
+ message: '#^Calling self\:\:output_plugins_info\(\) outside of class scope\.$#'
+ identifier: outOfClass.self
+ count: 2
+ path: includes/admin/views/html-admin-page-status-report.php
+
+ -
+ message: '#^Calling self\:\:output_tables_info\(\) outside of class scope\.$#'
+ identifier: outOfClass.self
+ count: 1
+ path: includes/admin/views/html-admin-page-status-report.php
+
+ -
+ message: '#^Cannot access offset ''offers'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 3
+ path: includes/admin/views/html-admin-page-status-report.php
+
+ -
+ message: '#^Cannot access offset ''version'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/admin/views/html-admin-page-status-report.php
+
+ -
+ message: '#^Cannot access offset 0 on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: includes/admin/views/html-admin-page-status-report.php
+
+ -
+ message: '#^Cannot call method get_endpoint_data\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/admin/views/html-admin-page-status-report.php
+
+ -
+ message: '#^Cannot call method get_wp_plugin_id\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/admin/views/html-admin-page-status-report.php
+
+ -
+ message: '#^Expression "\$dropins_count" on a separate line does not do anything\.$#'
+ identifier: expr.resultUnused
+ count: 2
+ path: includes/admin/views/html-admin-page-status-report.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_attr expects string, int\<0, max\> given\.$#'
+ identifier: argument.type
+ count: 4
+ path: includes/admin/views/html-admin-page-status-report.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_attr expects string, int\<1, max\> given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/admin/views/html-admin-page-status-report.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_html expects string, \(array\|float\|int\) given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/views/html-admin-page-status-report.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_html expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 4
+ path: includes/admin/views/html-admin-page-status-report.php
+
+ -
+ message: '#^Parameter \#2 \$release of method WC_Plugin_Updates\:\:get_untested_plugins\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/views/html-admin-page-status-report.php
+
+ -
+ message: '#^Parameter \#3 \$subject of function str_replace expects array\<string\>\|string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/views/html-admin-page-status-report.php
+
+ -
+ message: '#^Variable \$path might not be defined\.$#'
+ identifier: variable.undefined
+ count: 1
+ path: includes/admin/views/html-admin-page-status-report.php
+
+ -
+ message: '#^Variable \$tools might not be defined\.$#'
+ identifier: variable.undefined
+ count: 1
+ path: includes/admin/views/html-admin-page-status-tools.php
+
+ -
+ message: '#^Parameter \#1 \$title of function sanitize_title expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/views/html-admin-page-status.php
+
+ -
+ message: '#^Variable \$tabs might not be defined\.$#'
+ identifier: variable.undefined
+ count: 1
+ path: includes/admin/views/html-admin-settings.php
+
+ -
+ message: '#^Cannot call method feature_is_enabled\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/admin/views/html-bulk-edit-product.php
+
+ -
+ message: '#^Parameter \#1 \$dimensions_unit of static method Automattic\\WooCommerce\\Utilities\\I18nUtil\:\:get_dimensions_unit_label\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/views/html-bulk-edit-product.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_attr expects string, int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/views/html-bulk-edit-product.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_attr expects string, int\|string given\.$#'
+ identifier: argument.type
+ count: 6
+ path: includes/admin/views/html-bulk-edit-product.php
+
+ -
+ message: '#^Parameter \#1 \$value of function wc_format_localized_decimal expects string, int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/views/html-bulk-edit-product.php
+
+ -
+ message: '#^Parameter \#1 \$weight_unit of static method Automattic\\WooCommerce\\Utilities\\I18nUtil\:\:get_weight_unit_label\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/views/html-bulk-edit-product.php
+
+ -
+ message: '#^Variable \$shipping_class might not be defined\.$#'
+ identifier: variable.undefined
+ count: 1
+ path: includes/admin/views/html-bulk-edit-product.php
+
+ -
+ message: '#^Parameter \#2 \$pieces of function implode expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/admin/views/html-notice-base-table-missing.php
+
+ -
+ message: '#^Variable \$notice might not be defined\.$#'
+ identifier: variable.undefined
+ count: 1
+ path: includes/admin/views/html-notice-custom.php
+
+ -
+ message: '#^Variable \$notice_html might not be defined\.$#'
+ identifier: variable.undefined
+ count: 1
+ path: includes/admin/views/html-notice-custom.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_html expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/views/html-notice-template-check.php
+
+ -
+ message: '#^Constant WC_PHP_MIN_REQUIREMENTS_NOTICE not found\.$#'
+ identifier: constant.notFound
+ count: 1
+ path: includes/admin/views/html-notice-wp-php-minimum-requirements.php
+
+ -
+ message: '#^Variable \$msg might not be defined\.$#'
+ identifier: variable.undefined
+ count: 1
+ path: includes/admin/views/html-notice-wp-php-minimum-requirements.php
+
+ -
+ message: '#^Cannot call method feature_is_enabled\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/admin/views/html-quick-edit-product.php
+
+ -
+ message: '#^Parameter \#1 \$value of function wc_format_localized_decimal expects string, int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/views/html-quick-edit-product.php
+
+ -
+ message: '#^Variable \$shipping_class might not be defined\.$#'
+ identifier: variable.undefined
+ count: 1
+ path: includes/admin/views/html-quick-edit-product.php
+
+ -
+ message: '#^Parameter \#1 \$str of function sanitize_text_field expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/admin/views/html-report-by-date.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_attr expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/views/html-report-by-date.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_html expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/admin/views/html-report-by-date.php
+
+ -
+ message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/views/html-report-by-date.php
+
+ -
+ message: '#^Variable \$current_range might not be defined\.$#'
+ identifier: variable.undefined
+ count: 4
+ path: includes/admin/views/html-report-by-date.php
+
+ -
+ message: '#^Variable \$ranges might not be defined\.$#'
+ identifier: variable.undefined
+ count: 2
+ path: includes/admin/views/html-report-by-date.php
+
+ -
+ message: '#^Variable \$this might not be defined\.$#'
+ identifier: variable.undefined
+ count: 5
+ path: includes/admin/views/html-report-by-date.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_stock_reduced\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/admin/wc-admin-functions.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:set_stock_reduced\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/admin/wc-admin-functions.php
+
+ -
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_product\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/admin/wc-admin-functions.php
+
+ -
+ message: '#^Call to an undefined method WC_Order_Item\:\:set_amount\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/admin/wc-admin-functions.php
+
+ -
+ message: '#^Cannot access offset ''from'' on non\-empty\-array\|true\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: includes/admin/wc-admin-functions.php
+
+ -
+ message: '#^Cannot access offset ''to'' on non\-empty\-array\|true\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: includes/admin/wc-admin-functions.php
+
+ -
+ message: '#^Cannot call method add_order_note\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/admin/wc-admin-functions.php
+
+ -
+ message: '#^Cannot call method calculate_totals\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/admin/wc-admin-functions.php
+
+ -
+ message: '#^Cannot call method get_status\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/admin/wc-admin-functions.php
+
+ -
+ message: '#^Cannot call method update_taxes\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/admin/wc-admin-functions.php
+
+ -
+ message: '#^Function wc_maybe_adjust_line_item_product_stock\(\) never returns WP_Error so it can be removed from the return type\.$#'
+ identifier: return.unusedType
+ count: 1
+ path: includes/admin/wc-admin-functions.php
+
+ -
+ message: '#^Function wc_render_invalid_variation_notice\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/wc-admin-functions.php
+
+ -
+ message: '#^Function wc_save_order_items\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/wc-admin-functions.php
+
+ -
+ message: '#^Function woocommerce_admin_fields\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/wc-admin-functions.php
+
+ -
+ message: '#^Function woocommerce_settings_get_option\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/admin/wc-admin-functions.php
+
+ -
+ message: '#^Function woocommerce_update_options\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/wc-admin-functions.php
+
+ -
+ message: '#^Parameter \#1 \$amount of function wc_stock_amount expects float\|int, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/admin/wc-admin-functions.php
+
+ -
+ message: '#^Parameter \#1 \$option_name of static method WC_Admin_Settings\:\:get_option\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/wc-admin-functions.php
+
+ -
+ message: '#^Parameter \#1 \$post of function get_post expects int\|WP_Post\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/wc-admin-functions.php
+
+ -
+ message: '#^Parameter \#1 \$postarr of function wp_insert_post expects array\{ID\?\: int, post_author\?\: int, post_date\?\: string, post_date_gmt\?\: string, post_content\?\: string, post_content_filtered\?\: string, post_title\?\: string, post_excerpt\?\: string, \.\.\.\}, array\{post_status\: string, post_type\: ''page'', post_author\: 1, post_name\: mixed, post_title\: string, post_content\: string, post_parent\: int, comment_status\: ''closed''\} given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/wc-admin-functions.php
+
+ -
+ message: '#^Parameter \#1 \$url of function esc_url_raw expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/wc-admin-functions.php
+
+ -
+ message: '#^Parameter \#2 \$stock_quantity of function wc_update_product_stock expects int\|null, float\|int\<1, max\> given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/admin/wc-admin-functions.php
+
+ -
+ message: '#^Parameter \#2 \$value of method WC_Data\:\:update_meta_data\(\) expects array\|string, float\|int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/admin/wc-admin-functions.php
+
+ -
+ message: '#^Function woocommerce_wp_checkbox\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/wc-meta-box-functions.php
+
+ -
+ message: '#^Function woocommerce_wp_hidden_input\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/wc-meta-box-functions.php
+
+ -
+ message: '#^Function woocommerce_wp_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/wc-meta-box-functions.php
+
+ -
+ message: '#^Function woocommerce_wp_radio\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/wc-meta-box-functions.php
+
+ -
+ message: '#^Function woocommerce_wp_select\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/wc-meta-box-functions.php
+
+ -
+ message: '#^Function woocommerce_wp_text_input\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/wc-meta-box-functions.php
+
+ -
+ message: '#^Function woocommerce_wp_textarea_input\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/wc-meta-box-functions.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_attr expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 3
+ path: includes/admin/wc-meta-box-functions.php
+
+ -
+ message: '#^Function woocommerce_legacy_reports_init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/admin/woocommerce-legacy-reports.php
+
+ -
+ message: '#^@param array \$terms does not accept actual type of parameter\: array\<int, int\|string\|WP_Term\>\|numeric\-string\|WP_Error\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^@param string \$search_text does not accept actual type of parameter\: array\|string\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^@param string \$taxonomy does not accept actual type of parameter\: array\|string\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Access to an undefined property WP_Error\|WP_Term\:\:\$name\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Access to an undefined property WP_Term\:\:\$formatted_name\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Access to an undefined property WP_Term\:\:\$parents\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Access to an undefined property WooCommerce\:\:\$payment_gateways\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Argument of an invalid type array\<int, WP_Term\>\|WP_Error supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
+ count: 2
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Argument of an invalid type array\<mixed\>\|string supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Argument of an invalid type array\|stdClass supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
+ count: 6
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Binary operation "\*" between \(float\|int\) and string results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Binary operation "\*" between float and non\-falsy\-string results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Binary operation "\*" between string and non\-falsy\-string results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Binary operation "\-" between float and string results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Binary operation "\." between ''Content\-Type\: text…'' and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:delete_by_id\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:find_matching_product_variation\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:search_customers\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:search_products\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_product\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Call to an undefined method WC_Product\:\:get_available_variation\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Call to an undefined method WC_Product\:\:get_variation_attributes\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Call to an undefined method object\:\:save\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Call to an undefined method object\:\:set_attributes\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Cannot access offset ''city'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Cannot access offset ''deleted'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 3
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Cannot access offset ''description'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Cannot access offset ''from'' on non\-empty\-array\|true\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Cannot access offset ''name'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Cannot access offset ''newRow'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 5
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Cannot access offset ''postcode'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Cannot access offset ''slug'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Cannot access offset ''to'' on non\-empty\-array\|true\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Cannot access offset \(int\|string\) on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Cannot access property \$ID on int\|WP_Post\.$#'
+ identifier: property.nonObject
+ count: 2
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Cannot access property \$added_by on stdClass\|null\.$#'
+ identifier: property.nonObject
+ count: 2
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Cannot access property \$children on WP_Error\|WP_Term\|null\.$#'
+ identifier: property.nonObject
+ count: 4
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Cannot access property \$content on stdClass\|null\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Cannot access property \$date_created on stdClass\|null\.$#'
+ identifier: property.nonObject
+ count: 3
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Cannot access property \$id on stdClass\|null\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Cannot access property \$name on WP_Term\|false\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Cannot access property \$parent on WP_Error\|WP_Term\|null\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Cannot access property \$slug on WP_Term\|false\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Cannot access property \$term_id on WP_Error\|WP_Term\|null\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Cannot access property \$term_id on WP_Term\|false\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Cannot call method add_coupon_discount_via_ajax\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Cannot call method add_item\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Cannot call method add_meta_ajax\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Cannot call method add_order_note\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 4
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Cannot call method add_order_note\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Cannot call method add_product\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Cannot call method calc_line_taxes_via_ajax\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Cannot call method calculate_taxes\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Cannot call method calculate_taxes\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Cannot call method calculate_totals\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 3
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Cannot call method calculate_totals\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Cannot call method call_function\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 3
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Cannot call method check_locked_orders_ajax\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Cannot call method create_all_product_variations\(\) on class\-string\|object\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Cannot call method delete\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Cannot call method delete\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Cannot call method delete_meta_ajax\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Cannot call method feature_is_enabled\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Cannot call method get_attributes\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Cannot call method get_billing_email\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Cannot call method get_currency\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Cannot call method get_data_store\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Cannot call method get_downloads\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Cannot call method get_errors\(\) on bool\|WC_Shipping_Method\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Cannot call method get_formatted_name\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Cannot call method get_id\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 3
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Cannot call method get_id\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 5
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Cannot call method get_id\(\) on bool\|WC_Shipping_Zone\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Cannot call method get_id\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Cannot call method get_instance_option_key\(\) on bool\|WC_Shipping_Method\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Cannot call method get_item\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Cannot call method get_items\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Cannot call method get_parent_id\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Cannot call method get_shipping_methods\(\) on bool\|WC_Shipping_Zone\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Cannot call method get_status\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Cannot call method get_stock_quantity\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Cannot call method get_taxes\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Cannot call method get_total\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Cannot call method get_total\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Cannot call method get_total_refunded\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Cannot call method get_type\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Cannot call method get_zone_name\(\) on bool\|WC_Shipping_Zone\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Cannot call method hide_errors\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Cannot call method is_editable\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Cannot call method managing_stock\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 3
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Cannot call method process_admin_options\(\) on bool\|WC_Shipping_Method\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Cannot call method refresh_lock_ajax\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Cannot call method remove_coupon\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Cannot call method save\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Cannot call method save\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 8
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Cannot call method search_metakeys_ajax\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Cannot call method set_cogs_value\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Cannot call method set_date_on_sale_from\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Cannot call method set_date_on_sale_to\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Cannot call method set_low_stock_amount\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Cannot call method set_post_data\(\) on bool\|WC_Shipping_Method\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Cannot call method set_status\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Cannot call method set_stock_quantity\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Cannot call method sort_all_product_variations\(\) on class\-string\|object\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Cannot call method update_status\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Cannot cast array\|string to string\.$#'
+ identifier: cast.string
+ count: 3
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Cannot cast mixed to int\.$#'
+ identifier: cast.int
+ count: 2
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^If condition is always false\.$#'
+ identifier: if.alwaysFalse
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Left side of && is always true\.$#'
+ identifier: booleanAnd.leftAlwaysTrue
+ count: 2
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Method WC_AJAX\:\:add_ajax_events\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Method WC_AJAX\:\:add_attribute\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Method WC_AJAX\:\:add_attributes_and_variations\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Method WC_AJAX\:\:add_coupon_discount\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Method WC_AJAX\:\:add_new_attribute\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Method WC_AJAX\:\:add_order_fee\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Method WC_AJAX\:\:add_order_item\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Method WC_AJAX\:\:add_order_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Method WC_AJAX\:\:add_order_shipping\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Method WC_AJAX\:\:add_order_tax\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Method WC_AJAX\:\:add_to_cart\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Method WC_AJAX\:\:add_variation\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Method WC_AJAX\:\:apply_coupon\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Method WC_AJAX\:\:bulk_edit_variations\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Method WC_AJAX\:\:calc_line_taxes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Method WC_AJAX\:\:checkout\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Method WC_AJAX\:\:create_all_product_variations\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Method WC_AJAX\:\:define_ajax\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Method WC_AJAX\:\:delete_order_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Method WC_AJAX\:\:delete_refund\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Method WC_AJAX\:\:do_wc_ajax\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Method WC_AJAX\:\:feature_product\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Method WC_AJAX\:\:get_cart_totals\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Method WC_AJAX\:\:get_customer_details\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Method WC_AJAX\:\:get_customer_location\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Method WC_AJAX\:\:get_order_details\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Method WC_AJAX\:\:get_refreshed_fragments\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Method WC_AJAX\:\:get_variation\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Method WC_AJAX\:\:grant_access_to_download\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Method WC_AJAX\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Method WC_AJAX\:\:json_search_categories\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Method WC_AJAX\:\:json_search_categories_tree\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Method WC_AJAX\:\:json_search_customers\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Method WC_AJAX\:\:json_search_downloadable_products_and_variations\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Method WC_AJAX\:\:json_search_pages\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Method WC_AJAX\:\:json_search_product_attributes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Method WC_AJAX\:\:json_search_products\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Method WC_AJAX\:\:json_search_products_and_variations\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Method WC_AJAX\:\:json_search_taxonomy_terms\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Method WC_AJAX\:\:link_all_variations\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Method WC_AJAX\:\:load_order_items\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Method WC_AJAX\:\:load_status_widget\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Method WC_AJAX\:\:load_variations\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Method WC_AJAX\:\:mark_order_status\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Method WC_AJAX\:\:order_add_meta\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Method WC_AJAX\:\:product_ordering\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Method WC_AJAX\:\:rated\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Method WC_AJAX\:\:refund_line_items\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Method WC_AJAX\:\:remove_coupon\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Method WC_AJAX\:\:remove_from_cart\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Method WC_AJAX\:\:remove_order_coupon\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Method WC_AJAX\:\:remove_order_item\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Method WC_AJAX\:\:remove_order_tax\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Method WC_AJAX\:\:remove_variations\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Method WC_AJAX\:\:render_variation_html\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Method WC_AJAX\:\:revoke_access_to_download\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Method WC_AJAX\:\:save_attributes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Method WC_AJAX\:\:save_order_items\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Method WC_AJAX\:\:save_variations\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Method WC_AJAX\:\:set_wc_ajax_argument_in_query\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Method WC_AJAX\:\:shipping_classes_save_changes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Method WC_AJAX\:\:shipping_zone_add_method\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Method WC_AJAX\:\:shipping_zone_methods_save_changes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Method WC_AJAX\:\:shipping_zone_methods_save_settings\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Method WC_AJAX\:\:shipping_zone_remove_method\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Method WC_AJAX\:\:shipping_zones_save_changes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Method WC_AJAX\:\:tax_rates_save_changes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Method WC_AJAX\:\:term_ordering\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Method WC_AJAX\:\:toggle_gateway_enabled\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Method WC_AJAX\:\:update_api_key\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Method WC_AJAX\:\:update_order_review\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Method WC_AJAX\:\:update_order_review_expired\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Method WC_AJAX\:\:update_shipping_method\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Method WC_AJAX\:\:variation_bulk_action_delete_all\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Method WC_AJAX\:\:variation_bulk_action_toggle_downloadable\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Method WC_AJAX\:\:variation_bulk_action_toggle_enabled\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Method WC_AJAX\:\:variation_bulk_action_toggle_manage_stock\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Method WC_AJAX\:\:variation_bulk_action_toggle_virtual\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Method WC_AJAX\:\:variation_bulk_action_variable_download_expiry\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Method WC_AJAX\:\:variation_bulk_action_variable_download_limit\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Method WC_AJAX\:\:variation_bulk_action_variable_height\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Method WC_AJAX\:\:variation_bulk_action_variable_length\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Method WC_AJAX\:\:variation_bulk_action_variable_low_stock_amount\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Method WC_AJAX\:\:variation_bulk_action_variable_regular_price\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Method WC_AJAX\:\:variation_bulk_action_variable_regular_price_decrease\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Method WC_AJAX\:\:variation_bulk_action_variable_regular_price_increase\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Method WC_AJAX\:\:variation_bulk_action_variable_sale_price\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Method WC_AJAX\:\:variation_bulk_action_variable_sale_price_decrease\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Method WC_AJAX\:\:variation_bulk_action_variable_sale_price_increase\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Method WC_AJAX\:\:variation_bulk_action_variable_sale_schedule\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Method WC_AJAX\:\:variation_bulk_action_variable_stock\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Method WC_AJAX\:\:variation_bulk_action_variable_stock_status_instock\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Method WC_AJAX\:\:variation_bulk_action_variable_stock_status_onbackorder\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Method WC_AJAX\:\:variation_bulk_action_variable_stock_status_outofstock\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Method WC_AJAX\:\:variation_bulk_action_variable_unset_cogs_value\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Method WC_AJAX\:\:variation_bulk_action_variable_weight\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Method WC_AJAX\:\:variation_bulk_action_variable_width\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Method WC_AJAX\:\:variation_bulk_adjust_price\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Method WC_AJAX\:\:variation_bulk_set\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Method WC_AJAX\:\:variation_bulk_toggle\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Method WC_AJAX\:\:wc_ajax_headers\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Parameter \#1 \$amount of function wc_stock_amount expects float\|int, array\|string given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Parameter \#1 \$amount of method WC_Order_Item_Fee\:\:set_total\(\) expects string, float given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Parameter \#1 \$args of function get_terms expects array\{taxonomy\?\: array\<string\>\|string, object_ids\?\: array\<int\>\|int, orderby\?\: string, order\?\: string, hide_empty\?\: bool\|int, include\?\: array\<int\>\|string, exclude\?\: array\<int\>\|string, exclude_tree\?\: array\<int\>\|string, \.\.\.\}, array\{taxonomy\: array\{''product_cat''\}, orderby\: ''id'', order\: ''ASC'', hide_empty\: bool, fields\: ''all'', name__like\: non\-empty\-array\|non\-falsy\-string\} given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Parameter \#1 \$args of function get_terms expects array\{taxonomy\?\: array\<string\>\|string, object_ids\?\: array\<int\>\|int, orderby\?\: string, order\?\: string, hide_empty\?\: bool\|int, include\?\: array\<int\>\|string, exclude\?\: array\<int\>\|string, exclude_tree\?\: array\<int\>\|string, \.\.\.\}, array\{taxonomy\: array\{''product_cat''\}, orderby\: ''name'', order\: ''ASC'', hide_empty\: false, fields\: ''all'', number\: int, name__like\: array\|string\} given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Parameter \#1 \$args of function get_terms expects array\{taxonomy\?\: array\<string\>\|string, object_ids\?\: array\<int\>\|int, orderby\?\: string, order\?\: string, hide_empty\?\: bool\|int, include\?\: array\<int\>\|string, exclude\?\: array\<int\>\|string, exclude_tree\?\: array\<int\>\|string, \.\.\.\}, non\-falsy\-string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Parameter \#1 \$arr1 of function array_intersect_key expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Parameter \#1 \$arr1 of function array_merge expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Parameter \#1 \$callback of function array_map expects \(callable\(array\|string\)\: mixed\)\|null, ''strtoupper'' given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Parameter \#1 \$callback of function array_map expects \(callable\(array\|string\)\: mixed\)\|null, ''wc_normalize…'' given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Parameter \#1 \$callback of function array_map expects \(callable\(int\|string\)\: mixed\)\|null, ''sanitize_title'' given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Parameter \#1 \$callback of function array_map expects \(callable\(mixed\)\: mixed\)\|null, ''absint'' given\.$#'
+ identifier: argument.type
+ count: 8
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Parameter \#1 \$callback of function array_map expects \(callable\(mixed\)\: mixed\)\|null, ''wc_clean'' given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Parameter \#1 \$callback of function array_map expects \(callable\(mixed\)\: mixed\)\|null, ''wc_format_decimal'' given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Parameter \#1 \$cart_item_key of method WC_Cart\:\:remove_cart_item\(\) expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Parameter \#1 \$coupon_code of method WC_Cart\:\:remove_coupon\(\) expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Parameter \#1 \$download of class WC_Customer_Download constructor expects array\|int\|object, int\<min, \-1\>\|int\<1, max\>\|true given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Parameter \#1 \$encoded_string of function parse_str expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Parameter \#1 \$encoded_string of function parse_str expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 3
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Parameter \#1 \$encoded_string of function parse_str expects string, string\|false\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Parameter \#1 \$function of function call_user_func expects callable\(\)\: mixed, array\{''WC_AJAX'', non\-falsy\-string\} given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Parameter \#1 \$haystack of function strstr expects string, array\|int\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Parameter \#1 \$input of function array_keys expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Parameter \#1 \$instance_id of method WC_Shipping_Zone\:\:delete_shipping_method\(\) expects int, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 27
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Parameter \#1 \$message of function wp_die expects string\|WP_Error, int given\.$#'
+ identifier: argument.type
+ count: 40
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Parameter \#1 \$number of function wc_format_decimal expects float\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Parameter \#1 \$order of static method WC_Admin_List_Table_Orders\:\:order_preview_get_order_details\(\) expects WC_Order, WC_Order\|WC_Order_Refund\|true given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Parameter \#1 \$product of function wc_products_array_filter_readable expects WC_Product, WC_Product\|false\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Parameter \#1 \$product_object of function wc_render_invalid_variation_notice expects WC_Product, WC_Product\|false\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Parameter \#1 \$product_object of static method WC_AJAX\:\:base_cost_or_null\(\) expects WC_Product, WC_Product\|false\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Parameter \#1 \$product_object of static method WC_AJAX\:\:render_variation_html\(\) expects WC_Product, WC_Product\|false\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Parameter \#1 \$set of method WC_Shipping_Zone\:\:set_zone_name\(\) expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Parameter \#1 \$stock_quantity of function wc_format_stock_quantity_for_display expects int, int\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Parameter \#1 \$str of function sanitize_text_field expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 9
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Parameter \#1 \$str of function trim expects string, array\|int\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Parameter \#1 \$str of function trim expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Parameter \#1 \$string of function wc_string_to_bool expects bool\|string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Parameter \#1 \$string of function wc_strtoupper expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 12
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Parameter \#1 \$tax_rate_id of static method WC_Tax\:\:_delete_tax_rate\(\) expects int, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Parameter \#1 \$tax_rate_id of static method WC_Tax\:\:_update_tax_rate\(\) expects int, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Parameter \#1 \$tax_rate_id of static method WC_Tax\:\:_update_tax_rate_cities\(\) expects int, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Parameter \#1 \$tax_rate_id of static method WC_Tax\:\:_update_tax_rate_postcodes\(\) expects int, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Parameter \#1 \$term of function wp_insert_term expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Parameter \#1 \$the_term of function wc_reorder_terms expects int, WP_Term given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Parameter \#1 \$time of function strtotime expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Parameter \#1 \$title of function sanitize_title expects string, class\-string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Parameter \#1 \$title of function sanitize_title expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Parameter \#1 \$type of method WC_Shipping_Zone\:\:add_shipping_method\(\) expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Parameter \#1 \$value of function wc_format_coupon_code expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 3
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Parameter \#1 \$value of method WC_Order_Item_Fee\:\:set_amount\(\) expects string, float given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Parameter \#1 \$value of static method Automattic\\WooCommerce\\Utilities\\StringUtil\:\:is_null_or_whitespace\(\) expects string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Parameter \#1 \$value of static method Automattic\\WooCommerce\\Utilities\\StringUtil\:\:is_null_or_whitespace\(\) expects string\|null, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Parameter \#1 \$var of function intval expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 4
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, array\|int\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 52
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Parameter \#1 \$zone of class WC_Shipping_Zone constructor expects int\|object\|null, array\|string given\.$#'
+ identifier: argument.type
+ count: 3
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Parameter \#1 \$zone of class WC_Shipping_Zone constructor expects int\|object\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Parameter \#1 \$zone_id of static method WC_Shipping_Zones\:\:delete_zone\(\) expects int, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Parameter \#2 \$array of function array_map expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 3
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Parameter \#2 \$callback of function array_filter expects \(callable\(WC_Product\|false\|null\)\: bool\)\|null, ''wc_products_array…'' given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Parameter \#2 \$cities of static method WC_Tax\:\:_update_tax_rate_cities\(\) expects string, array\<array\|string\> given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Parameter \#2 \$needle of function stripos expects int\|string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Parameter \#2 \$newvalue of function ini_set expects string, int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Parameter \#2 \$next_id of function wc_reorder_terms expects int, int\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Parameter \#2 \$post of static method WC_Meta_Box_Product_Data\:\:save_variations\(\) expects WP_Post, WP_Post\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Parameter \#2 \$postcodes of static method WC_Tax\:\:_update_tax_rate_postcodes\(\) expects string, array\<string\> given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Parameter \#2 \$product of function wc_format_stock_quantity_for_display expects WC_Product, WC_Product\|false\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Parameter \#2 \$product_type of static method WC_Product_Factory\:\:get_product_classname\(\) expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Parameter \#2 \$quantity of method WC_Cart\:\:add_to_cart\(\) expects int, float\|int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Parameter \#2 \$str of function explode expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Parameter \#2 \$str of function explode expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Parameter \#2 \$timestamp of function date expects int, int\|false given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Parameter \#3 \$args of function wp_insert_term expects array\{alias_of\?\: string, description\?\: string, parent\?\: int, slug\?\: string\}, array\{name\: non\-empty\-array\|non\-falsy\-string, slug\?\: non\-empty\-array\|non\-falsy\-string, description\?\: non\-empty\-array\|non\-falsy\-string\} given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Parameter \#3 \$args of function wp_update_term expects array\{alias_of\?\: string, description\?\: string, parent\?\: int, slug\?\: string\}, array\{\}\|array\{name\?\: array\|string, slug\?\: array\|string, description\?\: array\|string\} given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Parameter \#3 \$order of function wc_downloadable_file_permission expects WC_Order, bool\|WC_Order\|WC_Order_Refund given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Parameter \#3 \$taxonomy of function get_term_by expects string, string\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Parameter \#4 \$value of static method WC_AJAX\:\:variation_bulk_adjust_price\(\) expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 4
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Part \$bulk_action \(array\|string\) of encapsed string cannot be cast to string\.$#'
+ identifier: encapsedStringPart.nonString
+ count: 2
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Possibly invalid array key type mixed\.$#'
+ identifier: offsetAccess.invalidOffset
+ count: 3
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Unreachable statement \- code above always terminates\.$#'
+ identifier: deadCode.unreachable
+ count: 28
+ path: includes/class-wc-ajax.php
+
+ -
+ message: '#^Method WC_Auth\:\:add_endpoint\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-auth.php
+
+ -
+ message: '#^Method WC_Auth\:\:auth_endpoint\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-auth.php
+
+ -
+ message: '#^Method WC_Auth\:\:handle_auth_requests\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-auth.php
+
+ -
+ message: '#^Method WC_Auth\:\:make_validation\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-auth.php
+
+ -
+ message: '#^Method WC_Auth\:\:maybe_delete_key\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-auth.php
+
+ -
+ message: '#^Parameter \#1 \$app_name of method WC_Auth\:\:create_keys\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-auth.php
+
+ -
+ message: '#^Parameter \#1 \$key of function sanitize_key expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-auth.php
+
+ -
+ message: '#^Parameter \#1 \$scope of method WC_Auth\:\:get_i18n_scope\(\) expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-auth.php
+
+ -
+ message: '#^Parameter \#1 \$scope of method WC_Auth\:\:get_permissions_in_scope\(\) expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-auth.php
+
+ -
+ message: '#^Parameter \#1 \$str of function strtolower expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-auth.php
+
+ -
+ message: '#^Parameter \#1 \$string of function wc_trim_string expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-auth.php
+
+ -
+ message: '#^Parameter \#1 \$url of method WC_Auth\:\:get_formatted_url\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 7
+ path: includes/class-wc-auth.php
+
+ -
+ message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 10
+ path: includes/class-wc-auth.php
+
+ -
+ message: '#^Parameter \#2 \$app_user_id of method WC_Auth\:\:create_keys\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-auth.php
+
+ -
+ message: '#^Parameter \#2 \$args of function wp_safe_remote_post expects array\{method\?\: string, timeout\?\: float, redirection\?\: int, httpversion\?\: string, user\-agent\?\: string, reject_unsafe_urls\?\: bool, blocking\?\: bool, headers\?\: array\|string, \.\.\.\}, array\{body\: non\-empty\-string\|false, timeout\: 60, headers\: array\{Content\-Type\: non\-falsy\-string\}\} given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-auth.php
+
+ -
+ message: '#^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-auth.php
+
+ -
+ message: '#^Parameter \#3 \$scope of method WC_Auth\:\:create_keys\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-auth.php
+
+ -
+ message: '#^Cannot call method getPathname\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-autoloader.php
+
+ -
+ message: '#^Cannot call method isDir\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-autoloader.php
+
+ -
+ message: '#^Method WC_Autoloader\:\:autoload\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-autoloader.php
+
+ -
+ message: '#^Parameter \#1 \$autoload_function of function spl_autoload_register expects callable\(string\)\: void, ''__autoload'' given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-autoloader.php
+
+ -
+ message: '#^Call to function is_callable\(\) with ''fastcgi_finish…'' will always evaluate to true\.$#'
+ identifier: function.alreadyNarrowedType
+ count: 1
+ path: includes/class-wc-background-emailer.php
+
+ -
+ message: '#^Method WC_Background_Emailer\:\:close_http_connection\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-background-emailer.php
+
+ -
+ message: '#^Method WC_Background_Emailer\:\:dispatch_queue\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-background-emailer.php
+
+ -
+ message: '#^Method WC_Background_Emailer\:\:handle\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-background-emailer.php
+
+ -
+ message: '#^Method WC_Background_Emailer\:\:schedule_event\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-background-emailer.php
+
+ -
+ message: '#^Parameter \#1 \$hook of function wp_next_scheduled expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-background-emailer.php
+
+ -
+ message: '#^Parameter \#2 \$recurrence of function wp_schedule_event expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-background-emailer.php
+
+ -
+ message: '#^Parameter \#3 \$hook of function wp_schedule_event expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-background-emailer.php
+
+ -
+ message: '#^Method WC_Background_Updater\:\:complete\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-background-updater.php
+
+ -
+ message: '#^Method WC_Background_Updater\:\:dispatch\(\) should return array\|WP_Error but return statement is missing\.$#'
+ identifier: return.missing
+ count: 2
+ path: includes/class-wc-background-updater.php
+
+ -
+ message: '#^Method WC_Background_Updater\:\:handle_cron_healthcheck\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-background-updater.php
+
+ -
+ message: '#^Method WC_Background_Updater\:\:schedule_event\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-background-updater.php
+
+ -
+ message: '#^Parameter \#1 \$hook of function wp_next_scheduled expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-background-updater.php
+
+ -
+ message: '#^Parameter \#2 \$recurrence of function wp_schedule_event expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-background-updater.php
+
+ -
+ message: '#^Parameter \#3 \$hook of function wp_schedule_event expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-background-updater.php
+
+ -
+ message: '#^Method WC_Brands_Brand_Settings_Manager\:\:set_brand_settings_on_coupon\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-brands-brand-settings-manager.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$product\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/class-wc-brands-coupons.php
+
+ -
+ message: '#^Cannot call method get_items\(\) on WC_Discounts\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-brands-coupons.php
+
+ -
+ message: '#^Method WC_Brands_Coupons\:\:get_product_brands\(\) should return array but returns list\<int\>\|WP_Error\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-brands-coupons.php
+
+ -
+ message: '#^@param array \$terms does not accept actual type of parameter\: array\<WP_Term\>\|WP_Error\|false\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: includes/class-wc-brands.php
+
+ -
+ message: '#^@param string \$brand_output does not accept actual type of parameter\: array\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: includes/class-wc-brands.php
+
+ -
+ message: '#^Action callback returns WC_Product but should not return anything\.$#'
+ identifier: return.void
+ count: 1
+ path: includes/class-wc-brands.php
+
+ -
+ message: '#^Argument of an invalid type array\<WP_Term\>\|WP_Error supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
+ count: 1
+ path: includes/class-wc-brands.php
+
+ -
+ message: '#^Argument of an invalid type array\<int, WP_Term\>\|WP_Error supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
+ count: 2
+ path: includes/class-wc-brands.php
+
+ -
+ message: '#^Binary operation "\." between mixed and ''taxonomy\-'' results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: includes/class-wc-brands.php
+
+ -
+ message: '#^Binary operation "\." between mixed and non\-falsy\-string results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: includes/class-wc-brands.php
+
+ -
+ message: '#^Call to method get_id\(\) on an unknown class BlockTemplateInterface\.$#'
+ identifier: class.notFound
+ count: 1
+ path: includes/class-wc-brands.php
+
+ -
+ message: '#^Call to method get_section_by_id\(\) on an unknown class BlockTemplateInterface\.$#'
+ identifier: class.notFound
+ count: 1
+ path: includes/class-wc-brands.php
+
+ -
+ message: '#^Cannot access offset ''brands'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: includes/class-wc-brands.php
+
+ -
+ message: '#^Cannot access property \$labels on WP_Taxonomy\|false\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/class-wc-brands.php
+
+ -
+ message: '#^Cannot access property \$name on mixed\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/class-wc-brands.php
+
+ -
+ message: '#^Cannot access property \$slug on WP_Post\|WP_Post_Type\|WP_Term\|WP_User\|null\.$#'
+ identifier: property.nonObject
+ count: 2
+ path: includes/class-wc-brands.php
+
+ -
+ message: '#^Cannot access property \$taxonomy on WP_Post\|WP_Post_Type\|WP_Term\|WP_User\|null\.$#'
+ identifier: property.nonObject
+ count: 3
+ path: includes/class-wc-brands.php
+
+ -
+ message: '#^Cannot access property \$term_id on WP_Term\|false\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/class-wc-brands.php
+
+ -
+ message: '#^Method WC_Brands\:\:add_body_class\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-brands.php
+
+ -
+ message: '#^Method WC_Brands\:\:body_class\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-brands.php
+
+ -
+ message: '#^Method WC_Brands\:\:brand_description\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-brands.php
+
+ -
+ message: '#^Method WC_Brands\:\:duplicate_add_product_brand_terms\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-brands.php
+
+ -
+ message: '#^Method WC_Brands\:\:duplicate_store_temporary_brands\(\) has parameter \$original with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/class-wc-brands.php
+
+ -
+ message: '#^Method WC_Brands\:\:duplicate_store_temporary_brands\(\) should return WC_Product but empty return statement found\.$#'
+ identifier: return.empty
+ count: 1
+ path: includes/class-wc-brands.php
+
+ -
+ message: '#^Method WC_Brands\:\:duplicate_store_temporary_brands\(\) should return WC_Product but return statement is missing\.$#'
+ identifier: return.missing
+ count: 1
+ path: includes/class-wc-brands.php
+
+ -
+ message: '#^Method WC_Brands\:\:get_brand_name_first_character\(\) should return string but returns string\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-brands.php
+
+ -
+ message: '#^Method WC_Brands\:\:init_taxonomy\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-brands.php
+
+ -
+ message: '#^Method WC_Brands\:\:init_widgets\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-brands.php
+
+ -
+ message: '#^Method WC_Brands\:\:output_product_brand\(\) should return string but returns string\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-brands.php
+
+ -
+ message: '#^Method WC_Brands\:\:output_product_brand_list\(\) should return string but returns string\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-brands.php
+
+ -
+ message: '#^Method WC_Brands\:\:output_product_brand_thumbnails\(\) with return type void returns string\|false but should not return anything\.$#'
+ identifier: return.void
+ count: 1
+ path: includes/class-wc-brands.php
+
+ -
+ message: '#^Method WC_Brands\:\:output_product_brand_thumbnails_description\(\) with return type void returns string\|false but should not return anything\.$#'
+ identifier: return.void
+ count: 1
+ path: includes/class-wc-brands.php
+
+ -
+ message: '#^Method WC_Brands\:\:recount_after_stock_change\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-brands.php
+
+ -
+ message: '#^Method WC_Brands\:\:recount_all_brands\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-brands.php
+
+ -
+ message: '#^Method WC_Brands\:\:register_hooks\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-brands.php
+
+ -
+ message: '#^Method WC_Brands\:\:register_shortcodes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-brands.php
+
+ -
+ message: '#^Method WC_Brands\:\:reset_layered_nav_counts_on_status_change\(\) has parameter \$new_status with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/class-wc-brands.php
+
+ -
+ message: '#^Method WC_Brands\:\:reset_layered_nav_counts_on_status_change\(\) has parameter \$old_status with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/class-wc-brands.php
+
+ -
+ message: '#^Method WC_Brands\:\:reset_layered_nav_counts_on_status_change\(\) has parameter \$post with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/class-wc-brands.php
+
+ -
+ message: '#^Method WC_Brands\:\:rest_api_add_brands_to_product\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-brands.php
+
+ -
+ message: '#^Method WC_Brands\:\:rest_api_add_brands_to_product\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/class-wc-brands.php
+
+ -
+ message: '#^Method WC_Brands\:\:rest_api_filter_products_by_brand\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/class-wc-brands.php
+
+ -
+ message: '#^Method WC_Brands\:\:rest_api_maybe_set_brands\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/class-wc-brands.php
+
+ -
+ message: '#^Method WC_Brands\:\:show_brand\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-brands.php
+
+ -
+ message: '#^Method WC_Brands\:\:styles\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-brands.php
+
+ -
+ message: '#^Method WC_Brands\:\:template_loader\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-brands.php
+
+ -
+ message: '#^Method WC_Brands\:\:wc_brands_on_block_template_register\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-brands.php
+
+ -
+ message: '#^Parameter \#1 \$args of function get_terms expects array\{taxonomy\?\: array\<string\>\|string, object_ids\?\: array\<int\>\|int, orderby\?\: string, order\?\: string, hide_empty\?\: bool\|int, include\?\: array\<int\>\|string, exclude\?\: array\<int\>\|string, exclude_tree\?\: array\<int\>\|string, \.\.\.\}, ''product_brand'' given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/class-wc-brands.php
+
+ -
+ message: '#^Parameter \#1 \$callback of function array_map expects \(callable\(mixed\)\: mixed\)\|null, ''absint'' given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-brands.php
+
+ -
+ message: '#^Parameter \#1 \$post_id of function wp_get_post_terms expects int, int\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-brands.php
+
+ -
+ message: '#^Parameter \#1 \$terms of function _wc_term_recount expects array, array\<int, int\>\|WP_Error given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-brands.php
+
+ -
+ message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/class-wc-brands.php
+
+ -
+ message: '#^Parameter \#2 \$atts of function shortcode_atts expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/class-wc-brands.php
+
+ -
+ message: '#^Parameter \#2 \$str of function explode expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/class-wc-brands.php
+
+ -
+ message: '#^Parameter \#2 \$taxonomy of function _wc_term_recount expects WP_Taxonomy, WP_Taxonomy\|false given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/class-wc-brands.php
+
+ -
+ message: '#^Parameter \#2 \$terms of function wp_set_object_terms expects array\|int\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-brands.php
+
+ -
+ message: '#^Parameter \#2 \$value of function get_term_by expects int\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-brands.php
+
+ -
+ message: '#^Parameter \#4 \$ver of function wp_enqueue_style expects bool\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-brands.php
+
+ -
+ message: '#^Parameter \$template of method WC_Brands\:\:wc_brands_on_block_template_register\(\) has invalid type BlockTemplateInterface\.$#'
+ identifier: class.notFound
+ count: 1
+ path: includes/class-wc-brands.php
+
+ -
+ message: '#^Cannot access property \$ID on WP_Post\|null\.$#'
+ identifier: property.nonObject
+ count: 2
+ path: includes/class-wc-breadcrumb.php
+
+ -
+ message: '#^Cannot access property \$display_name on WP_User\|false\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/class-wc-breadcrumb.php
+
+ -
+ message: '#^Cannot access property \$labels on WP_Post_Type\|null\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/class-wc-breadcrumb.php
+
+ -
+ message: '#^Cannot access property \$labels on WP_Taxonomy\|false\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/class-wc-breadcrumb.php
+
+ -
+ message: '#^Cannot access property \$parent on WP_Error\|WP_Term\|null\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/class-wc-breadcrumb.php
+
+ -
+ message: '#^Cannot access property \$post_parent on WP_Post\|null\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/class-wc-breadcrumb.php
+
+ -
+ message: '#^Cannot access property \$term_id on WP_Error\|WP_Term\|null\.$#'
+ identifier: property.nonObject
+ count: 2
+ path: includes/class-wc-breadcrumb.php
+
+ -
+ message: '#^Cannot call method get_queried_object\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 5
+ path: includes/class-wc-breadcrumb.php
+
+ -
+ message: '#^Method WC_Breadcrumb\:\:add_crumb\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-breadcrumb.php
+
+ -
+ message: '#^Method WC_Breadcrumb\:\:add_crumbs_404\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-breadcrumb.php
+
+ -
+ message: '#^Method WC_Breadcrumb\:\:add_crumbs_attachment\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-breadcrumb.php
+
+ -
+ message: '#^Method WC_Breadcrumb\:\:add_crumbs_author\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-breadcrumb.php
+
+ -
+ message: '#^Method WC_Breadcrumb\:\:add_crumbs_category\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-breadcrumb.php
+
+ -
+ message: '#^Method WC_Breadcrumb\:\:add_crumbs_date\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-breadcrumb.php
+
+ -
+ message: '#^Method WC_Breadcrumb\:\:add_crumbs_home\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-breadcrumb.php
+
+ -
+ message: '#^Method WC_Breadcrumb\:\:add_crumbs_page\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-breadcrumb.php
+
+ -
+ message: '#^Method WC_Breadcrumb\:\:add_crumbs_post_type_archive\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-breadcrumb.php
+
+ -
+ message: '#^Method WC_Breadcrumb\:\:add_crumbs_product_category\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-breadcrumb.php
+
+ -
+ message: '#^Method WC_Breadcrumb\:\:add_crumbs_product_tag\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-breadcrumb.php
+
+ -
+ message: '#^Method WC_Breadcrumb\:\:add_crumbs_shop\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-breadcrumb.php
+
+ -
+ message: '#^Method WC_Breadcrumb\:\:add_crumbs_single\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-breadcrumb.php
+
+ -
+ message: '#^Method WC_Breadcrumb\:\:add_crumbs_tag\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-breadcrumb.php
+
+ -
+ message: '#^Method WC_Breadcrumb\:\:add_crumbs_tax\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-breadcrumb.php
+
+ -
+ message: '#^Method WC_Breadcrumb\:\:endpoint_trail\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-breadcrumb.php
+
+ -
+ message: '#^Method WC_Breadcrumb\:\:paged_trail\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-breadcrumb.php
+
+ -
+ message: '#^Method WC_Breadcrumb\:\:prepend_shop_page\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-breadcrumb.php
+
+ -
+ message: '#^Method WC_Breadcrumb\:\:reset\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-breadcrumb.php
+
+ -
+ message: '#^Method WC_Breadcrumb\:\:search_trail\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-breadcrumb.php
+
+ -
+ message: '#^Method WC_Breadcrumb\:\:term_ancestors\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-breadcrumb.php
+
+ -
+ message: '#^Parameter \#1 \$name of method WC_Breadcrumb\:\:add_crumb\(\) expects string, int\|string\|false given\.$#'
+ identifier: argument.type
+ count: 3
+ path: includes/class-wc-breadcrumb.php
+
+ -
+ message: '#^Parameter \#1 \$name of method WC_Breadcrumb\:\:add_crumb\(\) expects string, string\|null given\.$#'
+ identifier: argument.type
+ count: 3
+ path: includes/class-wc-breadcrumb.php
+
+ -
+ message: '#^Parameter \#1 \$post_type of function get_post_type_archive_link expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/class-wc-breadcrumb.php
+
+ -
+ message: '#^Parameter \#1 \$post_type of function get_post_type_object expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/class-wc-breadcrumb.php
+
+ -
+ message: '#^Parameter \#1 \$str of function sanitize_text_field expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-breadcrumb.php
+
+ -
+ message: '#^Parameter \#1 \$var of function intval expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 3
+ path: includes/class-wc-breadcrumb.php
+
+ -
+ message: '#^Parameter \#1 \$year of function get_month_link expects int\|false, int\|string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-breadcrumb.php
+
+ -
+ message: '#^Parameter \#1 \$year of function get_year_link expects int\|false, int\|string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-breadcrumb.php
+
+ -
+ message: '#^Parameter \#2 \$link of method WC_Breadcrumb\:\:add_crumb\(\) expects string, string\|WP_Error given\.$#'
+ identifier: argument.type
+ count: 6
+ path: includes/class-wc-breadcrumb.php
+
+ -
+ message: '#^Parameter \#2 \$link of method WC_Breadcrumb\:\:add_crumb\(\) expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 7
+ path: includes/class-wc-breadcrumb.php
+
+ -
+ message: '#^Parameter \#2 \$month of function get_month_link expects int\|false, int\|string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-breadcrumb.php
+
+ -
+ message: '#^Parameter \#2 \$permalink of method WC_Breadcrumb\:\:add_crumbs_single\(\) expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-breadcrumb.php
+
+ -
+ message: '#^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-breadcrumb.php
+
+ -
+ message: '#^Action callback returns array\<string, string\> but should not return anything\.$#'
+ identifier: return.void
+ count: 1
+ path: includes/class-wc-cache-helper.php
+
+ -
+ message: '#^Binary operation "\." between ''wc_cache_'' and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: includes/class-wc-cache-helper.php
+
+ -
+ message: '#^Method WC_Cache_Helper\:\:clean_term_cache\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-cache-helper.php
+
+ -
+ message: '#^Method WC_Cache_Helper\:\:delete_transients_on_shutdown\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-cache-helper.php
+
+ -
+ message: '#^Method WC_Cache_Helper\:\:delete_version_transients\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-cache-helper.php
+
+ -
+ message: '#^Method WC_Cache_Helper\:\:geolocation_ajax_redirect\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-cache-helper.php
+
+ -
+ message: '#^Method WC_Cache_Helper\:\:get_transient_version\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-cache-helper.php
+
+ -
+ message: '#^Method WC_Cache_Helper\:\:incr_cache_prefix\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-cache-helper.php
+
+ -
+ message: '#^Method WC_Cache_Helper\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-cache-helper.php
+
+ -
+ message: '#^Method WC_Cache_Helper\:\:invalidate_attribute_count\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-cache-helper.php
+
+ -
+ message: '#^Method WC_Cache_Helper\:\:invalidate_cache_group\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-cache-helper.php
+
+ -
+ message: '#^Method WC_Cache_Helper\:\:notices\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-cache-helper.php
+
+ -
+ message: '#^Method WC_Cache_Helper\:\:queue_delete_transient\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-cache-helper.php
+
+ -
+ message: '#^Method WC_Cache_Helper\:\:update_geolocation_hash\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-cache-helper.php
+
+ -
+ message: '#^Parameter \#1 \$arr1 of function array_diff expects array, list\<string\>\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-cache-helper.php
+
+ -
+ message: '#^Parameter \#1 \$arr1 of function array_merge expects array, list\<string\>\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-cache-helper.php
+
+ -
+ message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-cache-helper.php
+
+ -
+ message: '#^Parameter \#2 \.\.\.\$args of function array_merge expects array, array\<mixed\>\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-cache-helper.php
+
+ -
+ message: '#^Cannot access property \$name on string\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/class-wc-cart-fees.php
+
+ -
+ message: '#^Method WC_Cart_Fees\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-cart-fees.php
+
+ -
+ message: '#^Method WC_Cart_Fees\:\:remove_all_fees\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-cart-fees.php
+
+ -
+ message: '#^Method WC_Cart_Fees\:\:set_fees\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-cart-fees.php
+
+ -
+ message: '#^Method WC_Cart_Fees\:\:sort_fees_callback\(\) should return int but returns stdClass\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-cart-fees.php
+
+ -
+ message: '#^One or more @param tags has an invalid name or invalid syntax\.$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/class-wc-cart-fees.php
+
+ -
+ message: '#^PHPDoc tag @param has invalid value \(int Sort order, \-1 or 1\.\)\: Unexpected token "Sort", expected variable at offset 75 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/class-wc-cart-fees.php
+
+ -
+ message: '#^Parameter \#1 \$args of method WC_Cart_Fees\:\:add_fee\(\) expects array, object given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-cart-fees.php
+
+ -
+ message: '#^Parameter \#1 \$fee of method WC_Cart_Fees\:\:generate_id\(\) expects string, stdClass given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-cart-fees.php
+
+ -
+ message: '#^@param array \$values does not accept actual type of parameter\: mixed\.$#'
+ identifier: parameter.phpDocType
+ count: 5
+ path: includes/class-wc-cart-session.php
+
+ -
+ message: '#^@param bool \$session does not accept actual type of parameter\: \$this\(WC_Cart_Session\)\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: includes/class-wc-cart-session.php
+
+ -
+ message: '#^@param string \$key does not accept actual type of parameter\: mixed\.$#'
+ identifier: parameter.phpDocType
+ count: 5
+ path: includes/class-wc-cart-session.php
+
+ -
+ message: '#^Action callback returns bool but should not return anything\.$#'
+ identifier: return.void
+ count: 1
+ path: includes/class-wc-cart-session.php
+
+ -
+ message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
+ count: 1
+ path: includes/class-wc-cart-session.php
+
+ -
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_product\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-cart-session.php
+
+ -
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_product_id\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-cart-session.php
+
+ -
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_variation_id\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-cart-session.php
+
+ -
+ message: '#^Call to function is_callable\(\) with ''_prime_post_caches'' will always evaluate to true\.$#'
+ identifier: function.alreadyNarrowedType
+ count: 1
+ path: includes/class-wc-cart-session.php
+
+ -
+ message: '#^Cannot access offset ''data_hash'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/class-wc-cart-session.php
+
+ -
+ message: '#^Cannot access offset ''product_id'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/class-wc-cart-session.php
+
+ -
+ message: '#^Cannot access offset ''quantity'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/class-wc-cart-session.php
+
+ -
+ message: '#^Cannot access offset ''variation_id'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/class-wc-cart-session.php
+
+ -
+ message: '#^Cannot call method get_id\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 3
+ path: includes/class-wc-cart-session.php
+
+ -
+ message: '#^Cannot call method get_items\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-cart-session.php
+
+ -
+ message: '#^Cannot call method has_status\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-cart-session.php
+
+ -
+ message: '#^Method WC_Cart_Session\:\:clean_up_removed_cart_contents\(\) should return bool but empty return statement found\.$#'
+ identifier: return.empty
+ count: 2
+ path: includes/class-wc-cart-session.php
+
+ -
+ message: '#^Method WC_Cart_Session\:\:clean_up_removed_cart_contents\(\) should return bool but return statement is missing\.$#'
+ identifier: return.missing
+ count: 1
+ path: includes/class-wc-cart-session.php
+
+ -
+ message: '#^Method WC_Cart_Session\:\:dedupe_cookies\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-cart-session.php
+
+ -
+ message: '#^Method WC_Cart_Session\:\:destroy_cart_session\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-cart-session.php
+
+ -
+ message: '#^Method WC_Cart_Session\:\:get_cart_from_session\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-cart-session.php
+
+ -
+ message: '#^Method WC_Cart_Session\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-cart-session.php
+
+ -
+ message: '#^Method WC_Cart_Session\:\:maybe_set_cart_cookies\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-cart-session.php
+
+ -
+ message: '#^Method WC_Cart_Session\:\:persistent_cart_destroy\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-cart-session.php
+
+ -
+ message: '#^Method WC_Cart_Session\:\:persistent_cart_update\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-cart-session.php
+
+ -
+ message: '#^Method WC_Cart_Session\:\:populate_cart_from_order\(\) should return array but empty return statement found\.$#'
+ identifier: return.empty
+ count: 1
+ path: includes/class-wc-cart-session.php
+
+ -
+ message: '#^Method WC_Cart_Session\:\:set_cart\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-cart-session.php
+
+ -
+ message: '#^Method WC_Cart_Session\:\:set_cart_cookies\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-cart-session.php
+
+ -
+ message: '#^Method WC_Cart_Session\:\:set_session\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-cart-session.php
+
+ -
+ message: '#^Parameter \#1 \$arr1 of function array_merge expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-cart-session.php
+
+ -
+ message: '#^Parameter \#1 \$input_list of function wp_list_pluck expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-cart-session.php
+
+ -
+ message: '#^Parameter \#1 \$known_string of function hash_equals expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-cart-session.php
+
+ -
+ message: '#^Parameter \#1 \$nonce of function wp_verify_nonce expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-cart-session.php
+
+ -
+ message: '#^Parameter \#1 \$product of function wc_get_cart_item_data_hash expects WC_Product, WC_Product\|false\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-cart-session.php
+
+ -
+ message: '#^Parameter \#1 \$string of function html_entity_decode expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-cart-session.php
+
+ -
+ message: '#^Parameter \#1 \$value of method WC_Cart\:\:set_applied_coupons\(\) expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-cart-session.php
+
+ -
+ message: '#^Parameter \#1 \$value of method WC_Cart\:\:set_coupon_discount_tax_totals\(\) expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-cart-session.php
+
+ -
+ message: '#^Parameter \#1 \$value of method WC_Cart\:\:set_coupon_discount_totals\(\) expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-cart-session.php
+
+ -
+ message: '#^Parameter \#1 \$value of method WC_Cart\:\:set_removed_cart_contents\(\) expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-cart-session.php
+
+ -
+ message: '#^Parameter \#1 \$value of method WC_Cart\:\:set_totals\(\) expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-cart-session.php
+
+ -
+ message: '#^Parameter \#2 \$cart of method WC_Cart_Session\:\:populate_cart_from_order\(\) expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-cart-session.php
+
+ -
+ message: '#^Parameter \#2 \$value of function wc_setcookie expects string, int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-cart-session.php
+
+ -
+ message: '#^Parameter \#2 \.\.\.\$args of function array_merge expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-cart-session.php
+
+ -
+ message: '#^Possibly invalid array key type mixed\.$#'
+ identifier: offsetAccess.invalidOffset
+ count: 5
+ path: includes/class-wc-cart-session.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$price\.$#'
+ identifier: property.notFound
+ count: 7
+ path: includes/class-wc-cart-totals.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$price_includes_tax\.$#'
+ identifier: property.notFound
+ count: 2
+ path: includes/class-wc-cart-totals.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$product\.$#'
+ identifier: property.notFound
+ count: 4
+ path: includes/class-wc-cart-totals.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$tax_rates\.$#'
+ identifier: property.notFound
+ count: 3
+ path: includes/class-wc-cart-totals.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$taxable\.$#'
+ identifier: property.notFound
+ count: 2
+ path: includes/class-wc-cart-totals.php
+
+ -
+ message: '#^Binary operation "\*" between array\|float\|int\<min, \-1\> and \(float\|int\) results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 2
+ path: includes/class-wc-cart-totals.php
+
+ -
+ message: '#^Cannot access property \$key on array\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/class-wc-cart-totals.php
+
+ -
+ message: '#^Cannot access property \$object on array\.$#'
+ identifier: property.nonObject
+ count: 9
+ path: includes/class-wc-cart-totals.php
+
+ -
+ message: '#^Cannot access property \$price on array\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/class-wc-cart-totals.php
+
+ -
+ message: '#^Cannot access property \$price_includes_tax on array\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/class-wc-cart-totals.php
+
+ -
+ message: '#^Cannot access property \$product on array\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/class-wc-cart-totals.php
+
+ -
+ message: '#^Cannot access property \$quantity on array\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/class-wc-cart-totals.php
+
+ -
+ message: '#^Cannot access property \$tax_class on array\.$#'
+ identifier: property.nonObject
+ count: 3
+ path: includes/class-wc-cart-totals.php
+
+ -
+ message: '#^Cannot access property \$tax_rates on array\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/class-wc-cart-totals.php
+
+ -
+ message: '#^Cannot access property \$taxable on array\.$#'
+ identifier: property.nonObject
+ count: 2
+ path: includes/class-wc-cart-totals.php
+
+ -
+ message: '#^Cannot access property \$taxes on array\.$#'
+ identifier: property.nonObject
+ count: 7
+ path: includes/class-wc-cart-totals.php
+
+ -
+ message: '#^Cannot access property \$total on array\.$#'
+ identifier: property.nonObject
+ count: 10
+ path: includes/class-wc-cart-totals.php
+
+ -
+ message: '#^Cannot access property \$total_tax on array\.$#'
+ identifier: property.nonObject
+ count: 2
+ path: includes/class-wc-cart-totals.php
+
+ -
+ message: '#^Cannot clone non\-object variable \$default_shipping_props of type array\.$#'
+ identifier: clone.nonObject
+ count: 1
+ path: includes/class-wc-cart-totals.php
+
+ -
+ message: '#^Invalid array key type object\.$#'
+ identifier: offsetAccess.invalidOffset
+ count: 3
+ path: includes/class-wc-cart-totals.php
+
+ -
+ message: '#^Method WC_Cart_Totals\:\:__construct\(\) never assigns null to &\$cart so it can be removed from the by\-ref type\.$#'
+ identifier: parameterByRef.unusedType
+ count: 1
+ path: includes/class-wc-cart-totals.php
+
+ -
+ message: '#^Method WC_Cart_Totals\:\:calculate\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-cart-totals.php
+
+ -
+ message: '#^Method WC_Cart_Totals\:\:calculate_discounts\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-cart-totals.php
+
+ -
+ message: '#^Method WC_Cart_Totals\:\:calculate_fee_totals\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-cart-totals.php
+
+ -
+ message: '#^Method WC_Cart_Totals\:\:calculate_item_subtotals\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-cart-totals.php
+
+ -
+ message: '#^Method WC_Cart_Totals\:\:calculate_item_totals\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-cart-totals.php
+
+ -
+ message: '#^Method WC_Cart_Totals\:\:calculate_shipping_totals\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-cart-totals.php
+
+ -
+ message: '#^Method WC_Cart_Totals\:\:calculate_totals\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-cart-totals.php
+
+ -
+ message: '#^Method WC_Cart_Totals\:\:get_coupons_from_cart\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-cart-totals.php
+
+ -
+ message: '#^Method WC_Cart_Totals\:\:get_default_fee_props\(\) should return array but returns object\{object\: null, tax_class\: string, taxable\: bool, total_tax\: int, taxes\: array\}&stdClass\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-cart-totals.php
+
+ -
+ message: '#^Method WC_Cart_Totals\:\:get_default_item_props\(\) should return array but returns object\{object\: null, tax_class\: string, taxable\: bool, quantity\: int, product\: bool, price_includes_tax\: bool, subtotal\: int, subtotal_tax\: int, subtotal_taxes\: array, total\: int, total_tax\: int, taxes\: array\}&stdClass\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-cart-totals.php
+
+ -
+ message: '#^Method WC_Cart_Totals\:\:get_default_shipping_props\(\) should return array but returns object\{object\: null, tax_class\: string, taxable\: bool, total\: int, total_tax\: int, taxes\: array\}&stdClass\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-cart-totals.php
+
+ -
+ message: '#^Method WC_Cart_Totals\:\:get_fees_from_cart\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-cart-totals.php
+
+ -
+ message: '#^Method WC_Cart_Totals\:\:get_items_from_cart\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-cart-totals.php
+
+ -
+ message: '#^Method WC_Cart_Totals\:\:get_merged_taxes\(\) should return array but returns array\|int\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-cart-totals.php
+
+ -
+ message: '#^Method WC_Cart_Totals\:\:get_shipping_from_cart\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-cart-totals.php
+
+ -
+ message: '#^Method WC_Cart_Totals\:\:get_totals\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-cart-totals.php
+
+ -
+ message: '#^Method WC_Cart_Totals\:\:set_total\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-cart-totals.php
+
+ -
+ message: '#^PHPDoc tag @return has invalid value \(array\.\)\: Unexpected token "\.", expected TOKEN_HORIZONTAL_WS at offset 189 on line 6$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/class-wc-cart-totals.php
+
+ -
+ message: '#^Parameter \#1 \$item of method WC_Cart_Totals\:\:get_item_tax_rates\(\) expects object, array given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-cart-totals.php
+
+ -
+ message: '#^Parameter \#1 \$item_key of method WC_Cart_Totals\:\:get_discounted_price_in_cents\(\) expects object, \(int\|string\) given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-cart-totals.php
+
+ -
+ message: '#^Parameter \#1 \$object_or_string of function is_a expects object, WC_Cart\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-cart-totals.php
+
+ -
+ message: '#^Parameter \#1 \$price of static method WC_Tax\:\:calc_tax\(\) expects float, array\|float\|int\<0, max\> given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-cart-totals.php
+
+ -
+ message: '#^Parameter \#1 \$value of function wc_add_number_precision_deep expects array, float given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-cart-totals.php
+
+ -
+ message: '#^Parameter \#1 \$value of function wc_remove_number_precision_deep expects array, \(float\|int\) given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/class-wc-cart-totals.php
+
+ -
+ message: '#^Parameter \#1 \$value of function wc_remove_number_precision_deep expects array, array\|float\|int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-cart-totals.php
+
+ -
+ message: '#^Parameter \#1 \$value of function wc_remove_number_precision_deep expects array, float\|int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-cart-totals.php
+
+ -
+ message: '#^Parameter \#1 \$value of method WC_Cart\:\:set_cart_contents_tax\(\) expects string, \(float\|int\) given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-cart-totals.php
+
+ -
+ message: '#^Parameter \#1 \$value of method WC_Cart\:\:set_cart_contents_total\(\) expects string, float\|int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-cart-totals.php
+
+ -
+ message: '#^Parameter \#1 \$value of method WC_Cart\:\:set_coupon_discount_tax_totals\(\) expects array, array\|int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-cart-totals.php
+
+ -
+ message: '#^Parameter \#1 \$value of method WC_Cart\:\:set_coupon_discount_totals\(\) expects array, array\|int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-cart-totals.php
+
+ -
+ message: '#^Parameter \#1 \$value of method WC_Cart\:\:set_discount_tax\(\) expects string, float\|int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-cart-totals.php
+
+ -
+ message: '#^Parameter \#1 \$value of method WC_Cart\:\:set_discount_total\(\) expects string, float\|int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-cart-totals.php
+
+ -
+ message: '#^Parameter \#1 \$value of method WC_Cart\:\:set_fee_tax\(\) expects string, array\|int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-cart-totals.php
+
+ -
+ message: '#^Parameter \#1 \$value of method WC_Cart\:\:set_fee_taxes\(\) expects array, array\|int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-cart-totals.php
+
+ -
+ message: '#^Parameter \#1 \$value of method WC_Cart\:\:set_fee_total\(\) expects string, array\|int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-cart-totals.php
+
+ -
+ message: '#^Parameter \#1 \$value of method WC_Cart\:\:set_shipping_tax\(\) expects string, float\|int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-cart-totals.php
+
+ -
+ message: '#^Parameter \#1 \$value of method WC_Cart\:\:set_shipping_taxes\(\) expects array, array\|int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-cart-totals.php
+
+ -
+ message: '#^Parameter \#1 \$value of method WC_Cart\:\:set_shipping_total\(\) expects string, float\|int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-cart-totals.php
+
+ -
+ message: '#^Parameter \#1 \$value of method WC_Cart\:\:set_subtotal\(\) expects string, float\|int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-cart-totals.php
+
+ -
+ message: '#^Parameter \#1 \$value of method WC_Cart\:\:set_subtotal_tax\(\) expects string, float\|int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-cart-totals.php
+
+ -
+ message: '#^Parameter \#1 \$value of method WC_Cart\:\:set_total_tax\(\) expects string, float given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-cart-totals.php
+
+ -
+ message: '#^Parameter \#2 \$array of function array_map expects array, array\|int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-cart-totals.php
+
+ -
+ message: '#^Parameter \#2 \$total of method WC_Cart_Totals\:\:set_total\(\) expects int, float given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-cart-totals.php
+
+ -
+ message: '#^Parameter \#2 \$total of method WC_Cart_Totals\:\:set_total\(\) expects int, float\|int given\.$#'
+ identifier: argument.type
+ count: 3
+ path: includes/class-wc-cart-totals.php
+
+ -
+ message: '#^@param int \$stock_quantity does not accept actual type of parameter\: int\|null\.$#'
+ identifier: parameter.phpDocType
+ count: 2
+ path: includes/class-wc-cart.php
+
+ -
+ message: '#^@param tag must not be named \$this\. Choose a descriptive alias, for example \$instance\.$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/class-wc-cart.php
+
+ -
+ message: '#^Access to an undefined property WC_Cart\:\:\$coupon_discount_tax_totals\.$#'
+ identifier: property.notFound
+ count: 3
+ path: includes/class-wc-cart.php
+
+ -
+ message: '#^Access to an undefined property WC_Cart\:\:\$coupon_discount_totals\.$#'
+ identifier: property.notFound
+ count: 3
+ path: includes/class-wc-cart.php
+
+ -
+ message: '#^Access to an undefined property WC_Cart\:\:\$shipping_tax_total\.$#'
+ identifier: property.notFound
+ count: 3
+ path: includes/class-wc-cart.php
+
+ -
+ message: '#^Access to an undefined property WC_Cart\:\:\$shipping_total\.$#'
+ identifier: property.notFound
+ count: 2
+ path: includes/class-wc-cart.php
+
+ -
+ message: '#^Binary operation "\+" between float\|int\|string and float results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 2
+ path: includes/class-wc-cart.php
+
+ -
+ message: '#^Binary operation "\-" between float\|string and float results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: includes/class-wc-cart.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:find_matching_product_variation\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-cart.php
+
+ -
+ message: '#^Call to an undefined method WC_Product\:\:get_variation_attributes\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-cart.php
+
+ -
+ message: '#^Call to an undefined method object\:\:get_tentative_usages_for_user\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-cart.php
+
+ -
+ message: '#^Call to an undefined method object\:\:get_usage_by_email\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-cart.php
+
+ -
+ message: '#^Callback expects 1 parameter, \$accepted_args is set to 2\.$#'
+ identifier: arguments.count
+ count: 1
+ path: includes/class-wc-cart.php
+
+ -
+ message: '#^Cannot access offset \(int\|string\) on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/class-wc-cart.php
+
+ -
+ message: '#^Cannot call method get_attributes\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: includes/class-wc-cart.php
+
+ -
+ message: '#^Constant WC_ABSPATH not found\.$#'
+ identifier: constant.notFound
+ count: 3
+ path: includes/class-wc-cart.php
+
+ -
+ message: '#^Method WC_Cart\:\:add_fee\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-cart.php
+
+ -
+ message: '#^Method WC_Cart\:\:calculate_fees\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-cart.php
+
+ -
+ message: '#^Method WC_Cart\:\:calculate_shipping\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-cart.php
+
+ -
+ message: '#^Method WC_Cart\:\:calculate_totals\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-cart.php
+
+ -
+ message: '#^Method WC_Cart\:\:check_cart_coupons\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-cart.php
+
+ -
+ message: '#^Method WC_Cart\:\:check_cart_items\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-cart.php
+
+ -
+ message: '#^Method WC_Cart\:\:check_customer_coupons\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-cart.php
+
+ -
+ message: '#^Method WC_Cart\:\:empty_cart\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-cart.php
+
+ -
+ message: '#^Method WC_Cart\:\:find_product_in_cart\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-cart.php
+
+ -
+ message: '#^Method WC_Cart\:\:get_cart_contents_taxes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-cart.php
+
+ -
+ message: '#^Method WC_Cart\:\:get_displayed_subtotal\(\) should return string but returns float\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-cart.php
+
+ -
+ message: '#^Method WC_Cart\:\:get_fee_taxes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-cart.php
+
+ -
+ message: '#^Method WC_Cart\:\:get_shipping_taxes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-cart.php
+
+ -
+ message: '#^Method WC_Cart\:\:get_tax_price_display_mode\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-cart.php
+
+ -
+ message: '#^Method WC_Cart\:\:remove_coupons\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-cart.php
+
+ -
+ message: '#^Method WC_Cart\:\:reset_totals\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-cart.php
+
+ -
+ message: '#^Method WC_Cart\:\:set_applied_coupons\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-cart.php
+
+ -
+ message: '#^Method WC_Cart\:\:set_cart_contents\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-cart.php
+
+ -
+ message: '#^Method WC_Cart\:\:set_cart_contents_tax\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-cart.php
+
+ -
+ message: '#^Method WC_Cart\:\:set_cart_contents_taxes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-cart.php
+
+ -
+ message: '#^Method WC_Cart\:\:set_cart_contents_total\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-cart.php
+
+ -
+ message: '#^Method WC_Cart\:\:set_coupon_discount_tax_totals\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-cart.php
+
+ -
+ message: '#^Method WC_Cart\:\:set_coupon_discount_totals\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-cart.php
+
+ -
+ message: '#^Method WC_Cart\:\:set_discount_tax\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-cart.php
+
+ -
+ message: '#^Method WC_Cart\:\:set_discount_total\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-cart.php
+
+ -
+ message: '#^Method WC_Cart\:\:set_fee_tax\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-cart.php
+
+ -
+ message: '#^Method WC_Cart\:\:set_fee_taxes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-cart.php
+
+ -
+ message: '#^Method WC_Cart\:\:set_fee_total\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-cart.php
+
+ -
+ message: '#^Method WC_Cart\:\:set_removed_cart_contents\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-cart.php
+
+ -
+ message: '#^Method WC_Cart\:\:set_shipping_tax\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-cart.php
+
+ -
+ message: '#^Method WC_Cart\:\:set_shipping_taxes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-cart.php
+
+ -
+ message: '#^Method WC_Cart\:\:set_shipping_total\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-cart.php
+
+ -
+ message: '#^Method WC_Cart\:\:set_subtotal\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-cart.php
+
+ -
+ message: '#^Method WC_Cart\:\:set_subtotal_tax\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-cart.php
+
+ -
+ message: '#^Method WC_Cart\:\:set_total\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-cart.php
+
+ -
+ message: '#^Method WC_Cart\:\:set_total_tax\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-cart.php
+
+ -
+ message: '#^Method WC_Cart\:\:set_totals\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-cart.php
+
+ -
+ message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-cart.php
+
+ -
+ message: '#^Parameter \#1 \$price of function wc_price expects float, float\|string given\.$#'
+ identifier: argument.type
+ count: 3
+ path: includes/class-wc-cart.php
+
+ -
+ message: '#^Parameter \#1 \$product_id of method WC_Cart\:\:generate_cart_id\(\) expects int, int\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-cart.php
+
+ -
+ message: '#^Parameter \#1 \$stock_quantity of function wc_format_stock_quantity_for_display expects int, int\|null given\.$#'
+ identifier: argument.type
+ count: 3
+ path: includes/class-wc-cart.php
+
+ -
+ message: '#^Parameter \#1 \$str of function trim expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/class-wc-cart.php
+
+ -
+ message: '#^Parameter \#1 \$string of function html_entity_decode expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-cart.php
+
+ -
+ message: '#^Parameter \#1 \$value of function wc_round_tax_total expects float, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-cart.php
+
+ -
+ message: '#^Parameter \#1 \$value of method WC_Cart\:\:set_shipping_tax\(\) expects string, \(float\|int\) given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-cart.php
+
+ -
+ message: '#^Parameter \#1 \$value of method WC_Cart\:\:set_shipping_tax\(\) expects string, int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-cart.php
+
+ -
+ message: '#^Parameter \#1 \$value of method WC_Cart\:\:set_shipping_total\(\) expects string, \(float\|int\) given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-cart.php
+
+ -
+ message: '#^Parameter \#1 \$value of method WC_Cart\:\:set_shipping_total\(\) expects string, int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-cart.php
+
+ -
+ message: '#^Possibly invalid array key type mixed\.$#'
+ identifier: offsetAccess.invalidOffset
+ count: 1
+ path: includes/class-wc-cart.php
+
+ -
+ message: '#^Strict comparison using \!\=\= between 0 and mixed will always evaluate to true\.$#'
+ identifier: notIdentical.alwaysTrue
+ count: 1
+ path: includes/class-wc-cart.php
+
+ -
+ message: '#^Access to an undefined property WooCommerce\:\:\$payment_gateways\.$#'
+ identifier: property.notFound
+ count: 3
+ path: includes/class-wc-checkout.php
+
+ -
+ message: '#^Call to an undefined method WC_Session\:\:save_data\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-checkout.php
+
+ -
+ message: '#^Cannot access offset \(int\|string\) on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 3
+ path: includes/class-wc-checkout.php
+
+ -
+ message: '#^Cannot call method call_function\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-checkout.php
+
+ -
+ message: '#^Cannot call method feature_is_enabled\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-checkout.php
+
+ -
+ message: '#^Cannot call method get_checkout_order_received_url\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: includes/class-wc-checkout.php
+
+ -
+ message: '#^Cannot call method has_cart_hash\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-checkout.php
+
+ -
+ message: '#^Cannot call method has_status\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-checkout.php
+
+ -
+ message: '#^Cannot call method hold_applied_coupons\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-checkout.php
+
+ -
+ message: '#^Cannot call method needs_payment\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-checkout.php
+
+ -
+ message: '#^Cannot call method payment_complete\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-checkout.php
+
+ -
+ message: '#^Cannot call method remove_order_items\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-checkout.php
+
+ -
+ message: '#^Cannot call method set_cart_hash\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-checkout.php
+
+ -
+ message: '#^Cannot call method set_created_via\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-checkout.php
+
+ -
+ message: '#^Cannot call method set_currency\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-checkout.php
+
+ -
+ message: '#^Cannot call method set_customer_id\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-checkout.php
+
+ -
+ message: '#^Cannot call method set_customer_ip_address\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-checkout.php
+
+ -
+ message: '#^Cannot call method set_customer_note\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-checkout.php
+
+ -
+ message: '#^Cannot call method set_customer_user_agent\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-checkout.php
+
+ -
+ message: '#^Cannot call method set_payment_method\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-checkout.php
+
+ -
+ message: '#^Cannot call method set_prices_include_tax\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-checkout.php
+
+ -
+ message: '#^Cannot call method update_meta_data\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-checkout.php
+
+ -
+ message: '#^Class WP_Error referenced with incorrect case\: WP_ERROR\.$#'
+ identifier: class.nameCase
+ count: 1
+ path: includes/class-wc-checkout.php
+
+ -
+ message: '#^Left side of && is always true\.$#'
+ identifier: booleanAnd.leftAlwaysTrue
+ count: 1
+ path: includes/class-wc-checkout.php
+
+ -
+ message: '#^Method WC_Checkout\:\:__get\(\) should return array\|string but return statement is missing\.$#'
+ identifier: return.missing
+ count: 1
+ path: includes/class-wc-checkout.php
+
+ -
+ message: '#^Method WC_Checkout\:\:__get\(\) should return array\|string but returns bool\.$#'
+ identifier: return.type
+ count: 3
+ path: includes/class-wc-checkout.php
+
+ -
+ message: '#^Method WC_Checkout\:\:check_cart_items\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-checkout.php
+
+ -
+ message: '#^Method WC_Checkout\:\:checkout_form_billing\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-checkout.php
+
+ -
+ message: '#^Method WC_Checkout\:\:checkout_form_shipping\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-checkout.php
+
+ -
+ message: '#^Method WC_Checkout\:\:create_order_coupon_lines\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-checkout.php
+
+ -
+ message: '#^Method WC_Checkout\:\:create_order_fee_lines\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-checkout.php
+
+ -
+ message: '#^Method WC_Checkout\:\:create_order_line_items\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-checkout.php
+
+ -
+ message: '#^Method WC_Checkout\:\:create_order_shipping_lines\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-checkout.php
+
+ -
+ message: '#^Method WC_Checkout\:\:create_order_tax_lines\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-checkout.php
+
+ -
+ message: '#^Method WC_Checkout\:\:get_checkout_fields\(\) should return array but returns array\|null\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-checkout.php
+
+ -
+ message: '#^Method WC_Checkout\:\:get_value\(\) should return string but returns array\|string\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-checkout.php
+
+ -
+ message: '#^Method WC_Checkout\:\:initialize_checkout_fields\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-checkout.php
+
+ -
+ message: '#^Method WC_Checkout\:\:process_checkout\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-checkout.php
+
+ -
+ message: '#^Method WC_Checkout\:\:process_customer\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-checkout.php
+
+ -
+ message: '#^Method WC_Checkout\:\:process_order_payment\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-checkout.php
+
+ -
+ message: '#^Method WC_Checkout\:\:process_order_without_payment\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-checkout.php
+
+ -
+ message: '#^Method WC_Checkout\:\:send_ajax_failure_response\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-checkout.php
+
+ -
+ message: '#^Method WC_Checkout\:\:set_customer_address_fields\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-checkout.php
+
+ -
+ message: '#^Method WC_Checkout\:\:set_data_from_cart\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-checkout.php
+
+ -
+ message: '#^Method WC_Checkout\:\:update_session\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-checkout.php
+
+ -
+ message: '#^Method WC_Checkout\:\:validate_checkout\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-checkout.php
+
+ -
+ message: '#^Method WC_Checkout\:\:validate_posted_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-checkout.php
+
+ -
+ message: '#^One or more @param tags has an invalid name or invalid syntax\.$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/class-wc-checkout.php
+
+ -
+ message: '#^PHPDoc tag @param has invalid value \(int The current user''s ID \(this may be 0 if no user is logged in\)\.\)\: Unexpected token "The", expected variable at offset 170 on line 6$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/class-wc-checkout.php
+
+ -
+ message: '#^Parameter \#1 \$callback of function array_map expects \(callable\(mixed\)\: mixed\)\|null, ''wc_strtoupper'' given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-checkout.php
+
+ -
+ message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-checkout.php
+
+ -
+ message: '#^Parameter \#1 \$nonce of function wp_verify_nonce expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-checkout.php
+
+ -
+ message: '#^Parameter \#1 \$order of method WC_Checkout\:\:set_data_from_cart\(\) expects WC_Order, WC_Order\|WC_Order_Refund\|true given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-checkout.php
+
+ -
+ message: '#^Parameter \#1 \$string of function wc_string_to_bool expects bool\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/class-wc-checkout.php
+
+ -
+ message: '#^Parameter \#1 \$value of method WC_Abstract_Order\:\:set_cart_tax\(\) expects string, float given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-checkout.php
+
+ -
+ message: '#^Parameter \#1 \$value of method WC_Abstract_Order\:\:set_discount_tax\(\) expects string, float given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-checkout.php
+
+ -
+ message: '#^Parameter \#1 \$value of method WC_Abstract_Order\:\:set_discount_total\(\) expects string, float given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-checkout.php
+
+ -
+ message: '#^Parameter \#1 \$value of method WC_Abstract_Order\:\:set_shipping_tax\(\) expects string, float given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-checkout.php
+
+ -
+ message: '#^Parameter \#1 \$value of method WC_Abstract_Order\:\:set_shipping_total\(\) expects string, float given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-checkout.php
+
+ -
+ message: '#^Parameter \#1 \$value of method WC_Abstract_Order\:\:set_total\(\) expects string, float\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-checkout.php
+
+ -
+ message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 3
+ path: includes/class-wc-checkout.php
+
+ -
+ message: '#^Parameter \#2 \$chosen_shipping_methods of method WC_Checkout\:\:create_order_shipping_lines\(\) expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-checkout.php
+
+ -
+ message: '#^Parameter \#2 \$default of function wc_get_var expects string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-checkout.php
+
+ -
+ message: '#^Parameter \#2 \$pieces of function implode expects array, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-checkout.php
+
+ -
+ message: '#^Parameter \#3 \$data of function wc_add_notice expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-checkout.php
+
+ -
+ message: '#^Property WC_Checkout\:\:\$fields \(array\|null\) does not accept mixed\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: includes/class-wc-checkout.php
+
+ -
+ message: '#^Property WC_Checkout\:\:\$legacy_posted_data \(array\) does not accept mixed\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: includes/class-wc-checkout.php
+
+ -
+ message: '#^Call to static method add_command\(\) on an unknown class WP_CLI\.$#'
+ identifier: class.notFound
+ count: 1
+ path: includes/class-wc-cli.php
+
+ -
+ message: '#^Call to static method add_hook\(\) on an unknown class WP_CLI\.$#'
+ identifier: class.notFound
+ count: 10
+ path: includes/class-wc-cli.php
+
+ -
+ message: '#^Cannot call method register\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-cli.php
+
+ -
+ message: '#^Method WC_CLI\:\:add_blueprint_cli_hook\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-cli.php
+
+ -
+ message: '#^Method WC_CLI\:\:hooks\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-cli.php
+
+ -
+ message: '#^Method WC_CLI\:\:includes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-cli.php
+
+ -
+ message: '#^Action callback returns array but should not return anything\.$#'
+ identifier: return.void
+ count: 2
+ path: includes/class-wc-comments.php
+
+ -
+ message: '#^Action callback returns bool but should not return anything\.$#'
+ identifier: return.void
+ count: 1
+ path: includes/class-wc-comments.php
+
+ -
+ message: '#^Cannot access property \$comment_author_email on WP_Comment\|null\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/class-wc-comments.php
+
+ -
+ message: '#^Cannot access property \$comment_post_ID on WP_Comment\|null\.$#'
+ identifier: property.nonObject
+ count: 2
+ path: includes/class-wc-comments.php
+
+ -
+ message: '#^Cannot access property \$user_id on WP_Comment\|null\.$#'
+ identifier: property.nonObject
+ count: 2
+ path: includes/class-wc-comments.php
+
+ -
+ message: '#^Cannot cast mixed to int\.$#'
+ identifier: cast.int
+ count: 1
+ path: includes/class-wc-comments.php
+
+ -
+ message: '#^Method WC_Comments\:\:add_comment_rating\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-comments.php
+
+ -
+ message: '#^Method WC_Comments\:\:clear_transients\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-comments.php
+
+ -
+ message: '#^Method WC_Comments\:\:delete_comments_count_cache\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-comments.php
+
+ -
+ message: '#^Method WC_Comments\:\:exclude_order_comments_from_feed_join\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-comments.php
+
+ -
+ message: '#^Method WC_Comments\:\:exclude_webhook_comments_from_feed_join\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-comments.php
+
+ -
+ message: '#^Method WC_Comments\:\:get_average_rating_for_product\(\) should return float but returns int\|string\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-comments.php
+
+ -
+ message: '#^Method WC_Comments\:\:get_products_reviews_pending_moderation_counter\(\) should return int but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-comments.php
+
+ -
+ message: '#^Method WC_Comments\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-comments.php
+
+ -
+ message: '#^Method WC_Comments\:\:validate_product_review_verified_owners\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-comments.php
+
+ -
+ message: '#^Method WC_Comments\:\:wp_count_comments\(\) should return object but returns array\|object\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-comments.php
+
+ -
+ message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-comments.php
+
+ -
+ message: '#^Parameter \#1 \$post of function get_post_type expects int\|WP_Post\|null, string given\.$#'
+ identifier: argument.type
+ count: 5
+ path: includes/class-wc-comments.php
+
+ -
+ message: '#^Parameter \#1 \$var of function intval expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-comments.php
+
+ -
+ message: '#^Parameter \#2 \$user_id of function wc_customer_bought_product expects int, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-comments.php
+
+ -
+ message: '#^Parameter \#3 \$args of function wp_die expects array\{response\?\: int, link_url\?\: string, link_text\?\: string, back_link\?\: bool, text_direction\?\: string, charset\?\: string, code\?\: string, exit\?\: bool\}\|int, array\{code\: 403\} given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-comments.php
+
+ -
+ message: '#^Parameter \#3 \$product_id of function wc_customer_bought_product expects int, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-comments.php
+
+ -
+ message: '#^Unreachable statement \- code above always terminates\.$#'
+ identifier: deadCode.unreachable
+ count: 1
+ path: includes/class-wc-comments.php
+
+ -
+ message: '#^Access to an undefined property WC_Countries\:\:\$countries\.$#'
+ identifier: property.notFound
+ count: 5
+ path: includes/class-wc-countries.php
+
+ -
+ message: '#^Access to an undefined property WC_Countries\:\:\$states\.$#'
+ identifier: property.notFound
+ count: 2
+ path: includes/class-wc-countries.php
+
+ -
+ message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
+ count: 5
+ path: includes/class-wc-countries.php
+
+ -
+ message: '#^Method WC_Countries\:\:country_dropdown_options\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-countries.php
+
+ -
+ message: '#^Method WC_Countries\:\:load_country_states\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-countries.php
+
+ -
+ message: '#^Parameter \#2 \$str of function explode expects string, string\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-countries.php
+
+ -
+ message: '#^Parameter \#3 \$subject of function preg_replace expects array\<float\|int\|string\>\|string, string\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-countries.php
+
+ -
+ message: '#^Possibly invalid array key type mixed\.$#'
+ identifier: offsetAccess.invalidOffset
+ count: 6
+ path: includes/class-wc-countries.php
+
+ -
+ message: '#^Access to an undefined property WC_Cart\:\:\$subtotal\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/class-wc-coupon.php
+
+ -
+ message: '#^Access to an undefined property WC_Cart\:\:\$subtotal_ex_tax\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/class-wc-coupon.php
+
+ -
+ message: '#^Call to an undefined method object\:\:decrease_usage_count\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-coupon.php
+
+ -
+ message: '#^Call to an undefined method object\:\:increase_usage_count\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-coupon.php
+
+ -
+ message: '#^Cannot access offset 0 on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/class-wc-coupon.php
+
+ -
+ message: '#^Cannot access offset 1 on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/class-wc-coupon.php
+
+ -
+ message: '#^Cannot access offset 2 on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/class-wc-coupon.php
+
+ -
+ message: '#^Cannot access offset 3 on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/class-wc-coupon.php
+
+ -
+ message: '#^Cannot access offset 4 on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/class-wc-coupon.php
+
+ -
+ message: '#^Cannot access property \$name on WP_Error\|WP_Term\|null\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/class-wc-coupon.php
+
+ -
+ message: '#^Cannot cast mixed to float\.$#'
+ identifier: cast.double
+ count: 1
+ path: includes/class-wc-coupon.php
+
+ -
+ message: '#^Method WC_Coupon\:\:add_coupon_message\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-coupon.php
+
+ -
+ message: '#^Method WC_Coupon\:\:decrease_usage_count\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-coupon.php
+
+ -
+ message: '#^Method WC_Coupon\:\:get_code\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-coupon.php
+
+ -
+ message: '#^Method WC_Coupon\:\:get_date_created\(\) should return WC_DateTime\|null but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-coupon.php
+
+ -
+ message: '#^Method WC_Coupon\:\:get_date_expires\(\) should return WC_DateTime\|null but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-coupon.php
+
+ -
+ message: '#^Method WC_Coupon\:\:get_date_modified\(\) should return WC_DateTime\|null but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-coupon.php
+
+ -
+ message: '#^Method WC_Coupon\:\:get_description\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-coupon.php
+
+ -
+ message: '#^Method WC_Coupon\:\:get_discount_type\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-coupon.php
+
+ -
+ message: '#^Method WC_Coupon\:\:get_email_restrictions\(\) should return array but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-coupon.php
+
+ -
+ message: '#^Method WC_Coupon\:\:get_exclude_sale_items\(\) should return bool but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-coupon.php
+
+ -
+ message: '#^Method WC_Coupon\:\:get_excluded_product_categories\(\) should return array but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-coupon.php
+
+ -
+ message: '#^Method WC_Coupon\:\:get_excluded_product_ids\(\) should return array but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-coupon.php
+
+ -
+ message: '#^Method WC_Coupon\:\:get_free_shipping\(\) should return bool but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-coupon.php
+
+ -
+ message: '#^Method WC_Coupon\:\:get_individual_use\(\) should return bool but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-coupon.php
+
+ -
+ message: '#^Method WC_Coupon\:\:get_limit_usage_to_x_items\(\) should return int\|null but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-coupon.php
+
+ -
+ message: '#^Method WC_Coupon\:\:get_product_categories\(\) should return array but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-coupon.php
+
+ -
+ message: '#^Method WC_Coupon\:\:get_product_ids\(\) should return array but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-coupon.php
+
+ -
+ message: '#^Method WC_Coupon\:\:get_short_info\(\) should return string but returns string\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-coupon.php
+
+ -
+ message: '#^Method WC_Coupon\:\:get_status\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-coupon.php
+
+ -
+ message: '#^Method WC_Coupon\:\:get_usage_count\(\) should return int but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-coupon.php
+
+ -
+ message: '#^Method WC_Coupon\:\:get_usage_limit\(\) should return int but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-coupon.php
+
+ -
+ message: '#^Method WC_Coupon\:\:get_usage_limit_per_user\(\) should return int but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-coupon.php
+
+ -
+ message: '#^Method WC_Coupon\:\:get_used_by\(\) should return array but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-coupon.php
+
+ -
+ message: '#^Method WC_Coupon\:\:increase_usage_count\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-coupon.php
+
+ -
+ message: '#^Method WC_Coupon\:\:read_manual_coupon\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-coupon.php
+
+ -
+ message: '#^Method WC_Coupon\:\:read_object_from_database\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-coupon.php
+
+ -
+ message: '#^Method WC_Coupon\:\:set_amount\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-coupon.php
+
+ -
+ message: '#^Method WC_Coupon\:\:set_code\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-coupon.php
+
+ -
+ message: '#^Method WC_Coupon\:\:set_date_created\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-coupon.php
+
+ -
+ message: '#^Method WC_Coupon\:\:set_date_expires\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-coupon.php
+
+ -
+ message: '#^Method WC_Coupon\:\:set_date_modified\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-coupon.php
+
+ -
+ message: '#^Method WC_Coupon\:\:set_description\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-coupon.php
+
+ -
+ message: '#^Method WC_Coupon\:\:set_discount_type\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-coupon.php
+
+ -
+ message: '#^Method WC_Coupon\:\:set_discount_type_core\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-coupon.php
+
+ -
+ message: '#^Method WC_Coupon\:\:set_email_restrictions\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-coupon.php
+
+ -
+ message: '#^Method WC_Coupon\:\:set_exclude_sale_items\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-coupon.php
+
+ -
+ message: '#^Method WC_Coupon\:\:set_excluded_product_categories\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-coupon.php
+
+ -
+ message: '#^Method WC_Coupon\:\:set_excluded_product_ids\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-coupon.php
+
+ -
+ message: '#^Method WC_Coupon\:\:set_free_shipping\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-coupon.php
+
+ -
+ message: '#^Method WC_Coupon\:\:set_individual_use\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-coupon.php
+
+ -
+ message: '#^Method WC_Coupon\:\:set_limit_usage_to_x_items\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-coupon.php
+
+ -
+ message: '#^Method WC_Coupon\:\:set_maximum_amount\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-coupon.php
+
+ -
+ message: '#^Method WC_Coupon\:\:set_minimum_amount\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-coupon.php
+
+ -
+ message: '#^Method WC_Coupon\:\:set_product_categories\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-coupon.php
+
+ -
+ message: '#^Method WC_Coupon\:\:set_product_ids\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-coupon.php
+
+ -
+ message: '#^Method WC_Coupon\:\:set_short_info\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-coupon.php
+
+ -
+ message: '#^Method WC_Coupon\:\:set_status\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-coupon.php
+
+ -
+ message: '#^Method WC_Coupon\:\:set_usage_count\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-coupon.php
+
+ -
+ message: '#^Method WC_Coupon\:\:set_usage_limit\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-coupon.php
+
+ -
+ message: '#^Method WC_Coupon\:\:set_usage_limit_per_user\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-coupon.php
+
+ -
+ message: '#^Method WC_Coupon\:\:set_used_by\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-coupon.php
+
+ -
+ message: '#^Method WC_Coupon\:\:set_virtual\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-coupon.php
+
+ -
+ message: '#^Parameter \#1 \$amount of method WC_Coupon\:\:set_amount\(\) expects float\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-coupon.php
+
+ -
+ message: '#^Parameter \#1 \$code of method WC_Coupon\:\:read_manual_coupon\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-coupon.php
+
+ -
+ message: '#^Parameter \#1 \$code of method WC_Coupon\:\:set_code\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-coupon.php
+
+ -
+ message: '#^Parameter \#1 \$discount_type of method WC_Coupon\:\:set_discount_type_core\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-coupon.php
+
+ -
+ message: '#^Parameter \#1 \$free_shipping of method WC_Coupon\:\:set_free_shipping\(\) expects bool, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-coupon.php
+
+ -
+ message: '#^Parameter \#1 \$id of method WC_Data\:\:set_id\(\) expects int, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-coupon.php
+
+ -
+ message: '#^Parameter \#1 \$id of method WC_Data\:\:set_id\(\) expects int, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-coupon.php
+
+ -
+ message: '#^Parameter \#1 \$number of function wc_format_decimal expects float\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 3
+ path: includes/class-wc-coupon.php
+
+ -
+ message: '#^Parameter \#1 \$post of function get_post_type expects int\|WP_Post\|null, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-coupon.php
+
+ -
+ message: '#^Parameter \#1 \$price of function wc_price expects float, string given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/class-wc-coupon.php
+
+ -
+ message: '#^Parameter \#1 \$read of method WC_Data\:\:__construct\(\) expects array\|int\|object, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-coupon.php
+
+ -
+ message: '#^Parameter \#2 \$allowed_html of function wp_kses expects array\<array\>\|string, array\<string, array\<string, bool\>\|true\> given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/class-wc-coupon.php
+
+ -
+ message: '#^Parameter \#2 \$value of method WC_Data\:\:set_date_prop\(\) expects int\|string, int\|string\|null given\.$#'
+ identifier: argument.type
+ count: 3
+ path: includes/class-wc-coupon.php
+
+ -
+ message: '#^Method WC_Customer_Download_Log\:\:get_permission_id\(\) should return int but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-customer-download-log.php
+
+ -
+ message: '#^Method WC_Customer_Download_Log\:\:get_timestamp\(\) should return WC_DateTime\|null but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-customer-download-log.php
+
+ -
+ message: '#^Method WC_Customer_Download_Log\:\:get_user_id\(\) should return int but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-customer-download-log.php
+
+ -
+ message: '#^Method WC_Customer_Download_Log\:\:get_user_ip_address\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-customer-download-log.php
+
+ -
+ message: '#^Method WC_Customer_Download_Log\:\:set_permission_id\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-customer-download-log.php
+
+ -
+ message: '#^Method WC_Customer_Download_Log\:\:set_timestamp\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-customer-download-log.php
+
+ -
+ message: '#^Method WC_Customer_Download_Log\:\:set_user_id\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-customer-download-log.php
+
+ -
+ message: '#^Method WC_Customer_Download_Log\:\:set_user_ip_address\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-customer-download-log.php
+
+ -
+ message: '#^Parameter \#2 \$value of method WC_Data\:\:set_date_prop\(\) expects int\|string, int\|string\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-customer-download-log.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_download_logs_count_for_permission\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-customer-download.php
+
+ -
+ message: '#^Call to an undefined method object\:\:read\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-customer-download.php
+
+ -
+ message: '#^Class WC_Customer_Download implements generic interface ArrayAccess but does not specify its types\: TKey, TValue$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/class-wc-customer-download.php
+
+ -
+ message: '#^Method WC_Customer_Download\:\:get_access_expires\(\) should return WC_DateTime\|null but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-customer-download.php
+
+ -
+ message: '#^Method WC_Customer_Download\:\:get_access_granted\(\) should return WC_DateTime\|null but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-customer-download.php
+
+ -
+ message: '#^Method WC_Customer_Download\:\:get_download_id\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-customer-download.php
+
+ -
+ message: '#^Method WC_Customer_Download\:\:get_downloads_remaining\(\) should return int\|string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-customer-download.php
+
+ -
+ message: '#^Method WC_Customer_Download\:\:get_order_id\(\) should return int but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-customer-download.php
+
+ -
+ message: '#^Method WC_Customer_Download\:\:get_order_key\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-customer-download.php
+
+ -
+ message: '#^Method WC_Customer_Download\:\:get_product_id\(\) should return int but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-customer-download.php
+
+ -
+ message: '#^Method WC_Customer_Download\:\:get_user_email\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-customer-download.php
+
+ -
+ message: '#^Method WC_Customer_Download\:\:get_user_id\(\) should return int but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-customer-download.php
+
+ -
+ message: '#^Method WC_Customer_Download\:\:set_access_expires\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-customer-download.php
+
+ -
+ message: '#^Method WC_Customer_Download\:\:set_access_granted\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-customer-download.php
+
+ -
+ message: '#^Method WC_Customer_Download\:\:set_download_count\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-customer-download.php
+
+ -
+ message: '#^Method WC_Customer_Download\:\:set_download_id\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-customer-download.php
+
+ -
+ message: '#^Method WC_Customer_Download\:\:set_downloads_remaining\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-customer-download.php
+
+ -
+ message: '#^Method WC_Customer_Download\:\:set_order_id\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-customer-download.php
+
+ -
+ message: '#^Method WC_Customer_Download\:\:set_order_key\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-customer-download.php
+
+ -
+ message: '#^Method WC_Customer_Download\:\:set_product_id\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-customer-download.php
+
+ -
+ message: '#^Method WC_Customer_Download\:\:set_user_email\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-customer-download.php
+
+ -
+ message: '#^Method WC_Customer_Download\:\:set_user_id\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-customer-download.php
+
+ -
+ message: '#^Method WC_Customer_Download\:\:track_download\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-customer-download.php
+
+ -
+ message: '#^Parameter \#1 \$email of function sanitize_email expects string, int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-customer-download.php
+
+ -
+ message: '#^Parameter \#2 \$value of method WC_Data\:\:set_date_prop\(\) expects int\|string, int\|string\|null given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/class-wc-customer-download.php
+
+ -
+ message: '#^Part \$offset \(mixed\) of encapsed string cannot be cast to string\.$#'
+ identifier: encapsedStringPart.nonString
+ count: 6
+ path: includes/class-wc-customer-download.php
+
+ -
+ message: '#^Call to an undefined method object\:\:delete\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-customer.php
+
+ -
+ message: '#^Call to an undefined method object\:\:get_last_order\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-customer.php
+
+ -
+ message: '#^Call to an undefined method object\:\:get_order_count\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-customer.php
+
+ -
+ message: '#^Call to an undefined method object\:\:get_total_spent\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-customer.php
+
+ -
+ message: '#^Cannot access offset ''address_1'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: includes/class-wc-customer.php
+
+ -
+ message: '#^Cannot access offset ''address_2'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: includes/class-wc-customer.php
+
+ -
+ message: '#^Cannot access offset ''city'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: includes/class-wc-customer.php
+
+ -
+ message: '#^Cannot access offset ''country'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: includes/class-wc-customer.php
+
+ -
+ message: '#^Cannot access offset ''postcode'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: includes/class-wc-customer.php
+
+ -
+ message: '#^Cannot access offset ''state'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: includes/class-wc-customer.php
+
+ -
+ message: '#^Method WC_Customer\:\:get_avatar_url\(\) should return string but returns string\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-customer.php
+
+ -
+ message: '#^Method WC_Customer\:\:get_billing_address_1\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-customer.php
+
+ -
+ message: '#^Method WC_Customer\:\:get_billing_address_2\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-customer.php
+
+ -
+ message: '#^Method WC_Customer\:\:get_billing_city\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-customer.php
+
+ -
+ message: '#^Method WC_Customer\:\:get_billing_company\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-customer.php
+
+ -
+ message: '#^Method WC_Customer\:\:get_billing_country\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-customer.php
+
+ -
+ message: '#^Method WC_Customer\:\:get_billing_email\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-customer.php
+
+ -
+ message: '#^Method WC_Customer\:\:get_billing_first_name\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-customer.php
+
+ -
+ message: '#^Method WC_Customer\:\:get_billing_last_name\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-customer.php
+
+ -
+ message: '#^Method WC_Customer\:\:get_billing_phone\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-customer.php
+
+ -
+ message: '#^Method WC_Customer\:\:get_billing_postcode\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-customer.php
+
+ -
+ message: '#^Method WC_Customer\:\:get_billing_state\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-customer.php
+
+ -
+ message: '#^Method WC_Customer\:\:get_calculated_shipping\(\) should return bool but returns string\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-customer.php
+
+ -
+ message: '#^Method WC_Customer\:\:get_date_created\(\) should return WC_DateTime\|null but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-customer.php
+
+ -
+ message: '#^Method WC_Customer\:\:get_date_modified\(\) should return WC_DateTime\|null but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-customer.php
+
+ -
+ message: '#^Method WC_Customer\:\:get_display_name\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-customer.php
+
+ -
+ message: '#^Method WC_Customer\:\:get_email\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-customer.php
+
+ -
+ message: '#^Method WC_Customer\:\:get_first_name\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-customer.php
+
+ -
+ message: '#^Method WC_Customer\:\:get_is_paying_customer\(\) should return bool but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-customer.php
+
+ -
+ message: '#^Method WC_Customer\:\:get_is_vat_exempt\(\) should return bool but returns string\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-customer.php
+
+ -
+ message: '#^Method WC_Customer\:\:get_last_name\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-customer.php
+
+ -
+ message: '#^Method WC_Customer\:\:get_role\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-customer.php
+
+ -
+ message: '#^Method WC_Customer\:\:get_shipping_address_1\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-customer.php
+
+ -
+ message: '#^Method WC_Customer\:\:get_shipping_address_2\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-customer.php
+
+ -
+ message: '#^Method WC_Customer\:\:get_shipping_city\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-customer.php
+
+ -
+ message: '#^Method WC_Customer\:\:get_shipping_company\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-customer.php
+
+ -
+ message: '#^Method WC_Customer\:\:get_shipping_country\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-customer.php
+
+ -
+ message: '#^Method WC_Customer\:\:get_shipping_first_name\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-customer.php
+
+ -
+ message: '#^Method WC_Customer\:\:get_shipping_last_name\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-customer.php
+
+ -
+ message: '#^Method WC_Customer\:\:get_shipping_phone\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-customer.php
+
+ -
+ message: '#^Method WC_Customer\:\:get_shipping_postcode\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-customer.php
+
+ -
+ message: '#^Method WC_Customer\:\:get_shipping_state\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-customer.php
+
+ -
+ message: '#^Method WC_Customer\:\:get_username\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-customer.php
+
+ -
+ message: '#^Method WC_Customer\:\:set_address_prop\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-customer.php
+
+ -
+ message: '#^Method WC_Customer\:\:set_billing_address\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-customer.php
+
+ -
+ message: '#^Method WC_Customer\:\:set_billing_address_1\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-customer.php
+
+ -
+ message: '#^Method WC_Customer\:\:set_billing_address_2\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-customer.php
+
+ -
+ message: '#^Method WC_Customer\:\:set_billing_address_to_base\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-customer.php
+
+ -
+ message: '#^Method WC_Customer\:\:set_billing_city\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-customer.php
+
+ -
+ message: '#^Method WC_Customer\:\:set_billing_company\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-customer.php
+
+ -
+ message: '#^Method WC_Customer\:\:set_billing_country\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-customer.php
+
+ -
+ message: '#^Method WC_Customer\:\:set_billing_email\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-customer.php
+
+ -
+ message: '#^Method WC_Customer\:\:set_billing_first_name\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-customer.php
+
+ -
+ message: '#^Method WC_Customer\:\:set_billing_last_name\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-customer.php
+
+ -
+ message: '#^Method WC_Customer\:\:set_billing_location\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-customer.php
+
+ -
+ message: '#^Method WC_Customer\:\:set_billing_phone\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-customer.php
+
+ -
+ message: '#^Method WC_Customer\:\:set_billing_postcode\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-customer.php
+
+ -
+ message: '#^Method WC_Customer\:\:set_billing_state\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-customer.php
+
+ -
+ message: '#^Method WC_Customer\:\:set_calculated_shipping\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-customer.php
+
+ -
+ message: '#^Method WC_Customer\:\:set_date_created\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-customer.php
+
+ -
+ message: '#^Method WC_Customer\:\:set_date_modified\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-customer.php
+
+ -
+ message: '#^Method WC_Customer\:\:set_display_name\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-customer.php
+
+ -
+ message: '#^Method WC_Customer\:\:set_email\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-customer.php
+
+ -
+ message: '#^Method WC_Customer\:\:set_first_name\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-customer.php
+
+ -
+ message: '#^Method WC_Customer\:\:set_is_paying_customer\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-customer.php
+
+ -
+ message: '#^Method WC_Customer\:\:set_is_vat_exempt\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-customer.php
+
+ -
+ message: '#^Method WC_Customer\:\:set_last_name\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-customer.php
+
+ -
+ message: '#^Method WC_Customer\:\:set_password\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-customer.php
+
+ -
+ message: '#^Method WC_Customer\:\:set_role\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-customer.php
+
+ -
+ message: '#^Method WC_Customer\:\:set_shipping_address\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-customer.php
+
+ -
+ message: '#^Method WC_Customer\:\:set_shipping_address_1\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-customer.php
+
+ -
+ message: '#^Method WC_Customer\:\:set_shipping_address_2\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-customer.php
+
+ -
+ message: '#^Method WC_Customer\:\:set_shipping_address_to_base\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-customer.php
+
+ -
+ message: '#^Method WC_Customer\:\:set_shipping_city\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-customer.php
+
+ -
+ message: '#^Method WC_Customer\:\:set_shipping_company\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-customer.php
+
+ -
+ message: '#^Method WC_Customer\:\:set_shipping_country\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-customer.php
+
+ -
+ message: '#^Method WC_Customer\:\:set_shipping_first_name\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-customer.php
+
+ -
+ message: '#^Method WC_Customer\:\:set_shipping_last_name\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-customer.php
+
+ -
+ message: '#^Method WC_Customer\:\:set_shipping_location\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-customer.php
+
+ -
+ message: '#^Method WC_Customer\:\:set_shipping_phone\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-customer.php
+
+ -
+ message: '#^Method WC_Customer\:\:set_shipping_postcode\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-customer.php
+
+ -
+ message: '#^Method WC_Customer\:\:set_shipping_state\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-customer.php
+
+ -
+ message: '#^Method WC_Customer\:\:set_username\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-customer.php
+
+ -
+ message: '#^Parameter \#2 \$value of method WC_Data\:\:set_date_prop\(\) expects int\|string, int\|string\|null given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/class-wc-customer.php
+
+ -
+ message: '#^Property WC_Customer\:\:\$calculated_shipping \(string\) does not accept bool\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: includes/class-wc-customer.php
+
+ -
+ message: '#^Property WC_Customer\:\:\$calculated_shipping \(string\) does not accept default value of type false\.$#'
+ identifier: property.defaultValue
+ count: 1
+ path: includes/class-wc-customer.php
+
+ -
+ message: '#^Property WC_Customer\:\:\$is_vat_exempt \(string\) does not accept bool\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: includes/class-wc-customer.php
+
+ -
+ message: '#^Property WC_Customer\:\:\$is_vat_exempt \(string\) does not accept default value of type false\.$#'
+ identifier: property.defaultValue
+ count: 1
+ path: includes/class-wc-customer.php
+
+ -
+ message: '#^Property WooCommerce\:\:\$session \(WC_Session\) in isset\(\) is not nullable\.$#'
+ identifier: isset.property
+ count: 1
+ path: includes/class-wc-customer.php
+
+ -
+ message: '#^Method WC_Data_Store\:\:create\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-data-store.php
+
+ -
+ message: '#^Method WC_Data_Store\:\:delete\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-data-store.php
+
+ -
+ message: '#^Method WC_Data_Store\:\:read\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-data-store.php
+
+ -
+ message: '#^Method WC_Data_Store\:\:read_multiple\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-data-store.php
+
+ -
+ message: '#^Method WC_Data_Store\:\:read_multiple\(\) has parameter \$objects with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/class-wc-data-store.php
+
+ -
+ message: '#^Method WC_Data_Store\:\:update\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-data-store.php
+
+ -
+ message: '#^PHPDoc tag @param for parameter \$objects contains unresolvable type\.$#'
+ identifier: parameter.unresolvableType
+ count: 1
+ path: includes/class-wc-data-store.php
+
+ -
+ message: '#^Parameter \#1 \$stack of function array_shift expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-data-store.php
+
+ -
+ message: '#^Property WC_Data_Store\:\:\$instance \(WC_Data_Store\) does not accept WC_Object_Data_Store_Interface\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: includes/class-wc-data-store.php
+
+ -
+ message: '#^Property WC_Data_Store\:\:\$instance \(WC_Data_Store\) does not accept object\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: includes/class-wc-data-store.php
+
+ -
+ message: '#^Call to function method_exists\(\) with ''DateTime'' and ''getTimestamp'' will always evaluate to true\.$#'
+ identifier: function.alreadyNarrowedType
+ count: 1
+ path: includes/class-wc-datetime.php
+
+ -
+ message: '#^Method WC_DateTime\:\:getTimestamp\(\) should return int but returns int\|string\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-datetime.php
+
+ -
+ message: '#^Method WC_DateTime\:\:set_utc_offset\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-datetime.php
+
+ -
+ message: '#^Method WC_Deprecated_Action_Hooks\:\:hook_in\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-deprecated-action-hooks.php
+
+ -
+ message: '#^Method WC_Deprecated_Filter_Hooks\:\:hook_in\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-deprecated-filter-hooks.php
+
+ -
+ message: '#^@param tag must not be named \$this\. Choose a descriptive alias, for example \$instance\.$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/class-wc-discounts.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$key\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/class-wc-discounts.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$object\.$#'
+ identifier: property.notFound
+ count: 2
+ path: includes/class-wc-discounts.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$price\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/class-wc-discounts.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$product\.$#'
+ identifier: property.notFound
+ count: 12
+ path: includes/class-wc-discounts.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$quantity\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/class-wc-discounts.php
+
+ -
+ message: '#^Binary operation "/" between string and 100 results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 2
+ path: includes/class-wc-discounts.php
+
+ -
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_product\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-discounts.php
+
+ -
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_subtotal\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-discounts.php
+
+ -
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_subtotal_tax\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-discounts.php
+
+ -
+ message: '#^Call to an undefined method object\:\:get_tentative_usages_for_user\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-discounts.php
+
+ -
+ message: '#^Call to an undefined method object\:\:get_usage_by_user_id\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-discounts.php
+
+ -
+ message: '#^Call to an undefined method object\:\:is_valid_for_cart\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-discounts.php
+
+ -
+ message: '#^Call to an undefined method object\:\:is_valid_for_product\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-discounts.php
+
+ -
+ message: '#^Cannot access property \$name on WP_Error\|WP_Term\|null\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/class-wc-discounts.php
+
+ -
+ message: '#^Cannot access property \$price on array\.$#'
+ identifier: property.nonObject
+ count: 4
+ path: includes/class-wc-discounts.php
+
+ -
+ message: '#^Cannot access property \$quantity on array\.$#'
+ identifier: property.nonObject
+ count: 4
+ path: includes/class-wc-discounts.php
+
+ -
+ message: '#^Method WC_Discounts\:\:apply_coupon_percent\(\) should return int but returns float\|int\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-discounts.php
+
+ -
+ message: '#^Method WC_Discounts\:\:get_discounted_price\(\) should return float but returns array\|int\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-discounts.php
+
+ -
+ message: '#^Method WC_Discounts\:\:get_discounts\(\) should return array but returns array\|int\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-discounts.php
+
+ -
+ message: '#^Method WC_Discounts\:\:get_discounts_by_coupon\(\) should return array but returns array\|int\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-discounts.php
+
+ -
+ message: '#^Method WC_Discounts\:\:get_discounts_by_item\(\) should return array but returns array\|int\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-discounts.php
+
+ -
+ message: '#^Method WC_Discounts\:\:get_object_subtotal\(\) should return int but returns float\|int\.$#'
+ identifier: return.type
+ count: 2
+ path: includes/class-wc-discounts.php
+
+ -
+ message: '#^Method WC_Discounts\:\:set_items\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-discounts.php
+
+ -
+ message: '#^Method WC_Discounts\:\:set_items_from_cart\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-discounts.php
+
+ -
+ message: '#^Method WC_Discounts\:\:set_items_from_order\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-discounts.php
+
+ -
+ message: '#^PHPDoc tag @param has invalid value \(WC_Discounts \$this The discounts instance\.\)\: Unexpected token "\$this", expected variable at offset 393 on line 9$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/class-wc-discounts.php
+
+ -
+ message: '#^Parameter \#1 \$err_code of method WC_Coupon\:\:get_coupon_error\(\) expects int, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-discounts.php
+
+ -
+ message: '#^Parameter \#1 \$object_or_string of function is_a expects object, WC_Cart\|WC_Order\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-discounts.php
+
+ -
+ message: '#^Parameter \#1 \$object_or_string of function is_a expects object, WC_Order\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-discounts.php
+
+ -
+ message: '#^Parameter \#1 \$price of function wc_price expects float, string given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/class-wc-discounts.php
+
+ -
+ message: '#^Parameter \#1 \$value of function wc_add_number_precision_deep expects array, float given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-discounts.php
+
+ -
+ message: '#^Parameter \#1 \$value of function wc_remove_number_precision_deep expects array, int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-discounts.php
+
+ -
+ message: '#^Parameter \#1 \$var of function count expects array\|Countable, array\<WC_Order\>\|stdClass given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-discounts.php
+
+ -
+ message: '#^Parameter \#2 \$allowed_html of function wp_kses expects array\<array\>\|string, array\<string, array\<string, bool\>\|true\> given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/class-wc-discounts.php
+
+ -
+ message: '#^Parameter \#3 \$amount of method WC_Discounts\:\:apply_coupon_fixed_cart\(\) expects int\|null, float\|int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-discounts.php
+
+ -
+ message: '#^Parameter \#3 \$amount of method WC_Discounts\:\:apply_coupon_remainder\(\) expects int, float given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-discounts.php
+
+ -
+ message: '#^Parameter \#3 \$amount of method WC_Discounts\:\:apply_coupon_remainder\(\) expects int, float\|int\<1, max\> given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-discounts.php
+
+ -
+ message: '#^@param WC_Product \$product does not accept actual type of parameter\: WC_Product\|false\|null\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: includes/class-wc-download-handler.php
+
+ -
+ message: '#^@param bool\|WC_Order \$order does not accept actual type of parameter\: bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: includes/class-wc-download-handler.php
+
+ -
+ message: '#^@param string \$email_address does not accept actual type of parameter\: mixed\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: includes/class-wc-download-handler.php
+
+ -
+ message: '#^@param string \$method does not accept actual type of parameter\: mixed\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: includes/class-wc-download-handler.php
+
+ -
+ message: '#^Action callback returns array but should not return anything\.$#'
+ identifier: return.void
+ count: 1
+ path: includes/class-wc-download-handler.php
+
+ -
+ message: '#^Binary operation "\." between ''Content\-Type\: '' and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: includes/class-wc-download-handler.php
+
+ -
+ message: '#^Binary operation "\." between non\-falsy\-string and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: includes/class-wc-download-handler.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_downloads\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-download-handler.php
+
+ -
+ message: '#^Call to static method instance\(\) on an unknown class ActionScheduler_Versions\.$#'
+ identifier: class.notFound
+ count: 1
+ path: includes/class-wc-download-handler.php
+
+ -
+ message: '#^Cannot call method get_file_download_path\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-download-handler.php
+
+ -
+ message: '#^Cannot call method is_download_permitted\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-download-handler.php
+
+ -
+ message: '#^Function as_schedule_single_action not found\.$#'
+ identifier: function.notFound
+ count: 1
+ path: includes/class-wc-download-handler.php
+
+ -
+ message: '#^Method WC_Download_Handler\:\:check_download_expiry\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-download-handler.php
+
+ -
+ message: '#^Method WC_Download_Handler\:\:check_download_login_required\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-download-handler.php
+
+ -
+ message: '#^Method WC_Download_Handler\:\:check_downloads_remaining\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-download-handler.php
+
+ -
+ message: '#^Method WC_Download_Handler\:\:check_order_is_valid\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-download-handler.php
+
+ -
+ message: '#^Method WC_Download_Handler\:\:check_server_config\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-download-handler.php
+
+ -
+ message: '#^Method WC_Download_Handler\:\:clean_buffers\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-download-handler.php
+
+ -
+ message: '#^Method WC_Download_Handler\:\:count_download\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-download-handler.php
+
+ -
+ message: '#^Method WC_Download_Handler\:\:download\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-download-handler.php
+
+ -
+ message: '#^Method WC_Download_Handler\:\:download_error\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-download-handler.php
+
+ -
+ message: '#^Method WC_Download_Handler\:\:download_file_force\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-download-handler.php
+
+ -
+ message: '#^Method WC_Download_Handler\:\:download_file_redirect\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-download-handler.php
+
+ -
+ message: '#^Method WC_Download_Handler\:\:download_file_xsendfile\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-download-handler.php
+
+ -
+ message: '#^Method WC_Download_Handler\:\:download_headers\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-download-handler.php
+
+ -
+ message: '#^Method WC_Download_Handler\:\:download_product\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-download-handler.php
+
+ -
+ message: '#^Method WC_Download_Handler\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-download-handler.php
+
+ -
+ message: '#^Parameter \#1 \$file_size of static method WC_Download_Handler\:\:get_download_range\(\) expects int, int\<0, max\>\|false given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/class-wc-download-handler.php
+
+ -
+ message: '#^Parameter \#1 \$haystack of function stristr expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 3
+ path: includes/class-wc-download-handler.php
+
+ -
+ message: '#^Parameter \#1 \$known_string of function hash_equals expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-download-handler.php
+
+ -
+ message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-download-handler.php
+
+ -
+ message: '#^Parameter \#1 \$object_or_string of function is_a expects object, bool\|WC_Order\|WC_Order_Refund given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-download-handler.php
+
+ -
+ message: '#^Parameter \#1 \$order_key of function wc_get_order_id_by_order_key expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-download-handler.php
+
+ -
+ message: '#^Parameter \#1 \$str of function sanitize_text_field expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/class-wc-download-handler.php
+
+ -
+ message: '#^Parameter \#1 \$str of function sha1 expects string, string\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-download-handler.php
+
+ -
+ message: '#^Parameter \#1 \$string of function substr expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-download-handler.php
+
+ -
+ message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/class-wc-download-handler.php
+
+ -
+ message: '#^Parameter \#2 \$data of function hash expects string, string\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-download-handler.php
+
+ -
+ message: '#^Parameter \#2 \$length of function fread expects int\<1, max\>, int given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/class-wc-download-handler.php
+
+ -
+ message: '#^Parameter \#2 \$value of function apache_setenv expects string, int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-download-handler.php
+
+ -
+ message: '#^Parameter \#3 \$subject of function preg_replace expects array\<float\|int\|string\>\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-download-handler.php
+
+ -
+ message: '#^Parameter \#3 \$subject of function str_replace expects array\<string\>\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-download-handler.php
+
+ -
+ message: '#^Parameter \#3 \$subject of function str_replace expects array\<string\>\|string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-download-handler.php
+
+ -
+ message: '#^Strict comparison using \=\=\= between null and int will always evaluate to false\.$#'
+ identifier: identical.alwaysFalse
+ count: 1
+ path: includes/class-wc-download-handler.php
+
+ -
+ message: '#^@param string \$recipient does not accept actual type of parameter\: mixed\.$#'
+ identifier: parameter.phpDocType
+ count: 3
+ path: includes/class-wc-emails.php
+
+ -
+ message: '#^@param tag must not be named \$this\. Choose a descriptive alias, for example \$instance\.$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/class-wc-emails.php
+
+ -
+ message: '#^Call to an undefined method WC_Email\:\:trigger\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/class-wc-emails.php
+
+ -
+ message: '#^Call to an undefined method object\:\:get_formatted_name\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-emails.php
+
+ -
+ message: '#^Call to an undefined method object\:\:get_stock_quantity\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-emails.php
+
+ -
+ message: '#^Cannot call method get_id\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-emails.php
+
+ -
+ message: '#^Cannot call method get_order_number\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-emails.php
+
+ -
+ message: '#^Expected 2 @param tags, found 1\.$#'
+ identifier: paramTag.count
+ count: 2
+ path: includes/class-wc-emails.php
+
+ -
+ message: '#^Expected 2 @param tags, found 3\.$#'
+ identifier: paramTag.count
+ count: 3
+ path: includes/class-wc-emails.php
+
+ -
+ message: '#^Expected 4 @param tags, found 3\.$#'
+ identifier: paramTag.count
+ count: 6
+ path: includes/class-wc-emails.php
+
+ -
+ message: '#^Method WC_Emails\:\:add_email_sender_filters\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-emails.php
+
+ -
+ message: '#^Method WC_Emails\:\:additional_address_fields\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-emails.php
+
+ -
+ message: '#^Method WC_Emails\:\:additional_checkout_fields\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-emails.php
+
+ -
+ message: '#^Method WC_Emails\:\:backorder\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-emails.php
+
+ -
+ message: '#^Method WC_Emails\:\:customer_details\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-emails.php
+
+ -
+ message: '#^Method WC_Emails\:\:customer_invoice\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-emails.php
+
+ -
+ message: '#^Method WC_Emails\:\:customer_new_account\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-emails.php
+
+ -
+ message: '#^Method WC_Emails\:\:email_addresses\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-emails.php
+
+ -
+ message: '#^Method WC_Emails\:\:email_footer\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-emails.php
+
+ -
+ message: '#^Method WC_Emails\:\:email_header\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-emails.php
+
+ -
+ message: '#^Method WC_Emails\:\:fulfillment_details\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-emails.php
+
+ -
+ message: '#^Method WC_Emails\:\:fulfillment_meta\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-emails.php
+
+ -
+ message: '#^Method WC_Emails\:\:get_store_address\(\) should return string but returns string\|null\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-emails.php
+
+ -
+ message: '#^Method WC_Emails\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-emails.php
+
+ -
+ message: '#^Method WC_Emails\:\:init_transactional_emails\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-emails.php
+
+ -
+ message: '#^Method WC_Emails\:\:low_stock\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-emails.php
+
+ -
+ message: '#^Method WC_Emails\:\:no_stock\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-emails.php
+
+ -
+ message: '#^Method WC_Emails\:\:order_details\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-emails.php
+
+ -
+ message: '#^Method WC_Emails\:\:order_downloads\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-emails.php
+
+ -
+ message: '#^Method WC_Emails\:\:order_meta\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-emails.php
+
+ -
+ message: '#^Method WC_Emails\:\:order_schema_markup\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-emails.php
+
+ -
+ message: '#^Method WC_Emails\:\:queue_transactional_email\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-emails.php
+
+ -
+ message: '#^Method WC_Emails\:\:remove_email_sender_filters\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-emails.php
+
+ -
+ message: '#^Method WC_Emails\:\:send_queued_transactional_email\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-emails.php
+
+ -
+ message: '#^Method WC_Emails\:\:send_transactional_email\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-emails.php
+
+ -
+ message: '#^Method WC_Emails\:\:wrap_message\(\) should return string but returns string\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-emails.php
+
+ -
+ message: '#^Parameter \#1 \$args of static method WC_Emails\:\:send_transactional_email\(\) expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-emails.php
+
+ -
+ message: '#^Parameter \#1 \$email of function sanitize_email expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-emails.php
+
+ -
+ message: '#^Parameter \#1 \$object_or_string of function is_a expects object, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-emails.php
+
+ -
+ message: '#^Parameter \#1 \$order of method WC_Structured_Data\:\:generate_order_data\(\) expects WP_Order, WC_Order given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-emails.php
+
+ -
+ message: '#^Parameter \#1 \$text of function wp_specialchars_decode expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/class-wc-emails.php
+
+ -
+ message: '#^Parameter \#1 \$text of function wp_strip_all_tags expects string, int\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-emails.php
+
+ -
+ message: '#^Parameter \#1 \$text of function wptexturize expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-emails.php
+
+ -
+ message: '#^Parameter \#1 \$to of method WC_Email\:\:send\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-emails.php
+
+ -
+ message: '#^Parameter \#2 \$replace of function str_replace expects array\<string\>\|string, array\<int, string\|false\|null\> given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-emails.php
+
+ -
+ message: '#^Parameter \#2 \$subject of method WC_Email\:\:send\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-emails.php
+
+ -
+ message: '#^Parameter \#3 \$message of method WC_Email\:\:send\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-emails.php
+
+ -
+ message: '#^Parameter \#5 \$attachments of method WC_Email\:\:send\(\) expects array, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-emails.php
+
+ -
+ message: '#^Cannot call method get_price_html\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-embed.php
+
+ -
+ message: '#^Cannot call method is_in_stock\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-embed.php
+
+ -
+ message: '#^Cannot call method is_purchasable\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-embed.php
+
+ -
+ message: '#^Cannot call method is_type\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-embed.php
+
+ -
+ message: '#^Method WC_Embed\:\:get_ratings\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-embed.php
+
+ -
+ message: '#^Method WC_Embed\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-embed.php
+
+ -
+ message: '#^Method WC_Embed\:\:print_embed_styles\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-embed.php
+
+ -
+ message: '#^Method WC_Embed\:\:remove_comments_button\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-embed.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_html expects string, float given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-embed.php
+
+ -
+ message: '#^@param WC_Order \$order does not accept actual type of parameter\: bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: includes/class-wc-form-handler.php
+
+ -
+ message: '#^Access to an undefined property WooCommerce\:\:\$payment_gateways\.$#'
+ identifier: property.notFound
+ count: 2
+ path: includes/class-wc-form-handler.php
+
+ -
+ message: '#^Cannot access offset ''qty'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/class-wc-form-handler.php
+
+ -
+ message: '#^Cannot access property \$ID on WP_User\|false\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/class-wc-form-handler.php
+
+ -
+ message: '#^Cannot access property \$first_name on WP_User\|false\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/class-wc-form-handler.php
+
+ -
+ message: '#^Cannot access property \$last_name on WP_User\|false\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/class-wc-form-handler.php
+
+ -
+ message: '#^Cannot access property \$user_email on WP_User\|false\.$#'
+ identifier: property.nonObject
+ count: 2
+ path: includes/class-wc-form-handler.php
+
+ -
+ message: '#^Cannot access property \$user_pass on WP_User\|false\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/class-wc-form-handler.php
+
+ -
+ message: '#^Cannot call method get_billing_city\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: includes/class-wc-form-handler.php
+
+ -
+ message: '#^Cannot call method get_billing_country\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: includes/class-wc-form-handler.php
+
+ -
+ message: '#^Cannot call method get_billing_postcode\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: includes/class-wc-form-handler.php
+
+ -
+ message: '#^Cannot call method get_billing_state\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: includes/class-wc-form-handler.php
+
+ -
+ message: '#^Cannot call method get_checkout_order_received_url\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-form-handler.php
+
+ -
+ message: '#^Cannot call method get_id\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 3
+ path: includes/class-wc-form-handler.php
+
+ -
+ message: '#^Cannot call method get_order_key\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: includes/class-wc-form-handler.php
+
+ -
+ message: '#^Cannot call method has_status\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-form-handler.php
+
+ -
+ message: '#^Cannot call method needs_payment\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: includes/class-wc-form-handler.php
+
+ -
+ message: '#^Cannot call method payment_complete\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-form-handler.php
+
+ -
+ message: '#^Cannot call method save\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-form-handler.php
+
+ -
+ message: '#^Cannot call method set_payment_method\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-form-handler.php
+
+ -
+ message: '#^Cannot call method update_status\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-form-handler.php
+
+ -
+ message: '#^Function remove_action invoked with 4 parameters, 2\-3 required\.$#'
+ identifier: arguments.count
+ count: 1
+ path: includes/class-wc-form-handler.php
+
+ -
+ message: '#^Method WC_Form_Handler\:\:add_payment_method_action\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-form-handler.php
+
+ -
+ message: '#^Method WC_Form_Handler\:\:add_to_cart_action\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-form-handler.php
+
+ -
+ message: '#^Method WC_Form_Handler\:\:cancel_order\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-form-handler.php
+
+ -
+ message: '#^Method WC_Form_Handler\:\:checkout_action\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-form-handler.php
+
+ -
+ message: '#^Method WC_Form_Handler\:\:delete_payment_method_action\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-form-handler.php
+
+ -
+ message: '#^Method WC_Form_Handler\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-form-handler.php
+
+ -
+ message: '#^Method WC_Form_Handler\:\:order_again\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-form-handler.php
+
+ -
+ message: '#^Method WC_Form_Handler\:\:pay_action\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-form-handler.php
+
+ -
+ message: '#^Method WC_Form_Handler\:\:process_login\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-form-handler.php
+
+ -
+ message: '#^Method WC_Form_Handler\:\:process_lost_password\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-form-handler.php
+
+ -
+ message: '#^Method WC_Form_Handler\:\:process_registration\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-form-handler.php
+
+ -
+ message: '#^Method WC_Form_Handler\:\:process_reset_password\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-form-handler.php
+
+ -
+ message: '#^Method WC_Form_Handler\:\:redirect_reset_password_link\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-form-handler.php
+
+ -
+ message: '#^Method WC_Form_Handler\:\:save_account_details\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-form-handler.php
+
+ -
+ message: '#^Method WC_Form_Handler\:\:save_address\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-form-handler.php
+
+ -
+ message: '#^Method WC_Form_Handler\:\:set_default_payment_method_action\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-form-handler.php
+
+ -
+ message: '#^Method WC_Form_Handler\:\:update_cart_action\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-form-handler.php
+
+ -
+ message: '#^Negated boolean expression is always false\.$#'
+ identifier: booleanNot.alwaysFalse
+ count: 1
+ path: includes/class-wc-form-handler.php
+
+ -
+ message: '#^Parameter \#1 \$amount of function wc_stock_amount expects float\|int, \(array\<string\>\|string\|null\) given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-form-handler.php
+
+ -
+ message: '#^Parameter \#1 \$amount of function wc_stock_amount expects float\|int, mixed given\.$#'
+ identifier: argument.type
+ count: 3
+ path: includes/class-wc-form-handler.php
+
+ -
+ message: '#^Parameter \#1 \$email of function is_email expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-form-handler.php
+
+ -
+ message: '#^Parameter \#1 \$email of function sanitize_email expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-form-handler.php
+
+ -
+ message: '#^Parameter \#1 \$email of function sanitize_email expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-form-handler.php
+
+ -
+ message: '#^Parameter \#1 \$key of static method WC_Shortcode_My_Account\:\:check_password_reset_key\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-form-handler.php
+
+ -
+ message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-form-handler.php
+
+ -
+ message: '#^Parameter \#1 \$nonce of function wp_verify_nonce expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 13
+ path: includes/class-wc-form-handler.php
+
+ -
+ message: '#^Parameter \#1 \$str of function sanitize_text_field expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 3
+ path: includes/class-wc-form-handler.php
+
+ -
+ message: '#^Parameter \#1 \$str of function urldecode expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-form-handler.php
+
+ -
+ message: '#^Parameter \#1 \$url of function esc_url expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-form-handler.php
+
+ -
+ message: '#^Parameter \#1 \$url of function wp_parse_url expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-form-handler.php
+
+ -
+ message: '#^Parameter \#1 \$value of method WC_Customer\:\:set_billing_first_name\(\) expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-form-handler.php
+
+ -
+ message: '#^Parameter \#1 \$value of method WC_Customer\:\:set_billing_last_name\(\) expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-form-handler.php
+
+ -
+ message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-form-handler.php
+
+ -
+ message: '#^Parameter \#2 \$country of function wc_format_postcode expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-form-handler.php
+
+ -
+ message: '#^Parameter \#2 \$country of static method WC_Validation\:\:is_postcode\(\) expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-form-handler.php
+
+ -
+ message: '#^Parameter \#2 \$default of function wc_get_var expects string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 8
+ path: includes/class-wc-form-handler.php
+
+ -
+ message: '#^Parameter \#2 \$login of static method WC_Shortcode_My_Account\:\:check_password_reset_key\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-form-handler.php
+
+ -
+ message: '#^Parameter \#2 \$new_pass of static method WC_Shortcode_My_Account\:\:reset_password\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-form-handler.php
+
+ -
+ message: '#^Parameter \#2 \$quantity of method WC_Cart\:\:add_to_cart\(\) expects int, float\|int given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/class-wc-form-handler.php
+
+ -
+ message: '#^Parameter \#2 \$quantity of method WC_Cart\:\:add_to_cart\(\) expects int, float\|int\<1, max\> given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-form-handler.php
+
+ -
+ message: '#^Parameter \#2 \$user_string of function hash_equals expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-form-handler.php
+
+ -
+ message: '#^Parameter \#2 \$username of function wc_create_new_customer expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-form-handler.php
+
+ -
+ message: '#^Parameter \#3 \$subject of function preg_replace expects array\<float\|int\|string\>\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-form-handler.php
+
+ -
+ message: '#^Parameter \#3 \$variation_id of method WC_Cart\:\:add_to_cart\(\) expects int, int\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-form-handler.php
+
+ -
+ message: '#^Parameter \#3 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-form-handler.php
+
+ -
+ message: '#^Strict comparison using \=\=\= between 0 and 0 will always evaluate to true\.$#'
+ identifier: identical.alwaysTrue
+ count: 1
+ path: includes/class-wc-form-handler.php
+
+ -
+ message: '#^Binary operation "\." between ''1\.0\.9\-wc\.'' and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: includes/class-wc-frontend-scripts.php
+
+ -
+ message: '#^Binary operation "\." between ''1\.4\.1\-wc\.'' and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: includes/class-wc-frontend-scripts.php
+
+ -
+ message: '#^Binary operation "\." between ''1\.7\.21\-wc\.'' and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: includes/class-wc-frontend-scripts.php
+
+ -
+ message: '#^Binary operation "\." between ''2\.1\.4\-wc\.'' and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: includes/class-wc-frontend-scripts.php
+
+ -
+ message: '#^Binary operation "\." between ''2\.7\.0\-wc\.'' and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: includes/class-wc-frontend-scripts.php
+
+ -
+ message: '#^Binary operation "\." between ''2\.7\.2\-wc\.'' and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: includes/class-wc-frontend-scripts.php
+
+ -
+ message: '#^Binary operation "\." between ''3\.0\.0\-wc\.'' and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: includes/class-wc-frontend-scripts.php
+
+ -
+ message: '#^Binary operation "\." between ''3\.1\.6\-wc\.'' and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: includes/class-wc-frontend-scripts.php
+
+ -
+ message: '#^Binary operation "\." between ''4\.0\.3\-wc\.'' and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: includes/class-wc-frontend-scripts.php
+
+ -
+ message: '#^Binary operation "\." between ''4\.1\.1\-wc\.'' and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 2
+ path: includes/class-wc-frontend-scripts.php
+
+ -
+ message: '#^Cannot call method get_providers\(\) on class\-string\|object\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-frontend-scripts.php
+
+ -
+ message: '#^Cannot call method get_providers\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-frontend-scripts.php
+
+ -
+ message: '#^Constant WC_VERSION not found\.$#'
+ identifier: constant.notFound
+ count: 4
+ path: includes/class-wc-frontend-scripts.php
+
+ -
+ message: '#^Default value of the parameter \#5 \$in_footer \(array\<string, string\>\) of method WC_Frontend_Scripts\:\:enqueue_script\(\) is incompatible with type bool\.$#'
+ identifier: parameter.defaultValue
+ count: 1
+ path: includes/class-wc-frontend-scripts.php
+
+ -
+ message: '#^Default value of the parameter \#5 \$in_footer \(array\<string, string\>\) of method WC_Frontend_Scripts\:\:register_script\(\) is incompatible with type bool\.$#'
+ identifier: parameter.defaultValue
+ count: 1
+ path: includes/class-wc-frontend-scripts.php
+
+ -
+ message: '#^Method WC_Frontend_Scripts\:\:enqueue_block_assets\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-frontend-scripts.php
+
+ -
+ message: '#^Method WC_Frontend_Scripts\:\:enqueue_script\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-frontend-scripts.php
+
+ -
+ message: '#^Method WC_Frontend_Scripts\:\:enqueue_style\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-frontend-scripts.php
+
+ -
+ message: '#^Method WC_Frontend_Scripts\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-frontend-scripts.php
+
+ -
+ message: '#^Method WC_Frontend_Scripts\:\:load_scripts\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-frontend-scripts.php
+
+ -
+ message: '#^Method WC_Frontend_Scripts\:\:localize_printed_scripts\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-frontend-scripts.php
+
+ -
+ message: '#^Method WC_Frontend_Scripts\:\:localize_script\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-frontend-scripts.php
+
+ -
+ message: '#^Method WC_Frontend_Scripts\:\:register_script\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-frontend-scripts.php
+
+ -
+ message: '#^Method WC_Frontend_Scripts\:\:register_scripts\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-frontend-scripts.php
+
+ -
+ message: '#^Method WC_Frontend_Scripts\:\:register_style\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-frontend-scripts.php
+
+ -
+ message: '#^Method WC_Frontend_Scripts\:\:register_styles\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-frontend-scripts.php
+
+ -
+ message: '#^One or more @param tags has an invalid name or invalid syntax\.$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/class-wc-frontend-scripts.php
+
+ -
+ message: '#^PHPDoc tag @param has invalid value \(array List of default WooCommerce styles\.\)\: Unexpected token "List", expected variable at offset 96 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/class-wc-frontend-scripts.php
+
+ -
+ message: '#^Parameter \#1 \$object of function method_exists expects object\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-frontend-scripts.php
+
+ -
+ message: '#^Parameter \#1 \$string of function wc_string_to_bool expects bool\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 4
+ path: includes/class-wc-frontend-scripts.php
+
+ -
+ message: '#^Parameter \#2 \$path of static method WC_Frontend_Scripts\:\:register_script\(\) expects string, false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-frontend-scripts.php
+
+ -
+ message: '#^Parameter \#4 \$ver of function wp_enqueue_style expects bool\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-frontend-scripts.php
+
+ -
+ message: '#^Parameter \#4 \$version of static method WC_Frontend_Scripts\:\:register_style\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-frontend-scripts.php
+
+ -
+ message: '#^Cannot access offset ''country'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/class-wc-geolite-integration.php
+
+ -
+ message: '#^Cannot access offset ''iso_code'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/class-wc-geolite-integration.php
+
+ -
+ message: '#^Method WC_Geolite_Integration\:\:log\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-geolite-integration.php
+
+ -
+ message: '#^Parameter \#1 \$str of function strtoupper expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-geolite-integration.php
+
+ -
+ message: '#^Property WC_Geolite_Integration\:\:\$log \(WC_Logger\) does not accept WC_Logger_Interface\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: includes/class-wc-geolite-integration.php
+
+ -
+ message: '#^@param string \$geolocation does not accept actual type of parameter\: false\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: includes/class-wc-geolocation.php
+
+ -
+ message: '#^Cannot access property \$country on mixed\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/class-wc-geolocation.php
+
+ -
+ message: '#^Cannot access property \$countryCode on mixed\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/class-wc-geolocation.php
+
+ -
+ message: '#^Cannot call method get_database_service\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-geolocation.php
+
+ -
+ message: '#^Cannot call method update_database\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-geolocation.php
+
+ -
+ message: '#^Method WC_Geolocation\:\:geolocate_via_api\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-geolocation.php
+
+ -
+ message: '#^Method WC_Geolocation\:\:update_database\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-geolocation.php
+
+ -
+ message: '#^Parameter \#1 \$array_arg of function current expects array\|object, list\<string\>\|false given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/class-wc-geolocation.php
+
+ -
+ message: '#^Parameter \#1 \$ip of function rest_is_ip_address expects string, string\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-geolocation.php
+
+ -
+ message: '#^Parameter \#1 \$str of function sanitize_text_field expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 4
+ path: includes/class-wc-geolocation.php
+
+ -
+ message: '#^Variable \$transient_name might not be defined\.$#'
+ identifier: variable.undefined
+ count: 1
+ path: includes/class-wc-geolocation.php
+
+ -
+ message: '#^Binary operation "\." between ''https\://'' and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: includes/class-wc-https.php
+
+ -
+ message: '#^Binary operation "\." between non\-falsy\-string and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 2
+ path: includes/class-wc-https.php
+
+ -
+ message: '#^Cannot cast mixed to string\.$#'
+ identifier: cast.string
+ count: 1
+ path: includes/class-wc-https.php
+
+ -
+ message: '#^Method WC_HTTPS\:\:force_https_template_redirect\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-https.php
+
+ -
+ message: '#^Method WC_HTTPS\:\:force_https_url\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-https.php
+
+ -
+ message: '#^Method WC_HTTPS\:\:http_api_curl\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-https.php
+
+ -
+ message: '#^Method WC_HTTPS\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-https.php
+
+ -
+ message: '#^Method WC_HTTPS\:\:unforce_https_template_redirect\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-https.php
+
+ -
+ message: '#^Parameter \#1 \$ch of function curl_setopt expects resource, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-https.php
+
+ -
+ message: '#^Parameter \#1 \$haystack of function strpos expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/class-wc-https.php
+
+ -
+ message: '#^Parameter \#3 \$subject of function preg_replace expects array\<float\|int\|string\>\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/class-wc-https.php
+
+ -
+ message: '#^Call to function method_exists\(\) with WC_Settings_Page and ''get_settings'' will always evaluate to true\.$#'
+ identifier: function.alreadyNarrowedType
+ count: 1
+ path: includes/class-wc-install.php
+
+ -
+ message: '#^Call to new WC_Notes_Run_Db_Update\(\) on a separate line has no effect\.$#'
+ identifier: new.resultUnused
+ count: 1
+ path: includes/class-wc-install.php
+
+ -
+ message: '#^Cannot access property \$download_link on array\|object\.$#'
+ identifier: property.nonObject
+ count: 2
+ path: includes/class-wc-install.php
+
+ -
+ message: '#^Cannot call method change_feature_enable\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 3
+ path: includes/class-wc-install.php
+
+ -
+ message: '#^Cannot call method feature_is_enabled\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: includes/class-wc-install.php
+
+ -
+ message: '#^Cannot call method get_all_active_valid_plugins\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-install.php
+
+ -
+ message: '#^Cannot call method get_compatible_plugins_for_feature\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-install.php
+
+ -
+ message: '#^Cannot call method get_database_schema\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 3
+ path: includes/class-wc-install.php
+
+ -
+ message: '#^Cannot call method get_legacy_webhooks_count\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-install.php
+
+ -
+ message: '#^Cannot call method get_max_index_length\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-install.php
+
+ -
+ message: '#^Cannot call method get_missing_tables\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-install.php
+
+ -
+ message: '#^Cannot call method get_table_creation_sql\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-install.php
+
+ -
+ message: '#^Cannot call method init_feature\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-install.php
+
+ -
+ message: '#^Cannot call method install_plugin\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-install.php
+
+ -
+ message: '#^Cannot cast mixed to int\.$#'
+ identifier: cast.int
+ count: 2
+ path: includes/class-wc-install.php
+
+ -
+ message: '#^Class WC_Post_Types referenced with incorrect case\: WC_Post_types\.$#'
+ identifier: class.nameCase
+ count: 2
+ path: includes/class-wc-install.php
+
+ -
+ message: '#^Constant WC_PLUGIN_BASENAME not found\.$#'
+ identifier: constant.notFound
+ count: 2
+ path: includes/class-wc-install.php
+
+ -
+ message: '#^Function as_schedule_single_action not found\.$#'
+ identifier: function.notFound
+ count: 2
+ path: includes/class-wc-install.php
+
+ -
+ message: '#^Method WC_Install\:\:add_coming_soon_option\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-install.php
+
+ -
+ message: '#^Method WC_Install\:\:add_update_db_notice\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-install.php
+
+ -
+ message: '#^Method WC_Install\:\:associate_plugin_file\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-install.php
+
+ -
+ message: '#^Method WC_Install\:\:background_installer\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-install.php
+
+ -
+ message: '#^Method WC_Install\:\:check_version\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-install.php
+
+ -
+ message: '#^Method WC_Install\:\:clear_cron_jobs\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-install.php
+
+ -
+ message: '#^Method WC_Install\:\:create_files\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-install.php
+
+ -
+ message: '#^Method WC_Install\:\:create_options\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-install.php
+
+ -
+ message: '#^Method WC_Install\:\:create_pages\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-install.php
+
+ -
+ message: '#^Method WC_Install\:\:create_placeholder_image\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-install.php
+
+ -
+ message: '#^Method WC_Install\:\:create_roles\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-install.php
+
+ -
+ message: '#^Method WC_Install\:\:create_terms\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-install.php
+
+ -
+ message: '#^Method WC_Install\:\:delete_obsolete_notes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-install.php
+
+ -
+ message: '#^Method WC_Install\:\:enable_customer_stock_notifications_signups\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-install.php
+
+ -
+ message: '#^Method WC_Install\:\:enable_email_improvements_for_existing_merchants\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-install.php
+
+ -
+ message: '#^Method WC_Install\:\:enable_email_improvements_for_newly_installed\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-install.php
+
+ -
+ message: '#^Method WC_Install\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-install.php
+
+ -
+ message: '#^Method WC_Install\:\:install\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-install.php
+
+ -
+ message: '#^Method WC_Install\:\:install_actions\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-install.php
+
+ -
+ message: '#^Method WC_Install\:\:install_core\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-install.php
+
+ -
+ message: '#^Method WC_Install\:\:manual_database_update\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-install.php
+
+ -
+ message: '#^Method WC_Install\:\:maybe_activate_legacy_api_enabled_option\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-install.php
+
+ -
+ message: '#^Method WC_Install\:\:maybe_create_pages\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-install.php
+
+ -
+ message: '#^Method WC_Install\:\:maybe_enable_hpos\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-install.php
+
+ -
+ message: '#^Method WC_Install\:\:maybe_install_legacy_api_plugin\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-install.php
+
+ -
+ message: '#^Method WC_Install\:\:maybe_set_activation_transients\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-install.php
+
+ -
+ message: '#^Method WC_Install\:\:maybe_set_store_id\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-install.php
+
+ -
+ message: '#^Method WC_Install\:\:maybe_update_db_version\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-install.php
+
+ -
+ message: '#^Method WC_Install\:\:migrate_options\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-install.php
+
+ -
+ message: '#^Method WC_Install\:\:newly_installed\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-install.php
+
+ -
+ message: '#^Method WC_Install\:\:plugin_row_meta\(\) should return array but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-install.php
+
+ -
+ message: '#^Method WC_Install\:\:remove_admin_notices\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-install.php
+
+ -
+ message: '#^Method WC_Install\:\:remove_mailchimps_redirect\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-install.php
+
+ -
+ message: '#^Method WC_Install\:\:remove_roles\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-install.php
+
+ -
+ message: '#^Method WC_Install\:\:remove_update_db_notice\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-install.php
+
+ -
+ message: '#^Method WC_Install\:\:run_manual_database_update\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-install.php
+
+ -
+ message: '#^Method WC_Install\:\:run_update_callback\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-install.php
+
+ -
+ message: '#^Method WC_Install\:\:run_update_callback_end\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-install.php
+
+ -
+ message: '#^Method WC_Install\:\:run_update_callback_start\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-install.php
+
+ -
+ message: '#^Method WC_Install\:\:set_paypal_standard_load_eligibility\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-install.php
+
+ -
+ message: '#^Method WC_Install\:\:setup_environment\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-install.php
+
+ -
+ message: '#^Method WC_Install\:\:theme_background_installer\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-install.php
+
+ -
+ message: '#^Method WC_Install\:\:update\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-install.php
+
+ -
+ message: '#^Method WC_Install\:\:update_db_version\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-install.php
+
+ -
+ message: '#^Method WC_Install\:\:update_wc_version\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-install.php
+
+ -
+ message: '#^Method WC_Install\:\:wc_admin_db_update_notice\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-install.php
+
+ -
+ message: '#^Parameter \#1 \$arr1 of function array_merge expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-install.php
+
+ -
+ message: '#^Parameter \#1 \$page_id of static method WC_Notes_Refund_Returns\:\:possibly_add_note\(\) expects int, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-install.php
+
+ -
+ message: '#^Parameter \#1 \$post of function wp_attachment_is_image expects int\|WP_Post\|null, float\|int\<min, \-1\>\|int\<1, max\>\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-install.php
+
+ -
+ message: '#^Parameter \#1 \$version1 of function version_compare expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 4
+ path: includes/class-wc-install.php
+
+ -
+ message: '#^Parameter \#2 \$version2 of function version_compare expects string, int\|string\|null given\.$#'
+ identifier: argument.type
+ count: 4
+ path: includes/class-wc-install.php
+
+ -
+ message: '#^Parameter \#2 \.\.\.\$args of function array_merge expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-install.php
+
+ -
+ message: '#^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-install.php
+
+ -
+ message: '#^Parameter \#4 \$autoload of function add_option expects bool\|null, string given\.$#'
+ identifier: argument.type
+ count: 5
+ path: includes/class-wc-install.php
+
+ -
+ message: '#^Parameter \#5 \$post_parent of function wc_create_page expects int, int\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-install.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$id\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/class-wc-integrations.php
+
+ -
+ message: '#^Method WC_Logger\:\:alert\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-logger.php
+
+ -
+ message: '#^Method WC_Logger\:\:critical\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-logger.php
+
+ -
+ message: '#^Method WC_Logger\:\:debug\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-logger.php
+
+ -
+ message: '#^Method WC_Logger\:\:emergency\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-logger.php
+
+ -
+ message: '#^Method WC_Logger\:\:error\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-logger.php
+
+ -
+ message: '#^Method WC_Logger\:\:info\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-logger.php
+
+ -
+ message: '#^Method WC_Logger\:\:notice\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-logger.php
+
+ -
+ message: '#^Method WC_Logger\:\:warning\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-logger.php
+
+ -
+ message: '#^One or more @param tags has an invalid name or invalid syntax\.$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/class-wc-logger.php
+
+ -
+ message: '#^PHPDoc tag @param has invalid value \(WC_Log_Handler_Interface\[\]\)\: Unexpected token "\\n\\t\\t\\t \*", expected variable at offset 147 on line 4$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/class-wc-logger.php
+
+ -
+ message: '#^Parameter \#1 \$level of static method WC_Log_Levels\:\:get_level_severity\(\) expects string, int\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-logger.php
+
+ -
+ message: '#^Parameter \#1 \$level of static method WC_Log_Levels\:\:is_valid_level\(\) expects string, int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-logger.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_html expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-logger.php
+
+ -
+ message: '#^Property WC_Logger\:\:\$threshold \(int\) does not accept string\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: includes/class-wc-logger.php
+
+ -
+ message: '#^Method WC_Meta_Data\:\:apply_changes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-meta-data.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_order_item_type\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-order-factory.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_order_type\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-order-factory.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_orders_type\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-order-factory.php
+
+ -
+ message: '#^Call to an undefined method object\:\:get_data_store\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-order-factory.php
+
+ -
+ message: '#^Call to an undefined method object\:\:get_id\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/class-wc-order-factory.php
+
+ -
+ message: '#^Call to an undefined method object\:\:set_defaults\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-order-factory.php
+
+ -
+ message: '#^Call to an undefined method object\:\:set_id\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-order-factory.php
+
+ -
+ message: '#^Cannot access offset ''class_name'' on non\-empty\-array\|true\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/class-wc-order-factory.php
+
+ -
+ message: '#^Cannot access property \$ID on mixed\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/class-wc-order-factory.php
+
+ -
+ message: '#^Cannot call method get\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: includes/class-wc-order-factory.php
+
+ -
+ message: '#^Cannot call method set\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: includes/class-wc-order-factory.php
+
+ -
+ message: '#^Method WC_Order_Factory\:\:get_order\(\) should return bool\|WC_Order but returns object\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-order-factory.php
+
+ -
+ message: '#^Method WC_Order_Factory\:\:get_order_id\(\) should return bool\|int but returns float\|int\|string\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-order-factory.php
+
+ -
+ message: '#^Method WC_Order_Factory\:\:get_order_item\(\) should return WC_Order_Item\|false but returns object\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-order-factory.php
+
+ -
+ message: '#^Method WC_Order_Factory\:\:get_orders\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-order-factory.php
+
+ -
+ message: '#^PHPDoc tag @return contains unresolvable type\.$#'
+ identifier: return.unresolvableType
+ count: 1
+ path: includes/class-wc-order-factory.php
+
+ -
+ message: '#^Parameter \#1 \$input of function array_flip expects array\<int\|string\>, array\<int\<min, \-1\>\|int\<1, max\>\|true\> given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-order-factory.php
+
+ -
+ message: '#^Parameter \#1 \$order_id of static method WC_Order_Factory\:\:get_class_name_for_order_id\(\) expects int, int\<min, \-1\>\|int\<1, max\>\|true given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-order-factory.php
+
+ -
+ message: '#^Method WC_Order_Item_Coupon\:\:get_code\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-order-item-coupon.php
+
+ -
+ message: '#^Method WC_Order_Item_Coupon\:\:get_discount\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-order-item-coupon.php
+
+ -
+ message: '#^Method WC_Order_Item_Coupon\:\:get_discount_tax\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-order-item-coupon.php
+
+ -
+ message: '#^Method WC_Order_Item_Coupon\:\:set_code\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-order-item-coupon.php
+
+ -
+ message: '#^Method WC_Order_Item_Coupon\:\:set_discount\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-order-item-coupon.php
+
+ -
+ message: '#^Method WC_Order_Item_Coupon\:\:set_discount_tax\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-order-item-coupon.php
+
+ -
+ message: '#^Method WC_Order_Item_Coupon\:\:set_name\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-order-item-coupon.php
+
+ -
+ message: '#^Binary operation "\*" between string and float results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: includes/class-wc-order-item-fee.php
+
+ -
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_total\(\)\.$#'
+ identifier: method.notFound
+ count: 4
+ path: includes/class-wc-order-item-fee.php
+
+ -
+ message: '#^Cannot access offset ''total'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/class-wc-order-item-fee.php
+
+ -
+ message: '#^Method WC_Order_Item_Fee\:\:get_amount\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-order-item-fee.php
+
+ -
+ message: '#^Method WC_Order_Item_Fee\:\:get_name\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 2
+ path: includes/class-wc-order-item-fee.php
+
+ -
+ message: '#^Method WC_Order_Item_Fee\:\:get_tax_class\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-order-item-fee.php
+
+ -
+ message: '#^Method WC_Order_Item_Fee\:\:get_tax_status\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-order-item-fee.php
+
+ -
+ message: '#^Method WC_Order_Item_Fee\:\:get_taxes\(\) should return array but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-order-item-fee.php
+
+ -
+ message: '#^Method WC_Order_Item_Fee\:\:get_total\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-order-item-fee.php
+
+ -
+ message: '#^Method WC_Order_Item_Fee\:\:get_total_tax\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-order-item-fee.php
+
+ -
+ message: '#^Method WC_Order_Item_Fee\:\:set_amount\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-order-item-fee.php
+
+ -
+ message: '#^Method WC_Order_Item_Fee\:\:set_tax_class\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-order-item-fee.php
+
+ -
+ message: '#^Method WC_Order_Item_Fee\:\:set_tax_status\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-order-item-fee.php
+
+ -
+ message: '#^Method WC_Order_Item_Fee\:\:set_taxes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-order-item-fee.php
+
+ -
+ message: '#^Method WC_Order_Item_Fee\:\:set_total\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-order-item-fee.php
+
+ -
+ message: '#^Method WC_Order_Item_Fee\:\:set_total_tax\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-order-item-fee.php
+
+ -
+ message: '#^Parameter \#1 \$amount of method WC_Order_Item_Fee\:\:set_total_tax\(\) expects string, float given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/class-wc-order-item-fee.php
+
+ -
+ message: '#^Parameter \#1 \$callback of function array_map expects \(callable\(mixed\)\: mixed\)\|null, ''wc_format_decimal'' given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-order-item-fee.php
+
+ -
+ message: '#^Parameter \#1 \$callback of function array_map expects \(callable\(string\)\: mixed\)\|null, ''wc_round_tax_total'' given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-order-item-fee.php
+
+ -
+ message: '#^Parameter \#1 \$data of function maybe_unserialize expects string, array given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-order-item-fee.php
+
+ -
+ message: '#^Parameter \#1 \$raw_tax_data of method WC_Order_Item_Fee\:\:set_taxes\(\) expects array, false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-order-item-fee.php
+
+ -
+ message: '#^Parameter \#2 \$array of function array_map expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-order-item-fee.php
+
+ -
+ message: '#^Property WC_Order_Item_Fee\:\:\$legacy_fee \(object\) does not accept default value of type string\.$#'
+ identifier: property.defaultValue
+ count: 1
+ path: includes/class-wc-order-item-fee.php
+
+ -
+ message: '#^Argument of an invalid type array\|null supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
+ count: 1
+ path: includes/class-wc-order-item-meta.php
+
+ -
+ message: '#^Parameter \#2 \$product of function wc_attribute_label expects WC_Product, WC_Product\|null given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/class-wc-order-item-meta.php
+
+ -
+ message: '#^Variable \$meta_list in empty\(\) always exists and is not falsy\.$#'
+ identifier: empty.variable
+ count: 1
+ path: includes/class-wc-order-item-meta.php
+
+ -
+ message: '#^@param tag must not be named \$this\. Choose a descriptive alias, for example \$instance\.$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/class-wc-order-item-product.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_downloads\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-order-item-product.php
+
+ -
+ message: '#^Cannot access offset ''subtotal'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/class-wc-order-item-product.php
+
+ -
+ message: '#^Cannot access offset ''total'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/class-wc-order-item-product.php
+
+ -
+ message: '#^Cannot call method backorders_require_notification\(\) on WC_Product\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-order-item-product.php
+
+ -
+ message: '#^Cannot call method get_cogs_total_value\(\) on WC_Product\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-order-item-product.php
+
+ -
+ message: '#^Cannot call method get_data\(\) on array\|false\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-order-item-product.php
+
+ -
+ message: '#^Cannot call method get_file\(\) on WC_Product\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-order-item-product.php
+
+ -
+ message: '#^Cannot call method get_stock_quantity\(\) on WC_Product\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-order-item-product.php
+
+ -
+ message: '#^Cannot call method get_tax_status\(\) on WC_Product\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-order-item-product.php
+
+ -
+ message: '#^Cannot call method has_file\(\) on WC_Product\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-order-item-product.php
+
+ -
+ message: '#^Cannot call method is_downloadable\(\) on WC_Product\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-order-item-product.php
+
+ -
+ message: '#^Cannot call method is_on_backorder\(\) on WC_Product\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-order-item-product.php
+
+ -
+ message: '#^Method WC_Order_Item_Product\:\:get_item_downloads\(\) should return array but return statement is missing\.$#'
+ identifier: return.missing
+ count: 1
+ path: includes/class-wc-order-item-product.php
+
+ -
+ message: '#^Method WC_Order_Item_Product\:\:get_product_id\(\) should return int but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-order-item-product.php
+
+ -
+ message: '#^Method WC_Order_Item_Product\:\:get_quantity\(\) should return int but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-order-item-product.php
+
+ -
+ message: '#^Method WC_Order_Item_Product\:\:get_subtotal\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-order-item-product.php
+
+ -
+ message: '#^Method WC_Order_Item_Product\:\:get_subtotal_tax\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-order-item-product.php
+
+ -
+ message: '#^Method WC_Order_Item_Product\:\:get_tax_class\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-order-item-product.php
+
+ -
+ message: '#^Method WC_Order_Item_Product\:\:get_taxes\(\) should return array but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-order-item-product.php
+
+ -
+ message: '#^Method WC_Order_Item_Product\:\:get_total\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-order-item-product.php
+
+ -
+ message: '#^Method WC_Order_Item_Product\:\:get_total_tax\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-order-item-product.php
+
+ -
+ message: '#^Method WC_Order_Item_Product\:\:get_variation_id\(\) should return int but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-order-item-product.php
+
+ -
+ message: '#^Method WC_Order_Item_Product\:\:set_backorder_meta\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-order-item-product.php
+
+ -
+ message: '#^Method WC_Order_Item_Product\:\:set_product\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-order-item-product.php
+
+ -
+ message: '#^Method WC_Order_Item_Product\:\:set_product_id\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-order-item-product.php
+
+ -
+ message: '#^Method WC_Order_Item_Product\:\:set_quantity\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-order-item-product.php
+
+ -
+ message: '#^Method WC_Order_Item_Product\:\:set_subtotal\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-order-item-product.php
+
+ -
+ message: '#^Method WC_Order_Item_Product\:\:set_subtotal_tax\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-order-item-product.php
+
+ -
+ message: '#^Method WC_Order_Item_Product\:\:set_tax_class\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-order-item-product.php
+
+ -
+ message: '#^Method WC_Order_Item_Product\:\:set_taxes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-order-item-product.php
+
+ -
+ message: '#^Method WC_Order_Item_Product\:\:set_total\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-order-item-product.php
+
+ -
+ message: '#^Method WC_Order_Item_Product\:\:set_total_tax\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-order-item-product.php
+
+ -
+ message: '#^Method WC_Order_Item_Product\:\:set_variation\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-order-item-product.php
+
+ -
+ message: '#^Method WC_Order_Item_Product\:\:set_variation_id\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-order-item-product.php
+
+ -
+ message: '#^PHPDoc tag @param has invalid value \(WC_Order_Item_Product \$this The order item product object\.\)\: Unexpected token "\$this", expected variable at offset 209 on line 7$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/class-wc-order-item-product.php
+
+ -
+ message: '#^Parameter \#1 \$callback of function array_map expects \(callable\(mixed\)\: mixed\)\|null, ''wc_format_decimal'' given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/class-wc-order-item-product.php
+
+ -
+ message: '#^Parameter \#1 \$callback of function array_map expects \(callable\(string\)\: mixed\)\|null, ''wc_round_tax_total'' given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/class-wc-order-item-product.php
+
+ -
+ message: '#^Parameter \#1 \$data of function maybe_unserialize expects string, array given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-order-item-product.php
+
+ -
+ message: '#^Parameter \#1 \$value of method WC_Order_Item_Product\:\:set_subtotal\(\) expects string, int\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-order-item-product.php
+
+ -
+ message: '#^Parameter \#1 \$value of method WC_Order_Item_Product\:\:set_subtotal_tax\(\) expects string, float given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/class-wc-order-item-product.php
+
+ -
+ message: '#^Parameter \#1 \$value of method WC_Order_Item_Product\:\:set_total_tax\(\) expects string, float given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/class-wc-order-item-product.php
+
+ -
+ message: '#^Parameter \#2 \$array of function array_map expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/class-wc-order-item-product.php
+
+ -
+ message: '#^Parameter \#2 \$value of method WC_Data\:\:add_meta_data\(\) expects array\|string, int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-order-item-product.php
+
+ -
+ message: '#^Parameter \#2 \$value of method WC_Data\:\:add_meta_data\(\) expects array\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-order-item-product.php
+
+ -
+ message: '#^Cannot access offset ''total'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/class-wc-order-item-shipping.php
+
+ -
+ message: '#^Method WC_Order_Item_Shipping\:\:get_instance_id\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-order-item-shipping.php
+
+ -
+ message: '#^Method WC_Order_Item_Shipping\:\:get_method_id\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-order-item-shipping.php
+
+ -
+ message: '#^Method WC_Order_Item_Shipping\:\:get_method_title\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 2
+ path: includes/class-wc-order-item-shipping.php
+
+ -
+ message: '#^Method WC_Order_Item_Shipping\:\:get_tax_class\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-order-item-shipping.php
+
+ -
+ message: '#^Method WC_Order_Item_Shipping\:\:get_taxes\(\) should return array but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-order-item-shipping.php
+
+ -
+ message: '#^Method WC_Order_Item_Shipping\:\:get_total\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-order-item-shipping.php
+
+ -
+ message: '#^Method WC_Order_Item_Shipping\:\:get_total_tax\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-order-item-shipping.php
+
+ -
+ message: '#^Method WC_Order_Item_Shipping\:\:set_instance_id\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-order-item-shipping.php
+
+ -
+ message: '#^Method WC_Order_Item_Shipping\:\:set_method_id\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-order-item-shipping.php
+
+ -
+ message: '#^Method WC_Order_Item_Shipping\:\:set_method_title\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-order-item-shipping.php
+
+ -
+ message: '#^Method WC_Order_Item_Shipping\:\:set_name\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-order-item-shipping.php
+
+ -
+ message: '#^Method WC_Order_Item_Shipping\:\:set_shipping_rate\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-order-item-shipping.php
+
+ -
+ message: '#^Method WC_Order_Item_Shipping\:\:set_taxes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-order-item-shipping.php
+
+ -
+ message: '#^Method WC_Order_Item_Shipping\:\:set_total\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-order-item-shipping.php
+
+ -
+ message: '#^Method WC_Order_Item_Shipping\:\:set_total_tax\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-order-item-shipping.php
+
+ -
+ message: '#^Parameter \#1 \$callback of function array_map expects \(callable\(mixed\)\: mixed\)\|null, ''wc_format_decimal'' given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/class-wc-order-item-shipping.php
+
+ -
+ message: '#^Parameter \#1 \$callback of function array_map expects \(callable\(string\)\: mixed\)\|null, ''wc_round_tax_total'' given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-order-item-shipping.php
+
+ -
+ message: '#^Parameter \#1 \$data of function maybe_unserialize expects string, array given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-order-item-shipping.php
+
+ -
+ message: '#^Parameter \#1 \$instance_id of static method WC_Shipping_Zones\:\:get_shipping_method\(\) expects int, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-order-item-shipping.php
+
+ -
+ message: '#^Parameter \#1 \$price of static method WC_Tax\:\:calc_tax\(\) expects float, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-order-item-shipping.php
+
+ -
+ message: '#^Parameter \#1 \$raw_tax_data of method WC_Order_Item_Shipping\:\:set_taxes\(\) expects array, false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-order-item-shipping.php
+
+ -
+ message: '#^Parameter \#1 \$value of method WC_Order_Item_Shipping\:\:set_instance_id\(\) expects string, int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-order-item-shipping.php
+
+ -
+ message: '#^Parameter \#1 \$value of method WC_Order_Item_Shipping\:\:set_total_tax\(\) expects string, float given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/class-wc-order-item-shipping.php
+
+ -
+ message: '#^Parameter \#2 \$array of function array_map expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-order-item-shipping.php
+
+ -
+ message: '#^Method WC_Order_Item_Tax\:\:get_compound\(\) should return bool but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-order-item-tax.php
+
+ -
+ message: '#^Method WC_Order_Item_Tax\:\:get_label\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 2
+ path: includes/class-wc-order-item-tax.php
+
+ -
+ message: '#^Method WC_Order_Item_Tax\:\:get_rate_code\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-order-item-tax.php
+
+ -
+ message: '#^Method WC_Order_Item_Tax\:\:get_rate_id\(\) should return int but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-order-item-tax.php
+
+ -
+ message: '#^Method WC_Order_Item_Tax\:\:get_rate_percent\(\) should return float but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-order-item-tax.php
+
+ -
+ message: '#^Method WC_Order_Item_Tax\:\:get_shipping_tax_total\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-order-item-tax.php
+
+ -
+ message: '#^Method WC_Order_Item_Tax\:\:get_tax_total\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-order-item-tax.php
+
+ -
+ message: '#^Method WC_Order_Item_Tax\:\:set_compound\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-order-item-tax.php
+
+ -
+ message: '#^Method WC_Order_Item_Tax\:\:set_label\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-order-item-tax.php
+
+ -
+ message: '#^Method WC_Order_Item_Tax\:\:set_name\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-order-item-tax.php
+
+ -
+ message: '#^Method WC_Order_Item_Tax\:\:set_rate\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-order-item-tax.php
+
+ -
+ message: '#^Method WC_Order_Item_Tax\:\:set_rate_code\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-order-item-tax.php
+
+ -
+ message: '#^Method WC_Order_Item_Tax\:\:set_rate_id\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-order-item-tax.php
+
+ -
+ message: '#^Method WC_Order_Item_Tax\:\:set_rate_percent\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-order-item-tax.php
+
+ -
+ message: '#^Method WC_Order_Item_Tax\:\:set_shipping_tax_total\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-order-item-tax.php
+
+ -
+ message: '#^Method WC_Order_Item_Tax\:\:set_tax_total\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-order-item-tax.php
+
+ -
+ message: '#^Access to an undefined property WC_Meta_Data\:\:\$id\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/class-wc-order-item.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$key\.$#'
+ identifier: property.notFound
+ count: 3
+ path: includes/class-wc-order-item.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$value\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/class-wc-order-item.php
+
+ -
+ message: '#^Argument of an invalid type array\<WC_Meta_Data\>\|null supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
+ count: 1
+ path: includes/class-wc-order-item.php
+
+ -
+ message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
+ count: 1
+ path: includes/class-wc-order-item.php
+
+ -
+ message: '#^Call to an undefined method \$this\(WC_Order_Item\)\:\:set_taxes\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-order-item.php
+
+ -
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_total\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-order-item.php
+
+ -
+ message: '#^Call to an undefined method WC_Order_Item\:\:set_taxes\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/class-wc-order-item.php
+
+ -
+ message: '#^Cannot access property \$key on mixed\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/class-wc-order-item.php
+
+ -
+ message: '#^Cannot access property \$value on mixed\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/class-wc-order-item.php
+
+ -
+ message: '#^Cannot call method call_function\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-order-item.php
+
+ -
+ message: '#^Cannot call method feature_is_enabled\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-order-item.php
+
+ -
+ message: '#^Cannot cast mixed to float\.$#'
+ identifier: cast.double
+ count: 1
+ path: includes/class-wc-order-item.php
+
+ -
+ message: '#^Class WC_Order_Item implements generic interface ArrayAccess but does not specify its types\: TKey, TValue$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/class-wc-order-item.php
+
+ -
+ message: '#^Method WC_Order_Item\:\:apply_changes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-order-item.php
+
+ -
+ message: '#^Method WC_Order_Item\:\:get_name\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-order-item.php
+
+ -
+ message: '#^Method WC_Order_Item\:\:get_order\(\) should return WC_Order but returns bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-order-item.php
+
+ -
+ message: '#^Method WC_Order_Item\:\:get_order_id\(\) should return int but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-order-item.php
+
+ -
+ message: '#^Method WC_Order_Item\:\:set_name\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-order-item.php
+
+ -
+ message: '#^Method WC_Order_Item\:\:set_order_id\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-order-item.php
+
+ -
+ message: '#^Parameter \#1 \$input_list of function wp_list_pluck expects array, array\<WC_Meta_Data\>\|null given\.$#'
+ identifier: argument.type
+ count: 3
+ path: includes/class-wc-order-item.php
+
+ -
+ message: '#^Parameter \#2 \$value of method WC_Data\:\:update_meta_data\(\) expects array\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-order-item.php
+
+ -
+ message: '#^Parameter \#3 \$meta_id of method WC_Data\:\:update_meta_data\(\) expects int, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-order-item.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:query\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-order-query.php
+
+ -
+ message: '#^Method WC_Order_Refund\:\:get_amount\(\) should return float\|int but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-order-refund.php
+
+ -
+ message: '#^Method WC_Order_Refund\:\:get_post_title\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-order-refund.php
+
+ -
+ message: '#^Method WC_Order_Refund\:\:get_reason\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-order-refund.php
+
+ -
+ message: '#^Method WC_Order_Refund\:\:get_refunded_by\(\) should return int but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-order-refund.php
+
+ -
+ message: '#^Method WC_Order_Refund\:\:get_refunded_payment\(\) should return bool but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-order-refund.php
+
+ -
+ message: '#^Method WC_Order_Refund\:\:set_amount\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-order-refund.php
+
+ -
+ message: '#^Method WC_Order_Refund\:\:set_reason\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-order-refund.php
+
+ -
+ message: '#^Method WC_Order_Refund\:\:set_refunded_by\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-order-refund.php
+
+ -
+ message: '#^Method WC_Order_Refund\:\:set_refunded_payment\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-order-refund.php
+
+ -
+ message: '#^@param int \$order_note_id does not accept actual type of parameter\: int\|false\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^@param tag must not be named \$this\. Choose a descriptive alias, for example \$instance\.$#'
+ identifier: phpDoc.parseError
+ count: 6
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Argument of an invalid type array\<int\|WP_Comment\>\|int supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Binary operation "\-" between float and non\-falsy\-string results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Binary operation "\-" between float and string results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Binary operation "\-" between int\|string and string results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_item_downloads\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_product\(\)\.$#'
+ identifier: method.notFound
+ count: 3
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_rate_id\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_shipping_tax_total\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_tax_total\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_taxes\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_total\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Call to an undefined method object\:\:get_total_refunded\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Call to an undefined method object\:\:get_total_shipping_refunded\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Call to an undefined method object\:\:get_total_tax_refunded\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Call to an undefined method object\:\:untrash_order\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Cannot access offset ''manual'' on bool\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Cannot access offset ''note'' on bool\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Cannot access offset ''note'' on non\-empty\-array\|true\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Cannot access offset ''to'' on non\-empty\-array\|true\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Cannot access property \$comment_ID on int\|WP_Comment\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Cannot access property \$comment_content on int\|WP_Comment\.$#'
+ identifier: property.nonObject
+ count: 2
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Cannot access property \$display_name on WP_User\|false\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Cannot access property \$user_email on WP_User\|false\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Cannot cast mixed to int\.$#'
+ identifier: cast.int
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Expected 3 @param tags, found 2\.$#'
+ identifier: paramTag.count
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Method WC_Order\:\:add_order_item_totals_payment_method_row\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Method WC_Order\:\:add_order_item_totals_refund_rows\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Method WC_Order\:\:add_order_note\(\) should return int but returns int\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Method WC_Order\:\:get_billing_address_1\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Method WC_Order\:\:get_billing_address_2\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Method WC_Order\:\:get_billing_city\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Method WC_Order\:\:get_billing_company\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Method WC_Order\:\:get_billing_country\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Method WC_Order\:\:get_billing_email\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Method WC_Order\:\:get_billing_first_name\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Method WC_Order\:\:get_billing_last_name\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Method WC_Order\:\:get_billing_phone\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Method WC_Order\:\:get_billing_postcode\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Method WC_Order\:\:get_billing_state\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Method WC_Order\:\:get_cart_hash\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Method WC_Order\:\:get_created_via\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Method WC_Order\:\:get_customer_id\(\) should return int but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Method WC_Order\:\:get_customer_ip_address\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Method WC_Order\:\:get_customer_note\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Method WC_Order\:\:get_customer_user_agent\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Method WC_Order\:\:get_date_completed\(\) should return WC_DateTime\|null but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Method WC_Order\:\:get_date_paid\(\) should return WC_DateTime\|null but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Method WC_Order\:\:get_order_key\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Method WC_Order\:\:get_payment_method\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Method WC_Order\:\:get_payment_method_title\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Method WC_Order\:\:get_shipping_address_1\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Method WC_Order\:\:get_shipping_address_2\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Method WC_Order\:\:get_shipping_city\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Method WC_Order\:\:get_shipping_company\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Method WC_Order\:\:get_shipping_country\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Method WC_Order\:\:get_shipping_first_name\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Method WC_Order\:\:get_shipping_last_name\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Method WC_Order\:\:get_shipping_phone\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Method WC_Order\:\:get_shipping_postcode\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Method WC_Order\:\:get_shipping_state\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Method WC_Order\:\:get_total_refunded\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Method WC_Order\:\:get_total_shipping_refunded\(\) should return float but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Method WC_Order\:\:get_total_shipping_tax_refunded\(\) should return float but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Method WC_Order\:\:get_total_tax_refunded\(\) should return float but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Method WC_Order\:\:get_transaction_id\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Method WC_Order\:\:handle_exception\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Method WC_Order\:\:maybe_set_date_completed\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Method WC_Order\:\:maybe_set_date_paid\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Method WC_Order\:\:maybe_set_user_billing_email\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Method WC_Order\:\:set_address_prop\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Method WC_Order\:\:set_billing_address_1\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Method WC_Order\:\:set_billing_address_2\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Method WC_Order\:\:set_billing_city\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Method WC_Order\:\:set_billing_company\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Method WC_Order\:\:set_billing_country\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Method WC_Order\:\:set_billing_email\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Method WC_Order\:\:set_billing_first_name\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Method WC_Order\:\:set_billing_last_name\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Method WC_Order\:\:set_billing_phone\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Method WC_Order\:\:set_billing_postcode\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Method WC_Order\:\:set_billing_state\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Method WC_Order\:\:set_cart_hash\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Method WC_Order\:\:set_created_via\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Method WC_Order\:\:set_customer_id\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Method WC_Order\:\:set_customer_ip_address\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Method WC_Order\:\:set_customer_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Method WC_Order\:\:set_customer_user_agent\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Method WC_Order\:\:set_date_completed\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Method WC_Order\:\:set_date_paid\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Method WC_Order\:\:set_order_key\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Method WC_Order\:\:set_payment_method\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Method WC_Order\:\:set_payment_method_title\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Method WC_Order\:\:set_shipping_address_1\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Method WC_Order\:\:set_shipping_address_2\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Method WC_Order\:\:set_shipping_city\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Method WC_Order\:\:set_shipping_company\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Method WC_Order\:\:set_shipping_country\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Method WC_Order\:\:set_shipping_first_name\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Method WC_Order\:\:set_shipping_last_name\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Method WC_Order\:\:set_shipping_phone\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Method WC_Order\:\:set_shipping_postcode\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Method WC_Order\:\:set_shipping_state\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Method WC_Order\:\:set_transaction_id\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Method WC_Order\:\:status_transition\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^One or more @param tags has an invalid name or invalid syntax\.$#'
+ identifier: phpDoc.parseError
+ count: 2
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^PHPDoc tag @param has invalid value \(WC_Order \$this Order object\.\)\: Unexpected token "\$this", expected variable at offset 193 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^PHPDoc tag @param has invalid value \(WC_Order \$this Order object\.\)\: Unexpected token "\$this", expected variable at offset 151 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^PHPDoc tag @param has invalid value \(WC_Order \$this Order object\.\)\: Unexpected token "\$this", expected variable at offset 192 on line 6$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^PHPDoc tag @param has invalid value \(WC_Order \$this Order object\.\)\: Unexpected token "\$this", expected variable at offset 197 on line 6$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^PHPDoc tag @param has invalid value \(WC_Order \$this Order object\.\)\: Unexpected token "\$this", expected variable at offset 133 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^PHPDoc tag @param has invalid value \(WC_Order \$this The order object\.\)\: Unexpected token "\$this", expected variable at offset 167 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Parameter \#1 \$comment_id of function add_comment_meta expects int, int\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Parameter \#1 \$comment_id of function get_comment_meta expects int, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Parameter \#1 \$comment_id of function update_comment_meta expects int, int\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 4
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Parameter \#1 \$price of function wc_price expects float, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Parameter \#1 \$str of function sanitize_text_field expects string, bool\|float\|int\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Parameter \#1 \$str of function sanitize_text_field expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Parameter \#1 \$string of function wc_string_to_bool expects bool\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 4
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Parameter \#2 \$is_customer_note of method WC_Order\:\:add_order_note\(\) expects int, false given\.$#'
+ identifier: argument.type
+ count: 5
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Parameter \#2 \$tax_display of method WC_Abstract_Order\:\:add_order_item_totals_discount_row\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Parameter \#2 \$tax_display of method WC_Abstract_Order\:\:add_order_item_totals_fee_rows\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Parameter \#2 \$tax_display of method WC_Abstract_Order\:\:add_order_item_totals_shipping_row\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Parameter \#2 \$tax_display of method WC_Abstract_Order\:\:add_order_item_totals_subtotal_row\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Parameter \#2 \$tax_display of method WC_Abstract_Order\:\:add_order_item_totals_tax_rows\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Parameter \#2 \$tax_display of method WC_Abstract_Order\:\:add_order_item_totals_total_row\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Parameter \#2 \$tax_display of method WC_Order\:\:add_order_item_totals_payment_method_row\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Parameter \#2 \$tax_display of method WC_Order\:\:add_order_item_totals_refund_rows\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Parameter \#2 \$transition of method WC_Order\:\:add_status_transition_note\(\) expects bool, array given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Parameter \#2 \$value of function wc_get_endpoint_url expects string, int given\.$#'
+ identifier: argument.type
+ count: 3
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Parameter \#2 \$value of method WC_Data\:\:set_date_prop\(\) expects int\|string, int\|string\|null given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Parameter \#2 \.\.\.\$args of function array_merge expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-order.php
+
+ -
+ message: '#^Call to an undefined static method Automattic\\WooCommerce\\Internal\\Logging\\SafeGlobalFunctionProxy\:\:wc_get_logger\(\)\.$#'
+ identifier: staticMethod.notFound
+ count: 1
+ path: includes/class-wc-payment-gateways.php
+
+ -
+ message: '#^Cannot call method call_function\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-payment-gateways.php
+
+ -
+ message: '#^Cannot call method set_current\(\) on class\-string\|object\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-payment-gateways.php
+
+ -
+ message: '#^Method WC_Payment_Gateways\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-payment-gateways.php
+
+ -
+ message: '#^Method WC_Payment_Gateways\:\:on_payment_gateways_initialized\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-payment-gateways.php
+
+ -
+ message: '#^Method WC_Payment_Gateways\:\:payment_gateway_settings_option_changed\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-payment-gateways.php
+
+ -
+ message: '#^Method WC_Payment_Gateways\:\:process_admin_options\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-payment-gateways.php
+
+ -
+ message: '#^Method WC_Payment_Gateways\:\:set_current_gateway\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-payment-gateways.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_attr expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-payment-gateways.php
+
+ -
+ message: '#^Parameter \#1 \$text of function wp_specialchars_decode expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/class-wc-payment-gateways.php
+
+ -
+ message: '#^Parameter \#1 \$value of method WC_Payment_Gateways\:\:was_gateway_disabled\(\) expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-payment-gateways.php
+
+ -
+ message: '#^Parameter \#1 \$value of method WC_Payment_Gateways\:\:was_gateway_enabled\(\) expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-payment-gateways.php
+
+ -
+ message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-payment-gateways.php
+
+ -
+ message: '#^Parameter \#2 \$callback of function array_filter expects \(callable\(mixed\)\: bool\)\|null, Closure\(mixed\)\: \(non\-falsy\-string\|false\) given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-payment-gateways.php
+
+ -
+ message: '#^Parameter \#2 \$old_value of method WC_Payment_Gateways\:\:was_gateway_disabled\(\) expects array\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-payment-gateways.php
+
+ -
+ message: '#^Parameter \#2 \$old_value of method WC_Payment_Gateways\:\:was_gateway_enabled\(\) expects array\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-payment-gateways.php
+
+ -
+ message: '#^Parameter \#2 \$value of function get_user_by expects int\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-payment-gateways.php
+
+ -
+ message: '#^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-payment-gateways.php
+
+ -
+ message: '#^Parameter \#6 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-payment-gateways.php
+
+ -
+ message: '#^Possibly invalid array key type mixed\.$#'
+ identifier: offsetAccess.invalidOffset
+ count: 2
+ path: includes/class-wc-payment-gateways.php
+
+ -
+ message: '#^@param int \$limit does not accept actual type of parameter\: mixed\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: includes/class-wc-payment-tokens.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_metadata\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-payment-tokens.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_token_by_id\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-payment-tokens.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_token_type_by_id\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-payment-tokens.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_tokens\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-payment-tokens.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_users_default_token\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-payment-tokens.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:set_default_status\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/class-wc-payment-tokens.php
+
+ -
+ message: '#^Call to an undefined method object\:\:delete\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-payment-tokens.php
+
+ -
+ message: '#^Cannot call method get_payment_tokens\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-payment-tokens.php
+
+ -
+ message: '#^Method WC_Payment_Tokens\:\:delete\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-payment-tokens.php
+
+ -
+ message: '#^Method WC_Payment_Tokens\:\:get\(\) should return WC_Payment_Token\|null but returns object\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-payment-tokens.php
+
+ -
+ message: '#^Method WC_Payment_Tokens\:\:set_users_default\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-payment-tokens.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$slug\.$#'
+ identifier: property.notFound
+ count: 3
+ path: includes/class-wc-post-data.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$taxonomy\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/class-wc-post-data.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:delete_by_order_id\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-post-data.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:delete_from_lookup_table\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/class-wc-post-data.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:delete_variations\(\)\.$#'
+ identifier: method.notFound
+ count: 3
+ path: includes/class-wc-post-data.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_attribute_summary\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-post-data.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:untrash_variations\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-post-data.php
+
+ -
+ message: '#^Cannot access property \$slug on WP_Term\|false\.$#'
+ identifier: property.nonObject
+ count: 3
+ path: includes/class-wc-post-data.php
+
+ -
+ message: '#^Cannot access property \$taxonomy on WP_Term\|false\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/class-wc-post-data.php
+
+ -
+ message: '#^Cannot call method call_function\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: includes/class-wc-post-data.php
+
+ -
+ message: '#^Cannot call method get_type\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-post-data.php
+
+ -
+ message: '#^Cannot call method on_product_changed\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: includes/class-wc-post-data.php
+
+ -
+ message: '#^Cannot call method on_product_deleted\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 4
+ path: includes/class-wc-post-data.php
+
+ -
+ message: '#^Expected 4 @param tags, found 3\.$#'
+ identifier: paramTag.count
+ count: 1
+ path: includes/class-wc-post-data.php
+
+ -
+ message: '#^Function as_next_scheduled_action not found\.$#'
+ identifier: function.notFound
+ count: 1
+ path: includes/class-wc-post-data.php
+
+ -
+ message: '#^Method WC_Post_Data\:\:before_delete_order\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-post-data.php
+
+ -
+ message: '#^Method WC_Post_Data\:\:clear_global_unique_id_if_necessary\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-post-data.php
+
+ -
+ message: '#^Method WC_Post_Data\:\:deferred_product_sync\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-post-data.php
+
+ -
+ message: '#^Method WC_Post_Data\:\:delete_order_downloadable_permissions\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-post-data.php
+
+ -
+ message: '#^Method WC_Post_Data\:\:delete_order_items\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-post-data.php
+
+ -
+ message: '#^Method WC_Post_Data\:\:delete_post\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-post-data.php
+
+ -
+ message: '#^Method WC_Post_Data\:\:delete_post_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-post-data.php
+
+ -
+ message: '#^Method WC_Post_Data\:\:delete_product_query_transients\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-post-data.php
+
+ -
+ message: '#^Method WC_Post_Data\:\:do_deferred_product_sync\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-post-data.php
+
+ -
+ message: '#^Method WC_Post_Data\:\:edit_term\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-post-data.php
+
+ -
+ message: '#^Method WC_Post_Data\:\:edited_term\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-post-data.php
+
+ -
+ message: '#^Method WC_Post_Data\:\:flush_object_meta_cache\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-post-data.php
+
+ -
+ message: '#^Method WC_Post_Data\:\:force_default_term\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-post-data.php
+
+ -
+ message: '#^Method WC_Post_Data\:\:handle_attribute_term_deleted\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-post-data.php
+
+ -
+ message: '#^Method WC_Post_Data\:\:handle_attribute_term_updated\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-post-data.php
+
+ -
+ message: '#^Method WC_Post_Data\:\:handle_global_attribute_updated\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-post-data.php
+
+ -
+ message: '#^Method WC_Post_Data\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-post-data.php
+
+ -
+ message: '#^Method WC_Post_Data\:\:on_product_attributes_updated\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-post-data.php
+
+ -
+ message: '#^Method WC_Post_Data\:\:process_product_file_download_paths\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-post-data.php
+
+ -
+ message: '#^Method WC_Post_Data\:\:product_type_changed\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-post-data.php
+
+ -
+ message: '#^Method WC_Post_Data\:\:recount_terms_for_product_visibility_change\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-post-data.php
+
+ -
+ message: '#^Method WC_Post_Data\:\:regenerate_attribute_variation_summaries\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-post-data.php
+
+ -
+ message: '#^Method WC_Post_Data\:\:regenerate_product_variation_summaries\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-post-data.php
+
+ -
+ message: '#^Method WC_Post_Data\:\:regenerate_term_variation_summaries\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-post-data.php
+
+ -
+ message: '#^Method WC_Post_Data\:\:regenerate_variation_attribute_summary\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-post-data.php
+
+ -
+ message: '#^Method WC_Post_Data\:\:regenerate_variation_summaries\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-post-data.php
+
+ -
+ message: '#^Method WC_Post_Data\:\:set_object_terms\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-post-data.php
+
+ -
+ message: '#^Method WC_Post_Data\:\:sync_product_stock_status\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-post-data.php
+
+ -
+ message: '#^Method WC_Post_Data\:\:transition_post_status\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-post-data.php
+
+ -
+ message: '#^Method WC_Post_Data\:\:trash_post\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-post-data.php
+
+ -
+ message: '#^Method WC_Post_Data\:\:untrash_post\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-post-data.php
+
+ -
+ message: '#^Offset ''attribute_name'' does not exist on string\.$#'
+ identifier: offsetAccess.notFound
+ count: 1
+ path: includes/class-wc-post-data.php
+
+ -
+ message: '#^PHPDoc tag @param has invalid value \(bool A boolean value of true will delete the variations\.\)\: Unexpected token "A", expected variable at offset 181 on line 6$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/class-wc-post-data.php
+
+ -
+ message: '#^Parameter \#1 \$id of static method WC_Post_Data\:\:get_post_type\(\) expects int, mixed given\.$#'
+ identifier: argument.type
+ count: 3
+ path: includes/class-wc-post-data.php
+
+ -
+ message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-post-data.php
+
+ -
+ message: '#^Parameter \#1 \$order of function wc_delete_shop_order_transients expects int\|WC_Order, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/class-wc-post-data.php
+
+ -
+ message: '#^Parameter \#1 \$post of function wp_get_post_parent_id expects int\|WP_Post\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/class-wc-post-data.php
+
+ -
+ message: '#^Parameter \#1 \$post_id of function wc_delete_product_transients expects int, int\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-post-data.php
+
+ -
+ message: '#^Parameter \#1 \$product_id of function wc_product_force_unique_sku expects int, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-post-data.php
+
+ -
+ message: '#^Parameter \#1 \$product_id of function wc_product_has_global_unique_id expects int, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-post-data.php
+
+ -
+ message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-post-data.php
+
+ -
+ message: '#^Property WP_Post\:\:\$ID \(int\) in isset\(\) is not nullable\.$#'
+ identifier: isset.property
+ count: 1
+ path: includes/class-wc-post-data.php
+
+ -
+ message: '#^Property WP_Post\:\:\$post_type \(string\) in isset\(\) is not nullable\.$#'
+ identifier: isset.property
+ count: 1
+ path: includes/class-wc-post-data.php
+
+ -
+ message: '#^Static property WC_Post_Data\:\:\$editing_term \(object\) does not accept WP_Term\|false\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: includes/class-wc-post-data.php
+
+ -
+ message: '#^Static property WC_Post_Data\:\:\$editing_term \(object\) does not accept null\.$#'
+ identifier: assign.propertyType
+ count: 2
+ path: includes/class-wc-post-data.php
+
+ -
+ message: '#^Class WC_Post_Types referenced with incorrect case\: WC_Post_types\.$#'
+ identifier: class.nameCase
+ count: 1
+ path: includes/class-wc-post-types.php
+
+ -
+ message: '#^Method WC_Post_Types\:\:flush_rewrite_rules\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-post-types.php
+
+ -
+ message: '#^Method WC_Post_Types\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-post-types.php
+
+ -
+ message: '#^Method WC_Post_Types\:\:maybe_flush_rewrite_rules\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-post-types.php
+
+ -
+ message: '#^Method WC_Post_Types\:\:register_post_status\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-post-types.php
+
+ -
+ message: '#^Method WC_Post_Types\:\:register_post_types\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-post-types.php
+
+ -
+ message: '#^Method WC_Post_Types\:\:register_taxonomies\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-post-types.php
+
+ -
+ message: '#^Method WC_Post_Types\:\:support_jetpack_omnisearch\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-post-types.php
+
+ -
+ message: '#^Method WC_Post_Types\:\:updated_term_messages\(\) should return bool but returns array\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-post-types.php
+
+ -
+ message: '#^Parameter \#1 \$str of function urldecode expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-post-types.php
+
+ -
+ message: '#^Method WC_Privacy_Background_Process\:\:task\(\) should return bool but returns string\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-privacy-background-process.php
+
+ -
+ message: '#^Offset ''task'' does not exist on non\-falsy\-string\.$#'
+ identifier: offsetAccess.notFound
+ count: 1
+ path: includes/class-wc-privacy-background-process.php
+
+ -
+ message: '#^@param string \$data_type does not accept actual type of parameter\: mixed\.$#'
+ identifier: parameter.phpDocType
+ count: 2
+ path: includes/class-wc-privacy-erasers.php
+
+ -
+ message: '#^@param string \$value does not accept actual type of parameter\: mixed\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: includes/class-wc-privacy-erasers.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:delete_by_user_email\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-privacy-erasers.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:delete_by_user_id\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-privacy-erasers.php
+
+ -
+ message: '#^Method WC_Privacy_Erasers\:\:remove_order_personal_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-privacy-erasers.php
+
+ -
+ message: '#^Negated boolean expression is always false\.$#'
+ identifier: booleanNot.alwaysFalse
+ count: 1
+ path: includes/class-wc-privacy-erasers.php
+
+ -
+ message: '#^Parameter \#1 \$string of function wc_string_to_bool expects bool\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/class-wc-privacy-erasers.php
+
+ -
+ message: '#^Parameter \#1 \$type of function wp_privacy_anonymize_data expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/class-wc-privacy-erasers.php
+
+ -
+ message: '#^Parameter \#1 \$var of function count expects array\|Countable, array\<WC_Order\>\|stdClass given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-privacy-erasers.php
+
+ -
+ message: '#^Parameter \#2 \$data of function wp_privacy_anonymize_data expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-privacy-erasers.php
+
+ -
+ message: '#^@param WC_Order \$order does not accept actual type of parameter\: WC_Customer\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: includes/class-wc-privacy-exporters.php
+
+ -
+ message: '#^Binary operation "\." between mixed and '', '' results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: includes/class-wc-privacy-exporters.php
+
+ -
+ message: '#^Binary operation "\." between non\-falsy\-string and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: includes/class-wc-privacy-exporters.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_download_logs_for_permission\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-privacy-exporters.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_downloads\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-privacy-exporters.php
+
+ -
+ message: '#^Call to an undefined method WC_Order\:\:get_access_expires\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/class-wc-privacy-exporters.php
+
+ -
+ message: '#^Call to an undefined method WC_Order\:\:get_access_granted\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-privacy-exporters.php
+
+ -
+ message: '#^Call to an undefined method WC_Order\:\:get_download_count\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-privacy-exporters.php
+
+ -
+ message: '#^Call to an undefined method WC_Order\:\:get_downloads_remaining\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-privacy-exporters.php
+
+ -
+ message: '#^Call to an undefined method WC_Order\:\:get_order_id\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-privacy-exporters.php
+
+ -
+ message: '#^Call to an undefined method WC_Order\:\:get_product_id\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-privacy-exporters.php
+
+ -
+ message: '#^Call to an undefined method WC_Order\:\:get_user_email\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-privacy-exporters.php
+
+ -
+ message: '#^Negated boolean expression is always false\.$#'
+ identifier: booleanNot.alwaysFalse
+ count: 1
+ path: includes/class-wc-privacy-exporters.php
+
+ -
+ message: '#^Parameter \#1 \$date of function wc_format_datetime expects WC_DateTime, WC_DateTime\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-privacy-exporters.php
+
+ -
+ message: '#^Parameter \#1 \$var of function count expects array\|Countable, array\<WC_Order\>\|stdClass given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-privacy-exporters.php
+
+ -
+ message: '#^Argument of an invalid type array\<WC_Order\>\|stdClass supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
+ count: 2
+ path: includes/class-wc-privacy.php
+
+ -
+ message: '#^Expected 1 @param tags, found 4\.$#'
+ identifier: paramTag.count
+ count: 1
+ path: includes/class-wc-privacy.php
+
+ -
+ message: '#^Method WC_Privacy\:\:anonymize_custom_data_types\(\) should return string but returns int\|string\|null\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-privacy.php
+
+ -
+ message: '#^Method WC_Privacy\:\:queue_cleanup_personal_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-privacy.php
+
+ -
+ message: '#^Method WC_Privacy\:\:register_erasers_exporters\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-privacy.php
+
+ -
+ message: '#^Parameter \#1 \$query of static method WC_Privacy\:\:anonymize_orders_query\(\) expects array, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-privacy.php
+
+ -
+ message: '#^Parameter \#1 \$timestamp of static method WC_Privacy\:\:delete_inactive_accounts_query\(\) expects int, int\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-privacy.php
+
+ -
+ message: '#^Class WC_Product_Attribute implements generic interface ArrayAccess but does not specify its types\: TKey, TValue$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/class-wc-product-attribute.php
+
+ -
+ message: '#^Method WC_Product_Attribute\:\:set_id\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-product-attribute.php
+
+ -
+ message: '#^Method WC_Product_Attribute\:\:set_name\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-product-attribute.php
+
+ -
+ message: '#^Method WC_Product_Attribute\:\:set_options\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-product-attribute.php
+
+ -
+ message: '#^Method WC_Product_Attribute\:\:set_position\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-product-attribute.php
+
+ -
+ message: '#^Method WC_Product_Attribute\:\:set_variation\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-product-attribute.php
+
+ -
+ message: '#^Method WC_Product_Attribute\:\:set_visible\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-product-attribute.php
+
+ -
+ message: '#^Parameter \#1 \$value of method WC_Product_Attribute\:\:set_options\(\) expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-product-attribute.php
+
+ -
+ message: '#^Parameter \#1 \$value of method WC_Product_Attribute\:\:set_variation\(\) expects bool, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-product-attribute.php
+
+ -
+ message: '#^Parameter \#1 \$value of method WC_Product_Attribute\:\:set_visible\(\) expects bool, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-product-attribute.php
+
+ -
+ message: '#^Cannot call method add_approved_directory\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-product-download.php
+
+ -
+ message: '#^Cannot call method get_mode\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-product-download.php
+
+ -
+ message: '#^Cannot call method is_valid_path\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: includes/class-wc-product-download.php
+
+ -
+ message: '#^Class WC_Product_Download implements generic interface ArrayAccess but does not specify its types\: TKey, TValue$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/class-wc-product-download.php
+
+ -
+ message: '#^Method WC_Product_Download\:\:approved_directory_checks\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-product-download.php
+
+ -
+ message: '#^Method WC_Product_Download\:\:check_is_valid\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-product-download.php
+
+ -
+ message: '#^Method WC_Product_Download\:\:get_file_type\(\) should return string but returns string\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-product-download.php
+
+ -
+ message: '#^Method WC_Product_Download\:\:set_enabled\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-product-download.php
+
+ -
+ message: '#^Method WC_Product_Download\:\:set_file\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-product-download.php
+
+ -
+ message: '#^Method WC_Product_Download\:\:set_id\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-product-download.php
+
+ -
+ message: '#^Method WC_Product_Download\:\:set_name\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-product-download.php
+
+ -
+ message: '#^Method WC_Product_Download\:\:set_previous_hash\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-product-download.php
+
+ -
+ message: '#^Parameter \#1 \$filename of function file_exists expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-product-download.php
+
+ -
+ message: '#^Parameter \#1 \$filename of function wp_check_filetype expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-product-download.php
+
+ -
+ message: '#^Parameter \#1 \$path of function pathinfo expects string, string\|false\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-product-download.php
+
+ -
+ message: '#^Parameter \#1 \$string of function substr expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-product-download.php
+
+ -
+ message: '#^Method WC_Product_External\:\:get_button_text\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-product-external.php
+
+ -
+ message: '#^Method WC_Product_External\:\:set_backorders\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-product-external.php
+
+ -
+ message: '#^Method WC_Product_External\:\:set_button_text\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-product-external.php
+
+ -
+ message: '#^Method WC_Product_External\:\:set_manage_stock\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-product-external.php
+
+ -
+ message: '#^Method WC_Product_External\:\:set_product_url\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-product-external.php
+
+ -
+ message: '#^Method WC_Product_External\:\:set_stock_status\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-product-external.php
+
+ -
+ message: '#^Parameter \#1 \$url of function esc_url_raw expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-product-external.php
+
+ -
+ message: '#^@param string \$classname does not accept actual type of parameter\: string\|false\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: includes/class-wc-product-factory.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_product_type\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-product-factory.php
+
+ -
+ message: '#^Method WC_Product_Factory\:\:get_product\(\) should return bool\|WC_Product but returns object\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-product-factory.php
+
+ -
+ message: '#^Parameter \#1 \$product of method WC_Product_Factory\:\:get_product_id\(\) expects bool\|int\|WC_Product\|WP_Post, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-product-factory.php
+
+ -
+ message: '#^Parameter \#1 \$product_id of static method WC_Product_Factory\:\:get_product_classname\(\) expects int, int\<min, \-1\>\|int\<1, max\>\|true given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-product-factory.php
+
+ -
+ message: '#^Parameter \#1 \$product_id of static method WC_Product_Factory\:\:get_product_type\(\) expects int, int\<min, \-1\>\|int\<1, max\>\|true given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-product-factory.php
+
+ -
+ message: '#^Parameter \#2 \$product_type of static method WC_Product_Factory\:\:get_product_classname\(\) expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-product-factory.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:sync_price\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-product-grouped.php
+
+ -
+ message: '#^Cannot call method get_price\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-product-grouped.php
+
+ -
+ message: '#^Cannot call method has_child\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-product-grouped.php
+
+ -
+ message: '#^Cannot call method is_on_sale\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-product-grouped.php
+
+ -
+ message: '#^Cannot call method is_purchasable\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-product-grouped.php
+
+ -
+ message: '#^Method WC_Product_Grouped\:\:get_children\(\) should return array but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-product-grouped.php
+
+ -
+ message: '#^Method WC_Product_Grouped\:\:set_children\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-product-grouped.php
+
+ -
+ message: '#^Method WC_Product_Grouped\:\:sync\(\) should return WC_Product but returns WC_Product\|false\|null\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-product-grouped.php
+
+ -
+ message: '#^Parameter \#1 \$callback of function array_map expects \(callable\(WC_Product\|false\|null\)\: mixed\)\|null, ''wc_get_price_to…'' given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/class-wc-product-grouped.php
+
+ -
+ message: '#^Parameter \#1 \$from of function wc_format_price_range expects string, float\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-product-grouped.php
+
+ -
+ message: '#^Parameter \#1 \$object_or_string of function is_a expects object, WC_Product\|false\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-product-grouped.php
+
+ -
+ message: '#^Parameter \#1 \$object_or_string of function is_a expects object, int\|WC_Product given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-product-grouped.php
+
+ -
+ message: '#^Parameter \#1 \$price of function wc_price expects float, float\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-product-grouped.php
+
+ -
+ message: '#^Parameter \#1 \$product of function wc_get_price_excluding_tax expects WC_Product, WC_Product\|false\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-product-grouped.php
+
+ -
+ message: '#^Parameter \#1 \$product of function wc_get_price_including_tax expects WC_Product, WC_Product\|false\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-product-grouped.php
+
+ -
+ message: '#^Parameter \#2 \$callback of function array_filter expects \(callable\(WC_Product\|false\|null\)\: bool\)\|null, ''wc_products_array…'' given\.$#'
+ identifier: argument.type
+ count: 5
+ path: includes/class-wc-product-grouped.php
+
+ -
+ message: '#^Parameter \#2 \$to of function wc_format_price_range expects string, float\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-product-grouped.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:query\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-product-query.php
+
+ -
+ message: '#^@param tag must not be named \$this\. Choose a descriptive alias, for example \$instance\.$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/class-wc-product-simple.php
+
+ -
+ message: '#^PHPDoc tag @param has invalid value \(WC_Product_Simple \$this Reference to the current WC_Product_Simple instance\.\)\: Unexpected token "\$this", expected variable at offset 188 on line 6$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/class-wc-product-simple.php
+
+ -
+ message: '#^@param WC_Product_Variation \$variation does not accept actual type of parameter\: WC_Product\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: includes/class-wc-product-variable.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:sync_price\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-product-variable.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:sync_stock_status\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/class-wc-product-variable.php
+
+ -
+ message: '#^Call to an undefined method WC_Product\:\:variation_is_visible\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-product-variable.php
+
+ -
+ message: '#^Call to an undefined method object\:\:child_has_dimensions\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-product-variable.php
+
+ -
+ message: '#^Call to an undefined method object\:\:child_has_stock_status\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-product-variable.php
+
+ -
+ message: '#^Call to an undefined method object\:\:child_has_weight\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-product-variable.php
+
+ -
+ message: '#^Call to an undefined method object\:\:child_is_in_stock\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-product-variable.php
+
+ -
+ message: '#^Call to an undefined method object\:\:read_children\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/class-wc-product-variable.php
+
+ -
+ message: '#^Call to an undefined method object\:\:read_price_data\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-product-variable.php
+
+ -
+ message: '#^Call to an undefined method object\:\:read_variation_attributes\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-product-variable.php
+
+ -
+ message: '#^Call to an undefined method object\:\:sync_managed_variation_stock_status\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-product-variable.php
+
+ -
+ message: '#^Call to an undefined method object\:\:sync_stock_status\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-product-variable.php
+
+ -
+ message: '#^Call to an undefined method object\:\:sync_variation_names\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-product-variable.php
+
+ -
+ message: '#^Call to function is_callable\(\) with ''_prime_post_caches'' will always evaluate to true\.$#'
+ identifier: function.alreadyNarrowedType
+ count: 2
+ path: includes/class-wc-product-variable.php
+
+ -
+ message: '#^Cannot access offset ''new_name'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/class-wc-product-variable.php
+
+ -
+ message: '#^Cannot access offset ''previous_name'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/class-wc-product-variable.php
+
+ -
+ message: '#^Method WC_Product_Variable\:\:after_data_store_save_or_update\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-product-variable.php
+
+ -
+ message: '#^Method WC_Product_Variable\:\:get_available_variations\(\) should return array\<array\|WC_Product_Variation\> but returns list\<array\|bool\|WC_Product\>\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-product-variable.php
+
+ -
+ message: '#^Method WC_Product_Variable\:\:set_children\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-product-variable.php
+
+ -
+ message: '#^Method WC_Product_Variable\:\:set_variation_attributes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-product-variable.php
+
+ -
+ message: '#^Method WC_Product_Variable\:\:set_visible_children\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-product-variable.php
+
+ -
+ message: '#^Method WC_Product_Variable\:\:sync\(\) should return WC_Product but returns WC_Product\|false\|null\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-product-variable.php
+
+ -
+ message: '#^Method WC_Product_Variable\:\:sync_stock_status\(\) should return WC_Product but returns WC_Product\|false\|null\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-product-variable.php
+
+ -
+ message: '#^Method WC_Product_Variable\:\:validate_props\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-product-variable.php
+
+ -
+ message: '#^Parameter \#1 \$attachment_id of function wc_get_product_attachment_props expects int\|null, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-product-variable.php
+
+ -
+ message: '#^Parameter \#1 \$dimensions of function wc_format_dimensions expects array, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-product-variable.php
+
+ -
+ message: '#^Parameter \#1 \$haystack of function strstr expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-product-variable.php
+
+ -
+ message: '#^Parameter \#1 \$object_or_string of function is_a expects object, WC_Product\|false\|null given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/class-wc-product-variable.php
+
+ -
+ message: '#^Parameter \#1 \$object_or_string of function is_a expects object, int\|WC_Product given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/class-wc-product-variable.php
+
+ -
+ message: '#^Parameter \#1 \$weight of function wc_format_weight expects float, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-product-variable.php
+
+ -
+ message: '#^Method WC_Product_Variation\:\:get_attribute_summary\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-product-variation.php
+
+ -
+ message: '#^Method WC_Product_Variation\:\:get_backorders\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-product-variation.php
+
+ -
+ message: '#^Method WC_Product_Variation\:\:get_height\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-product-variation.php
+
+ -
+ message: '#^Method WC_Product_Variation\:\:get_image_id\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-product-variation.php
+
+ -
+ message: '#^Method WC_Product_Variation\:\:get_length\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-product-variation.php
+
+ -
+ message: '#^Method WC_Product_Variation\:\:get_manage_stock\(\) should return bool\|string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-product-variation.php
+
+ -
+ message: '#^Method WC_Product_Variation\:\:get_permalink\(\) should return string but returns string\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-product-variation.php
+
+ -
+ message: '#^Method WC_Product_Variation\:\:get_purchase_note\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-product-variation.php
+
+ -
+ message: '#^Method WC_Product_Variation\:\:get_shipping_class_id\(\) should return int but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-product-variation.php
+
+ -
+ message: '#^Method WC_Product_Variation\:\:get_sku\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-product-variation.php
+
+ -
+ message: '#^Method WC_Product_Variation\:\:get_stock_quantity\(\) should return int\|null but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-product-variation.php
+
+ -
+ message: '#^Method WC_Product_Variation\:\:get_weight\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-product-variation.php
+
+ -
+ message: '#^Method WC_Product_Variation\:\:get_width\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-product-variation.php
+
+ -
+ message: '#^Method WC_Product_Variation\:\:set_attribute_summary\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-product-variation.php
+
+ -
+ message: '#^Method WC_Product_Variation\:\:set_attributes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-product-variation.php
+
+ -
+ message: '#^Method WC_Product_Variation\:\:set_parent_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-product-variation.php
+
+ -
+ message: '#^Parameter \#1 \$arr1 of function array_intersect_key expects array, array\<string, mixed\>\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-product-variation.php
+
+ -
+ message: '#^Parameter \#1 \$product of method WC_Product_Simple\:\:__construct\(\) expects int\|WC_Product, int\|object given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-product-variation.php
+
+ -
+ message: '#^Call to static method get_value\(\) on an unknown class WPSEO_Meta\.$#'
+ identifier: class.notFound
+ count: 2
+ path: includes/class-wc-query.php
+
+ -
+ message: '#^Cannot access property \$ID on WP_Post\|null\.$#'
+ identifier: property.nonObject
+ count: 2
+ path: includes/class-wc-query.php
+
+ -
+ message: '#^Cannot access property \$post_name on WP_Post\|null\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/class-wc-query.php
+
+ -
+ message: '#^Cannot access property \$post_title on WP_Post\|null\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/class-wc-query.php
+
+ -
+ message: '#^Cannot access property \$post_type on WP_Post\|null\.$#'
+ identifier: property.nonObject
+ count: 2
+ path: includes/class-wc-query.php
+
+ -
+ message: '#^Cannot access property \$posts on mixed\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/class-wc-query.php
+
+ -
+ message: '#^Cannot call method get_order_number\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-query.php
+
+ -
+ message: '#^Cannot cast mixed to int\.$#'
+ identifier: cast.int
+ count: 3
+ path: includes/class-wc-query.php
+
+ -
+ message: '#^Cannot cast mixed to string\.$#'
+ identifier: cast.string
+ count: 2
+ path: includes/class-wc-query.php
+
+ -
+ message: '#^Function remove_filter invoked with 4 parameters, 2\-3 required\.$#'
+ identifier: arguments.count
+ count: 1
+ path: includes/class-wc-query.php
+
+ -
+ message: '#^Method WC_Query\:\:add_endpoints\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-query.php
+
+ -
+ message: '#^Method WC_Query\:\:get_errors\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-query.php
+
+ -
+ message: '#^Method WC_Query\:\:get_main_search_query_sql\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-query.php
+
+ -
+ message: '#^Method WC_Query\:\:get_products_in_view\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-query.php
+
+ -
+ message: '#^Method WC_Query\:\:init_query_vars\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-query.php
+
+ -
+ message: '#^Method WC_Query\:\:layered_nav_init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-query.php
+
+ -
+ message: '#^Method WC_Query\:\:layered_nav_query\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-query.php
+
+ -
+ message: '#^Method WC_Query\:\:parse_request\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-query.php
+
+ -
+ message: '#^Method WC_Query\:\:pre_get_posts\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-query.php
+
+ -
+ message: '#^Method WC_Query\:\:product_query\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-query.php
+
+ -
+ message: '#^Method WC_Query\:\:remove_ordering_args\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-query.php
+
+ -
+ message: '#^Method WC_Query\:\:remove_posts_where\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-query.php
+
+ -
+ message: '#^Method WC_Query\:\:remove_product_query\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-query.php
+
+ -
+ message: '#^Method WC_Query\:\:reset_chosen_attributes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-query.php
+
+ -
+ message: '#^Method WC_Query\:\:search_post_excerpt\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-query.php
+
+ -
+ message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 3
+ path: includes/class-wc-query.php
+
+ -
+ message: '#^Parameter \#1 \$meta_query of method WC_Query\:\:get_meta_query\(\) expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-query.php
+
+ -
+ message: '#^Parameter \#1 \$str of function sanitize_text_field expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/class-wc-query.php
+
+ -
+ message: '#^Parameter \#1 \$tax_query of method WC_Query\:\:get_tax_query\(\) expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-query.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_attr expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-query.php
+
+ -
+ message: '#^Parameter \#1 \$var of function floatval expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-query.php
+
+ -
+ message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/class-wc-query.php
+
+ -
+ message: '#^Parameter \#2 \$str of function explode expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-query.php
+
+ -
+ message: '#^Parameter \#2 \$str of function explode expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-query.php
+
+ -
+ message: '#^Property WC_Query\:\:\$filterer \(Automattic\\WooCommerce\\Internal\\ProductAttributesLookup\\Filterer\) does not accept mixed\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: includes/class-wc-query.php
+
+ -
+ message: '#^Static property WC_Query\:\:\$chosen_attributes \(array\) does not accept null\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: includes/class-wc-query.php
+
+ -
+ message: '#^Variable \$product_visibility_not_in in empty\(\) always exists and is not falsy\.$#'
+ identifier: empty.variable
+ count: 1
+ path: includes/class-wc-query.php
+
+ -
+ message: '#^Method WC_Rate_Limiter\:\:cleanup\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-rate-limiter.php
+
+ -
+ message: '#^Method WC_Rate_Limiter\:\:get_cached\(\) should return bool\|int but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-rate-limiter.php
+
+ -
+ message: '#^Method WC_Rate_Limiter\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-rate-limiter.php
+
+ -
+ message: '#^Call to function method_exists\(\) with ''Imagick'' and ''setResourceLimit'' will always evaluate to true\.$#'
+ identifier: function.alreadyNarrowedType
+ count: 1
+ path: includes/class-wc-regenerate-images-request.php
+
+ -
+ message: '#^Cannot access offset ''attachment_id'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: includes/class-wc-regenerate-images-request.php
+
+ -
+ message: '#^Function remove_filter invoked with 4 parameters, 2\-3 required\.$#'
+ identifier: arguments.count
+ count: 1
+ path: includes/class-wc-regenerate-images-request.php
+
+ -
+ message: '#^Offset ''extension'' might not exist on array\{dirname\?\: string, basename\: string, extension\?\: string, filename\: string\}\.$#'
+ identifier: offsetAccess.notFound
+ count: 1
+ path: includes/class-wc-regenerate-images-request.php
+
+ -
+ message: '#^Parameter \#1 \$imagefile of function getimagesize expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-regenerate-images-request.php
+
+ -
+ message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-regenerate-images-request.php
+
+ -
+ message: '#^Parameter \#1 \$path of function pathinfo expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-regenerate-images-request.php
+
+ -
+ message: '#^Parameter \#1 \$path of function wp_get_image_editor expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-regenerate-images-request.php
+
+ -
+ message: '#^Parameter \#3 \$subject of function str_replace expects array\<string\>\|string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-regenerate-images-request.php
+
+ -
+ message: '#^Part \$dst_h \(mixed\) of encapsed string cannot be cast to string\.$#'
+ identifier: encapsedStringPart.nonString
+ count: 1
+ path: includes/class-wc-regenerate-images-request.php
+
+ -
+ message: '#^Part \$dst_w \(mixed\) of encapsed string cannot be cast to string\.$#'
+ identifier: encapsedStringPart.nonString
+ count: 1
+ path: includes/class-wc-regenerate-images-request.php
+
+ -
+ message: '#^Action callback returns array but should not return anything\.$#'
+ identifier: return.void
+ count: 2
+ path: includes/class-wc-regenerate-images.php
+
+ -
+ message: '#^Call to function method_exists\(\) with ''Jetpack'' and ''is_module_active'' will always evaluate to false\.$#'
+ identifier: function.impossibleType
+ count: 2
+ path: includes/class-wc-regenerate-images.php
+
+ -
+ message: '#^Call to static method is_module_active\(\) on an unknown class Jetpack\.$#'
+ identifier: class.notFound
+ count: 2
+ path: includes/class-wc-regenerate-images.php
+
+ -
+ message: '#^Cannot use array destructuring on array\<int\|string, int\|string\>\|false\.$#'
+ identifier: offsetAccess.nonArray
+ count: 1
+ path: includes/class-wc-regenerate-images.php
+
+ -
+ message: '#^Constant WC_ABSPATH not found\.$#'
+ identifier: constant.notFound
+ count: 1
+ path: includes/class-wc-regenerate-images.php
+
+ -
+ message: '#^Function remove_action invoked with 4 parameters, 2\-3 required\.$#'
+ identifier: arguments.count
+ count: 1
+ path: includes/class-wc-regenerate-images.php
+
+ -
+ message: '#^Method WC_Regenerate_Images\:\:dismiss_regenerating_notice\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-regenerate-images.php
+
+ -
+ message: '#^Method WC_Regenerate_Images\:\:filter_image_get_intermediate_size\(\) should return array but returns array\<string, int\|string\>\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-regenerate-images.php
+
+ -
+ message: '#^Method WC_Regenerate_Images\:\:filter_image_get_intermediate_size\(\) should return array but returns false\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-regenerate-images.php
+
+ -
+ message: '#^Method WC_Regenerate_Images\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-regenerate-images.php
+
+ -
+ message: '#^Method WC_Regenerate_Images\:\:maybe_resize_image\(\) should return array but returns string\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-regenerate-images.php
+
+ -
+ message: '#^Method WC_Regenerate_Images\:\:regenerating_notice\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-regenerate-images.php
+
+ -
+ message: '#^Method WC_Regenerate_Images\:\:resize_and_return_image\(\) should return string but returns array\.$#'
+ identifier: return.type
+ count: 3
+ path: includes/class-wc-regenerate-images.php
+
+ -
+ message: '#^Method WC_Regenerate_Images\:\:resize_and_return_image\(\) should return string but returns array\<int, mixed\>\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-regenerate-images.php
+
+ -
+ message: '#^Method WC_Regenerate_Images\:\:resize_and_return_image\(\) should return string but returns array\|string\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-regenerate-images.php
+
+ -
+ message: '#^Method WC_Regenerate_Images\:\:unfiltered_image_downsize\(\) should return string but returns list\<bool\|int\|string\>\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-regenerate-images.php
+
+ -
+ message: '#^Parameter \#1 \$str of function md5 expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-regenerate-images.php
+
+ -
+ message: '#^Parameter \#3 \$size of static method WC_Regenerate_Images\:\:resize_and_return_image\(\) expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-regenerate-images.php
+
+ -
+ message: '#^Part \$dst_h \(mixed\) of encapsed string cannot be cast to string\.$#'
+ identifier: encapsedStringPart.nonString
+ count: 1
+ path: includes/class-wc-regenerate-images.php
+
+ -
+ message: '#^Part \$dst_w \(mixed\) of encapsed string cannot be cast to string\.$#'
+ identifier: encapsedStringPart.nonString
+ count: 1
+ path: includes/class-wc-regenerate-images.php
+
+ -
+ message: '#^Access to an undefined property WC_Register_WP_Admin_Settings\:\:\$description\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/class-wc-register-wp-admin-settings.php
+
+ -
+ message: '#^Access to an undefined property WC_Register_WP_Admin_Settings\:\:\$form_fields\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/class-wc-register-wp-admin-settings.php
+
+ -
+ message: '#^Access to an undefined property WC_Register_WP_Admin_Settings\:\:\$id\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/class-wc-register-wp-admin-settings.php
+
+ -
+ message: '#^Access to an undefined property WC_Register_WP_Admin_Settings\:\:\$title\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/class-wc-register-wp-admin-settings.php
+
+ -
+ message: '#^Access to protected property WC_Email\|WC_Settings_Page\:\:\$id\.$#'
+ identifier: property.protected
+ count: 1
+ path: includes/class-wc-register-wp-admin-settings.php
+
+ -
+ message: '#^Call to an undefined method WC_Email\|WC_Settings_Page\:\:get_id\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-register-wp-admin-settings.php
+
+ -
+ message: '#^Call to an undefined method WC_Register_WP_Admin_Settings\:\:get_id\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-register-wp-admin-settings.php
+
+ -
+ message: '#^Call to an undefined method WC_Register_WP_Admin_Settings\:\:get_label\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-register-wp-admin-settings.php
+
+ -
+ message: '#^Call to an undefined method WC_Register_WP_Admin_Settings\:\:get_option_key\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-register-wp-admin-settings.php
+
+ -
+ message: '#^Call to an undefined method WC_Register_WP_Admin_Settings\:\:get_sections\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-register-wp-admin-settings.php
+
+ -
+ message: '#^Call to an undefined method WC_Register_WP_Admin_Settings\:\:get_settings\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-register-wp-admin-settings.php
+
+ -
+ message: '#^Property WC_Register_WP_Admin_Settings\:\:\$object \(WC_Register_WP_Admin_Settings\) does not accept WC_Email\|WC_Settings_Page\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: includes/class-wc-register-wp-admin-settings.php
+
+ -
+ message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
+ count: 1
+ path: includes/class-wc-rest-authentication.php
+
+ -
+ message: '#^Cannot access offset ''oauth_consumer_key'' on non\-empty\-array\|WP_Error\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/class-wc-rest-authentication.php
+
+ -
+ message: '#^Cannot access offset ''oauth_nonce'' on non\-empty\-array\|WP_Error\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/class-wc-rest-authentication.php
+
+ -
+ message: '#^Cannot access offset ''oauth_timestamp'' on non\-empty\-array\|WP_Error\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/class-wc-rest-authentication.php
+
+ -
+ message: '#^Cannot access offset int\<\-899, max\> on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/class-wc-rest-authentication.php
+
+ -
+ message: '#^Cannot access offset mixed on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/class-wc-rest-authentication.php
+
+ -
+ message: '#^Cannot access property \$consumer_secret on array\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/class-wc-rest-authentication.php
+
+ -
+ message: '#^Cannot access property \$user_id on array\.$#'
+ identifier: property.nonObject
+ count: 2
+ path: includes/class-wc-rest-authentication.php
+
+ -
+ message: '#^Cannot assign new offset to array\|string\.$#'
+ identifier: offsetAssign.dimType
+ count: 1
+ path: includes/class-wc-rest-authentication.php
+
+ -
+ message: '#^Method WC_REST_Authentication\:\:authenticate\(\) should return int\|false but returns bool\|int\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-rest-authentication.php
+
+ -
+ message: '#^Method WC_REST_Authentication\:\:authenticate\(\) should return int\|false but returns int\<min, \-1\>\|int\<1, max\>\|true\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-rest-authentication.php
+
+ -
+ message: '#^Method WC_REST_Authentication\:\:check_user_permissions\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/class-wc-rest-authentication.php
+
+ -
+ message: '#^Method WC_REST_Authentication\:\:get_authorization_header\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-rest-authentication.php
+
+ -
+ message: '#^Method WC_REST_Authentication\:\:get_error\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-rest-authentication.php
+
+ -
+ message: '#^Method WC_REST_Authentication\:\:join_with_equals_sign\(\) should return string but returns array\|string\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-rest-authentication.php
+
+ -
+ message: '#^Method WC_REST_Authentication\:\:normalize_parameters\(\) should return array but returns array\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-rest-authentication.php
+
+ -
+ message: '#^Method WC_REST_Authentication\:\:set_error\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-rest-authentication.php
+
+ -
+ message: '#^Method WC_REST_Authentication\:\:update_last_access\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/class-wc-rest-authentication.php
+
+ -
+ message: '#^PHPDoc tag @return has invalid value \(WP_Error\|null\.\)\: Unexpected token "\.", expected TOKEN_HORIZONTAL_WS at offset 63 on line 4$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/class-wc-rest-authentication.php
+
+ -
+ message: '#^Parameter \#1 \$consumer_key of method WC_REST_Authentication\:\:get_user_data_by_consumer_key\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-rest-authentication.php
+
+ -
+ message: '#^Parameter \#1 \$data of function maybe_serialize expects array\|object\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-rest-authentication.php
+
+ -
+ message: '#^Parameter \#1 \$keys of function array_combine expects array, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-rest-authentication.php
+
+ -
+ message: '#^Parameter \#1 \$str of function strtoupper expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-rest-authentication.php
+
+ -
+ message: '#^Parameter \#1 \$string of function substr expects string, string\|false\|null given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/class-wc-rest-authentication.php
+
+ -
+ message: '#^Parameter \#1 \$url of function esc_url_raw expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-rest-authentication.php
+
+ -
+ message: '#^Parameter \#1 \$url of function wp_parse_url expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-rest-authentication.php
+
+ -
+ message: '#^Parameter \#1 \$user of method WC_REST_Authentication\:\:check_oauth_signature\(\) expects stdClass, array given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-rest-authentication.php
+
+ -
+ message: '#^Parameter \#1 \$user of method WC_REST_Authentication\:\:check_oauth_timestamp_and_nonce\(\) expects stdClass, array given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-rest-authentication.php
+
+ -
+ message: '#^Parameter \#2 \$haystack of function in_array expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-rest-authentication.php
+
+ -
+ message: '#^Parameter \#2 \$params of method WC_REST_Authentication\:\:check_oauth_signature\(\) expects array, array\|WP_Error given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-rest-authentication.php
+
+ -
+ message: '#^Parameter \#2 \$path of function get_home_url expects string, string\|false\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-rest-authentication.php
+
+ -
+ message: '#^Parameter \#2 \$pieces of function implode expects array, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-rest-authentication.php
+
+ -
+ message: '#^Parameter \#2 \$query_params of method WC_REST_Authentication\:\:join_with_equals_sign\(\) expects array, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-rest-authentication.php
+
+ -
+ message: '#^Parameter \#2 \$values of function array_combine expects array, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-rest-authentication.php
+
+ -
+ message: '#^Property WC_REST_Authentication\:\:\$error \(WP_Error\) in empty\(\) is not falsy\.$#'
+ identifier: empty.property
+ count: 1
+ path: includes/class-wc-rest-authentication.php
+
+ -
+ message: '#^Property WC_REST_Authentication\:\:\$user \(stdClass\) does not accept array\.$#'
+ identifier: assign.propertyType
+ count: 2
+ path: includes/class-wc-rest-authentication.php
+
+ -
+ message: '#^Property WC_REST_Authentication\:\:\$user \(stdClass\) does not accept null\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: includes/class-wc-rest-authentication.php
+
+ -
+ message: '#^Property WC_REST_Authentication\:\:\$user \(stdClass\) in empty\(\) is not falsy\.$#'
+ identifier: empty.property
+ count: 3
+ path: includes/class-wc-rest-authentication.php
+
+ -
+ message: '#^Result of && is always false\.$#'
+ identifier: booleanAnd.alwaysFalse
+ count: 3
+ path: includes/class-wc-rest-authentication.php
+
+ -
+ message: '#^@param string \$guest_session_id does not accept actual type of parameter\: string\|null\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: includes/class-wc-session-handler.php
+
+ -
+ message: '#^Cannot access offset 0 on non\-empty\-array\|true\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 3
+ path: includes/class-wc-session-handler.php
+
+ -
+ message: '#^Cannot access offset 1 on non\-empty\-array\|true\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/class-wc-session-handler.php
+
+ -
+ message: '#^Cannot access offset 2 on non\-empty\-array\|true\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/class-wc-session-handler.php
+
+ -
+ message: '#^Cannot access property \$prefix on mixed\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/class-wc-session-handler.php
+
+ -
+ message: '#^Cannot call method delete\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-session-handler.php
+
+ -
+ message: '#^Cannot call method feature_is_enabled\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-session-handler.php
+
+ -
+ message: '#^Cannot call method get_var\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-session-handler.php
+
+ -
+ message: '#^Cannot call method prepare\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-session-handler.php
+
+ -
+ message: '#^Cannot call method update\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-session-handler.php
+
+ -
+ message: '#^Cannot cast mixed to string\.$#'
+ identifier: cast.string
+ count: 1
+ path: includes/class-wc-session-handler.php
+
+ -
+ message: '#^Constant COOKIEHASH not found\.$#'
+ identifier: constant.notFound
+ count: 1
+ path: includes/class-wc-session-handler.php
+
+ -
+ message: '#^Constant WC_ABSPATH not found\.$#'
+ identifier: constant.notFound
+ count: 1
+ path: includes/class-wc-session-handler.php
+
+ -
+ message: '#^Constant WC_SESSION_CACHE_GROUP not found\.$#'
+ identifier: constant.notFound
+ count: 6
+ path: includes/class-wc-session-handler.php
+
+ -
+ message: '#^Method WC_Session_Handler\:\:cleanup_sessions\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-session-handler.php
+
+ -
+ message: '#^Method WC_Session_Handler\:\:clone_session_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-session-handler.php
+
+ -
+ message: '#^Method WC_Session_Handler\:\:delete_session\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-session-handler.php
+
+ -
+ message: '#^Method WC_Session_Handler\:\:destroy_session\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-session-handler.php
+
+ -
+ message: '#^Method WC_Session_Handler\:\:forget_session\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-session-handler.php
+
+ -
+ message: '#^Method WC_Session_Handler\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-session-handler.php
+
+ -
+ message: '#^Method WC_Session_Handler\:\:init_hooks\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-session-handler.php
+
+ -
+ message: '#^Method WC_Session_Handler\:\:init_session\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-session-handler.php
+
+ -
+ message: '#^Method WC_Session_Handler\:\:init_session_cookie\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-session-handler.php
+
+ -
+ message: '#^Method WC_Session_Handler\:\:maybe_set_customer_session_cookie\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-session-handler.php
+
+ -
+ message: '#^Method WC_Session_Handler\:\:migrate_guest_session_to_user_session\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-session-handler.php
+
+ -
+ message: '#^Method WC_Session_Handler\:\:restore_session_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-session-handler.php
+
+ -
+ message: '#^Method WC_Session_Handler\:\:save_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-session-handler.php
+
+ -
+ message: '#^Method WC_Session_Handler\:\:set_customer_session_cookie\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-session-handler.php
+
+ -
+ message: '#^Method WC_Session_Handler\:\:set_session_expiration\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-session-handler.php
+
+ -
+ message: '#^Method WC_Session_Handler\:\:update_session_timestamp\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-session-handler.php
+
+ -
+ message: '#^Parameter \#1 \$cart_token of static method Automattic\\WooCommerce\\StoreApi\\Utilities\\CartTokenUtils\:\:get_cart_token_payload\(\) expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-session-handler.php
+
+ -
+ message: '#^Parameter \#1 \$cart_token of static method Automattic\\WooCommerce\\StoreApi\\Utilities\\CartTokenUtils\:\:validate_cart_token\(\) expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-session-handler.php
+
+ -
+ message: '#^Parameter \#1 \$customer_id of method WC_Session_Handler\:\:delete_session\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-session-handler.php
+
+ -
+ message: '#^Parameter \#1 \$customer_id of method WC_Session_Handler\:\:get_session\(\) expects string, string\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-session-handler.php
+
+ -
+ message: '#^Parameter \#1 \$haystack of function strpos expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-session-handler.php
+
+ -
+ message: '#^Parameter \#2 \$str of function explode expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/class-wc-session-handler.php
+
+ -
+ message: '#^Parameter \#2 \$value of function get_user_by expects int\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-session-handler.php
+
+ -
+ message: '#^Property WC_Session\:\:\$_data \(array\) does not accept mixed\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: includes/class-wc-session-handler.php
+
+ -
+ message: '#^Property WC_Session_Handler\:\:\$_session_expiring \(int\) does not accept float\|int\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: includes/class-wc-session-handler.php
+
+ -
+ message: '#^@param tag must not be named \$this\. Choose a descriptive alias, for example \$instance\.$#'
+ identifier: phpDoc.parseError
+ count: 10
+ path: includes/class-wc-shipping-rate.php
+
+ -
+ message: '#^Method WC_Shipping_Rate\:\:add_meta_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-shipping-rate.php
+
+ -
+ message: '#^Method WC_Shipping_Rate\:\:get_shipping_tax\(\) should return float but returns array\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-shipping-rate.php
+
+ -
+ message: '#^Method WC_Shipping_Rate\:\:set_cost\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-shipping-rate.php
+
+ -
+ message: '#^Method WC_Shipping_Rate\:\:set_delivery_time\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-shipping-rate.php
+
+ -
+ message: '#^Method WC_Shipping_Rate\:\:set_description\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-shipping-rate.php
+
+ -
+ message: '#^Method WC_Shipping_Rate\:\:set_id\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-shipping-rate.php
+
+ -
+ message: '#^Method WC_Shipping_Rate\:\:set_instance_id\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-shipping-rate.php
+
+ -
+ message: '#^Method WC_Shipping_Rate\:\:set_label\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-shipping-rate.php
+
+ -
+ message: '#^Method WC_Shipping_Rate\:\:set_method_id\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-shipping-rate.php
+
+ -
+ message: '#^Method WC_Shipping_Rate\:\:set_tax_status\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-shipping-rate.php
+
+ -
+ message: '#^Method WC_Shipping_Rate\:\:set_taxes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-shipping-rate.php
+
+ -
+ message: '#^PHPDoc tag @param has invalid value \(WC_Shipping_Rate \$this The shipping rate\.\)\: Unexpected token "\$this", expected variable at offset 177 on line 7$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/class-wc-shipping-rate.php
+
+ -
+ message: '#^PHPDoc tag @param has invalid value \(WC_Shipping_Rate \$this The shipping rate\.\)\: Unexpected token "\$this", expected variable at offset 173 on line 7$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/class-wc-shipping-rate.php
+
+ -
+ message: '#^PHPDoc tag @param has invalid value \(WC_Shipping_Rate \$this Shipping rate object\.\)\: Unexpected token "\$this", expected variable at offset 169 on line 6$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/class-wc-shipping-rate.php
+
+ -
+ message: '#^PHPDoc tag @param has invalid value \(WC_Shipping_Rate \$this The shipping rate object\.\)\: Unexpected token "\$this", expected variable at offset 135 on line 6$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/class-wc-shipping-rate.php
+
+ -
+ message: '#^PHPDoc tag @param has invalid value \(WC_Shipping_Rate \$this The shipping rate object\.\)\: Unexpected token "\$this", expected variable at offset 141 on line 6$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/class-wc-shipping-rate.php
+
+ -
+ message: '#^PHPDoc tag @param has invalid value \(WC_Shipping_Rate \$this The shipping rate object\.\)\: Unexpected token "\$this", expected variable at offset 143 on line 6$#'
+ identifier: phpDoc.parseError
+ count: 2
+ path: includes/class-wc-shipping-rate.php
+
+ -
+ message: '#^PHPDoc tag @param has invalid value \(WC_Shipping_Rate \$this The shipping rate object\.\)\: Unexpected token "\$this", expected variable at offset 144 on line 6$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/class-wc-shipping-rate.php
+
+ -
+ message: '#^PHPDoc tag @param has invalid value \(WC_Shipping_Rate \$this The shipping rate object\.\)\: Unexpected token "\$this", expected variable at offset 146 on line 6$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/class-wc-shipping-rate.php
+
+ -
+ message: '#^PHPDoc tag @param has invalid value \(WC_Shipping_Rate \$this The shipping rate object\.\)\: Unexpected token "\$this", expected variable at offset 159 on line 6$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/class-wc-shipping-rate.php
+
+ -
+ message: '#^Parameter \#1 \$cost of method WC_Shipping_Rate\:\:set_cost\(\) expects string, int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-shipping-rate.php
+
+ -
+ message: '#^Possibly invalid array key type array\|string\.$#'
+ identifier: offsetAccess.invalidOffset
+ count: 1
+ path: includes/class-wc-shipping-rate.php
+
+ -
+ message: '#^@param tag must not be named \$this\. Choose a descriptive alias, for example \$instance\.$#'
+ identifier: phpDoc.parseError
+ count: 2
+ path: includes/class-wc-shipping-zone.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$enabled\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/class-wc-shipping-zone.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$has_settings\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/class-wc-shipping-zone.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$method_description\.$#'
+ identifier: property.notFound
+ count: 2
+ path: includes/class-wc-shipping-zone.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$method_order\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/class-wc-shipping-zone.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$settings_html\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/class-wc-shipping-zone.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$type\.$#'
+ identifier: property.notFound
+ count: 4
+ path: includes/class-wc-shipping-zone.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$zone_id\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/class-wc-shipping-zone.php
+
+ -
+ message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
+ count: 1
+ path: includes/class-wc-shipping-zone.php
+
+ -
+ message: '#^Call to an undefined method object\:\:add_method\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-shipping-zone.php
+
+ -
+ message: '#^Call to an undefined method object\:\:create\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-shipping-zone.php
+
+ -
+ message: '#^Call to an undefined method object\:\:delete_method\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-shipping-zone.php
+
+ -
+ message: '#^Call to an undefined method object\:\:get_admin_options_html\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-shipping-zone.php
+
+ -
+ message: '#^Call to an undefined method object\:\:get_method\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-shipping-zone.php
+
+ -
+ message: '#^Call to an undefined method object\:\:get_method_count\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-shipping-zone.php
+
+ -
+ message: '#^Call to an undefined method object\:\:get_methods\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-shipping-zone.php
+
+ -
+ message: '#^Call to an undefined method object\:\:has_settings\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-shipping-zone.php
+
+ -
+ message: '#^Call to an undefined method object\:\:supports\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-shipping-zone.php
+
+ -
+ message: '#^Call to an undefined method object\:\:update\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-shipping-zone.php
+
+ -
+ message: '#^Call to function is_object\(\) with object will always evaluate to true\.$#'
+ identifier: function.alreadyNarrowedType
+ count: 1
+ path: includes/class-wc-shipping-zone.php
+
+ -
+ message: '#^Cannot access an offset on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/class-wc-shipping-zone.php
+
+ -
+ message: '#^Cannot access offset mixed on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/class-wc-shipping-zone.php
+
+ -
+ message: '#^Cannot access offset string on array\|false\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/class-wc-shipping-zone.php
+
+ -
+ message: '#^Cannot access property \$type on mixed\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/class-wc-shipping-zone.php
+
+ -
+ message: '#^Method WC_Shipping_Zone\:\:add_location\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-shipping-zone.php
+
+ -
+ message: '#^Method WC_Shipping_Zone\:\:clear_locations\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-shipping-zone.php
+
+ -
+ message: '#^Method WC_Shipping_Zone\:\:delete_shipping_method\(\) should return true but returns false\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-shipping-zone.php
+
+ -
+ message: '#^Method WC_Shipping_Zone\:\:get_zone_locations\(\) should return array but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-shipping-zone.php
+
+ -
+ message: '#^Method WC_Shipping_Zone\:\:get_zone_name\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-shipping-zone.php
+
+ -
+ message: '#^Method WC_Shipping_Zone\:\:get_zone_order\(\) should return int but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-shipping-zone.php
+
+ -
+ message: '#^Method WC_Shipping_Zone\:\:set_locations\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-shipping-zone.php
+
+ -
+ message: '#^Method WC_Shipping_Zone\:\:set_zone_locations\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-shipping-zone.php
+
+ -
+ message: '#^Method WC_Shipping_Zone\:\:set_zone_name\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-shipping-zone.php
+
+ -
+ message: '#^Method WC_Shipping_Zone\:\:set_zone_order\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-shipping-zone.php
+
+ -
+ message: '#^PHPDoc type int\|null of property WC_Shipping_Zone\:\:\$id is not covariant with PHPDoc type int of overridden property WC_Data\:\:\$id\.$#'
+ identifier: property.phpDocType
+ count: 1
+ path: includes/class-wc-shipping-zone.php
+
+ -
+ message: '#^Parameter \#1 \$input of function array_values expects array\<T\>, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-shipping-zone.php
+
+ -
+ message: '#^Parameter \#2 \$callback of function uasort expects callable\(object, object\)\: int, ''wc_shipping_zone…'' given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-shipping-zone.php
+
+ -
+ message: '#^Strict comparison using \=\=\= between ''0'' and null will always evaluate to false\.$#'
+ identifier: identical.alwaysFalse
+ count: 1
+ path: includes/class-wc-shipping-zone.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$enabled\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/class-wc-shipping-zones.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$method_order\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/class-wc-shipping-zones.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_method\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-shipping-zones.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_zone_id_by_instance_id\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-shipping-zones.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_zone_id_from_package\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-shipping-zones.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_zones\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-shipping-zones.php
+
+ -
+ message: '#^Method WC_Shipping_Zones\:\:delete_zone\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-shipping-zones.php
+
+ -
+ message: '#^Method WC_Shipping_Zones\:\:get_shipping_method\(\) should return bool\|WC_Shipping_Method but returns object\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-shipping-zones.php
+
+ -
+ message: '#^Parameter \#1 \$postcode of function wc_normalize_postcode expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-shipping-zones.php
+
+ -
+ message: '#^Parameter \#1 \$str of function strtoupper expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/class-wc-shipping-zones.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$id\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/class-wc-shipping.php
+
+ -
+ message: '#^Cannot access offset ''enabled'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/class-wc-shipping.php
+
+ -
+ message: '#^Method WC_Shipping\:\:get_shipping_methods\(\) should return array\<WC_Shipping_Method\> but returns array\|null\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-shipping.php
+
+ -
+ message: '#^Method WC_Shipping\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-shipping.php
+
+ -
+ message: '#^Method WC_Shipping\:\:reset_shipping\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-shipping.php
+
+ -
+ message: '#^Method WC_Shipping\:\:sort_shipping_methods\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-shipping.php
+
+ -
+ message: '#^Method WC_Shipping\:\:unregister_shipping_methods\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-shipping.php
+
+ -
+ message: '#^Offset mixed might not exist on array\|null\.$#'
+ identifier: offsetAccess.notFound
+ count: 1
+ path: includes/class-wc-shipping.php
+
+ -
+ message: '#^One or more @param tags has an invalid name or invalid syntax\.$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/class-wc-shipping.php
+
+ -
+ message: '#^Parameter \#1 \$args of function get_terms expects array\{taxonomy\?\: array\<string\>\|string, object_ids\?\: array\<int\>\|int, orderby\?\: string, order\?\: string, hide_empty\?\: bool\|int, include\?\: array\<int\>\|string, exclude\?\: array\<int\>\|string, exclude_tree\?\: array\<int\>\|string, \.\.\.\}, ''product_shipping…'' given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-shipping.php
+
+ -
+ message: '#^@param bool \$force_rendering does not accept actual type of parameter\: null\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: includes/class-wc-shortcodes.php
+
+ -
+ message: '#^Cannot access property \$ID on WP_Post\|null\.$#'
+ identifier: property.nonObject
+ count: 3
+ path: includes/class-wc-shortcodes.php
+
+ -
+ message: '#^Cannot access property \$post_parent on WP_Post\|null\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/class-wc-shortcodes.php
+
+ -
+ message: '#^Cannot access property \$post_status on WP_Post\|null\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/class-wc-shortcodes.php
+
+ -
+ message: '#^Cannot access property \$post_type on WP_Post\|null\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/class-wc-shortcodes.php
+
+ -
+ message: '#^Cannot call method add_to_cart_url\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-shortcodes.php
+
+ -
+ message: '#^Method WC_Shortcodes\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-shortcodes.php
+
+ -
+ message: '#^Method WC_Shortcodes\:\:product_add_to_cart\(\) should return string but returns string\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-shortcodes.php
+
+ -
+ message: '#^Method WC_Shortcodes\:\:related_products\(\) should return string but returns string\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-shortcodes.php
+
+ -
+ message: '#^Method WC_Shortcodes\:\:shortcode_wrapper\(\) should return string but returns string\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-shortcodes.php
+
+ -
+ message: '#^Parameter \#1 \$args of function get_terms expects array\{taxonomy\?\: array\<string\>\|string, object_ids\?\: array\<int\>\|int, orderby\?\: string, order\?\: string, hide_empty\?\: bool\|int, include\?\: array\<int\>\|string, exclude\?\: array\<int\>\|string, exclude_tree\?\: array\<int\>\|string, \.\.\.\}, ''product_cat'' given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-shortcodes.php
+
+ -
+ message: '#^Parameter \#1 \$function of function call_user_func expects callable\(\)\: mixed, array\<string\> given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-shortcodes.php
+
+ -
+ message: '#^Parameter \#1 \$post of function get_post expects int\|WP_Post\|null, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-shortcodes.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_attr expects string, int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-shortcodes.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_attr expects string, int\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-shortcodes.php
+
+ -
+ message: '#^Parameter \#2 \$value of function wc_set_loop_prop expects string, int\<0, max\> given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-shortcodes.php
+
+ -
+ message: '#^Parameter \#2 \$value of function wc_set_loop_prop expects string, true given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-shortcodes.php
+
+ -
+ message: '#^Argument of an invalid type array\<int\|WP_Comment\>\|int\<min, \-1\>\|int\<1, max\> supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
+ count: 1
+ path: includes/class-wc-structured-data.php
+
+ -
+ message: '#^Binary operation "\." between ''http\://'' and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: includes/class-wc-structured-data.php
+
+ -
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_product\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-structured-data.php
+
+ -
+ message: '#^Call to an undefined method WC_Product\:\:get_variation_price\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/class-wc-structured-data.php
+
+ -
+ message: '#^Call to an undefined method WC_Product\:\:get_variation_prices\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-structured-data.php
+
+ -
+ message: '#^Call to an undefined method WC_Product\:\:get_variation_sale_price\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-structured-data.php
+
+ -
+ message: '#^Call to an undefined method object\:\:get_image_id\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-structured-data.php
+
+ -
+ message: '#^Call to an undefined method object\:\:get_sku\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-structured-data.php
+
+ -
+ message: '#^Call to an undefined method object\:\:is_visible\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-structured-data.php
+
+ -
+ message: '#^Call to method get_billing_address_1\(\) on an unknown class WP_Order\.$#'
+ identifier: class.notFound
+ count: 1
+ path: includes/class-wc-structured-data.php
+
+ -
+ message: '#^Call to method get_billing_city\(\) on an unknown class WP_Order\.$#'
+ identifier: class.notFound
+ count: 1
+ path: includes/class-wc-structured-data.php
+
+ -
+ message: '#^Call to method get_billing_country\(\) on an unknown class WP_Order\.$#'
+ identifier: class.notFound
+ count: 1
+ path: includes/class-wc-structured-data.php
+
+ -
+ message: '#^Call to method get_billing_email\(\) on an unknown class WP_Order\.$#'
+ identifier: class.notFound
+ count: 1
+ path: includes/class-wc-structured-data.php
+
+ -
+ message: '#^Call to method get_billing_phone\(\) on an unknown class WP_Order\.$#'
+ identifier: class.notFound
+ count: 1
+ path: includes/class-wc-structured-data.php
+
+ -
+ message: '#^Call to method get_billing_postcode\(\) on an unknown class WP_Order\.$#'
+ identifier: class.notFound
+ count: 1
+ path: includes/class-wc-structured-data.php
+
+ -
+ message: '#^Call to method get_billing_state\(\) on an unknown class WP_Order\.$#'
+ identifier: class.notFound
+ count: 1
+ path: includes/class-wc-structured-data.php
+
+ -
+ message: '#^Call to method get_currency\(\) on an unknown class WP_Order\.$#'
+ identifier: class.notFound
+ count: 5
+ path: includes/class-wc-structured-data.php
+
+ -
+ message: '#^Call to method get_date_created\(\) on an unknown class WP_Order\.$#'
+ identifier: class.notFound
+ count: 1
+ path: includes/class-wc-structured-data.php
+
+ -
+ message: '#^Call to method get_edit_order_url\(\) on an unknown class WP_Order\.$#'
+ identifier: class.notFound
+ count: 1
+ path: includes/class-wc-structured-data.php
+
+ -
+ message: '#^Call to method get_formatted_billing_full_name\(\) on an unknown class WP_Order\.$#'
+ identifier: class.notFound
+ count: 2
+ path: includes/class-wc-structured-data.php
+
+ -
+ message: '#^Call to method get_items\(\) on an unknown class WP_Order\.$#'
+ identifier: class.notFound
+ count: 1
+ path: includes/class-wc-structured-data.php
+
+ -
+ message: '#^Call to method get_line_subtotal\(\) on an unknown class WP_Order\.$#'
+ identifier: class.notFound
+ count: 2
+ path: includes/class-wc-structured-data.php
+
+ -
+ message: '#^Call to method get_order_number\(\) on an unknown class WP_Order\.$#'
+ identifier: class.notFound
+ count: 1
+ path: includes/class-wc-structured-data.php
+
+ -
+ message: '#^Call to method get_status\(\) on an unknown class WP_Order\.$#'
+ identifier: class.notFound
+ count: 2
+ path: includes/class-wc-structured-data.php
+
+ -
+ message: '#^Call to method get_total\(\) on an unknown class WP_Order\.$#'
+ identifier: class.notFound
+ count: 2
+ path: includes/class-wc-structured-data.php
+
+ -
+ message: '#^Call to method get_total_discount\(\) on an unknown class WP_Order\.$#'
+ identifier: class.notFound
+ count: 1
+ path: includes/class-wc-structured-data.php
+
+ -
+ message: '#^Call to method get_view_order_url\(\) on an unknown class WP_Order\.$#'
+ identifier: class.notFound
+ count: 1
+ path: includes/class-wc-structured-data.php
+
+ -
+ message: '#^Cannot access offset 0 on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/class-wc-structured-data.php
+
+ -
+ message: '#^Cannot access offset 1 on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/class-wc-structured-data.php
+
+ -
+ message: '#^Cannot access property \$comment_ID on int\|WP_Comment\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/class-wc-structured-data.php
+
+ -
+ message: '#^Cannot call method format\(\) on WC_DateTime\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-structured-data.php
+
+ -
+ message: '#^Cannot call method get_date_on_sale_to\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-structured-data.php
+
+ -
+ message: '#^Cannot call method get_regular_price\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: includes/class-wc-structured-data.php
+
+ -
+ message: '#^Cannot call method get_sale_price\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: includes/class-wc-structured-data.php
+
+ -
+ message: '#^Method WC_Structured_Data\:\:generate_breadcrumblist_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-structured-data.php
+
+ -
+ message: '#^Method WC_Structured_Data\:\:generate_order_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-structured-data.php
+
+ -
+ message: '#^Method WC_Structured_Data\:\:generate_product_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-structured-data.php
+
+ -
+ message: '#^Method WC_Structured_Data\:\:generate_review_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-structured-data.php
+
+ -
+ message: '#^Method WC_Structured_Data\:\:generate_website_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-structured-data.php
+
+ -
+ message: '#^Method WC_Structured_Data\:\:output_email_structured_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-structured-data.php
+
+ -
+ message: '#^Method WC_Structured_Data\:\:output_structured_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-structured-data.php
+
+ -
+ message: '#^Method WC_Structured_Data\:\:prepare_gtin\(\) should return string but returns string\|null\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-structured-data.php
+
+ -
+ message: '#^Offset ''price'' on array\{priceValidUntil\: string, availability\: ''https\://schema\.org…'', url\: mixed, seller\: array\{''@type''\: ''Organization'', name\: mixed, url\: mixed\}, ''@type''\: ''AggregateOffer'', lowPrice\: mixed, highPrice\: mixed, offerCount\: int\<0, max\>, \.\.\.\}\|array\{priceValidUntil\: string, availability\: ''https\://schema\.org…'', url\: mixed, seller\: array\{''@type''\: ''Organization'', name\: mixed, url\: mixed\}, ''@type''\: ''Offer'', priceSpecification\: array\{0\: array\{''@type''\: ''UnitPriceSpecificat…'', price\: mixed, priceCurrency\: mixed, valueAddedTaxIncluded\: mixed, validThrough\: string, priceType\?\: ''https\://schema\.org…''\}, 1\?\: array\{''@type''\: ''UnitPriceSpecificat…'', price\: mixed, priceCurrency\: mixed, valueAddedTaxIncluded\: mixed, validThrough\: string, priceType\?\: ''https\://schema\.org…''\}\}\} in empty\(\) does not exist\.$#'
+ identifier: empty.offset
+ count: 1
+ path: includes/class-wc-structured-data.php
+
+ -
+ message: '#^Offset ''priceCurrency'' on array\{priceValidUntil\: string, availability\: ''https\://schema\.org…'', url\: mixed, seller\: array\{''@type''\: ''Organization'', name\: mixed, url\: mixed\}, ''@type''\: ''AggregateOffer'', lowPrice\: mixed, highPrice\: mixed, offerCount\: int\<0, max\>, \.\.\.\} in empty\(\) does not exist\.$#'
+ identifier: empty.offset
+ count: 1
+ path: includes/class-wc-structured-data.php
+
+ -
+ message: '#^Parameter \#1 \$attachment_id of function wp_get_attachment_url expects int, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-structured-data.php
+
+ -
+ message: '#^Parameter \#1 \$comment of function get_comment_link expects int\|WP_Comment\|null, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-structured-data.php
+
+ -
+ message: '#^Parameter \#1 \$comment_id of function get_comment_author expects int\|WP_Comment, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-structured-data.php
+
+ -
+ message: '#^Parameter \#1 \$comment_id of function get_comment_meta expects int, string given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/class-wc-structured-data.php
+
+ -
+ message: '#^Parameter \#1 \$comment_id of function get_comment_text expects int\|WP_Comment, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-structured-data.php
+
+ -
+ message: '#^Parameter \#1 \$json of function wc_esc_json expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-structured-data.php
+
+ -
+ message: '#^Parameter \#1 \$post of function get_the_title expects int\|WP_Post, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-structured-data.php
+
+ -
+ message: '#^Parameter \#1 \$product of callable ''wc_get_price…'' expects WC_Product, WC_Product\|false\|null given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/class-wc-structured-data.php
+
+ -
+ message: '#^Parameter \#2 \$callback of function array_filter expects \(callable\(WC_Product\|false\|null\)\: bool\)\|null, ''wc_products_array…'' given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-structured-data.php
+
+ -
+ message: '#^Parameter \#2 \$comment_id of function get_comment_date expects int\|WP_Comment, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-structured-data.php
+
+ -
+ message: '#^Parameter \$order of method WC_Structured_Data\:\:generate_order_data\(\) has invalid type WP_Order\.$#'
+ identifier: class.notFound
+ count: 1
+ path: includes/class-wc-structured-data.php
+
+ -
+ message: '#^Parameter \$order of method WC_Structured_Data\:\:output_email_structured_data\(\) has invalid type WP_Order\.$#'
+ identifier: class.notFound
+ count: 1
+ path: includes/class-wc-structured-data.php
+
+ -
+ message: '#^Property WC_Structured_Data\:\:\$_data \(array\) in isset\(\) is not nullable\.$#'
+ identifier: isset.property
+ count: 1
+ path: includes/class-wc-structured-data.php
+
+ -
+ message: '#^@param string\|null \$tax_class does not accept actual type of parameter\: mixed\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: includes/class-wc-tax.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$tax_rate\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/class-wc-tax.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$tax_rate_compound\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/class-wc-tax.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$tax_rate_country\.$#'
+ identifier: property.notFound
+ count: 4
+ path: includes/class-wc-tax.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$tax_rate_id\.$#'
+ identifier: property.notFound
+ count: 6
+ path: includes/class-wc-tax.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$tax_rate_name\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/class-wc-tax.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$tax_rate_priority\.$#'
+ identifier: property.notFound
+ count: 4
+ path: includes/class-wc-tax.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$tax_rate_state\.$#'
+ identifier: property.notFound
+ count: 4
+ path: includes/class-wc-tax.php
+
+ -
+ message: '#^Argument of an invalid type array\|float\|int\|string\|false\|null supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
+ count: 1
+ path: includes/class-wc-tax.php
+
+ -
+ message: '#^Call to an undefined method object\:\:get_taxable_address\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-tax.php
+
+ -
+ message: '#^Cannot access offset ''shipping'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/class-wc-tax.php
+
+ -
+ message: '#^Cannot access offset ''slug'' on non\-empty\-array\|true\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/class-wc-tax.php
+
+ -
+ message: '#^Cannot access offset \(int\|string\) on 0\|0\.0\|''''\|''0''\|non\-empty\-array\|false\|null\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: includes/class-wc-tax.php
+
+ -
+ message: '#^Method WC_Tax\:\:_delete_tax_rate\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-tax.php
+
+ -
+ message: '#^Method WC_Tax\:\:_update_tax_rate\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-tax.php
+
+ -
+ message: '#^Method WC_Tax\:\:_update_tax_rate_cities\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-tax.php
+
+ -
+ message: '#^Method WC_Tax\:\:_update_tax_rate_postcodes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-tax.php
+
+ -
+ message: '#^Method WC_Tax\:\:get_rates\(\) should return array but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-tax.php
+
+ -
+ message: '#^Method WC_Tax\:\:get_tax_class_by\(\) should return array\|bool but returns WP_Error\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-tax.php
+
+ -
+ message: '#^Method WC_Tax\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-tax.php
+
+ -
+ message: '#^Method WC_Tax\:\:maybe_remove_tax_class_rates\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-tax.php
+
+ -
+ message: '#^Method WC_Tax\:\:update_tax_rate_locations\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-tax.php
+
+ -
+ message: '#^Parameter \#1 \$function of function call_user_func expects callable\(\)\: mixed, array\{''WC_Tax'', non\-falsy\-string\} given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-tax.php
+
+ -
+ message: '#^Parameter \#1 \$postcode of function wc_normalize_postcode expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-tax.php
+
+ -
+ message: '#^Parameter \#1 \$rates of static method WC_Tax\:\:sort_rates\(\) expects array, array\|float\|int\|string\|false\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-tax.php
+
+ -
+ message: '#^Parameter \#1 \$tax_class of static method WC_Tax\:\:get_tax_location\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-tax.php
+
+ -
+ message: '#^Parameter \#1 \$title of function sanitize_title expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-tax.php
+
+ -
+ message: '#^Parameter \#2 \$array of function implode expects array\<string\>, array\<array\|string\> given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/class-wc-tax.php
+
+ -
+ message: '#^Property WooCommerce\:\:\$cart \(WC_Cart\) on left side of \?\? is not nullable\.$#'
+ identifier: nullCoalesce.property
+ count: 1
+ path: includes/class-wc-tax.php
+
+ -
+ message: '#^Static method WC_Tax\:\:format_tax_rate\(\) is unused\.$#'
+ identifier: method.unused
+ count: 1
+ path: includes/class-wc-tax.php
+
+ -
+ message: '#^Static method WC_Tax\:\:format_tax_rate_country\(\) is unused\.$#'
+ identifier: method.unused
+ count: 1
+ path: includes/class-wc-tax.php
+
+ -
+ message: '#^Static method WC_Tax\:\:format_tax_rate_name\(\) is unused\.$#'
+ identifier: method.unused
+ count: 1
+ path: includes/class-wc-tax.php
+
+ -
+ message: '#^Static method WC_Tax\:\:format_tax_rate_priority\(\) is unused\.$#'
+ identifier: method.unused
+ count: 1
+ path: includes/class-wc-tax.php
+
+ -
+ message: '#^Static method WC_Tax\:\:sort_rates_callback\(\) is unused\.$#'
+ identifier: method.unused
+ count: 1
+ path: includes/class-wc-tax.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$taxonomy\.$#'
+ identifier: property.notFound
+ count: 2
+ path: includes/class-wc-template-loader.php
+
+ -
+ message: '#^Cannot access property \$columns on array\.$#'
+ identifier: property.nonObject
+ count: 2
+ path: includes/class-wc-template-loader.php
+
+ -
+ message: '#^Cannot access property \$name on WP_Post\|WP_Post_Type\|WP_Term\|WP_User\|null\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/class-wc-template-loader.php
+
+ -
+ message: '#^Cannot access property \$page on array\.$#'
+ identifier: property.nonObject
+ count: 4
+ path: includes/class-wc-template-loader.php
+
+ -
+ message: '#^Cannot access property \$post_author on WP_Post\|null\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/class-wc-template-loader.php
+
+ -
+ message: '#^Cannot access property \$post_date on WP_Post\|null\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/class-wc-template-loader.php
+
+ -
+ message: '#^Cannot access property \$post_date_gmt on WP_Post\|null\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/class-wc-template-loader.php
+
+ -
+ message: '#^Cannot access property \$post_modified on WP_Post\|null\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/class-wc-template-loader.php
+
+ -
+ message: '#^Cannot access property \$post_modified_gmt on WP_Post\|null\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/class-wc-template-loader.php
+
+ -
+ message: '#^Cannot access property \$post_name on WP_Post\|WP_Post_Type\|WP_Term\|WP_User\|null\.$#'
+ identifier: property.nonObject
+ count: 3
+ path: includes/class-wc-template-loader.php
+
+ -
+ message: '#^Cannot access property \$rows on array\.$#'
+ identifier: property.nonObject
+ count: 2
+ path: includes/class-wc-template-loader.php
+
+ -
+ message: '#^Cannot access property \$slug on WP_Post\|WP_Post_Type\|WP_Term\|WP_User\|null\.$#'
+ identifier: property.nonObject
+ count: 8
+ path: includes/class-wc-template-loader.php
+
+ -
+ message: '#^Cannot access property \$taxonomy on WP_Post\|WP_Post_Type\|WP_Term\|WP_User\|null\.$#'
+ identifier: property.nonObject
+ count: 12
+ path: includes/class-wc-template-loader.php
+
+ -
+ message: '#^Constant WC_TEMPLATE_DEBUG_MODE not found\.$#'
+ identifier: constant.notFound
+ count: 2
+ path: includes/class-wc-template-loader.php
+
+ -
+ message: '#^Method WC_Template_Loader\:\:add_support_for_product_page_gallery\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-template-loader.php
+
+ -
+ message: '#^Method WC_Template_Loader\:\:comments_template_loader\(\) should return string but return statement is missing\.$#'
+ identifier: return.missing
+ count: 1
+ path: includes/class-wc-template-loader.php
+
+ -
+ message: '#^Method WC_Template_Loader\:\:get_current_shop_view_args\(\) should return array but returns object\{page\: int, columns\: int, rows\: int\}&stdClass\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-template-loader.php
+
+ -
+ message: '#^Method WC_Template_Loader\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-template-loader.php
+
+ -
+ message: '#^Method WC_Template_Loader\:\:unsupported_theme_init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-template-loader.php
+
+ -
+ message: '#^Method WC_Template_Loader\:\:unsupported_theme_product_page_init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-template-loader.php
+
+ -
+ message: '#^Method WC_Template_Loader\:\:unsupported_theme_shop_page_init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-template-loader.php
+
+ -
+ message: '#^Method WC_Template_Loader\:\:unsupported_theme_tax_archive_init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-template-loader.php
+
+ -
+ message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 3
+ path: includes/class-wc-template-loader.php
+
+ -
+ message: '#^Parameter \#1 \$taxonomy of static method WC_Template_Loader\:\:taxonomy_has_block_template\(\) expects object, WP_Post\|WP_Post_Type\|WP_Term\|WP_User\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-template-loader.php
+
+ -
+ message: '#^Access to an undefined property WP_Theme\:\:\$Name\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/class-wc-tracker.php
+
+ -
+ message: '#^Access to an undefined property WP_Theme\:\:\$Version\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/class-wc-tracker.php
+
+ -
+ message: '#^Access to an undefined property WooCommerce\:\:\$payment_gateways\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/class-wc-tracker.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$supports\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/class-wc-tracker.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$title\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/class-wc-tracker.php
+
+ -
+ message: '#^Argument of an invalid type array\<int, WP_Term\>\|WP_Error supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
+ count: 1
+ path: includes/class-wc-tracker.php
+
+ -
+ message: '#^Call to function is_callable\(\) with ''WC_Helper_Options\:…'' will always evaluate to true\.$#'
+ identifier: function.alreadyNarrowedType
+ count: 1
+ path: includes/class-wc-tracker.php
+
+ -
+ message: '#^Call to function is_callable\(\) with array\{Automattic\\Jetpack\\Status, ''in_safe_mode''\} will always evaluate to true\.$#'
+ identifier: function.alreadyNarrowedType
+ count: 1
+ path: includes/class-wc-tracker.php
+
+ -
+ message: '#^Cannot access offset 1 on list\<string\>\|false\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/class-wc-tracker.php
+
+ -
+ message: '#^Cannot access offset int\<0, max\> on list\<string\>\|false\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 4
+ path: includes/class-wc-tracker.php
+
+ -
+ message: '#^Cannot access offset mixed on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/class-wc-tracker.php
+
+ -
+ message: '#^Cannot access offset non\-falsy\-string on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/class-wc-tracker.php
+
+ -
+ message: '#^Cannot call method call_function\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-tracker.php
+
+ -
+ message: '#^Cannot call method get_data\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-tracker.php
+
+ -
+ message: '#^Cannot call method get_preferred_provider\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-tracker.php
+
+ -
+ message: '#^Cannot call method get_providers\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-tracker.php
+
+ -
+ message: '#^Cannot call method init\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-tracker.php
+
+ -
+ message: '#^Cannot call method is_woocommerce_aware_plugin\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-tracker.php
+
+ -
+ message: '#^Constant WP_MEMORY_LIMIT not found\.$#'
+ identifier: constant.notFound
+ count: 1
+ path: includes/class-wc-tracker.php
+
+ -
+ message: '#^Method WC_Tracker\:\:get_brands_counts\(\) should return int but returns string\|WP_Error\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-tracker.php
+
+ -
+ message: '#^Method WC_Tracker\:\:get_category_counts\(\) should return int but returns string\|WP_Error\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-tracker.php
+
+ -
+ message: '#^Method WC_Tracker\:\:get_order_dates\(\) should return string but returns array\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-tracker.php
+
+ -
+ message: '#^Method WC_Tracker\:\:get_wcpay_settings\(\) should return array but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-tracker.php
+
+ -
+ message: '#^Method WC_Tracker\:\:get_woocommerce_mobile_usage\(\) should return array but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-tracker.php
+
+ -
+ message: '#^Method WC_Tracker\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-tracker.php
+
+ -
+ message: '#^Method WC_Tracker\:\:send_tracking_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-tracker.php
+
+ -
+ message: '#^Parameter \#1 \$args of function get_terms expects array\{taxonomy\?\: array\<string\>\|string, object_ids\?\: array\<int\>\|int, orderby\?\: string, order\?\: string, hide_empty\?\: bool\|int, include\?\: array\<int\>\|string, exclude\?\: array\<int\>\|string, exclude_tree\?\: array\<int\>\|string, \.\.\.\}, ''product_type'' given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-tracker.php
+
+ -
+ message: '#^Parameter \#1 \$args of function wp_count_terms expects array\{taxonomy\?\: array\<string\>\|string, object_ids\?\: array\<int\>\|int, orderby\?\: string, order\?\: string, hide_empty\?\: bool\|int, include\?\: array\<int\>\|string, exclude\?\: array\<int\>\|string, exclude_tree\?\: array\<int\>\|string, \.\.\.\}, ''product_brand'' given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-tracker.php
+
+ -
+ message: '#^Parameter \#1 \$args of function wp_count_terms expects array\{taxonomy\?\: array\<string\>\|string, object_ids\?\: array\<int\>\|int, orderby\?\: string, order\?\: string, hide_empty\?\: bool\|int, include\?\: array\<int\>\|string, exclude\?\: array\<int\>\|string, exclude_tree\?\: array\<int\>\|string, \.\.\.\}, ''product_cat'' given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-tracker.php
+
+ -
+ message: '#^Parameter \#1 \$arr1 of function array_merge expects array, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-tracker.php
+
+ -
+ message: '#^Parameter \#1 \$block_name of static method Automattic\\WooCommerce\\Internal\\Utilities\\BlocksUtil\:\:get_blocks_from_widget_area\(\) expects array, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-tracker.php
+
+ -
+ message: '#^Parameter \#1 \$bool of function wc_bool_to_string expects bool\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-tracker.php
+
+ -
+ message: '#^Parameter \#1 \$size of function wc_let_to_num expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-tracker.php
+
+ -
+ message: '#^Parameter \#1 \$str of function trim expects string, string\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-tracker.php
+
+ -
+ message: '#^Parameter \#2 \$args of function wp_safe_remote_post expects array\{method\?\: string, timeout\?\: float, redirection\?\: int, httpversion\?\: string, user\-agent\?\: string, reject_unsafe_urls\?\: bool, blocking\?\: bool, headers\?\: array\|string, \.\.\.\}, array\{method\: ''POST'', timeout\: 45, redirection\: 5, httpversion\: ''1\.0'', blocking\: false, headers\: array\{user\-agent\: non\-falsy\-string\}, body\: non\-empty\-string\|false, cookies\: array\{\}\} given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-tracker.php
+
+ -
+ message: '#^Parameter \#2 \$haystack of function in_array expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-tracker.php
+
+ -
+ message: '#^Possibly invalid array key type mixed\.$#'
+ identifier: offsetAccess.invalidOffset
+ count: 1
+ path: includes/class-wc-tracker.php
+
+ -
+ message: '#^Property WC_Shipping_Method\:\:\$enabled \(string\) in isset\(\) is not nullable\.$#'
+ identifier: isset.property
+ count: 1
+ path: includes/class-wc-tracker.php
+
+ -
+ message: '#^Method WC_Validation\:\:is_email\(\) should return bool but returns string\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-validation.php
+
+ -
+ message: '#^Parameter \#1 \$phone of function wc_format_phone_number expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-validation.php
+
+ -
+ message: '#^Parameter \#1 \$str of function trim expects string, string\|null given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/class-wc-validation.php
+
+ -
+ message: '#^@param tag must not be named \$this\. Choose a descriptive alias, for example \$instance\.$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/class-wc-webhook.php
+
+ -
+ message: '#^Access to private property WooCommerce\:\:\$api\.$#'
+ identifier: property.private
+ count: 1
+ path: includes/class-wc-webhook.php
+
+ -
+ message: '#^Action callback returns mixed but should not return anything\.$#'
+ identifier: return.void
+ count: 1
+ path: includes/class-wc-webhook.php
+
+ -
+ message: '#^Binary operation "\." between ''wp_api_v'' and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: includes/class-wc-webhook.php
+
+ -
+ message: '#^Call to an undefined method object\:\:get_api_version_number\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/class-wc-webhook.php
+
+ -
+ message: '#^Call to method get_webhook_api_payload\(\) on an unknown class WC_API\.$#'
+ identifier: class.notFound
+ count: 1
+ path: includes/class-wc-webhook.php
+
+ -
+ message: '#^Cannot access property \$post_date on WP_Post\|null\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/class-wc-webhook.php
+
+ -
+ message: '#^Cannot call method get_endpoint_data\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-webhook.php
+
+ -
+ message: '#^Cannot call method get_status\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-wc-webhook.php
+
+ -
+ message: '#^Method WC_Webhook\:\:deliver\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-webhook.php
+
+ -
+ message: '#^Method WC_Webhook\:\:enqueue\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-webhook.php
+
+ -
+ message: '#^Method WC_Webhook\:\:failed_delivery\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-webhook.php
+
+ -
+ message: '#^Method WC_Webhook\:\:get_date_created\(\) should return WC_DateTime\|null but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-webhook.php
+
+ -
+ message: '#^Method WC_Webhook\:\:get_date_modified\(\) should return WC_DateTime\|null but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-webhook.php
+
+ -
+ message: '#^Method WC_Webhook\:\:get_failure_count\(\) should return int but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-webhook.php
+
+ -
+ message: '#^Method WC_Webhook\:\:get_pending_delivery\(\) should return bool but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-webhook.php
+
+ -
+ message: '#^Method WC_Webhook\:\:get_user_id\(\) should return int but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-wc-webhook.php
+
+ -
+ message: '#^Method WC_Webhook\:\:log_delivery\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-webhook.php
+
+ -
+ message: '#^Method WC_Webhook\:\:set_api_version\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-webhook.php
+
+ -
+ message: '#^Method WC_Webhook\:\:set_date_created\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-webhook.php
+
+ -
+ message: '#^Method WC_Webhook\:\:set_date_modified\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-webhook.php
+
+ -
+ message: '#^Method WC_Webhook\:\:set_delivery_url\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-webhook.php
+
+ -
+ message: '#^Method WC_Webhook\:\:set_failure_count\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-webhook.php
+
+ -
+ message: '#^Method WC_Webhook\:\:set_name\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-webhook.php
+
+ -
+ message: '#^Method WC_Webhook\:\:set_pending_delivery\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-webhook.php
+
+ -
+ message: '#^Method WC_Webhook\:\:set_secret\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-webhook.php
+
+ -
+ message: '#^Method WC_Webhook\:\:set_status\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-webhook.php
+
+ -
+ message: '#^Method WC_Webhook\:\:set_topic\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-webhook.php
+
+ -
+ message: '#^Method WC_Webhook\:\:set_user_id\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-wc-webhook.php
+
+ -
+ message: '#^PHPDoc tag @param has invalid value \(WC_Webhook \$this The current webhook class\.\)\: Unexpected token "\$this", expected variable at offset 217 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/class-wc-webhook.php
+
+ -
+ message: '#^Parameter \#1 \$failure_count of method WC_Webhook\:\:set_failure_count\(\) expects bool, int given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/class-wc-webhook.php
+
+ -
+ message: '#^Parameter \#1 \$hook_name of function add_action expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-webhook.php
+
+ -
+ message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 5
+ path: includes/class-wc-webhook.php
+
+ -
+ message: '#^Parameter \#1 \$message of method WC_Logger_Interface\:\:info\(\) expects string, bool\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-webhook.php
+
+ -
+ message: '#^Parameter \#1 \$object_or_string of function is_a expects object, int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-webhook.php
+
+ -
+ message: '#^Parameter \#1 \$str of function trim expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-webhook.php
+
+ -
+ message: '#^Parameter \#1 \$topic of function wc_is_webhook_valid_topic expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-webhook.php
+
+ -
+ message: '#^Parameter \#2 \$resource_id of method WC_Webhook\:\:get_wp_api_payload\(\) expects int, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-webhook.php
+
+ -
+ message: '#^Parameter \#2 \$value of method WC_Data\:\:set_date_prop\(\) expects int\|string, int\|string\|null given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/class-wc-webhook.php
+
+ -
+ message: '#^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/class-wc-webhook.php
+
+ -
+ message: '#^Parameter \#3 \$subject of function str_replace expects array\<string\>\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-wc-webhook.php
+
+ -
+ message: '#^Parameter \#3 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/class-wc-webhook.php
+
+ -
+ message: '#^@param int \$limit does not accept actual type of parameter\: null\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: includes/class-woocommerce.php
+
+ -
+ message: '#^Action callback returns int but should not return anything\.$#'
+ identifier: return.void
+ count: 1
+ path: includes/class-woocommerce.php
+
+ -
+ message: '#^Call to an undefined method object\:\:init\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/class-woocommerce.php
+
+ -
+ message: '#^Cannot access an offset on list\<string\>\|false\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/class-woocommerce.php
+
+ -
+ message: '#^Cannot call method call_function\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-woocommerce.php
+
+ -
+ message: '#^Cannot call method call_static\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-woocommerce.php
+
+ -
+ message: '#^Cannot call method get_global\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-woocommerce.php
+
+ -
+ message: '#^Cannot call method get_instance_of\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-woocommerce.php
+
+ -
+ message: '#^Cannot call method register\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 20
+ path: includes/class-woocommerce.php
+
+ -
+ message: '#^Cannot call method register_additional_features\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/class-woocommerce.php
+
+ -
+ message: '#^Constant WC_ABSPATH not found\.$#'
+ identifier: constant.notFound
+ count: 143
+ path: includes/class-woocommerce.php
+
+ -
+ message: '#^Constant WC_NOTICE_MIN_PHP_VERSION not found\.$#'
+ identifier: constant.notFound
+ count: 1
+ path: includes/class-woocommerce.php
+
+ -
+ message: '#^Constant WC_NOTICE_MIN_WP_VERSION not found\.$#'
+ identifier: constant.notFound
+ count: 1
+ path: includes/class-woocommerce.php
+
+ -
+ message: '#^Constant WC_PLUGIN_BASENAME not found\.$#'
+ identifier: constant.notFound
+ count: 1
+ path: includes/class-woocommerce.php
+
+ -
+ message: '#^Function as_next_scheduled_action not found\.$#'
+ identifier: function.notFound
+ count: 1
+ path: includes/class-woocommerce.php
+
+ -
+ message: '#^Function as_schedule_recurring_action not found\.$#'
+ identifier: function.notFound
+ count: 1
+ path: includes/class-woocommerce.php
+
+ -
+ message: '#^Function as_unschedule_all_actions not found\.$#'
+ identifier: function.notFound
+ count: 6
+ path: includes/class-woocommerce.php
+
+ -
+ message: '#^Method WooCommerce\:\:activated_plugin\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-woocommerce.php
+
+ -
+ message: '#^Method WooCommerce\:\:add_image_sizes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-woocommerce.php
+
+ -
+ message: '#^Method WooCommerce\:\:add_thumbnail_support\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-woocommerce.php
+
+ -
+ message: '#^Method WooCommerce\:\:add_woocommerce_inbox_variant\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-woocommerce.php
+
+ -
+ message: '#^Method WooCommerce\:\:add_woocommerce_remote_variant\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-woocommerce.php
+
+ -
+ message: '#^Method WooCommerce\:\:deactivated_plugin\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-woocommerce.php
+
+ -
+ message: '#^Method WooCommerce\:\:define\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-woocommerce.php
+
+ -
+ message: '#^Method WooCommerce\:\:define_constants\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-woocommerce.php
+
+ -
+ message: '#^Method WooCommerce\:\:define_tables\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-woocommerce.php
+
+ -
+ message: '#^Method WooCommerce\:\:frontend_includes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-woocommerce.php
+
+ -
+ message: '#^Method WooCommerce\:\:include_template_functions\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-woocommerce.php
+
+ -
+ message: '#^Method WooCommerce\:\:includes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-woocommerce.php
+
+ -
+ message: '#^Method WooCommerce\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-woocommerce.php
+
+ -
+ message: '#^Method WooCommerce\:\:init_customizer\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-woocommerce.php
+
+ -
+ message: '#^Method WooCommerce\:\:init_hooks\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-woocommerce.php
+
+ -
+ message: '#^Method WooCommerce\:\:is_request\(\) should return bool but return statement is missing\.$#'
+ identifier: return.missing
+ count: 1
+ path: includes/class-woocommerce.php
+
+ -
+ message: '#^Method WooCommerce\:\:load_plugin_textdomain\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-woocommerce.php
+
+ -
+ message: '#^Method WooCommerce\:\:load_rest_api\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-woocommerce.php
+
+ -
+ message: '#^Method WooCommerce\:\:load_webhooks\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-woocommerce.php
+
+ -
+ message: '#^Method WooCommerce\:\:log_errors\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-woocommerce.php
+
+ -
+ message: '#^Method WooCommerce\:\:on_plugins_loaded\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-woocommerce.php
+
+ -
+ message: '#^Method WooCommerce\:\:register_recurring_actions\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-woocommerce.php
+
+ -
+ message: '#^Method WooCommerce\:\:register_remote_log_handler\(\) should return array\<WC_Log_Handler\> but returns array\<mixed\>\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/class-woocommerce.php
+
+ -
+ message: '#^Method WooCommerce\:\:register_wp_admin_settings\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-woocommerce.php
+
+ -
+ message: '#^Method WooCommerce\:\:setup_environment\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-woocommerce.php
+
+ -
+ message: '#^Method WooCommerce\:\:theme_support_includes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-woocommerce.php
+
+ -
+ message: '#^Method WooCommerce\:\:wpdb_table_fix\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/class-woocommerce.php
+
+ -
+ message: '#^Parameter \#1 \$haystack of function strpos expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/class-woocommerce.php
+
+ -
+ message: '#^Parameter \#1 \$haystack of function strstr expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-woocommerce.php
+
+ -
+ message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/class-woocommerce.php
+
+ -
+ message: '#^Parameter \#1 \$string of function wc_string_to_bool expects bool\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/class-woocommerce.php
+
+ -
+ message: '#^Parameter \#2 \$haystack of function array_search expects array, list\<string\>\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/class-woocommerce.php
+
+ -
+ message: '#^Parameter \#2 \$scheme of function home_url expects string\|null, string\|false\|null given\.$#'
+ identifier: argument.type
+ count: 3
+ path: includes/class-woocommerce.php
+
+ -
+ message: '#^Parameter \#2 \$value of method WooCommerce\:\:define\(\) expects bool\|string, int given\.$#'
+ identifier: argument.type
+ count: 3
+ path: includes/class-woocommerce.php
+
+ -
+ message: '#^Property WooCommerce\:\:\$api \(WC_API\) does not accept mixed\.$#'
+ identifier: assign.propertyType
+ count: 2
+ path: includes/class-woocommerce.php
+
+ -
+ message: '#^Property WooCommerce\:\:\$api has unknown class WC_API as its type\.$#'
+ identifier: class.notFound
+ count: 1
+ path: includes/class-woocommerce.php
+
+ -
+ message: '#^Property WooCommerce\:\:\$session \(WC_Session\) does not accept object\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: includes/class-woocommerce.php
+
+ -
+ message: '#^Undefined variable\: \$site_url$#'
+ identifier: variable.undefined
+ count: 1
+ path: includes/class-woocommerce.php
+
+ -
+ message: '#^Variable \$site_url in empty\(\) is never defined\.$#'
+ identifier: empty.variable
+ count: 1
+ path: includes/class-woocommerce.php
+
+ -
+ message: '#^Call to method display_items\(\) on an unknown class WP_CLI\\Formatter\.$#'
+ identifier: class.notFound
+ count: 1
+ path: includes/cli/class-wc-cli-com-command.php
+
+ -
+ message: '#^Call to static method add_command\(\) on an unknown class WP_CLI\.$#'
+ identifier: class.notFound
+ count: 3
+ path: includes/cli/class-wc-cli-com-command.php
+
+ -
+ message: '#^Call to static method confirm\(\) on an unknown class WP_CLI\.$#'
+ identifier: class.notFound
+ count: 1
+ path: includes/cli/class-wc-cli-com-command.php
+
+ -
+ message: '#^Call to static method error\(\) on an unknown class WP_CLI\.$#'
+ identifier: class.notFound
+ count: 4
+ path: includes/cli/class-wc-cli-com-command.php
+
+ -
+ message: '#^Call to static method log\(\) on an unknown class WP_CLI\.$#'
+ identifier: class.notFound
+ count: 1
+ path: includes/cli/class-wc-cli-com-command.php
+
+ -
+ message: '#^Call to static method success\(\) on an unknown class WP_CLI\.$#'
+ identifier: class.notFound
+ count: 2
+ path: includes/cli/class-wc-cli-com-command.php
+
+ -
+ message: '#^Function WP_CLI\\Utils\\get_flag_value not found\.$#'
+ identifier: function.notFound
+ count: 2
+ path: includes/cli/class-wc-cli-com-command.php
+
+ -
+ message: '#^Instantiated class WP_CLI\\Formatter not found\.$#'
+ identifier: class.notFound
+ count: 1
+ path: includes/cli/class-wc-cli-com-command.php
+
+ -
+ message: '#^Method WC_CLI_COM_Command\:\:list_extensions\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/cli/class-wc-cli-com-command.php
+
+ -
+ message: '#^Method WC_CLI_COM_Command\:\:register_commands\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/cli/class-wc-cli-com-command.php
+
+ -
+ message: '#^PHPDoc tag @throws with type WP_CLI\\ExitException is not subtype of Throwable$#'
+ identifier: throws.notThrowable
+ count: 2
+ path: includes/cli/class-wc-cli-com-command.php
+
+ -
+ message: '#^Parameter \#1 \$str of function trim expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/cli/class-wc-cli-com-command.php
+
+ -
+ message: '#^Access to an undefined property WC_CLI_COM_Extension_Command\:\:\$item_type\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/cli/class-wc-cli-com-extension-command.php
+
+ -
+ message: '#^Call to static method add_command\(\) on an unknown class WP_CLI\.$#'
+ identifier: class.notFound
+ count: 1
+ path: includes/cli/class-wc-cli-com-extension-command.php
+
+ -
+ message: '#^Call to static method warning\(\) on an unknown class WP_CLI\.$#'
+ identifier: class.notFound
+ count: 1
+ path: includes/cli/class-wc-cli-com-extension-command.php
+
+ -
+ message: '#^Function WP_CLI\\Utils\\report_batch_operation_results not found\.$#'
+ identifier: function.notFound
+ count: 1
+ path: includes/cli/class-wc-cli-com-extension-command.php
+
+ -
+ message: '#^Method WC_CLI_COM_Extension_Command\:\:install\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/cli/class-wc-cli-com-extension-command.php
+
+ -
+ message: '#^Method WC_CLI_COM_Extension_Command\:\:register_commands\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/cli/class-wc-cli-com-extension-command.php
+
+ -
+ message: '#^WC_CLI_COM_Extension_Command\:\:install\(\) calls parent\:\:install\(\) but WC_CLI_COM_Extension_Command does not extend any class\.$#'
+ identifier: class.noParent
+ count: 1
+ path: includes/cli/class-wc-cli-com-extension-command.php
+
+ -
+ message: '#^Access to an undefined property WC_CLI_REST_Command\:\:\$api_url\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/cli/class-wc-cli-rest-command.php
+
+ -
+ message: '#^Call to method display_item\(\) on an unknown class WP_CLI\\Formatter\.$#'
+ identifier: class.notFound
+ count: 1
+ path: includes/cli/class-wc-cli-rest-command.php
+
+ -
+ message: '#^Call to method display_items\(\) on an unknown class WP_CLI\\Formatter\.$#'
+ identifier: class.notFound
+ count: 1
+ path: includes/cli/class-wc-cli-rest-command.php
+
+ -
+ message: '#^Call to static method debug\(\) on an unknown class WP_CLI\.$#'
+ identifier: class.notFound
+ count: 1
+ path: includes/cli/class-wc-cli-rest-command.php
+
+ -
+ message: '#^Call to static method error\(\) on an unknown class WP_CLI\.$#'
+ identifier: class.notFound
+ count: 2
+ path: includes/cli/class-wc-cli-rest-command.php
+
+ -
+ message: '#^Call to static method get_config\(\) on an unknown class WP_CLI\.$#'
+ identifier: class.notFound
+ count: 2
+ path: includes/cli/class-wc-cli-rest-command.php
+
+ -
+ message: '#^Call to static method line\(\) on an unknown class WP_CLI\.$#'
+ identifier: class.notFound
+ count: 3
+ path: includes/cli/class-wc-cli-rest-command.php
+
+ -
+ message: '#^Call to static method success\(\) on an unknown class WP_CLI\.$#'
+ identifier: class.notFound
+ count: 4
+ path: includes/cli/class-wc-cli-rest-command.php
+
+ -
+ message: '#^Cannot access property \$queries on mixed\.$#'
+ identifier: property.nonObject
+ count: 3
+ path: includes/cli/class-wc-cli-rest-command.php
+
+ -
+ message: '#^Function WP_CLI\\Utils\\get_flag_value not found\.$#'
+ identifier: function.notFound
+ count: 3
+ path: includes/cli/class-wc-cli-rest-command.php
+
+ -
+ message: '#^Instantiated class WP_CLI\\Formatter not found\.$#'
+ identifier: class.notFound
+ count: 1
+ path: includes/cli/class-wc-cli-rest-command.php
+
+ -
+ message: '#^Method WC_CLI_REST_Command\:\:create_item\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/cli/class-wc-cli-rest-command.php
+
+ -
+ message: '#^Method WC_CLI_REST_Command\:\:delete_item\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/cli/class-wc-cli-rest-command.php
+
+ -
+ message: '#^Method WC_CLI_REST_Command\:\:get_formatter\(\) has invalid return type WP_CLI\\Formatter\.$#'
+ identifier: class.notFound
+ count: 1
+ path: includes/cli/class-wc-cli-rest-command.php
+
+ -
+ message: '#^Method WC_CLI_REST_Command\:\:get_item\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/cli/class-wc-cli-rest-command.php
+
+ -
+ message: '#^Method WC_CLI_REST_Command\:\:list_items\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/cli/class-wc-cli-rest-command.php
+
+ -
+ message: '#^Method WC_CLI_REST_Command\:\:set_supported_ids\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/cli/class-wc-cli-rest-command.php
+
+ -
+ message: '#^Method WC_CLI_REST_Command\:\:update_item\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/cli/class-wc-cli-rest-command.php
+
+ -
+ message: '#^Parameter \#1 \$string of function strlen expects string, string\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/cli/class-wc-cli-rest-command.php
+
+ -
+ message: '#^Property WC_CLI_REST_Command\:\:\$resource_identifier \(int\) does not accept string\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: includes/cli/class-wc-cli-rest-command.php
+
+ -
+ message: '#^Property WC_CLI_REST_Command\:\:\$resource_identifier \(int\) does not accept string\|null\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: includes/cli/class-wc-cli-rest-command.php
+
+ -
+ message: '#^Property WC_CLI_REST_Command\:\:\$resource_identifier is never read, only written\.$#'
+ identifier: property.onlyWritten
+ count: 1
+ path: includes/cli/class-wc-cli-rest-command.php
+
+ -
+ message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
+ count: 1
+ path: includes/cli/class-wc-cli-runner.php
+
+ -
+ message: '#^Call to static method add_command\(\) on an unknown class WP_CLI\.$#'
+ identifier: class.notFound
+ count: 1
+ path: includes/cli/class-wc-cli-runner.php
+
+ -
+ message: '#^Call to static method debug\(\) on an unknown class WP_CLI\.$#'
+ identifier: class.notFound
+ count: 1
+ path: includes/cli/class-wc-cli-runner.php
+
+ -
+ message: '#^Call to static method get_config\(\) on an unknown class WP_CLI\.$#'
+ identifier: class.notFound
+ count: 1
+ path: includes/cli/class-wc-cli-runner.php
+
+ -
+ message: '#^Cannot access offset ''routes'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/cli/class-wc-cli-runner.php
+
+ -
+ message: '#^Cannot access offset ''schema'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/cli/class-wc-cli-runner.php
+
+ -
+ message: '#^Cannot access offset ''title'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/cli/class-wc-cli-runner.php
+
+ -
+ message: '#^Method WC_CLI_Runner\:\:after_wp_load\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/cli/class-wc-cli-runner.php
+
+ -
+ message: '#^Method WC_CLI_Runner\:\:register_route_commands\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/cli/class-wc-cli-runner.php
+
+ -
+ message: '#^Parameter \#1 \$name of class WC_CLI_REST_Command constructor expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/cli/class-wc-cli-runner.php
+
+ -
+ message: '#^Parameter \#1 \$string of function substr expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/cli/class-wc-cli-runner.php
+
+ -
+ message: '#^Parameter \#2 \$route of class WC_CLI_REST_Command constructor expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/cli/class-wc-cli-runner.php
+
+ -
+ message: '#^Parameter \#2 \$route of static method WC_CLI_Runner\:\:register_route_commands\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/cli/class-wc-cli-runner.php
+
+ -
+ message: '#^Parameter \#2 \$str of function explode expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/cli/class-wc-cli-runner.php
+
+ -
+ message: '#^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/cli/class-wc-cli-runner.php
+
+ -
+ message: '#^Parameter \#3 \$route_data of static method WC_CLI_Runner\:\:register_route_commands\(\) expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/cli/class-wc-cli-runner.php
+
+ -
+ message: '#^Parameter \#3 \$schema of class WC_CLI_REST_Command constructor expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/cli/class-wc-cli-runner.php
+
+ -
+ message: '#^Parameter \#3 \$subject of function str_replace expects array\<string\>\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/cli/class-wc-cli-runner.php
+
+ -
+ message: '#^Call to static method add_command\(\) on an unknown class WP_CLI\.$#'
+ identifier: class.notFound
+ count: 1
+ path: includes/cli/class-wc-cli-tool-command.php
+
+ -
+ message: '#^Call to static method get_config\(\) on an unknown class WP_CLI\.$#'
+ identifier: class.notFound
+ count: 1
+ path: includes/cli/class-wc-cli-tool-command.php
+
+ -
+ message: '#^Method WC_CLI_Tool_Command\:\:register_commands\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/cli/class-wc-cli-tool-command.php
+
+ -
+ message: '#^Undefined variable\: \$command_args$#'
+ identifier: variable.undefined
+ count: 1
+ path: includes/cli/class-wc-cli-tool-command.php
+
+ -
+ message: '#^Variable \$command_args in empty\(\) is never defined\.$#'
+ identifier: empty.variable
+ count: 2
+ path: includes/cli/class-wc-cli-tool-command.php
+
+ -
+ message: '#^Call to method display_items\(\) on an unknown class WP_CLI\\Formatter\.$#'
+ identifier: class.notFound
+ count: 1
+ path: includes/cli/class-wc-cli-tracker-command.php
+
+ -
+ message: '#^Call to static method add_command\(\) on an unknown class WP_CLI\.$#'
+ identifier: class.notFound
+ count: 1
+ path: includes/cli/class-wc-cli-tracker-command.php
+
+ -
+ message: '#^Instantiated class WP_CLI\\Formatter not found\.$#'
+ identifier: class.notFound
+ count: 1
+ path: includes/cli/class-wc-cli-tracker-command.php
+
+ -
+ message: '#^Method WC_CLI_Tracker_Command\:\:register_commands\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/cli/class-wc-cli-tracker-command.php
+
+ -
+ message: '#^Method WC_CLI_Tracker_Command\:\:show_tracker_snapshot\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/cli/class-wc-cli-tracker-command.php
+
+ -
+ message: '#^Cannot call method finish\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/cli/class-wc-cli-update-command.php
+
+ -
+ message: '#^Cannot call method tick\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/cli/class-wc-cli-update-command.php
+
+ -
+ message: '#^Class WP_CLI not found\.$#'
+ identifier: class.notFound
+ count: 4
+ path: includes/cli/class-wc-cli-update-command.php
+
+ -
+ message: '#^Constant WC_ABSPATH not found\.$#'
+ identifier: constant.notFound
+ count: 2
+ path: includes/cli/class-wc-cli-update-command.php
+
+ -
+ message: '#^Method WC_CLI_Update_Command\:\:register_commands\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/cli/class-wc-cli-update-command.php
+
+ -
+ message: '#^Method WC_CLI_Update_Command\:\:update\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/cli/class-wc-cli-update-command.php
+
+ -
+ message: '#^Parameter \#1 \$version1 of function version_compare expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/cli/class-wc-cli-update-command.php
+
+ -
+ message: '#^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/cli/class-wc-cli-update-command.php
+
+ -
+ message: '#^Parameter \#3 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/cli/class-wc-cli-update-command.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_attr expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/customizer/class-wc-customizer-control-cropping.php
+
+ -
+ message: '#^Binary operation "\." between ''post\.php\?post\='' and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: includes/customizer/class-wc-shop-customizer.php
+
+ -
+ message: '#^Cannot access property \$post_content on WP_Post\|null\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/customizer/class-wc-shop-customizer.php
+
+ -
+ message: '#^Constant WC_ABSPATH not found\.$#'
+ identifier: constant.notFound
+ count: 1
+ path: includes/customizer/class-wc-shop-customizer.php
+
+ -
+ message: '#^Constant WC_VERSION not found\.$#'
+ identifier: constant.notFound
+ count: 1
+ path: includes/customizer/class-wc-shop-customizer.php
+
+ -
+ message: '#^Method WC_Shop_Customizer\:\:add_checkout_section\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/customizer/class-wc-shop-customizer.php
+
+ -
+ message: '#^Method WC_Shop_Customizer\:\:add_frontend_scripts\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/customizer/class-wc-shop-customizer.php
+
+ -
+ message: '#^Method WC_Shop_Customizer\:\:add_product_catalog_section\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/customizer/class-wc-shop-customizer.php
+
+ -
+ message: '#^Method WC_Shop_Customizer\:\:add_product_images_section\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/customizer/class-wc-shop-customizer.php
+
+ -
+ message: '#^Method WC_Shop_Customizer\:\:add_scripts\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/customizer/class-wc-shop-customizer.php
+
+ -
+ message: '#^Method WC_Shop_Customizer\:\:add_sections\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/customizer/class-wc-shop-customizer.php
+
+ -
+ message: '#^Method WC_Shop_Customizer\:\:add_store_notice_section\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/customizer/class-wc-shop-customizer.php
+
+ -
+ message: '#^Method WC_Shop_Customizer\:\:add_styles\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/customizer/class-wc-shop-customizer.php
+
+ -
+ message: '#^Method WC_Shop_Customizer\:\:enqueue_scripts\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/customizer/class-wc-shop-customizer.php
+
+ -
+ message: '#^Parameter \#1 \$input_list of function wp_list_pluck expects array, array\<WP_Post\>\|false given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/customizer/class-wc-shop-customizer.php
+
+ -
+ message: '#^Parameter \#1 \$post of function get_post expects int\|WP_Post\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/customizer/class-wc-shop-customizer.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_js expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 4
+ path: includes/customizer/class-wc-shop-customizer.php
+
+ -
+ message: '#^Parameter \#2 \$args of method WP_Customize_Manager\:\:add_control\(\) expects array\{instance_number\?\: int, manager\?\: WP_Customize_Manager, id\?\: string, settings\?\: array, setting\?\: string, capability\?\: string, priority\?\: int, section\?\: string, \.\.\.\}, array\{label\: string, description\: string, section\: ''woocommerce_checkout'', settings\: ''woocommerce…'', active_callback\: array\{\$this\(WC_Shop_Customizer\), ''has_privacy_policy…''\}, type\: ''textarea''\} given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/customizer/class-wc-shop-customizer.php
+
+ -
+ message: '#^Parameter \#2 \$args of method WP_Customize_Manager\:\:add_control\(\) expects array\{instance_number\?\: int, manager\?\: WP_Customize_Manager, id\?\: string, settings\?\: array, setting\?\: string, capability\?\: string, priority\?\: int, section\?\: string, \.\.\.\}, array\{label\: string, description\: string, section\: ''woocommerce_checkout'', settings\: ''woocommerce…'', active_callback\: array\{\$this\(WC_Shop_Customizer\), ''has_terms_and…''\}, type\: ''text''\} given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/customizer/class-wc-shop-customizer.php
+
+ -
+ message: '#^Parameter \#2 \$args of method WP_Customize_Manager\:\:add_control\(\) expects array\{instance_number\?\: int, manager\?\: WP_Customize_Manager, id\?\: string, settings\?\: array, setting\?\: string, capability\?\: string, priority\?\: int, section\?\: string, \.\.\.\}, array\{label\: string, description\: string, section\: ''woocommerce_product…'', settings\: ''woocommerce_catalog…'', type\: ''number'', input_attrs\: array\{min\: mixed, max\: mixed, step\: 1\}\} given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/customizer/class-wc-shop-customizer.php
+
+ -
+ message: '#^Parameter \#2 \$args of method WP_Customize_Manager\:\:add_control\(\) expects array\{instance_number\?\: int, manager\?\: WP_Customize_Manager, id\?\: string, settings\?\: array, setting\?\: string, capability\?\: string, priority\?\: int, section\?\: string, \.\.\.\}, array\{label\: string, description\: string, section\: ''woocommerce_product…'', settings\: ''woocommerce_default…'', type\: ''select'', choices\: mixed\} given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/customizer/class-wc-shop-customizer.php
+
+ -
+ message: '#^Parameter \#2 \$args of method WP_Customize_Manager\:\:add_control\(\) expects array\{instance_number\?\: int, manager\?\: WP_Customize_Manager, id\?\: string, settings\?\: array, setting\?\: string, capability\?\: string, priority\?\: int, section\?\: string, \.\.\.\}, array\{label\: string, description\: string, section\: ''woocommerce_product…'', settings\: ''woocommerce_shop…'', type\: ''select'', choices\: array\{''''\: string, subcategories\: string, both\: string\}\} given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/customizer/class-wc-shop-customizer.php
+
+ -
+ message: '#^Parameter \#2 \$args of method WP_Customize_Manager\:\:add_control\(\) expects array\{instance_number\?\: int, manager\?\: WP_Customize_Manager, id\?\: string, settings\?\: array, setting\?\: string, capability\?\: string, priority\?\: int, section\?\: string, \.\.\.\}, array\{label\: string, description\: string, section\: ''woocommerce_product…'', settings\: ''woocommerce_single…'', type\: ''number'', input_attrs\: array\{min\: 0, step\: 1\}\} given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/customizer/class-wc-shop-customizer.php
+
+ -
+ message: '#^Parameter \#2 \$args of method WP_Customize_Manager\:\:add_control\(\) expects array\{instance_number\?\: int, manager\?\: WP_Customize_Manager, id\?\: string, settings\?\: array, setting\?\: string, capability\?\: string, priority\?\: int, section\?\: string, \.\.\.\}, array\{label\: string, description\: string, section\: ''woocommerce_product…'', settings\: ''woocommerce…'', type\: ''number'', input_attrs\: array\{min\: 0, step\: 1\}\} given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/customizer/class-wc-shop-customizer.php
+
+ -
+ message: '#^Parameter \#2 \$args of method WP_Customize_Manager\:\:add_control\(\) expects array\{instance_number\?\: int, manager\?\: WP_Customize_Manager, id\?\: string, settings\?\: array, setting\?\: string, capability\?\: string, priority\?\: int, section\?\: string, \.\.\.\}, array\{label\: string, description\: string, section\: ''woocommerce_product…'', settings\: ''woocommerce…'', type\: ''select'', choices\: array\{''''\: string, subcategories\: string, both\: string\}\} given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/customizer/class-wc-shop-customizer.php
+
+ -
+ message: '#^Parameter \#2 \$args of method WP_Customize_Manager\:\:add_control\(\) expects array\{instance_number\?\: int, manager\?\: WP_Customize_Manager, id\?\: string, settings\?\: array, setting\?\: string, capability\?\: string, priority\?\: int, section\?\: string, \.\.\.\}, array\{label\: string, description\: string, section\: ''woocommerce_store…'', settings\: ''woocommerce_demo…'', type\: ''textarea''\} given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/customizer/class-wc-shop-customizer.php
+
+ -
+ message: '#^Parameter \#2 \$args of method WP_Customize_Manager\:\:add_control\(\) expects array\{instance_number\?\: int, manager\?\: WP_Customize_Manager, id\?\: string, settings\?\: array, setting\?\: string, capability\?\: string, priority\?\: int, section\?\: string, \.\.\.\}, array\{label\: string, section\: ''woocommerce_checkout'', settings\: ''woocommerce_terms…''\|''wp_page_for_privacy…'', type\: ''select'', choices\: non\-empty\-array\} given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/customizer/class-wc-shop-customizer.php
+
+ -
+ message: '#^Parameter \#2 \$args of method WP_Customize_Manager\:\:add_control\(\) expects array\{instance_number\?\: int, manager\?\: WP_Customize_Manager, id\?\: string, settings\?\: array, setting\?\: string, capability\?\: string, priority\?\: int, section\?\: string, \.\.\.\}, array\{label\: string, section\: ''woocommerce_checkout'', settings\: ''woocommerce…'', type\: ''checkbox''\} given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/customizer/class-wc-shop-customizer.php
+
+ -
+ message: '#^Parameter \#2 \$args of method WP_Customize_Manager\:\:add_control\(\) expects array\{instance_number\?\: int, manager\?\: WP_Customize_Manager, id\?\: string, settings\?\: array, setting\?\: string, capability\?\: string, priority\?\: int, section\?\: string, \.\.\.\}, array\{label\: string, section\: ''woocommerce_checkout'', settings\: ''woocommerce…'', type\: ''select'', choices\: array\{hidden\: string, optional\: string, required\: string\}\} given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/customizer/class-wc-shop-customizer.php
+
+ -
+ message: '#^Parameter \#2 \$args of method WP_Customize_Manager\:\:add_control\(\) expects array\{instance_number\?\: int, manager\?\: WP_Customize_Manager, id\?\: string, settings\?\: array, setting\?\: string, capability\?\: string, priority\?\: int, section\?\: string, \.\.\.\}, array\{label\: string, section\: ''woocommerce_store…'', settings\: ''woocommerce_demo…'', type\: ''checkbox''\} given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/customizer/class-wc-shop-customizer.php
+
+ -
+ message: '#^Parameter \#2 \$args of method WP_Customize_Manager\:\:add_panel\(\) expects array\{priority\?\: int, capability\?\: string, theme_supports\?\: array\<mixed\>, title\?\: string, description\?\: string, type\?\: string, active_callback\?\: callable\(\)\: mixed\}, array\{priority\: 200, capability\: ''manage_woocommerce'', theme_supports\: '''', title\: string\} given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/customizer/class-wc-shop-customizer.php
+
+ -
+ message: '#^Parameter \#2 \$args of method WP_Customize_Manager\:\:add_setting\(\) expects array\{type\?\: string, capability\?\: string, theme_supports\?\: array\<string\>\|string, default\?\: string, transport\?\: string, validate_callback\?\: callable\(\)\: mixed, sanitize_callback\?\: callable\(\)\: mixed, sanitize_js_callback\?\: callable\(\)\: mixed, \.\.\.\}, array\{default\: 300, type\: ''option'', capability\: ''manage_woocommerce'', sanitize_callback\: ''absint'', sanitize_js_callback\: ''absint''\} given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/customizer/class-wc-shop-customizer.php
+
+ -
+ message: '#^Parameter \#2 \$args of method WP_Customize_Manager\:\:add_setting\(\) expects array\{type\?\: string, capability\?\: string, theme_supports\?\: array\<string\>\|string, default\?\: string, transport\?\: string, validate_callback\?\: callable\(\)\: mixed, sanitize_callback\?\: callable\(\)\: mixed, sanitize_js_callback\?\: callable\(\)\: mixed, \.\.\.\}, array\{default\: 4, type\: ''option'', capability\: ''manage_woocommerce'', sanitize_callback\: ''absint'', sanitize_js_callback\: ''absint''\} given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/customizer/class-wc-shop-customizer.php
+
+ -
+ message: '#^Parameter \#2 \$args of method WP_Customize_Manager\:\:add_setting\(\) expects array\{type\?\: string, capability\?\: string, theme_supports\?\: array\<string\>\|string, default\?\: string, transport\?\: string, validate_callback\?\: callable\(\)\: mixed, sanitize_callback\?\: callable\(\)\: mixed, sanitize_js_callback\?\: callable\(\)\: mixed, \.\.\.\}, array\{default\: 600, type\: ''option'', capability\: ''manage_woocommerce'', sanitize_callback\: ''absint'', sanitize_js_callback\: ''absint''\} given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/customizer/class-wc-shop-customizer.php
+
+ -
+ message: '#^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 4
+ path: includes/customizer/class-wc-shop-customizer.php
+
+ -
+ message: '#^Property WP_Customize_Manager\:\:\$selective_refresh \(WP_Customize_Selective_Refresh\) in isset\(\) is not nullable\.$#'
+ identifier: isset.property
+ count: 2
+ path: includes/customizer/class-wc-shop-customizer.php
+
+ -
+ message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
+ count: 1
+ path: includes/data-stores/abstract-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Cannot access an offset on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/data-stores/abstract-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Cannot access offset ''_cart_discount'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/data-stores/abstract-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Cannot access offset ''_cart_discount_tax'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/data-stores/abstract-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Cannot access offset ''_order_currency'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/data-stores/abstract-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Cannot access offset ''_order_shipping'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/data-stores/abstract-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Cannot access offset ''_order_shipping_tax'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/data-stores/abstract-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Cannot access offset ''_order_tax'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/data-stores/abstract-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Cannot access offset ''_order_total'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/data-stores/abstract-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Cannot access offset ''_order_version'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/data-stores/abstract-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Cannot access offset ''_prices_include_tax'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/data-stores/abstract-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Cannot access offset ''property_name'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/data-stores/abstract-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Cannot access offset 0 on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 10
+ path: includes/data-stores/abstract-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Cannot access offset int\|string on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/data-stores/abstract-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Cannot access offset mixed on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 4
+ path: includes/data-stores/abstract-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Cannot access offset non\-falsy\-string on array\|bool\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/data-stores/abstract-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Cannot access offset non\-falsy\-string on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/data-stores/abstract-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Cannot access property \$posts on mixed\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/data-stores/abstract-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Cannot call method getOffsetTimestamp\(\) on WC_DateTime\|null\.$#'
+ identifier: method.nonObject
+ count: 5
+ path: includes/data-stores/abstract-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Cannot call method getTimestamp\(\) on WC_DateTime\|null\.$#'
+ identifier: method.nonObject
+ count: 5
+ path: includes/data-stores/abstract-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Cannot call method remove\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/data-stores/abstract-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Cannot call method update\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/data-stores/abstract-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Cannot call method warning\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/data-stores/abstract-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Cannot cast mixed to float\.$#'
+ identifier: cast.double
+ count: 2
+ path: includes/data-stores/abstract-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Class WC_Order referenced with incorrect case\: WC_order\.$#'
+ identifier: class.nameCase
+ count: 3
+ path: includes/data-stores/abstract-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Method Abstract_WC_Order_Data_Store_CPT\:\:clear_caches\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/abstract-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Method Abstract_WC_Order_Data_Store_CPT\:\:create\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/abstract-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Method Abstract_WC_Order_Data_Store_CPT\:\:delete_items\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/abstract-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Method Abstract_WC_Order_Data_Store_CPT\:\:prime_order_item_caches_for_orders\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/abstract-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Method Abstract_WC_Order_Data_Store_CPT\:\:read\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/abstract-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Method Abstract_WC_Order_Data_Store_CPT\:\:read_order_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/abstract-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Method Abstract_WC_Order_Data_Store_CPT\:\:set_order_props\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/abstract-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Method Abstract_WC_Order_Data_Store_CPT\:\:set_order_props\(\) has parameter \$order with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/data-stores/abstract-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Method Abstract_WC_Order_Data_Store_CPT\:\:update\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/abstract-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Method Abstract_WC_Order_Data_Store_CPT\:\:update_order_from_object\(\) should return bool but returns int\<0, max\>\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/data-stores/abstract-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Method Abstract_WC_Order_Data_Store_CPT\:\:update_order_meta_from_object\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/abstract-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Method Abstract_WC_Order_Data_Store_CPT\:\:update_payment_token_ids\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/abstract-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Method Abstract_WC_Order_Data_Store_CPT\:\:update_post_meta\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/abstract-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Method WC_Abstract_Order\:\:get_type\(\) invoked with 1 parameter, 0 required\.$#'
+ identifier: arguments.count
+ count: 1
+ path: includes/data-stores/abstract-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Parameter \#1 \$data of function maybe_unserialize expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/data-stores/abstract-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Parameter \#1 \$input of function array_keys expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/data-stores/abstract-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Parameter \#1 \$order of method Abstract_WC_Order_Data_Store_CPT\:\:get_post_status\(\) expects WC_Order, WC_Abstract_Order given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/data-stores/abstract-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Parameter \#1 \$order of method Abstract_WC_Order_Data_Store_CPT\:\:update_post_meta\(\) expects WC_Order, WC_Abstract_Order given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/data-stores/abstract-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Parameter \#1 \$value of method WC_Abstract_Order\:\:set_discount_total\(\) expects string, float given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/data-stores/abstract-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Parameter \#1 \$value of method WC_Abstract_Order\:\:set_version\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/data-stores/abstract-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Parameter \#1 \$var of function count expects array\|Countable, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/data-stores/abstract-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Parameter \#2 \$array of function array_map expects array, array\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/data-stores/abstract-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Parameter \#2 \$meta_key of function delete_post_meta expects string, int\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/data-stores/abstract-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/data-stores/abstract-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Return type \(void\) of method Abstract_WC_Order_Data_Store_CPT\:\:delete\(\) should be compatible with return type \(bool\) of method WC_Object_Data_Store_Interface\:\:delete\(\)$#'
+ identifier: method.childReturnType
+ count: 1
+ path: includes/data-stores/abstract-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:delete_metadata\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/data-stores/abstract-wc-order-item-type-data-store.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_metadata\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/data-stores/abstract-wc-order-item-type-data-store.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:update_metadata\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/data-stores/abstract-wc-order-item-type-data-store.php
+
+ -
+ message: '#^Cannot call method call_function\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/data-stores/abstract-wc-order-item-type-data-store.php
+
+ -
+ message: '#^Cannot call method feature_is_enabled\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/data-stores/abstract-wc-order-item-type-data-store.php
+
+ -
+ message: '#^Method Abstract_WC_Order_Item_Type_Data_Store\:\:clear_cache\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/abstract-wc-order-item-type-data-store.php
+
+ -
+ message: '#^Method Abstract_WC_Order_Item_Type_Data_Store\:\:create\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/abstract-wc-order-item-type-data-store.php
+
+ -
+ message: '#^Method Abstract_WC_Order_Item_Type_Data_Store\:\:delete\(\) should return bool but return statement is missing\.$#'
+ identifier: return.missing
+ count: 2
+ path: includes/data-stores/abstract-wc-order-item-type-data-store.php
+
+ -
+ message: '#^Method Abstract_WC_Order_Item_Type_Data_Store\:\:read\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/abstract-wc-order-item-type-data-store.php
+
+ -
+ message: '#^Method Abstract_WC_Order_Item_Type_Data_Store\:\:save_cogs_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/abstract-wc-order-item-type-data-store.php
+
+ -
+ message: '#^Method Abstract_WC_Order_Item_Type_Data_Store\:\:save_item_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/abstract-wc-order-item-type-data-store.php
+
+ -
+ message: '#^Method Abstract_WC_Order_Item_Type_Data_Store\:\:update\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/abstract-wc-order-item-type-data-store.php
+
+ -
+ message: '#^PHPDoc tag @var for property Abstract_WC_Order_Item_Type_Data_Store\:\:\$order_item_data_store with type WC_Order_Item_Data_Store is incompatible with native type WC_Data_Store\.$#'
+ identifier: property.phpDocType
+ count: 1
+ path: includes/data-stores/abstract-wc-order-item-type-data-store.php
+
+ -
+ message: '#^Call to an undefined method object\:\:get_coupon_held_keys_for_users\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/data-stores/class-wc-coupon-data-store-cpt.php
+
+ -
+ message: '#^Cannot access property \$posts on mixed\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/data-stores/class-wc-coupon-data-store-cpt.php
+
+ -
+ message: '#^Cannot call method getOffsetTimestamp\(\) on WC_DateTime\|null\.$#'
+ identifier: method.nonObject
+ count: 3
+ path: includes/data-stores/class-wc-coupon-data-store-cpt.php
+
+ -
+ message: '#^Cannot call method getTimestamp\(\) on WC_DateTime\|null\.$#'
+ identifier: method.nonObject
+ count: 3
+ path: includes/data-stores/class-wc-coupon-data-store-cpt.php
+
+ -
+ message: '#^Cannot call method update\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/data-stores/class-wc-coupon-data-store-cpt.php
+
+ -
+ message: '#^Cannot cast mixed to int\.$#'
+ identifier: cast.int
+ count: 1
+ path: includes/data-stores/class-wc-coupon-data-store-cpt.php
+
+ -
+ message: '#^Method WC_Coupon_Data_Store_CPT\:\:add_coupon_used_by\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-coupon-data-store-cpt.php
+
+ -
+ message: '#^Method WC_Coupon_Data_Store_CPT\:\:create\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-coupon-data-store-cpt.php
+
+ -
+ message: '#^Method WC_Coupon_Data_Store_CPT\:\:delete\(\) should return bool but empty return statement found\.$#'
+ identifier: return.empty
+ count: 1
+ path: includes/data-stores/class-wc-coupon-data-store-cpt.php
+
+ -
+ message: '#^Method WC_Coupon_Data_Store_CPT\:\:delete\(\) should return bool but return statement is missing\.$#'
+ identifier: return.missing
+ count: 2
+ path: includes/data-stores/class-wc-coupon-data-store-cpt.php
+
+ -
+ message: '#^Method WC_Coupon_Data_Store_CPT\:\:read\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-coupon-data-store-cpt.php
+
+ -
+ message: '#^Method WC_Coupon_Data_Store_CPT\:\:update\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-coupon-data-store-cpt.php
+
+ -
+ message: '#^Method WC_Coupon_Data_Store_CPT\:\:update_post_meta\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-coupon-data-store-cpt.php
+
+ -
+ message: '#^Parameter \#1 \$id of method WC_Data\:\:set_id\(\) expects int, int\<1, max\>\|WP_Error given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/data-stores/class-wc-coupon-data-store-cpt.php
+
+ -
+ message: '#^Parameter \#2 \$str of function explode expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/data-stores/class-wc-coupon-data-store-cpt.php
+
+ -
+ message: '#^Strict comparison using \!\=\= between '''' and mixed~\(0\|0\.0\|''''\|''0''\|array\{\}\|false\|null\) will always evaluate to true\.$#'
+ identifier: notIdentical.alwaysTrue
+ count: 1
+ path: includes/data-stores/class-wc-coupon-data-store-cpt.php
+
+ -
+ message: '#^Cannot access offset ''key'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/data-stores/class-wc-customer-data-store-session.php
+
+ -
+ message: '#^Cannot access offset ''value'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/data-stores/class-wc-customer-data-store-session.php
+
+ -
+ message: '#^Method WC_Customer_Data_Store_Session\:\:create\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-customer-data-store-session.php
+
+ -
+ message: '#^Method WC_Customer_Data_Store_Session\:\:delete\(\) should return bool but return statement is missing\.$#'
+ identifier: return.missing
+ count: 1
+ path: includes/data-stores/class-wc-customer-data-store-session.php
+
+ -
+ message: '#^Method WC_Customer_Data_Store_Session\:\:read\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-customer-data-store-session.php
+
+ -
+ message: '#^Method WC_Customer_Data_Store_Session\:\:save_to_session\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-customer-data-store-session.php
+
+ -
+ message: '#^Method WC_Customer_Data_Store_Session\:\:set_defaults\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-customer-data-store-session.php
+
+ -
+ message: '#^Method WC_Customer_Data_Store_Session\:\:update\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-customer-data-store-session.php
+
+ -
+ message: '#^Parameter \#1 \$key of method WC_Data\:\:add_meta_data\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/data-stores/class-wc-customer-data-store-session.php
+
+ -
+ message: '#^Parameter \#2 \$value of method WC_Data\:\:add_meta_data\(\) expects array\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/data-stores/class-wc-customer-data-store-session.php
+
+ -
+ message: '#^@param string \$last_order_id does not accept actual type of parameter\: mixed\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: includes/data-stores/class-wc-customer-data-store.php
+
+ -
+ message: '#^Access to an undefined property WP_User_Query\:\:\$total_users\.$#'
+ identifier: property.notFound
+ count: 2
+ path: includes/data-stores/class-wc-customer-data-store.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$meta_key\.$#'
+ identifier: property.notFound
+ count: 7
+ path: includes/data-stores/class-wc-customer-data-store.php
+
+ -
+ message: '#^Cannot call method custom_orders_table_usage_is_enabled\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/data-stores/class-wc-customer-data-store.php
+
+ -
+ message: '#^Method WC_Customer_Data_Store\:\:create\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-customer-data-store.php
+
+ -
+ message: '#^Method WC_Customer_Data_Store\:\:delete\(\) should return bool but empty return statement found\.$#'
+ identifier: return.empty
+ count: 1
+ path: includes/data-stores/class-wc-customer-data-store.php
+
+ -
+ message: '#^Method WC_Customer_Data_Store\:\:delete\(\) should return bool but return statement is missing\.$#'
+ identifier: return.missing
+ count: 1
+ path: includes/data-stores/class-wc-customer-data-store.php
+
+ -
+ message: '#^Method WC_Customer_Data_Store\:\:get_last_order\(\) should return WC_Order\|false but returns bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/data-stores/class-wc-customer-data-store.php
+
+ -
+ message: '#^Method WC_Customer_Data_Store\:\:get_total_spent\(\) should return float but returns string\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/data-stores/class-wc-customer-data-store.php
+
+ -
+ message: '#^Method WC_Customer_Data_Store\:\:read\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-customer-data-store.php
+
+ -
+ message: '#^Method WC_Customer_Data_Store\:\:update\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-customer-data-store.php
+
+ -
+ message: '#^Method WC_Customer_Data_Store\:\:update_user_meta\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-customer-data-store.php
+
+ -
+ message: '#^One or more @param tags has an invalid name or invalid syntax\.$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/data-stores/class-wc-customer-data-store.php
+
+ -
+ message: '#^PHPDoc tag @param has invalid value \(WC_Customer The customer to get the total spent for\.\)\: Unexpected token "The", expected variable at offset 177 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/data-stores/class-wc-customer-data-store.php
+
+ -
+ message: '#^PHPDoc tag @param has invalid value \(string The SQL query to use\.\)\: Unexpected token "The", expected variable at offset 130 on line 4$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/data-stores/class-wc-customer-data-store.php
+
+ -
+ message: '#^Parameter \#1 \$callback of function array_map expects \(callable\(mixed\)\: mixed\)\|null, ''wc_flatten_meta…'' given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/data-stores/class-wc-customer-data-store.php
+
+ -
+ message: '#^Parameter \#1 \$code of class WC_Data_Exception constructor expects string, int\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/data-stores/class-wc-customer-data-store.php
+
+ -
+ message: '#^Parameter \#1 \$data of function esc_sql expects array\|string, int given\.$#'
+ identifier: argument.type
+ count: 3
+ path: includes/data-stores/class-wc-customer-data-store.php
+
+ -
+ message: '#^Parameter \#1 \$date of method WC_Customer\:\:set_date_modified\(\) expects int\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/data-stores/class-wc-customer-data-store.php
+
+ -
+ message: '#^Parameter \#2 \$array of function array_map expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/data-stores/class-wc-customer-data-store.php
+
+ -
+ message: '#^Parameter \#2 \$array of function implode expects array\<string\>, array\<array\|string\> given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/data-stores/class-wc-customer-data-store.php
+
+ -
+ message: '#^Parameter \#3 \$length of function array_slice expects int\|null, int\<min, \-1\>\|int\<1, max\>\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/data-stores/class-wc-customer-data-store.php
+
+ -
+ message: '#^Cannot call method getTimestamp\(\) on WC_DateTime\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/data-stores/class-wc-customer-download-data-store.php
+
+ -
+ message: '#^Method WC_Customer_Download_Data_Store\:\:create\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-customer-download-data-store.php
+
+ -
+ message: '#^Method WC_Customer_Download_Data_Store\:\:create_from_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-customer-download-data-store.php
+
+ -
+ message: '#^Method WC_Customer_Download_Data_Store\:\:delete\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-customer-download-data-store.php
+
+ -
+ message: '#^Method WC_Customer_Download_Data_Store\:\:delete_by_download_id\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-customer-download-data-store.php
+
+ -
+ message: '#^Method WC_Customer_Download_Data_Store\:\:delete_by_id\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-customer-download-data-store.php
+
+ -
+ message: '#^Method WC_Customer_Download_Data_Store\:\:delete_by_order_id\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-customer-download-data-store.php
+
+ -
+ message: '#^Method WC_Customer_Download_Data_Store\:\:read\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-customer-download-data-store.php
+
+ -
+ message: '#^Method WC_Customer_Download_Data_Store\:\:update\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-customer-download-data-store.php
+
+ -
+ message: '#^Method WC_Customer_Download_Data_Store\:\:update_download_id\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-customer-download-data-store.php
+
+ -
+ message: '#^Method WC_Customer_Download_Data_Store\:\:update_user_by_order_id\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-customer-download-data-store.php
+
+ -
+ message: '#^Parameter \#1 \$object of function get_class expects object, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/data-stores/class-wc-customer-download-data-store.php
+
+ -
+ message: '#^Parameter \#2 \$timestamp of function date expects int, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/data-stores/class-wc-customer-download-data-store.php
+
+ -
+ message: '#^Cannot call method getTimestamp\(\) on WC_DateTime\|null\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: includes/data-stores/class-wc-customer-download-log-data-store.php
+
+ -
+ message: '#^Method WC_Customer_Download_Log_Data_Store\:\:create\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-customer-download-log-data-store.php
+
+ -
+ message: '#^Method WC_Customer_Download_Log_Data_Store\:\:delete_by_permission_id\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-customer-download-log-data-store.php
+
+ -
+ message: '#^Method WC_Customer_Download_Log_Data_Store\:\:get_download_logs_count_for_permission\(\) should return int but returns array\|int\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/data-stores/class-wc-customer-download-log-data-store.php
+
+ -
+ message: '#^Method WC_Customer_Download_Log_Data_Store\:\:get_download_logs_for_permission\(\) should return array but returns array\|int\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/data-stores/class-wc-customer-download-log-data-store.php
+
+ -
+ message: '#^Method WC_Customer_Download_Log_Data_Store\:\:read\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-customer-download-log-data-store.php
+
+ -
+ message: '#^Method WC_Customer_Download_Log_Data_Store\:\:update\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-customer-download-log-data-store.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$meta_key\.$#'
+ identifier: property.notFound
+ count: 2
+ path: includes/data-stores/class-wc-data-store-wp.php
+
+ -
+ message: '#^Cannot access offset ''year'' on array\{year\: string, month\: string, day\: string\}\|bool\|string\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/data-stores/class-wc-data-store-wp.php
+
+ -
+ message: '#^Method WC_Data_Store_WP\:\:add_meta\(\) should return int but returns int\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/data-stores/class-wc-data-store-wp.php
+
+ -
+ message: '#^Method WC_Data_Store_WP\:\:delete_from_lookup_table\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-data-store-wp.php
+
+ -
+ message: '#^Method WC_Data_Store_WP\:\:delete_meta\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-data-store-wp.php
+
+ -
+ message: '#^Method WC_Data_Store_WP\:\:read_meta\(\) should return array but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/data-stores/class-wc-data-store-wp.php
+
+ -
+ message: '#^Method WC_Data_Store_WP\:\:update_lookup_table\(\) should return null but return statement is missing\.$#'
+ identifier: return.missing
+ count: 2
+ path: includes/data-stores/class-wc-data-store-wp.php
+
+ -
+ message: '#^Method WC_Data_Store_WP\:\:update_lookup_table\(\) should return null but returns false\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/data-stores/class-wc-data-store-wp.php
+
+ -
+ message: '#^Method WC_Data_Store_WP\:\:update_meta\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-data-store-wp.php
+
+ -
+ message: '#^Offset 0\|1 might not exist on array\{0\: WC_DateTime, 1\?\: WC_DateTime\}\.$#'
+ identifier: offsetAccess.notFound
+ count: 4
+ path: includes/data-stores/class-wc-data-store-wp.php
+
+ -
+ message: '#^Offset 1 might not exist on array\{0\: WC_DateTime, 1\?\: WC_DateTime\}\.$#'
+ identifier: offsetAccess.notFound
+ count: 2
+ path: includes/data-stores/class-wc-data-store-wp.php
+
+ -
+ message: '#^Parameter \#1 \$object_or_string of function is_a expects object, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/data-stores/class-wc-data-store-wp.php
+
+ -
+ message: '#^Parameter \#1 \$time_string of function wc_string_to_datetime expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/data-stores/class-wc-data-store-wp.php
+
+ -
+ message: '#^Parameter \#2 \$subject of function preg_match expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/data-stores/class-wc-data-store-wp.php
+
+ -
+ message: '#^Parameter \#3 \$meta_key of function add_metadata expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/data-stores/class-wc-data-store-wp.php
+
+ -
+ message: '#^Variable \$dates in empty\(\) always exists and is not falsy\.$#'
+ identifier: empty.variable
+ count: 1
+ path: includes/data-stores/class-wc-data-store-wp.php
+
+ -
+ message: '#^@param float\|null \$cogs_value does not accept actual type of parameter\: mixed\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$post_excerpt\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Binary operation "\." between ''wc\-'' and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 2
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:update_user_by_order_id\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Cannot access an offset on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Cannot access offset ''_billing_address_1'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Cannot access offset ''_billing_address_2'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Cannot access offset ''_billing_city'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Cannot access offset ''_billing_company'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Cannot access offset ''_billing_country'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Cannot access offset ''_billing_email'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Cannot access offset ''_billing_first_name'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Cannot access offset ''_billing_last_name'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Cannot access offset ''_billing_phone'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Cannot access offset ''_billing_postcode'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Cannot access offset ''_billing_state'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Cannot access offset ''_cart_hash'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Cannot access offset ''_completed_date'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Cannot access offset ''_created_via'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Cannot access offset ''_customer_ip_address'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Cannot access offset ''_customer_user'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Cannot access offset ''_customer_user_agent'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Cannot access offset ''_date_completed'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Cannot access offset ''_date_paid'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Cannot access offset ''_download_permissions_granted'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Cannot access offset ''_new_order_email_sent'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Cannot access offset ''_order_key'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Cannot access offset ''_order_stock_reduced'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Cannot access offset ''_paid_date'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Cannot access offset ''_payment_method'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Cannot access offset ''_payment_method_title'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Cannot access offset ''_recorded_coupon_usage_counts'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Cannot access offset ''_recorded_sales'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Cannot access offset ''_shipping_address_1'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Cannot access offset ''_shipping_address_2'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Cannot access offset ''_shipping_city'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Cannot access offset ''_shipping_company'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Cannot access offset ''_shipping_country'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Cannot access offset ''_shipping_first_name'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Cannot access offset ''_shipping_last_name'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Cannot access offset ''_shipping_phone'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Cannot access offset ''_shipping_postcode'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Cannot access offset ''_shipping_state'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Cannot access offset ''_transaction_id'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Cannot access offset 0 on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 39
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Cannot access offset int on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Cannot access offset int\<min, \-1\>\|int\<1, max\> on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Cannot access offset mixed on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Cannot access offset non\-falsy\-string on array\|bool\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Cannot access offset string on array\|bool\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Cannot assign offset ''value'' to array\|string\.$#'
+ identifier: offsetAssign.dimType
+ count: 2
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Cannot call method call_function\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Cannot call method feature_is_enabled\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Class WC_Order referenced with incorrect case\: WC_order\.$#'
+ identifier: class.nameCase
+ count: 1
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Expected 3 @param tags, found 2\.$#'
+ identifier: paramTag.count
+ count: 1
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Method WC_Abstract_Order\:\:get_cogs_total_value\(\) invoked with 1 parameter, 0 required\.$#'
+ identifier: arguments.count
+ count: 2
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Method WC_Order_Data_Store_CPT\:\:create\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Method WC_Order_Data_Store_CPT\:\:get_coupon_held_keys\(\) should return array\|string but returns mixed\.$#'
+ identifier: return.type
+ count: 2
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Method WC_Order_Data_Store_CPT\:\:get_order_type\(\) should return string but returns string\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Method WC_Order_Data_Store_CPT\:\:get_orders_generate_customer_meta_query\(\) should return array but returns WP_Error\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Method WC_Order_Data_Store_CPT\:\:prime_caches_for_orders\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Method WC_Order_Data_Store_CPT\:\:prime_raw_meta_cache_for_orders\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Method WC_Order_Data_Store_CPT\:\:prime_refund_caches_for_order\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Method WC_Order_Data_Store_CPT\:\:read_cogs_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Method WC_Order_Data_Store_CPT\:\:read_order_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Method WC_Order_Data_Store_CPT\:\:release_held_coupons\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Method WC_Order_Data_Store_CPT\:\:set_download_permissions_granted\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Method WC_Order_Data_Store_CPT\:\:set_email_sent\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Method WC_Order_Data_Store_CPT\:\:set_new_order_email_sent\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Method WC_Order_Data_Store_CPT\:\:set_order_stock_reduced\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Method WC_Order_Data_Store_CPT\:\:set_recorded_coupon_usage_counts\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Method WC_Order_Data_Store_CPT\:\:set_recorded_sales\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Method WC_Order_Data_Store_CPT\:\:set_stock_reduced\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Method WC_Order_Data_Store_CPT\:\:update\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Method WC_Order_Data_Store_CPT\:\:update_order_meta_from_object\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Method WC_Order_Data_Store_CPT\:\:update_post_meta\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Parameter \#1 \$input of function array_reduce expects array\<WC_Order\>, array\<WC_Order\>\|stdClass given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Parameter \#1 \$number of function wc_format_decimal expects float\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Parameter \#1 \$post_id of function get_post_meta expects int, bool\|int given\.$#'
+ identifier: argument.type
+ count: 5
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Parameter \#1 \$post_id of function update_post_meta expects int, bool\|int given\.$#'
+ identifier: argument.type
+ count: 5
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Parameter \#1 \$posts of function update_post_caches expects array\<WP_Post\>, array\<int\|WP_Post\> given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Parameter \#1 \$status of static method Automattic\\WooCommerce\\Utilities\\OrderUtil\:\:remove_status_prefix\(\) expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Parameter \#1 \$string of function wc_string_to_bool expects bool\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 6
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Parameter \#2 \$array of function implode expects array\<string\>, array\<array\|string\> given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Parameter \#2 \$callback of function array_reduce expects callable\(mixed, WC_Order\)\: mixed, Closure\(mixed, WC_Order_Refund\)\: mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Parameter \#2 \$meta_key of function delete_post_meta expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Parameter \#2 \$post_meta of method WC_Order_Data_Store_CPT\:\:read_cogs_data\(\) expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Parameter \#3 \$index_key of function wp_list_pluck expects int\|string\|null, true given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Parameter \#3 \$query of method WC_Order_Data_Store_CPT\:\:compile_orders\(\) expects WP_Query, \(object\{posts\: array, found_posts\: int, max_num_pages\: int\}&stdClass\)\|WP_Query given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/data-stores/class-wc-order-data-store-cpt.php
+
+ -
+ message: '#^Method WC_Order_Item_Coupon_Data_Store\:\:read\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-order-item-coupon-data-store.php
+
+ -
+ message: '#^Method WC_Order_Item_Coupon_Data_Store\:\:save_item_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-order-item-coupon-data-store.php
+
+ -
+ message: '#^Parameter &\$item by\-ref type of method WC_Order_Item_Coupon_Data_Store\:\:read\(\) expects WC_Order_Item_Coupon, WC_Order_Item given\.$#'
+ identifier: parameterByRef.type
+ count: 1
+ path: includes/data-stores/class-wc-order-item-coupon-data-store.php
+
+ -
+ message: '#^Method WC_Order_Item_Data_Store\:\:add_metadata\(\) should return int but returns int\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/data-stores/class-wc-order-item-data-store.php
+
+ -
+ message: '#^Method WC_Order_Item_Data_Store\:\:clear_caches\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-order-item-data-store.php
+
+ -
+ message: '#^Method WC_Order_Item_Data_Store\:\:delete_order_item\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-order-item-data-store.php
+
+ -
+ message: '#^Method WC_Order_Item_Data_Store\:\:update_metadata\(\) should return bool but returns bool\|int\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/data-stores/class-wc-order-item-data-store.php
+
+ -
+ message: '#^Method WC_Order_Item_Fee_Data_Store\:\:read\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-order-item-fee-data-store.php
+
+ -
+ message: '#^Method WC_Order_Item_Fee_Data_Store\:\:save_item_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-order-item-fee-data-store.php
+
+ -
+ message: '#^Parameter &\$item by\-ref type of method WC_Order_Item_Fee_Data_Store\:\:read\(\) expects WC_Order_Item_Fee, WC_Order_Item given\.$#'
+ identifier: parameterByRef.type
+ count: 1
+ path: includes/data-stores/class-wc-order-item-fee-data-store.php
+
+ -
+ message: '#^Method WC_Order_Item_Product_Data_Store\:\:read\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-order-item-product-data-store.php
+
+ -
+ message: '#^Method WC_Order_Item_Product_Data_Store\:\:save_item_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-order-item-product-data-store.php
+
+ -
+ message: '#^Parameter &\$item by\-ref type of method WC_Order_Item_Product_Data_Store\:\:read\(\) expects WC_Order_Item_Product, WC_Order_Item given\.$#'
+ identifier: parameterByRef.type
+ count: 1
+ path: includes/data-stores/class-wc-order-item-product-data-store.php
+
+ -
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_instance_id\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/data-stores/class-wc-order-item-shipping-data-store.php
+
+ -
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_method_id\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/data-stores/class-wc-order-item-shipping-data-store.php
+
+ -
+ message: '#^Call to an undefined method WC_Order_Item\:\:set_instance_id\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/data-stores/class-wc-order-item-shipping-data-store.php
+
+ -
+ message: '#^Call to an undefined method WC_Order_Item\:\:set_method_id\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/data-stores/class-wc-order-item-shipping-data-store.php
+
+ -
+ message: '#^Method WC_Order_Item_Shipping_Data_Store\:\:read\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-order-item-shipping-data-store.php
+
+ -
+ message: '#^Method WC_Order_Item_Shipping_Data_Store\:\:save_item_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-order-item-shipping-data-store.php
+
+ -
+ message: '#^Parameter &\$item by\-ref type of method WC_Order_Item_Shipping_Data_Store\:\:read\(\) expects WC_Order_Item_Shipping, WC_Order_Item given\.$#'
+ identifier: parameterByRef.type
+ count: 1
+ path: includes/data-stores/class-wc-order-item-shipping-data-store.php
+
+ -
+ message: '#^Method WC_Order_Item_Tax_Data_Store\:\:read\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-order-item-tax-data-store.php
+
+ -
+ message: '#^Method WC_Order_Item_Tax_Data_Store\:\:save_item_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-order-item-tax-data-store.php
+
+ -
+ message: '#^Parameter &\$item by\-ref type of method WC_Order_Item_Tax_Data_Store\:\:read\(\) expects WC_Order_Item_Tax, WC_Order_Item given\.$#'
+ identifier: parameterByRef.type
+ count: 1
+ path: includes/data-stores/class-wc-order-item-tax-data-store.php
+
+ -
+ message: '#^@param WC_Order_Refund \$refund does not accept actual type of parameter\: WC_Order\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: includes/data-stores/class-wc-order-refund-data-store-cpt.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$post_author\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/data-stores/class-wc-order-refund-data-store-cpt.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$post_excerpt\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/data-stores/class-wc-order-refund-data-store-cpt.php
+
+ -
+ message: '#^Cannot access offset ''_refund_amount'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/data-stores/class-wc-order-refund-data-store-cpt.php
+
+ -
+ message: '#^Cannot access offset ''_refund_reason'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/data-stores/class-wc-order-refund-data-store-cpt.php
+
+ -
+ message: '#^Cannot access offset ''_refunded_by'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/data-stores/class-wc-order-refund-data-store-cpt.php
+
+ -
+ message: '#^Cannot access offset ''_refunded_payment'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/data-stores/class-wc-order-refund-data-store-cpt.php
+
+ -
+ message: '#^Cannot access offset 0 on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 4
+ path: includes/data-stores/class-wc-order-refund-data-store-cpt.php
+
+ -
+ message: '#^Method WC_Order_Refund_Data_Store_CPT\:\:read_order_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-order-refund-data-store-cpt.php
+
+ -
+ message: '#^Method WC_Order_Refund_Data_Store_CPT\:\:update\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-order-refund-data-store-cpt.php
+
+ -
+ message: '#^Method WC_Order_Refund_Data_Store_CPT\:\:update_post_meta\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-order-refund-data-store-cpt.php
+
+ -
+ message: '#^Parameter \#1 \$order of method Abstract_WC_Order_Data_Store_CPT\:\:read_order_data\(\) expects WC_Order, WC_Order_Refund given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/data-stores/class-wc-order-refund-data-store-cpt.php
+
+ -
+ message: '#^Parameter \#1 \$order of method Abstract_WC_Order_Data_Store_CPT\:\:update\(\) expects WC_Order, WC_Order_Refund given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/data-stores/class-wc-order-refund-data-store-cpt.php
+
+ -
+ message: '#^Parameter \#1 \$order of method Abstract_WC_Order_Data_Store_CPT\:\:update_post_meta\(\) expects WC_Order, WC_Order_Refund given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/data-stores/class-wc-order-refund-data-store-cpt.php
+
+ -
+ message: '#^Parameter \#1 \$refund \(WC_Order_Refund\) of method WC_Order_Refund_Data_Store_CPT\:\:read_order_data\(\) should be compatible with parameter \$order \(WC_Order\) of method Abstract_WC_Order_Data_Store_CPT\:\:read_order_data\(\)$#'
+ identifier: method.childParameterType
+ count: 1
+ path: includes/data-stores/class-wc-order-refund-data-store-cpt.php
+
+ -
+ message: '#^Parameter \#1 \$refund \(WC_Order_Refund\) of method WC_Order_Refund_Data_Store_CPT\:\:update\(\) should be compatible with parameter \$order \(WC_Order\) of method Abstract_WC_Order_Data_Store_CPT\:\:update\(\)$#'
+ identifier: method.childParameterType
+ count: 1
+ path: includes/data-stores/class-wc-order-refund-data-store-cpt.php
+
+ -
+ message: '#^Parameter \#1 \$refund \(WC_Order_Refund\) of method WC_Order_Refund_Data_Store_CPT\:\:update_post_meta\(\) should be compatible with parameter \$order \(WC_Order\) of method Abstract_WC_Order_Data_Store_CPT\:\:update_post_meta\(\)$#'
+ identifier: method.childParameterType
+ count: 1
+ path: includes/data-stores/class-wc-order-refund-data-store-cpt.php
+
+ -
+ message: '#^Parameter \#1 \$string of function wc_string_to_bool expects bool\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/data-stores/class-wc-order-refund-data-store-cpt.php
+
+ -
+ message: '#^Parameter &\$refund by\-ref type of method WC_Order_Refund_Data_Store_CPT\:\:read_order_data\(\) expects WC_Order_Refund, WC_Order given\.$#'
+ identifier: parameterByRef.type
+ count: 1
+ path: includes/data-stores/class-wc-order-refund-data-store-cpt.php
+
+ -
+ message: '#^Parameter &\$refund by\-ref type of method WC_Order_Refund_Data_Store_CPT\:\:update\(\) expects WC_Order_Refund, WC_Order given\.$#'
+ identifier: parameterByRef.type
+ count: 1
+ path: includes/data-stores/class-wc-order-refund-data-store-cpt.php
+
+ -
+ message: '#^Parameter &\$refund by\-ref type of method WC_Order_Refund_Data_Store_CPT\:\:update_post_meta\(\) expects WC_Order_Refund, WC_Order given\.$#'
+ identifier: parameterByRef.type
+ count: 1
+ path: includes/data-stores/class-wc-order-refund-data-store-cpt.php
+
+ -
+ message: '#^Return type \(void\) of method WC_Order_Refund_Data_Store_CPT\:\:delete\(\) should be compatible with return type \(bool\) of method WC_Object_Data_Store_Interface\:\:delete\(\)$#'
+ identifier: method.childReturnType
+ count: 1
+ path: includes/data-stores/class-wc-order-refund-data-store-cpt.php
+
+ -
+ message: '#^Method WC_Payment_Token_Data_Store\:\:create\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-payment-token-data-store.php
+
+ -
+ message: '#^Method WC_Payment_Token_Data_Store\:\:delete\(\) should return bool but return statement is missing\.$#'
+ identifier: return.missing
+ count: 1
+ path: includes/data-stores/class-wc-payment-token-data-store.php
+
+ -
+ message: '#^Method WC_Payment_Token_Data_Store\:\:get_metadata\(\) should return array but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/data-stores/class-wc-payment-token-data-store.php
+
+ -
+ message: '#^Method WC_Payment_Token_Data_Store\:\:read\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-payment-token-data-store.php
+
+ -
+ message: '#^Method WC_Payment_Token_Data_Store\:\:read_extra_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-payment-token-data-store.php
+
+ -
+ message: '#^Method WC_Payment_Token_Data_Store\:\:update\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-payment-token-data-store.php
+
+ -
+ message: '#^Parameter \#1 \$callback of function array_map expects \(callable\(int\)\: mixed\)\|null, ''esc_sql'' given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/data-stores/class-wc-payment-token-data-store.php
+
+ -
+ message: '#^Parameter \#2 \$array of function implode expects array\<string\>, array\<array\|string\> given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/data-stores/class-wc-payment-token-data-store.php
+
+ -
+ message: '#^Parameter \#2 \$force_delete \(bool\) of method WC_Payment_Token_Data_Store\:\:delete\(\) should be compatible with parameter \$args \(array\) of method WC_Object_Data_Store_Interface\:\:delete\(\)$#'
+ identifier: method.childParameterType
+ count: 1
+ path: includes/data-stores/class-wc-payment-token-data-store.php
+
+ -
+ message: '#^Return type \(void\) of method WC_Payment_Token_Data_Store\:\:set_default_status\(\) should be compatible with return type \(string\) of method WC_Payment_Token_Data_Store_Interface\:\:set_default_status\(\)$#'
+ identifier: method.childReturnType
+ count: 1
+ path: includes/data-stores/class-wc-payment-token-data-store.php
+
+ -
+ message: '#^@param float \$cogs_value does not accept actual type of parameter\: float\|null\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: includes/data-stores/class-wc-product-data-store-cpt.php
+
+ -
+ message: '#^@param int \$product does not accept actual type of parameter\: WC_Product\.$#'
+ identifier: parameter.phpDocType
+ count: 2
+ path: includes/data-stores/class-wc-product-data-store-cpt.php
+
+ -
+ message: '#^Argument of an invalid type list\<string\>\|false supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
+ count: 1
+ path: includes/data-stores/class-wc-product-data-store-cpt.php
+
+ -
+ message: '#^Cannot access offset ''_backorders''\|''_crosssell_ids''\|''_default_attributes''\|''_download_expiry''\|''_download_limit''\|''_downloadable''\|''_global_unique_id''\|''_height''\|''_length''\|''_low_stock_amount''\|''_manage_stock''\|''_price''\|''_product_image_gallery''\|''_purchase_note''\|''_regular_price''\|''_sale_price''\|''_sale_price_dates_from''\|''_sale_price_dates_to''\|''_sku''\|''_sold_individually''\|''_stock''\|''_stock_status''\|''_tax_class''\|''_tax_status''\|''_thumbnail_id''\|''_upsell_ids''\|''_virtual''\|''_wc_average_rating''\|''_wc_rating_count''\|''_wc_review_count''\|''_weight''\|''_width''\|''total_sales'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/data-stores/class-wc-product-data-store-cpt.php
+
+ -
+ message: '#^Cannot access offset ''file'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/data-stores/class-wc-product-data-store-cpt.php
+
+ -
+ message: '#^Cannot access offset ''name'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/data-stores/class-wc-product-data-store-cpt.php
+
+ -
+ message: '#^Cannot access offset 0 on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/data-stores/class-wc-product-data-store-cpt.php
+
+ -
+ message: '#^Cannot access property \$post_status on WP_Post\|null\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/data-stores/class-wc-product-data-store-cpt.php
+
+ -
+ message: '#^Cannot access property \$posts on mixed\.$#'
+ identifier: property.nonObject
+ count: 2
+ path: includes/data-stores/class-wc-product-data-store-cpt.php
+
+ -
+ message: '#^Cannot call method feature_is_enabled\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: includes/data-stores/class-wc-product-data-store-cpt.php
+
+ -
+ message: '#^Cannot call method getOffsetTimestamp\(\) on WC_DateTime\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/data-stores/class-wc-product-data-store-cpt.php
+
+ -
+ message: '#^Cannot call method getTimestamp\(\) on WC_DateTime\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/data-stores/class-wc-product-data-store-cpt.php
+
+ -
+ message: '#^Cannot call method get_attributes\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/data-stores/class-wc-product-data-store-cpt.php
+
+ -
+ message: '#^Cannot call method maybe_schedule_adjust_download_permissions\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/data-stores/class-wc-product-data-store-cpt.php
+
+ -
+ message: '#^Cannot call method product_meta_lookup_table_cogs_value_columns_exist\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/data-stores/class-wc-product-data-store-cpt.php
+
+ -
+ message: '#^Cannot call method update\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: includes/data-stores/class-wc-product-data-store-cpt.php
+
+ -
+ message: '#^Cannot cast mixed to float\.$#'
+ identifier: cast.double
+ count: 2
+ path: includes/data-stores/class-wc-product-data-store-cpt.php
+
+ -
+ message: '#^Cannot cast mixed to int\.$#'
+ identifier: cast.int
+ count: 1
+ path: includes/data-stores/class-wc-product-data-store-cpt.php
+
+ -
+ message: '#^Method WC_Product_Data_Store_CPT\:\:clear_caches\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-product-data-store-cpt.php
+
+ -
+ message: '#^Method WC_Product_Data_Store_CPT\:\:create\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-product-data-store-cpt.php
+
+ -
+ message: '#^Method WC_Product_Data_Store_CPT\:\:delete\(\) should return bool but empty return statement found\.$#'
+ identifier: return.empty
+ count: 1
+ path: includes/data-stores/class-wc-product-data-store-cpt.php
+
+ -
+ message: '#^Method WC_Product_Data_Store_CPT\:\:delete\(\) should return bool but return statement is missing\.$#'
+ identifier: return.missing
+ count: 2
+ path: includes/data-stores/class-wc-product-data-store-cpt.php
+
+ -
+ message: '#^Method WC_Product_Data_Store_CPT\:\:get_product_type\(\) should return bool\|string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/data-stores/class-wc-product-data-store-cpt.php
+
+ -
+ message: '#^Method WC_Product_Data_Store_CPT\:\:handle_updated_props\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-product-data-store-cpt.php
+
+ -
+ message: '#^Method WC_Product_Data_Store_CPT\:\:load_cogs_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-product-data-store-cpt.php
+
+ -
+ message: '#^Method WC_Product_Data_Store_CPT\:\:read\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-product-data-store-cpt.php
+
+ -
+ message: '#^Method WC_Product_Data_Store_CPT\:\:read_attributes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-product-data-store-cpt.php
+
+ -
+ message: '#^Method WC_Product_Data_Store_CPT\:\:read_downloads\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-product-data-store-cpt.php
+
+ -
+ message: '#^Method WC_Product_Data_Store_CPT\:\:read_extra_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-product-data-store-cpt.php
+
+ -
+ message: '#^Method WC_Product_Data_Store_CPT\:\:read_product_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-product-data-store-cpt.php
+
+ -
+ message: '#^Method WC_Product_Data_Store_CPT\:\:read_stock_quantity\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-product-data-store-cpt.php
+
+ -
+ message: '#^Method WC_Product_Data_Store_CPT\:\:read_visibility\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-product-data-store-cpt.php
+
+ -
+ message: '#^Method WC_Product_Data_Store_CPT\:\:set_product_stock\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-product-data-store-cpt.php
+
+ -
+ message: '#^Method WC_Product_Data_Store_CPT\:\:sort_all_product_variations\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-product-data-store-cpt.php
+
+ -
+ message: '#^Method WC_Product_Data_Store_CPT\:\:update\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-product-data-store-cpt.php
+
+ -
+ message: '#^Method WC_Product_Data_Store_CPT\:\:update_attributes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-product-data-store-cpt.php
+
+ -
+ message: '#^Method WC_Product_Data_Store_CPT\:\:update_average_rating\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-product-data-store-cpt.php
+
+ -
+ message: '#^Method WC_Product_Data_Store_CPT\:\:update_post_meta\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-product-data-store-cpt.php
+
+ -
+ message: '#^Method WC_Product_Data_Store_CPT\:\:update_product_sales\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-product-data-store-cpt.php
+
+ -
+ message: '#^Method WC_Product_Data_Store_CPT\:\:update_rating_counts\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-product-data-store-cpt.php
+
+ -
+ message: '#^Method WC_Product_Data_Store_CPT\:\:update_review_count\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-product-data-store-cpt.php
+
+ -
+ message: '#^Method WC_Product_Data_Store_CPT\:\:update_terms\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-product-data-store-cpt.php
+
+ -
+ message: '#^Method WC_Product_Data_Store_CPT\:\:update_version_and_type\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-product-data-store-cpt.php
+
+ -
+ message: '#^Method WC_Product_Data_Store_CPT\:\:update_visibility\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-product-data-store-cpt.php
+
+ -
+ message: '#^Parameter \#1 \$amount of function wc_stock_amount expects float\|int, float\|int\|null given\.$#'
+ identifier: argument.type
+ count: 4
+ path: includes/data-stores/class-wc-product-data-store-cpt.php
+
+ -
+ message: '#^Parameter \#1 \$amount of function wc_stock_amount expects float\|int, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/data-stores/class-wc-product-data-store-cpt.php
+
+ -
+ message: '#^Parameter \#1 \$callback of function array_map expects \(callable\(mixed\)\: mixed\)\|null, ''absint'' given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/data-stores/class-wc-product-data-store-cpt.php
+
+ -
+ message: '#^Parameter \#1 \$callback of function array_map expects \(callable\(mixed\)\: mixed\)\|null, ''intval'' given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/data-stores/class-wc-product-data-store-cpt.php
+
+ -
+ message: '#^Parameter \#1 \$data of function maybe_unserialize expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/data-stores/class-wc-product-data-store-cpt.php
+
+ -
+ message: '#^Parameter \#1 \$file_url of function wc_get_filename_from_url expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/data-stores/class-wc-product-data-store-cpt.php
+
+ -
+ message: '#^Parameter \#1 \$number of function wc_format_decimal expects float\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/data-stores/class-wc-product-data-store-cpt.php
+
+ -
+ message: '#^Parameter \#1 \$postarr of function wp_update_post expects array\{ID\?\: int, post_author\?\: int, post_date\?\: string, post_date_gmt\?\: string, post_content\?\: string, post_content_filtered\?\: string, post_title\?\: string, post_excerpt\?\: string, \.\.\.\}, array\{ID\: int, post_content\: string, post_excerpt\: string, post_title\: string, post_parent\: int, comment_status\: ''closed''\|''open'', post_status\: non\-falsy\-string, menu_order\: int, \.\.\.\} given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/data-stores/class-wc-product-data-store-cpt.php
+
+ -
+ message: '#^Parameter \#1 \$posts of function update_post_caches expects array\<WP_Post\>, array\<int\|WP_Post\> given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/data-stores/class-wc-product-data-store-cpt.php
+
+ -
+ message: '#^Parameter \#1 \$quantity of method WC_Product\:\:set_stock_quantity\(\) expects float\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/data-stores/class-wc-product-data-store-cpt.php
+
+ -
+ message: '#^Parameter \#1 \$raw_attributes of function wc_get_text_attributes expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/data-stores/class-wc-product-data-store-cpt.php
+
+ -
+ message: '#^Parameter \#1 \$value of method WC_Product_Download\:\:set_name\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/data-stores/class-wc-product-data-store-cpt.php
+
+ -
+ message: '#^Parameter \#1 \$version1 of function version_compare expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/data-stores/class-wc-product-data-store-cpt.php
+
+ -
+ message: '#^Parameter \#2 \$post_type of function update_post_caches expects string, array\<int, string\> given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/data-stores/class-wc-product-data-store-cpt.php
+
+ -
+ message: '#^Parameter \#3 \$index_key of function wp_list_pluck expects int\|string\|null, true given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/data-stores/class-wc-product-data-store-cpt.php
+
+ -
+ message: '#^Method WC_Product\:\:get_children\(\) invoked with 1 parameter, 0 required\.$#'
+ identifier: arguments.count
+ count: 1
+ path: includes/data-stores/class-wc-product-grouped-data-store-cpt.php
+
+ -
+ message: '#^Method WC_Product_Grouped_Data_Store_CPT\:\:handle_updated_props\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-product-grouped-data-store-cpt.php
+
+ -
+ message: '#^Method WC_Product_Grouped_Data_Store_CPT\:\:sync_price\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-product-grouped-data-store-cpt.php
+
+ -
+ message: '#^Method WC_Product_Grouped_Data_Store_CPT\:\:update_post_meta\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-product-grouped-data-store-cpt.php
+
+ -
+ message: '#^Method WC_Product_Grouped_Data_Store_CPT\:\:update_prices_from_children\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-product-grouped-data-store-cpt.php
+
+ -
+ message: '#^Parameter \#1 \$product of method WC_Product_Grouped_Data_Store_CPT\:\:update_prices_from_children\(\) expects WC_Product, int\|WC_Product given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/data-stores/class-wc-product-grouped-data-store-cpt.php
+
+ -
+ message: '#^Call to an undefined method WC_Product\:\:child_is_in_stock\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/data-stores/class-wc-product-variable-data-store-cpt.php
+
+ -
+ message: '#^Call to an undefined method WC_Product\:\:child_is_on_backorder\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/data-stores/class-wc-product-variable-data-store-cpt.php
+
+ -
+ message: '#^Call to an undefined method WC_Product\:\:get_visible_children\(\)\.$#'
+ identifier: method.notFound
+ count: 4
+ path: includes/data-stores/class-wc-product-variable-data-store-cpt.php
+
+ -
+ message: '#^Call to an undefined method WC_Product\:\:set_children\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/data-stores/class-wc-product-variable-data-store-cpt.php
+
+ -
+ message: '#^Call to an undefined method WC_Product\:\:set_visible_children\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/data-stores/class-wc-product-variable-data-store-cpt.php
+
+ -
+ message: '#^Call to function is_callable\(\) with ''_prime_post_caches'' will always evaluate to true\.$#'
+ identifier: function.alreadyNarrowedType
+ count: 1
+ path: includes/data-stores/class-wc-product-variable-data-store-cpt.php
+
+ -
+ message: '#^Cannot access an offset on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/data-stores/class-wc-product-variable-data-store-cpt.php
+
+ -
+ message: '#^Method WC_Product_Variable_Data_Store_CPT\:\:delete_variations\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-product-variable-data-store-cpt.php
+
+ -
+ message: '#^Method WC_Product_Variable_Data_Store_CPT\:\:read_attributes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-product-variable-data-store-cpt.php
+
+ -
+ message: '#^Method WC_Product_Variable_Data_Store_CPT\:\:read_product_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-product-variable-data-store-cpt.php
+
+ -
+ message: '#^Method WC_Product_Variable_Data_Store_CPT\:\:read_variation_attributes\(\) should return array but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/data-stores/class-wc-product-variable-data-store-cpt.php
+
+ -
+ message: '#^Method WC_Product_Variable_Data_Store_CPT\:\:sync_managed_variation_stock_status\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-product-variable-data-store-cpt.php
+
+ -
+ message: '#^Method WC_Product_Variable_Data_Store_CPT\:\:sync_price\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-product-variable-data-store-cpt.php
+
+ -
+ message: '#^Method WC_Product_Variable_Data_Store_CPT\:\:sync_stock_status\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-product-variable-data-store-cpt.php
+
+ -
+ message: '#^Method WC_Product_Variable_Data_Store_CPT\:\:sync_variation_names\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-product-variable-data-store-cpt.php
+
+ -
+ message: '#^Method WC_Product_Variable_Data_Store_CPT\:\:untrash_variations\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-product-variable-data-store-cpt.php
+
+ -
+ message: '#^Parameter \#1 \$str of function md5 expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 3
+ path: includes/data-stores/class-wc-product-variable-data-store-cpt.php
+
+ -
+ message: '#^Parameter \#1 \$var of function strval expects bool\|float\|int\|resource\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/data-stores/class-wc-product-variable-data-store-cpt.php
+
+ -
+ message: '#^Parameter \#1 \$version1 of function version_compare expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/data-stores/class-wc-product-variable-data-store-cpt.php
+
+ -
+ message: '#^Property WooCommerce\:\:\$customer \(WC_Customer\) in empty\(\) is not falsy\.$#'
+ identifier: empty.property
+ count: 2
+ path: includes/data-stores/class-wc-product-variable-data-store-cpt.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$meta_key\.$#'
+ identifier: property.notFound
+ count: 3
+ path: includes/data-stores/class-wc-product-variation-data-store-cpt.php
+
+ -
+ message: '#^Call to an undefined method WC_Product\:\:get_cogs_value_is_additive\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/data-stores/class-wc-product-variation-data-store-cpt.php
+
+ -
+ message: '#^Cannot access offset ''_backorders''\|''_cogs_total_value''\|''_cogs_value_is_additive''\|''_download_expiry''\|''_download_limit''\|''_downloadable''\|''_global_unique_id''\|''_height''\|''_length''\|''_low_stock_amount''\|''_manage_stock''\|''_product_image_gallery''\|''_regular_price''\|''_sale_price''\|''_sale_price_dates_from''\|''_sale_price_dates_to''\|''_sku''\|''_stock''\|''_stock_status''\|''_tax_class''\|''_variation_description''\|''_virtual''\|''_weight''\|''_width'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/data-stores/class-wc-product-variation-data-store-cpt.php
+
+ -
+ message: '#^Cannot access offset ''_backorders''\|''_crosssell_ids''\|''_global_unique_id''\|''_height''\|''_length''\|''_manage_stock''\|''_purchase_note''\|''_sku''\|''_sold_individually''\|''_stock''\|''_tax_class''\|''_tax_status''\|''_weight''\|''_width'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/data-stores/class-wc-product-variation-data-store-cpt.php
+
+ -
+ message: '#^Cannot access offset 0 on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: includes/data-stores/class-wc-product-variation-data-store-cpt.php
+
+ -
+ message: '#^Cannot access property \$posts on mixed\.$#'
+ identifier: property.nonObject
+ count: 3
+ path: includes/data-stores/class-wc-product-variation-data-store-cpt.php
+
+ -
+ message: '#^Cannot call method getOffsetTimestamp\(\) on WC_DateTime\|null\.$#'
+ identifier: method.nonObject
+ count: 3
+ path: includes/data-stores/class-wc-product-variation-data-store-cpt.php
+
+ -
+ message: '#^Cannot call method getTimestamp\(\) on WC_DateTime\|null\.$#'
+ identifier: method.nonObject
+ count: 3
+ path: includes/data-stores/class-wc-product-variation-data-store-cpt.php
+
+ -
+ message: '#^Cannot call method update\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 3
+ path: includes/data-stores/class-wc-product-variation-data-store-cpt.php
+
+ -
+ message: '#^Method WC_Product_Variation_Data_Store_CPT\:\:create\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-product-variation-data-store-cpt.php
+
+ -
+ message: '#^Method WC_Product_Variation_Data_Store_CPT\:\:load_cogs_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-product-variation-data-store-cpt.php
+
+ -
+ message: '#^Method WC_Product_Variation_Data_Store_CPT\:\:read\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-product-variation-data-store-cpt.php
+
+ -
+ message: '#^Method WC_Product_Variation_Data_Store_CPT\:\:read_product_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-product-variation-data-store-cpt.php
+
+ -
+ message: '#^Method WC_Product_Variation_Data_Store_CPT\:\:update\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-product-variation-data-store-cpt.php
+
+ -
+ message: '#^Method WC_Product_Variation_Data_Store_CPT\:\:update_attributes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-product-variation-data-store-cpt.php
+
+ -
+ message: '#^Method WC_Product_Variation_Data_Store_CPT\:\:update_guid\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-product-variation-data-store-cpt.php
+
+ -
+ message: '#^Method WC_Product_Variation_Data_Store_CPT\:\:update_post_meta\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-product-variation-data-store-cpt.php
+
+ -
+ message: '#^Method WC_Product_Variation_Data_Store_CPT\:\:update_terms\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-product-variation-data-store-cpt.php
+
+ -
+ message: '#^Method WC_Product_Variation_Data_Store_CPT\:\:update_version_and_type\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-product-variation-data-store-cpt.php
+
+ -
+ message: '#^Method WC_Product_Variation_Data_Store_CPT\:\:update_visibility\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-product-variation-data-store-cpt.php
+
+ -
+ message: '#^Parameter \#1 \$amount of function wc_stock_amount expects float\|int, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/data-stores/class-wc-product-variation-data-store-cpt.php
+
+ -
+ message: '#^Parameter \#1 \$cross_sell_ids of method WC_Product\:\:set_cross_sell_ids\(\) expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/data-stores/class-wc-product-variation-data-store-cpt.php
+
+ -
+ message: '#^Parameter \#1 \$data of function maybe_unserialize expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/data-stores/class-wc-product-variation-data-store-cpt.php
+
+ -
+ message: '#^Parameter \#1 \$product of method WC_Product_Variation_Data_Store_CPT\:\:generate_attribute_summary\(\) expects WC_Product_Variation, WC_Product given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/data-stores/class-wc-product-variation-data-store-cpt.php
+
+ -
+ message: '#^Parameter \#1 \$product of method WC_Product_Variation_Data_Store_CPT\:\:read_product_data\(\) expects WC_Product_Variation, WC_Product given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/data-stores/class-wc-product-variation-data-store-cpt.php
+
+ -
+ message: '#^Parameter \#1 \$product of method WC_Product_Variation_Data_Store_CPT\:\:update_guid\(\) expects WC_Product_Variation, WC_Product given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/data-stores/class-wc-product-variation-data-store-cpt.php
+
+ -
+ message: '#^Parameter \#1 \$sold_individually of method WC_Product\:\:set_sold_individually\(\) expects bool, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/data-stores/class-wc-product-variation-data-store-cpt.php
+
+ -
+ message: '#^Parameter \#1 \$status of method WC_Product\:\:set_tax_status\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/data-stores/class-wc-product-variation-data-store-cpt.php
+
+ -
+ message: '#^Parameter \#1 \$variation of function wc_get_formatted_variation expects array\|WC_Product_Variation, WC_Product given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/data-stores/class-wc-product-variation-data-store-cpt.php
+
+ -
+ message: '#^Parameter \#2 \$str of function explode expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/data-stores/class-wc-product-variation-data-store-cpt.php
+
+ -
+ message: '#^Parameter &\$product by\-ref type of method WC_Product_Variation_Data_Store_CPT\:\:create\(\) expects WC_Product_Variation, WC_Product given\.$#'
+ identifier: parameterByRef.type
+ count: 7
+ path: includes/data-stores/class-wc-product-variation-data-store-cpt.php
+
+ -
+ message: '#^Parameter &\$product by\-ref type of method WC_Product_Variation_Data_Store_CPT\:\:read\(\) expects WC_Product_Variation, WC_Product given\.$#'
+ identifier: parameterByRef.type
+ count: 2
+ path: includes/data-stores/class-wc-product-variation-data-store-cpt.php
+
+ -
+ message: '#^Parameter &\$product by\-ref type of method WC_Product_Variation_Data_Store_CPT\:\:update\(\) expects WC_Product_Variation, WC_Product given\.$#'
+ identifier: parameterByRef.type
+ count: 7
+ path: includes/data-stores/class-wc-product-variation-data-store-cpt.php
+
+ -
+ message: '#^@param array \$package does not accept actual type of parameter\: object\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: includes/data-stores/class-wc-shipping-zone-data-store.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$method_id\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/data-stores/class-wc-shipping-zone-data-store.php
+
+ -
+ message: '#^Cannot access offset ''destination'' on object\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 3
+ path: includes/data-stores/class-wc-shipping-zone-data-store.php
+
+ -
+ message: '#^Method WC_Shipping_Zone_Data_Store\:\:create\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-shipping-zone-data-store.php
+
+ -
+ message: '#^Method WC_Shipping_Zone_Data_Store\:\:delete_method\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-shipping-zone-data-store.php
+
+ -
+ message: '#^Method WC_Shipping_Zone_Data_Store\:\:read\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-shipping-zone-data-store.php
+
+ -
+ message: '#^Method WC_Shipping_Zone_Data_Store\:\:update\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-shipping-zone-data-store.php
+
+ -
+ message: '#^Parameter \#1 \$id of method WC_Data\:\:set_id\(\) expects int, null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/data-stores/class-wc-shipping-zone-data-store.php
+
+ -
+ message: '#^Parameter \#1 \$postcode of function wc_normalize_postcode expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/data-stores/class-wc-shipping-zone-data-store.php
+
+ -
+ message: '#^Parameter \#1 \$str of function strtoupper expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 3
+ path: includes/data-stores/class-wc-shipping-zone-data-store.php
+
+ -
+ message: '#^Return type \(void\) of method WC_Shipping_Zone_Data_Store\:\:delete\(\) should be compatible with return type \(bool\) of method WC_Object_Data_Store_Interface\:\:delete\(\)$#'
+ identifier: method.childReturnType
+ count: 1
+ path: includes/data-stores/class-wc-shipping-zone-data-store.php
+
+ -
+ message: '#^Binary operation "\." between ''AND `date_created…'' and array\|string results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: includes/data-stores/class-wc-webhook-data-store.php
+
+ -
+ message: '#^Binary operation "\." between ''AND `date_modified…'' and array\|string results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: includes/data-stores/class-wc-webhook-data-store.php
+
+ -
+ message: '#^Binary operation "\." between non\-falsy\-string and array\|string results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 2
+ path: includes/data-stores/class-wc-webhook-data-store.php
+
+ -
+ message: '#^Cannot call method date\(\) on WC_DateTime\|null\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: includes/data-stores/class-wc-webhook-data-store.php
+
+ -
+ message: '#^Cannot call method getTimestamp\(\) on WC_DateTime\|null\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: includes/data-stores/class-wc-webhook-data-store.php
+
+ -
+ message: '#^Method WC_Webhook_Data_Store\:\:create\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-webhook-data-store.php
+
+ -
+ message: '#^Method WC_Webhook_Data_Store\:\:delete\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-webhook-data-store.php
+
+ -
+ message: '#^Method WC_Webhook_Data_Store\:\:delete_transients\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-webhook-data-store.php
+
+ -
+ message: '#^Method WC_Webhook_Data_Store\:\:get_webhook_count\(\) should return int but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/data-stores/class-wc-webhook-data-store.php
+
+ -
+ message: '#^Method WC_Webhook_Data_Store\:\:get_webhooks_ids\(\) should return array\<int\> but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/data-stores/class-wc-webhook-data-store.php
+
+ -
+ message: '#^Method WC_Webhook_Data_Store\:\:read\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-webhook-data-store.php
+
+ -
+ message: '#^Method WC_Webhook_Data_Store\:\:search_webhooks\(\) should return array\|object but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/data-stores/class-wc-webhook-data-store.php
+
+ -
+ message: '#^Method WC_Webhook_Data_Store\:\:update\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-webhook-data-store.php
+
+ -
+ message: '#^Method WC_Webhook_Data_Store\:\:validate_status\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/data-stores/class-wc-webhook-data-store.php
+
+ -
+ message: '#^Parameter \#1 \$data of function esc_sql expects array\|string, float\|int\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/data-stores/class-wc-webhook-data-store.php
+
+ -
+ message: '#^Parameter \#2 \$array of function array_map expects array, array\|object given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/data-stores/class-wc-webhook-data-store.php
+
+ -
+ message: '#^Method WC_Email_Cancelled_Order\:\:init_form_fields\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/emails/class-wc-email-cancelled-order.php
+
+ -
+ message: '#^Method WC_Email_Cancelled_Order\:\:trigger\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/emails/class-wc-email-cancelled-order.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_Email\)\: Unexpected token "\\n\\t ", expected ''\<'' at offset 232 on line 9$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/emails/class-wc-email-cancelled-order.php
+
+ -
+ message: '#^Parameter \#1 \$date of function wc_format_datetime expects WC_DateTime, WC_DateTime\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/emails/class-wc-email-cancelled-order.php
+
+ -
+ message: '#^Parameter \#1 \$object_or_string of function is_a expects object, WC_Order\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/emails/class-wc-email-cancelled-order.php
+
+ -
+ message: '#^Parameter \#1 \$object_or_string of function is_a expects object, bool\|WC_Order\|WC_Order_Refund given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/emails/class-wc-email-cancelled-order.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_attr expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/emails/class-wc-email-cancelled-order.php
+
+ -
+ message: '#^Method WC_Email_Customer_Cancelled_Order\:\:init_form_fields\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/emails/class-wc-email-customer-cancelled-order.php
+
+ -
+ message: '#^Method WC_Email_Customer_Cancelled_Order\:\:trigger\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/emails/class-wc-email-customer-cancelled-order.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_Email\)\: Unexpected token "\\n\\t ", expected ''\<'' at offset 258 on line 9$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/emails/class-wc-email-customer-cancelled-order.php
+
+ -
+ message: '#^Parameter \#1 \$date of function wc_format_datetime expects WC_DateTime, WC_DateTime\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/emails/class-wc-email-customer-cancelled-order.php
+
+ -
+ message: '#^Parameter \#1 \$object_or_string of function is_a expects object, WC_Order\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/emails/class-wc-email-customer-cancelled-order.php
+
+ -
+ message: '#^Parameter \#1 \$object_or_string of function is_a expects object, bool\|WC_Order\|WC_Order_Refund given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/emails/class-wc-email-customer-cancelled-order.php
+
+ -
+ message: '#^Method WC_Email_Customer_Completed_Order\:\:trigger\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/emails/class-wc-email-customer-completed-order.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_Email\)\: Unexpected token "\\n\\t ", expected ''\<'' at offset 329 on line 9$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/emails/class-wc-email-customer-completed-order.php
+
+ -
+ message: '#^Parameter \#1 \$date of function wc_format_datetime expects WC_DateTime, WC_DateTime\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/emails/class-wc-email-customer-completed-order.php
+
+ -
+ message: '#^Parameter \#1 \$object_or_string of function is_a expects object, WC_Order\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/emails/class-wc-email-customer-completed-order.php
+
+ -
+ message: '#^Parameter \#1 \$object_or_string of function is_a expects object, bool\|WC_Order\|WC_Order_Refund given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/emails/class-wc-email-customer-completed-order.php
+
+ -
+ message: '#^Method WC_Email_Customer_Failed_Order\:\:trigger\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/emails/class-wc-email-customer-failed-order.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_Email\)\: Unexpected token "\\n\\t ", expected ''\<'' at offset 273 on line 9$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/emails/class-wc-email-customer-failed-order.php
+
+ -
+ message: '#^Parameter \#1 \$date of function wc_format_datetime expects WC_DateTime, WC_DateTime\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/emails/class-wc-email-customer-failed-order.php
+
+ -
+ message: '#^Parameter \#1 \$object_or_string of function is_a expects object, WC_Order\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/emails/class-wc-email-customer-failed-order.php
+
+ -
+ message: '#^Parameter \#1 \$object_or_string of function is_a expects object, bool\|WC_Order\|WC_Order_Refund given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/emails/class-wc-email-customer-failed-order.php
+
+ -
+ message: '#^Method WC_Email_Customer_Fulfillment_Created\:\:maybe_init_fulfillment_for_preview\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/emails/class-wc-email-customer-fulfillment-created.php
+
+ -
+ message: '#^Method WC_Email_Customer_Fulfillment_Created\:\:trigger\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/emails/class-wc-email-customer-fulfillment-created.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_Email\)\: Unexpected token "\\n\\t ", expected ''\<'' at offset 391 on line 9$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/emails/class-wc-email-customer-fulfillment-created.php
+
+ -
+ message: '#^Parameter \#1 \$date of function wc_format_datetime expects WC_DateTime, WC_DateTime\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/emails/class-wc-email-customer-fulfillment-created.php
+
+ -
+ message: '#^Parameter \#1 \$object_or_string of function is_a expects object, WC_Order\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/emails/class-wc-email-customer-fulfillment-created.php
+
+ -
+ message: '#^Parameter \#1 \$object_or_string of function is_a expects object, bool\|WC_Order\|WC_Order_Refund given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/emails/class-wc-email-customer-fulfillment-created.php
+
+ -
+ message: '#^Parameter \#1 \$order of method WC_Email_Customer_Fulfillment_Created\:\:maybe_init_fulfillment_for_preview\(\) expects WC_Order, bool\|object given\.$#'
+ identifier: argument.type
+ count: 3
+ path: includes/emails/class-wc-email-customer-fulfillment-created.php
+
+ -
+ message: '#^Method WC_Email_Customer_Fulfillment_Deleted\:\:maybe_init_fulfillment_for_preview\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/emails/class-wc-email-customer-fulfillment-deleted.php
+
+ -
+ message: '#^Method WC_Email_Customer_Fulfillment_Deleted\:\:trigger\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/emails/class-wc-email-customer-fulfillment-deleted.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_Email\)\: Unexpected token "\\n\\t ", expected ''\<'' at offset 369 on line 9$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/emails/class-wc-email-customer-fulfillment-deleted.php
+
+ -
+ message: '#^Parameter \#1 \$date of function wc_format_datetime expects WC_DateTime, WC_DateTime\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/emails/class-wc-email-customer-fulfillment-deleted.php
+
+ -
+ message: '#^Parameter \#1 \$object_or_string of function is_a expects object, WC_Order\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/emails/class-wc-email-customer-fulfillment-deleted.php
+
+ -
+ message: '#^Parameter \#1 \$object_or_string of function is_a expects object, bool\|WC_Order\|WC_Order_Refund given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/emails/class-wc-email-customer-fulfillment-deleted.php
+
+ -
+ message: '#^Parameter \#1 \$order of method WC_Email_Customer_Fulfillment_Deleted\:\:maybe_init_fulfillment_for_preview\(\) expects WC_Order, bool\|object given\.$#'
+ identifier: argument.type
+ count: 3
+ path: includes/emails/class-wc-email-customer-fulfillment-deleted.php
+
+ -
+ message: '#^Method WC_Email_Customer_Fulfillment_Updated\:\:maybe_init_fulfillment_for_preview\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/emails/class-wc-email-customer-fulfillment-updated.php
+
+ -
+ message: '#^Method WC_Email_Customer_Fulfillment_Updated\:\:trigger\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/emails/class-wc-email-customer-fulfillment-updated.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_Email\)\: Unexpected token "\\n\\t ", expected ''\<'' at offset 364 on line 9$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/emails/class-wc-email-customer-fulfillment-updated.php
+
+ -
+ message: '#^Parameter \#1 \$date of function wc_format_datetime expects WC_DateTime, WC_DateTime\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/emails/class-wc-email-customer-fulfillment-updated.php
+
+ -
+ message: '#^Parameter \#1 \$object_or_string of function is_a expects object, WC_Order\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/emails/class-wc-email-customer-fulfillment-updated.php
+
+ -
+ message: '#^Parameter \#1 \$object_or_string of function is_a expects object, bool\|WC_Order\|WC_Order_Refund given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/emails/class-wc-email-customer-fulfillment-updated.php
+
+ -
+ message: '#^Parameter \#1 \$order of method WC_Email_Customer_Fulfillment_Updated\:\:maybe_init_fulfillment_for_preview\(\) expects WC_Order, bool\|object given\.$#'
+ identifier: argument.type
+ count: 3
+ path: includes/emails/class-wc-email-customer-fulfillment-updated.php
+
+ -
+ message: '#^Cannot call method has_status\(\) on bool\|object\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: includes/emails/class-wc-email-customer-invoice.php
+
+ -
+ message: '#^Default value of the parameter \#2 \$order \(false\) of method WC_Email_Customer_Invoice\:\:trigger\(\) is incompatible with type WC_Order\.$#'
+ identifier: parameter.defaultValue
+ count: 1
+ path: includes/emails/class-wc-email-customer-invoice.php
+
+ -
+ message: '#^Method WC_Email_Customer_Invoice\:\:init_form_fields\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/emails/class-wc-email-customer-invoice.php
+
+ -
+ message: '#^Method WC_Email_Customer_Invoice\:\:trigger\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/emails/class-wc-email-customer-invoice.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_Email\)\: Unexpected token "\\n\\t ", expected ''\<'' at offset 473 on line 11$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/emails/class-wc-email-customer-invoice.php
+
+ -
+ message: '#^Parameter \#1 \$date of function wc_format_datetime expects WC_DateTime, WC_DateTime\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/emails/class-wc-email-customer-invoice.php
+
+ -
+ message: '#^Parameter \#1 \$object_or_string of function is_a expects object, bool\|WC_Order\|WC_Order_Refund given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/emails/class-wc-email-customer-invoice.php
+
+ -
+ message: '#^Cannot access property \$user_login on bool\|object\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/emails/class-wc-email-customer-new-account.php
+
+ -
+ message: '#^Method WC_Email_Customer_New_Account\:\:trigger\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/emails/class-wc-email-customer-new-account.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_Email\)\: Unexpected token "\\n\\t ", expected ''\<'' at offset 240 on line 9$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/emails/class-wc-email-customer-new-account.php
+
+ -
+ message: '#^Parameter \#1 \$user of function get_password_reset_key expects WP_User, bool\|object given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/emails/class-wc-email-customer-new-account.php
+
+ -
+ message: '#^Cannot call method get_billing_email\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/emails/class-wc-email-customer-note.php
+
+ -
+ message: '#^Cannot call method get_date_created\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/emails/class-wc-email-customer-note.php
+
+ -
+ message: '#^Cannot call method get_order_number\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/emails/class-wc-email-customer-note.php
+
+ -
+ message: '#^Method WC_Email_Customer_Note\:\:trigger\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/emails/class-wc-email-customer-note.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_Email\)\: Unexpected token "\\n\\t ", expected ''\<'' at offset 242 on line 9$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/emails/class-wc-email-customer-note.php
+
+ -
+ message: '#^Parameter \#1 \$date of function wc_format_datetime expects WC_DateTime, WC_DateTime\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/emails/class-wc-email-customer-note.php
+
+ -
+ message: '#^Method WC_Email_Customer_On_Hold_Order\:\:trigger\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/emails/class-wc-email-customer-on-hold-order.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_Email\)\: Unexpected token "\\n\\t ", expected ''\<'' at offset 254 on line 9$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/emails/class-wc-email-customer-on-hold-order.php
+
+ -
+ message: '#^Parameter \#1 \$date of function wc_format_datetime expects WC_DateTime, WC_DateTime\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/emails/class-wc-email-customer-on-hold-order.php
+
+ -
+ message: '#^Parameter \#1 \$object_or_string of function is_a expects object, WC_Order\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/emails/class-wc-email-customer-on-hold-order.php
+
+ -
+ message: '#^Parameter \#1 \$object_or_string of function is_a expects object, bool\|WC_Order\|WC_Order_Refund given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/emails/class-wc-email-customer-on-hold-order.php
+
+ -
+ message: '#^Binary operation "\." between mixed and '' '' results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: includes/emails/class-wc-email-customer-pos-completed-order.php
+
+ -
+ message: '#^Binary operation "\." between non\-falsy\-string and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: includes/emails/class-wc-email-customer-pos-completed-order.php
+
+ -
+ message: '#^Callback expects 3 parameters, \$accepted_args is set to 4\.$#'
+ identifier: arguments.count
+ count: 1
+ path: includes/emails/class-wc-email-customer-pos-completed-order.php
+
+ -
+ message: '#^Cannot access property \$id on mixed\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/emails/class-wc-email-customer-pos-completed-order.php
+
+ -
+ message: '#^Method WC_Email_Customer_POS_Completed_Order\:\:add_pos_customizations\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/emails/class-wc-email-customer-pos-completed-order.php
+
+ -
+ message: '#^Method WC_Email_Customer_POS_Completed_Order\:\:add_unit_price\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/emails/class-wc-email-customer-pos-completed-order.php
+
+ -
+ message: '#^Method WC_Email_Customer_POS_Completed_Order\:\:email_footer\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/emails/class-wc-email-customer-pos-completed-order.php
+
+ -
+ message: '#^Method WC_Email_Customer_POS_Completed_Order\:\:email_header\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/emails/class-wc-email-customer-pos-completed-order.php
+
+ -
+ message: '#^Method WC_Email_Customer_POS_Completed_Order\:\:enable_email_template_for_pos_orders\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/emails/class-wc-email-customer-pos-completed-order.php
+
+ -
+ message: '#^Method WC_Email_Customer_POS_Completed_Order\:\:enable_order_email_actions_for_pos_orders\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/emails/class-wc-email-customer-pos-completed-order.php
+
+ -
+ message: '#^Method WC_Email_Customer_POS_Completed_Order\:\:init_form_fields\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/emails/class-wc-email-customer-pos-completed-order.php
+
+ -
+ message: '#^Method WC_Email_Customer_POS_Completed_Order\:\:remove_pos_customizations\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/emails/class-wc-email-customer-pos-completed-order.php
+
+ -
+ message: '#^Method WC_Email_Customer_POS_Completed_Order\:\:trigger\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/emails/class-wc-email-customer-pos-completed-order.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_Email\)\: Unexpected token "\\n\\t ", expected ''\<'' at offset 333 on line 9$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/emails/class-wc-email-customer-pos-completed-order.php
+
+ -
+ message: '#^Parameter \#1 \$date of function wc_format_datetime expects WC_DateTime, WC_DateTime\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/emails/class-wc-email-customer-pos-completed-order.php
+
+ -
+ message: '#^Parameter \#1 \$object_or_string of function is_a expects object, bool\|WC_Order\|WC_Order_Refund given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/emails/class-wc-email-customer-pos-completed-order.php
+
+ -
+ message: '#^Parameter \#1 \$price of function wc_price expects float, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/emails/class-wc-email-customer-pos-completed-order.php
+
+ -
+ message: '#^Parameter \#2 \$item of static method Automattic\\WooCommerce\\Internal\\Email\\OrderPriceFormatter\:\:get_formatted_item_subtotal\(\) expects WC_Order_Item, array given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/emails/class-wc-email-customer-pos-completed-order.php
+
+ -
+ message: '#^Parameter \#3 \$tax_display of static method Automattic\\WooCommerce\\Internal\\Email\\OrderPriceFormatter\:\:get_formatted_item_subtotal\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/emails/class-wc-email-customer-pos-completed-order.php
+
+ -
+ message: '#^Variable \$order might not be defined\.$#'
+ identifier: variable.undefined
+ count: 1
+ path: includes/emails/class-wc-email-customer-pos-completed-order.php
+
+ -
+ message: '#^@param WC_Order \$order does not accept actual type of parameter\: bool\|object\.$#'
+ identifier: parameter.phpDocType
+ count: 2
+ path: includes/emails/class-wc-email-customer-pos-refunded-order.php
+
+ -
+ message: '#^Binary operation "\." between mixed and '' '' results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: includes/emails/class-wc-email-customer-pos-refunded-order.php
+
+ -
+ message: '#^Binary operation "\." between non\-falsy\-string and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: includes/emails/class-wc-email-customer-pos-refunded-order.php
+
+ -
+ message: '#^Callback expects 3 parameters, \$accepted_args is set to 4\.$#'
+ identifier: arguments.count
+ count: 1
+ path: includes/emails/class-wc-email-customer-pos-refunded-order.php
+
+ -
+ message: '#^Cannot access property \$id on mixed\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/emails/class-wc-email-customer-pos-refunded-order.php
+
+ -
+ message: '#^Cannot call method get_billing_email\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/emails/class-wc-email-customer-pos-refunded-order.php
+
+ -
+ message: '#^Cannot call method get_date_created\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/emails/class-wc-email-customer-pos-refunded-order.php
+
+ -
+ message: '#^Cannot call method get_order_number\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/emails/class-wc-email-customer-pos-refunded-order.php
+
+ -
+ message: '#^Method WC_Email_Customer_POS_Refunded_Order\:\:add_pos_customizations\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/emails/class-wc-email-customer-pos-refunded-order.php
+
+ -
+ message: '#^Method WC_Email_Customer_POS_Refunded_Order\:\:add_unit_price\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/emails/class-wc-email-customer-pos-refunded-order.php
+
+ -
+ message: '#^Method WC_Email_Customer_POS_Refunded_Order\:\:disable_default_refund_emails_for_pos_orders\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/emails/class-wc-email-customer-pos-refunded-order.php
+
+ -
+ message: '#^Method WC_Email_Customer_POS_Refunded_Order\:\:email_footer\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/emails/class-wc-email-customer-pos-refunded-order.php
+
+ -
+ message: '#^Method WC_Email_Customer_POS_Refunded_Order\:\:email_header\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/emails/class-wc-email-customer-pos-refunded-order.php
+
+ -
+ message: '#^Method WC_Email_Customer_POS_Refunded_Order\:\:init_form_fields\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/emails/class-wc-email-customer-pos-refunded-order.php
+
+ -
+ message: '#^Method WC_Email_Customer_POS_Refunded_Order\:\:register_refund_email_triggers\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/emails/class-wc-email-customer-pos-refunded-order.php
+
+ -
+ message: '#^Method WC_Email_Customer_POS_Refunded_Order\:\:remove_pos_customizations\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/emails/class-wc-email-customer-pos-refunded-order.php
+
+ -
+ message: '#^Method WC_Email_Customer_POS_Refunded_Order\:\:set_email_strings\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/emails/class-wc-email-customer-pos-refunded-order.php
+
+ -
+ message: '#^Method WC_Email_Customer_POS_Refunded_Order\:\:trigger\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/emails/class-wc-email-customer-pos-refunded-order.php
+
+ -
+ message: '#^Method WC_Email_Customer_POS_Refunded_Order\:\:trigger_full\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/emails/class-wc-email-customer-pos-refunded-order.php
+
+ -
+ message: '#^Method WC_Email_Customer_POS_Refunded_Order\:\:trigger_partial\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/emails/class-wc-email-customer-pos-refunded-order.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_Email\)\: Unexpected token "\\n\\t ", expected ''\<'' at offset 267 on line 9$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/emails/class-wc-email-customer-pos-refunded-order.php
+
+ -
+ message: '#^Parameter \#1 \$date of function wc_format_datetime expects WC_DateTime, WC_DateTime\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/emails/class-wc-email-customer-pos-refunded-order.php
+
+ -
+ message: '#^Parameter \#1 \$order of static method Automattic\\WooCommerce\\Internal\\Orders\\PointOfSaleOrderUtil\:\:is_pos_order\(\) expects WC_Abstract_Order, WC_Order\|WC_Order_Refund\|true given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/emails/class-wc-email-customer-pos-refunded-order.php
+
+ -
+ message: '#^Parameter \#2 \$item of static method Automattic\\WooCommerce\\Internal\\Email\\OrderPriceFormatter\:\:get_formatted_item_subtotal\(\) expects WC_Order_Item, array given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/emails/class-wc-email-customer-pos-refunded-order.php
+
+ -
+ message: '#^Parameter \#3 \$tax_display of static method Automattic\\WooCommerce\\Internal\\Email\\OrderPriceFormatter\:\:get_formatted_item_subtotal\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/emails/class-wc-email-customer-pos-refunded-order.php
+
+ -
+ message: '#^Property WC_Email_Customer_POS_Refunded_Order\:\:\$refund \(bool\|WC_Order\) does not accept bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: includes/emails/class-wc-email-customer-pos-refunded-order.php
+
+ -
+ message: '#^Method WC_Email_Customer_Processing_Order\:\:trigger\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/emails/class-wc-email-customer-processing-order.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_Email\)\: Unexpected token "\\n\\t ", expected ''\<'' at offset 257 on line 9$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/emails/class-wc-email-customer-processing-order.php
+
+ -
+ message: '#^Parameter \#1 \$date of function wc_format_datetime expects WC_DateTime, WC_DateTime\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/emails/class-wc-email-customer-processing-order.php
+
+ -
+ message: '#^Parameter \#1 \$object_or_string of function is_a expects object, WC_Order\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/emails/class-wc-email-customer-processing-order.php
+
+ -
+ message: '#^Parameter \#1 \$object_or_string of function is_a expects object, bool\|WC_Order\|WC_Order_Refund given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/emails/class-wc-email-customer-processing-order.php
+
+ -
+ message: '#^@param WC_Order \$order does not accept actual type of parameter\: bool\|object\.$#'
+ identifier: parameter.phpDocType
+ count: 2
+ path: includes/emails/class-wc-email-customer-refunded-order.php
+
+ -
+ message: '#^Cannot call method get_billing_email\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/emails/class-wc-email-customer-refunded-order.php
+
+ -
+ message: '#^Cannot call method get_date_created\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/emails/class-wc-email-customer-refunded-order.php
+
+ -
+ message: '#^Cannot call method get_order_number\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/emails/class-wc-email-customer-refunded-order.php
+
+ -
+ message: '#^Method WC_Email_Customer_Refunded_Order\:\:init_form_fields\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/emails/class-wc-email-customer-refunded-order.php
+
+ -
+ message: '#^Method WC_Email_Customer_Refunded_Order\:\:set_email_strings\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/emails/class-wc-email-customer-refunded-order.php
+
+ -
+ message: '#^Method WC_Email_Customer_Refunded_Order\:\:trigger\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/emails/class-wc-email-customer-refunded-order.php
+
+ -
+ message: '#^Method WC_Email_Customer_Refunded_Order\:\:trigger_full\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/emails/class-wc-email-customer-refunded-order.php
+
+ -
+ message: '#^Method WC_Email_Customer_Refunded_Order\:\:trigger_partial\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/emails/class-wc-email-customer-refunded-order.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_Email\)\: Unexpected token "\\n\\t ", expected ''\<'' at offset 263 on line 9$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/emails/class-wc-email-customer-refunded-order.php
+
+ -
+ message: '#^Parameter \#1 \$date of function wc_format_datetime expects WC_DateTime, WC_DateTime\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/emails/class-wc-email-customer-refunded-order.php
+
+ -
+ message: '#^Property WC_Email_Customer_Refunded_Order\:\:\$refund \(bool\|WC_Order\) does not accept bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: includes/emails/class-wc-email-customer-refunded-order.php
+
+ -
+ message: '#^Cannot access property \$ID on WP_User\|false\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/emails/class-wc-email-customer-reset-password.php
+
+ -
+ message: '#^Cannot access property \$user_email on WP_User\|false\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/emails/class-wc-email-customer-reset-password.php
+
+ -
+ message: '#^Method WC_Email_Customer_Reset_Password\:\:trigger\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/emails/class-wc-email-customer-reset-password.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_Email\)\: Unexpected token "\\n\\t ", expected ''\<'' at offset 249 on line 9$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/emails/class-wc-email-customer-reset-password.php
+
+ -
+ message: '#^Method WC_Email_Failed_Order\:\:init_form_fields\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/emails/class-wc-email-failed-order.php
+
+ -
+ message: '#^Method WC_Email_Failed_Order\:\:trigger\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/emails/class-wc-email-failed-order.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_Email\)\: Unexpected token "\\n\\t ", expected ''\<'' at offset 232 on line 9$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/emails/class-wc-email-failed-order.php
+
+ -
+ message: '#^Parameter \#1 \$date of function wc_format_datetime expects WC_DateTime, WC_DateTime\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/emails/class-wc-email-failed-order.php
+
+ -
+ message: '#^Parameter \#1 \$object_or_string of function is_a expects object, WC_Order\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/emails/class-wc-email-failed-order.php
+
+ -
+ message: '#^Parameter \#1 \$object_or_string of function is_a expects object, bool\|WC_Order\|WC_Order_Refund given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/emails/class-wc-email-failed-order.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_attr expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/emails/class-wc-email-failed-order.php
+
+ -
+ message: '#^Cannot call method save\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/emails/class-wc-email-new-order.php
+
+ -
+ message: '#^Cannot call method update_meta_data\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/emails/class-wc-email-new-order.php
+
+ -
+ message: '#^Method WC_Email_New_Order\:\:init_form_fields\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/emails/class-wc-email-new-order.php
+
+ -
+ message: '#^Method WC_Email_New_Order\:\:mobile_messaging\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/emails/class-wc-email-new-order.php
+
+ -
+ message: '#^Method WC_Email_New_Order\:\:trigger\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/emails/class-wc-email-new-order.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_Email\)\: Unexpected token "\\n\\t ", expected ''\<'' at offset 231 on line 9$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/emails/class-wc-email-new-order.php
+
+ -
+ message: '#^Parameter \#1 \$date of function wc_format_datetime expects WC_DateTime, WC_DateTime\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/emails/class-wc-email-new-order.php
+
+ -
+ message: '#^Parameter \#1 \$object_or_string of function is_a expects object, WC_Order\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/emails/class-wc-email-new-order.php
+
+ -
+ message: '#^Parameter \#1 \$object_or_string of function is_a expects object, bool\|WC_Order\|WC_Order_Refund given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/emails/class-wc-email-new-order.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_attr expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/emails/class-wc-email-new-order.php
+
+ -
+ message: '#^@param object \$object does not accept actual type of parameter\: bool\|object\.$#'
+ identifier: parameter.phpDocType
+ count: 3
+ path: includes/emails/class-wc-email.php
+
+ -
+ message: '#^@param string \$email does not accept actual type of parameter\: \$this\(WC_Email\)\.$#'
+ identifier: parameter.phpDocType
+ count: 4
+ path: includes/emails/class-wc-email.php
+
+ -
+ message: '#^@param string \$reply_to_email does not accept actual type of parameter\: mixed\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: includes/emails/class-wc-email.php
+
+ -
+ message: '#^@param string \$reply_to_name does not accept actual type of parameter\: mixed\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: includes/emails/class-wc-email.php
+
+ -
+ message: '#^@param tag must not be named \$this\. Choose a descriptive alias, for example \$instance\.$#'
+ identifier: phpDoc.parseError
+ count: 5
+ path: includes/emails/class-wc-email.php
+
+ -
+ message: '#^Access to property \$AltBody on an unknown class PHPMailer\.$#'
+ identifier: class.notFound
+ count: 4
+ path: includes/emails/class-wc-email.php
+
+ -
+ message: '#^Action callback returns PHPMailer but should not return anything\.$#'
+ identifier: return.void
+ count: 1
+ path: includes/emails/class-wc-email.php
+
+ -
+ message: '#^Action callback returns bool but should not return anything\.$#'
+ identifier: return.void
+ count: 1
+ path: includes/emails/class-wc-email.php
+
+ -
+ message: '#^Cannot call method get_billing_email\(\) on object\|true\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: includes/emails/class-wc-email.php
+
+ -
+ message: '#^Cannot call method get_billing_first_name\(\) on object\|true\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: includes/emails/class-wc-email.php
+
+ -
+ message: '#^Cannot call method get_billing_last_name\(\) on object\|true\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: includes/emails/class-wc-email.php
+
+ -
+ message: '#^Cannot call method maybe_render_block_email\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/emails/class-wc-email.php
+
+ -
+ message: '#^Constant WC_VERSION not found\.$#'
+ identifier: constant.notFound
+ count: 1
+ path: includes/emails/class-wc-email.php
+
+ -
+ message: '#^Method WC_Email\:\:admin_actions\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/emails/class-wc-email.php
+
+ -
+ message: '#^Method WC_Email\:\:admin_options\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/emails/class-wc-email.php
+
+ -
+ message: '#^Method WC_Email\:\:apply_inline_style\(\) should return string but returns string\|null\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/emails/class-wc-email.php
+
+ -
+ message: '#^Method WC_Email\:\:delete_template_action\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/emails/class-wc-email.php
+
+ -
+ message: '#^Method WC_Email\:\:get_email_type\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/emails/class-wc-email.php
+
+ -
+ message: '#^Method WC_Email\:\:get_option_or_transient\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/emails/class-wc-email.php
+
+ -
+ message: '#^Method WC_Email\:\:handle_multipart\(\) has invalid return type PHPMailer\.$#'
+ identifier: class.notFound
+ count: 1
+ path: includes/emails/class-wc-email.php
+
+ -
+ message: '#^Method WC_Email\:\:init_form_fields\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/emails/class-wc-email.php
+
+ -
+ message: '#^Method WC_Email\:\:move_template_action\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/emails/class-wc-email.php
+
+ -
+ message: '#^Method WC_Email\:\:process_admin_options\(\) should return bool but return statement is missing\.$#'
+ identifier: return.missing
+ count: 2
+ path: includes/emails/class-wc-email.php
+
+ -
+ message: '#^Method WC_Email\:\:restore_locale\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/emails/class-wc-email.php
+
+ -
+ message: '#^Method WC_Email\:\:save_template\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/emails/class-wc-email.php
+
+ -
+ message: '#^Method WC_Email\:\:setup_locale\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/emails/class-wc-email.php
+
+ -
+ message: '#^Method WC_Email\:\:style_inline\(\) should return string but returns string\|null\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/emails/class-wc-email.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_Settings_API\)\: Unexpected token "\\n ", expected ''\<'' at offset 255 on line 9$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/emails/class-wc-email.php
+
+ -
+ message: '#^PHPDoc tag @param has invalid value \(WC_Email \$this The WC_Email object\.\)\: Unexpected token "\$this", expected variable at offset 161 on line 7$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/emails/class-wc-email.php
+
+ -
+ message: '#^PHPDoc tag @param has invalid value \(WC_Email \$this The WC_Email object\.\)\: Unexpected token "\$this", expected variable at offset 162 on line 7$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/emails/class-wc-email.php
+
+ -
+ message: '#^PHPDoc tag @param has invalid value \(WC_Email \$this The WC_Email object\.\)\: Unexpected token "\$this", expected variable at offset 300 on line 8$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/emails/class-wc-email.php
+
+ -
+ message: '#^Parameter \#1 \$nonce of function wp_verify_nonce expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/emails/class-wc-email.php
+
+ -
+ message: '#^Parameter \#1 \$search of function str_replace expects array\<string\>\|string, array\|int\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/emails/class-wc-email.php
+
+ -
+ message: '#^Parameter \#1 \$str of function wordwrap expects string, string\|null given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/emails/class-wc-email.php
+
+ -
+ message: '#^Parameter \#1 \$template_type of method WC_Email\:\:delete_template_action\(\) expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/emails/class-wc-email.php
+
+ -
+ message: '#^Parameter \#1 \$template_type of method WC_Email\:\:move_template_action\(\) expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/emails/class-wc-email.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_html expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/emails/class-wc-email.php
+
+ -
+ message: '#^Parameter \#1 \$text of function wp_specialchars_decode expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/emails/class-wc-email.php
+
+ -
+ message: '#^Parameter \#1 \$unprocessedHtml of static method Automattic\\WooCommerce\\Vendor\\Pelago\\Emogrifier\\HtmlProcessor\\AbstractHtmlProcessor\:\:fromHtml\(\) expects string, string\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/emails/class-wc-email.php
+
+ -
+ message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/emails/class-wc-email.php
+
+ -
+ message: '#^Parameter \#2 \$callback of function array_filter expects \(callable\(string\)\: bool\)\|null, ''is_email'' given\.$#'
+ identifier: argument.type
+ count: 3
+ path: includes/emails/class-wc-email.php
+
+ -
+ message: '#^Parameter \#3 \$subject of function str_replace expects array\<string\>\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/emails/class-wc-email.php
+
+ -
+ message: '#^Parameter \$mailer of method WC_Email\:\:handle_multipart\(\) has invalid type PHPMailer\.$#'
+ identifier: class.notFound
+ count: 1
+ path: includes/emails/class-wc-email.php
+
+ -
+ message: '#^Property WC_Email\:\:\$personalizer \(Automattic\\WooCommerce\\Internal\\EmailEditor\\TransactionalEmailPersonalizer\) does not accept mixed\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: includes/emails/class-wc-email.php
+
+ -
+ message: '#^Variable \$template in empty\(\) always exists and is not falsy\.$#'
+ identifier: empty.variable
+ count: 1
+ path: includes/emails/class-wc-email.php
+
+ -
+ message: '#^Constant WC_ABSPATH not found\.$#'
+ identifier: constant.notFound
+ count: 1
+ path: includes/export/abstract-wc-csv-batch-exporter.php
+
+ -
+ message: '#^Method WC_CSV_Batch_Exporter\:\:export\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/export/abstract-wc-csv-batch-exporter.php
+
+ -
+ message: '#^Method WC_CSV_Batch_Exporter\:\:generate_file\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/export/abstract-wc-csv-batch-exporter.php
+
+ -
+ message: '#^Method WC_CSV_Batch_Exporter\:\:get_file\(\) should return string but returns string\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/export/abstract-wc-csv-batch-exporter.php
+
+ -
+ message: '#^Method WC_CSV_Batch_Exporter\:\:get_headers_row_file\(\) should return string but returns string\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/export/abstract-wc-csv-batch-exporter.php
+
+ -
+ message: '#^Method WC_CSV_Batch_Exporter\:\:set_page\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/export/abstract-wc-csv-batch-exporter.php
+
+ -
+ message: '#^Method WC_CSV_Batch_Exporter\:\:write_csv_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/export/abstract-wc-csv-batch-exporter.php
+
+ -
+ message: '#^Method WC_CSV_Exporter\:\:export\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/export/abstract-wc-csv-exporter.php
+
+ -
+ message: '#^Method WC_CSV_Exporter\:\:export_column_headers\(\) should return string but returns string\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/export/abstract-wc-csv-exporter.php
+
+ -
+ message: '#^Method WC_CSV_Exporter\:\:export_row\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/export/abstract-wc-csv-exporter.php
+
+ -
+ message: '#^Method WC_CSV_Exporter\:\:fputcsv\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/export/abstract-wc-csv-exporter.php
+
+ -
+ message: '#^Method WC_CSV_Exporter\:\:prepare_data_to_export\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/export/abstract-wc-csv-exporter.php
+
+ -
+ message: '#^Method WC_CSV_Exporter\:\:send_content\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/export/abstract-wc-csv-exporter.php
+
+ -
+ message: '#^Method WC_CSV_Exporter\:\:send_headers\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/export/abstract-wc-csv-exporter.php
+
+ -
+ message: '#^Method WC_CSV_Exporter\:\:set_column_names\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/export/abstract-wc-csv-exporter.php
+
+ -
+ message: '#^Method WC_CSV_Exporter\:\:set_columns_to_export\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/export/abstract-wc-csv-exporter.php
+
+ -
+ message: '#^Method WC_CSV_Exporter\:\:set_filename\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/export/abstract-wc-csv-exporter.php
+
+ -
+ message: '#^Method WC_CSV_Exporter\:\:set_limit\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/export/abstract-wc-csv-exporter.php
+
+ -
+ message: '#^Parameter \#1 \$buffer of method WC_CSV_Exporter\:\:fputcsv\(\) expects resource, resource\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/export/abstract-wc-csv-exporter.php
+
+ -
+ message: '#^Parameter \#2 \$value of function apache_setenv expects string, int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/export/abstract-wc-csv-exporter.php
+
+ -
+ message: '#^Possibly invalid array key type array\|string\.$#'
+ identifier: offsetAccess.invalidOffset
+ count: 1
+ path: includes/export/abstract-wc-csv-exporter.php
+
+ -
+ message: '#^Argument of an invalid type array\|null supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
+ count: 1
+ path: includes/export/class-wc-product-csv-exporter.php
+
+ -
+ message: '#^Argument of an invalid type array\|stdClass supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
+ count: 1
+ path: includes/export/class-wc-product-csv-exporter.php
+
+ -
+ message: '#^Call to an undefined method WC_Product\:\:get_parent_data\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/export/class-wc-product-csv-exporter.php
+
+ -
+ message: '#^Cannot access property \$products on array\|stdClass\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/export/class-wc-product-csv-exporter.php
+
+ -
+ message: '#^Cannot access property \$total on array\|stdClass\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/export/class-wc-product-csv-exporter.php
+
+ -
+ message: '#^Cannot call method feature_is_enabled\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/export/class-wc-product-csv-exporter.php
+
+ -
+ message: '#^Cannot call method get_id\(\) on int\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/export/class-wc-product-csv-exporter.php
+
+ -
+ message: '#^Cannot call method get_sku\(\) on int\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: includes/export/class-wc-product-csv-exporter.php
+
+ -
+ message: '#^Constant WC_ABSPATH not found\.$#'
+ identifier: constant.notFound
+ count: 1
+ path: includes/export/class-wc-product-csv-exporter.php
+
+ -
+ message: '#^Method WC_Product\:\:get_children\(\) invoked with 1 parameter, 0 required\.$#'
+ identifier: arguments.count
+ count: 1
+ path: includes/export/class-wc-product-csv-exporter.php
+
+ -
+ message: '#^Method WC_Product_CSV_Exporter\:\:enable_meta_export\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/export/class-wc-product-csv-exporter.php
+
+ -
+ message: '#^Method WC_Product_CSV_Exporter\:\:get_column_value_backorders\(\) should return string but returns int\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/export/class-wc-product-csv-exporter.php
+
+ -
+ message: '#^Method WC_Product_CSV_Exporter\:\:get_column_value_download_expiry\(\) should return string but returns int\<min, \-1\>\|int\<1, max\>\|string\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/export/class-wc-product-csv-exporter.php
+
+ -
+ message: '#^Method WC_Product_CSV_Exporter\:\:get_column_value_download_limit\(\) should return string but returns int\<min, \-1\>\|int\<1, max\>\|string\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/export/class-wc-product-csv-exporter.php
+
+ -
+ message: '#^Method WC_Product_CSV_Exporter\:\:get_column_value_stock\(\) should return string but returns int\|null\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/export/class-wc-product-csv-exporter.php
+
+ -
+ message: '#^Method WC_Product_CSV_Exporter\:\:get_column_value_stock_status\(\) should return string but returns int\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/export/class-wc-product-csv-exporter.php
+
+ -
+ message: '#^Method WC_Product_CSV_Exporter\:\:prepare_attributes_for_export\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/export/class-wc-product-csv-exporter.php
+
+ -
+ message: '#^Method WC_Product_CSV_Exporter\:\:prepare_data_to_export\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/export/class-wc-product-csv-exporter.php
+
+ -
+ message: '#^Method WC_Product_CSV_Exporter\:\:prepare_downloads_for_export\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/export/class-wc-product-csv-exporter.php
+
+ -
+ message: '#^Method WC_Product_CSV_Exporter\:\:prepare_meta_for_export\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/export/class-wc-product-csv-exporter.php
+
+ -
+ message: '#^Method WC_Product_CSV_Exporter\:\:set_product_ids_to_export\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/export/class-wc-product-csv-exporter.php
+
+ -
+ message: '#^Method WC_Product_CSV_Exporter\:\:set_product_types_to_export\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/export/class-wc-product-csv-exporter.php
+
+ -
+ message: '#^Parameter \#1 \$dimensions_unit of static method Automattic\\WooCommerce\\Utilities\\I18nUtil\:\:get_dimensions_unit_label\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/export/class-wc-product-csv-exporter.php
+
+ -
+ message: '#^Parameter \#1 \$linked_products of method WC_Product_CSV_Exporter\:\:prepare_linked_products_for_export\(\) expects array\<int\>, array\<WC_Product\> given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/export/class-wc-product-csv-exporter.php
+
+ -
+ message: '#^Parameter \#1 \$term_ids of method WC_CSV_Exporter\:\:format_term_ids\(\) expects array, int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/export/class-wc-product-csv-exporter.php
+
+ -
+ message: '#^Parameter \#1 \$weight_unit of static method Automattic\\WooCommerce\\Utilities\\I18nUtil\:\:get_weight_unit_label\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/export/class-wc-product-csv-exporter.php
+
+ -
+ message: '#^Parameter \#2 \$array of function array_map expects array, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/export/class-wc-product-csv-exporter.php
+
+ -
+ message: '#^@param object \$order does not accept actual type of parameter\: bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: includes/gateways/bacs/class-wc-gateway-bacs.php
+
+ -
+ message: '#^Action callback returns bool but should not return anything\.$#'
+ identifier: return.void
+ count: 1
+ path: includes/gateways/bacs/class-wc-gateway-bacs.php
+
+ -
+ message: '#^Argument of an invalid type array\|string supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
+ count: 1
+ path: includes/gateways/bacs/class-wc-gateway-bacs.php
+
+ -
+ message: '#^Cannot call method get_billing_country\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/gateways/bacs/class-wc-gateway-bacs.php
+
+ -
+ message: '#^Cannot call method get_total\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/gateways/bacs/class-wc-gateway-bacs.php
+
+ -
+ message: '#^Cannot call method payment_complete\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/gateways/bacs/class-wc-gateway-bacs.php
+
+ -
+ message: '#^Cannot call method update_status\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/gateways/bacs/class-wc-gateway-bacs.php
+
+ -
+ message: '#^Default value of the parameter \#1 \$order_id \(string\) of method WC_Gateway_BACS\:\:bank_details\(\) is incompatible with type int\.$#'
+ identifier: parameter.defaultValue
+ count: 1
+ path: includes/gateways/bacs/class-wc-gateway-bacs.php
+
+ -
+ message: '#^Method WC_Gateway_BACS\:\:bank_details\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/gateways/bacs/class-wc-gateway-bacs.php
+
+ -
+ message: '#^Method WC_Gateway_BACS\:\:email_instructions\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/gateways/bacs/class-wc-gateway-bacs.php
+
+ -
+ message: '#^Method WC_Gateway_BACS\:\:generate_account_details_html\(\) should return string but returns string\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/gateways/bacs/class-wc-gateway-bacs.php
+
+ -
+ message: '#^Method WC_Gateway_BACS\:\:init_form_fields\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/gateways/bacs/class-wc-gateway-bacs.php
+
+ -
+ message: '#^Method WC_Gateway_BACS\:\:save_account_details\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/gateways/bacs/class-wc-gateway-bacs.php
+
+ -
+ message: '#^Method WC_Gateway_BACS\:\:thankyou_page\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/gateways/bacs/class-wc-gateway-bacs.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_Payment_Gateway\)\: Unexpected token "\\n \* ", expected ''\<'' at offset 185 on line 7$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/gateways/bacs/class-wc-gateway-bacs.php
+
+ -
+ message: '#^Parameter \#1 \$order of method WC_Payment_Gateway\:\:get_return_url\(\) expects WC_Order\|null, bool\|WC_Order\|WC_Order_Refund given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/gateways/bacs/class-wc-gateway-bacs.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_attr expects string, int\<0, max\> given\.$#'
+ identifier: argument.type
+ count: 6
+ path: includes/gateways/bacs/class-wc-gateway-bacs.php
+
+ -
+ message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/gateways/bacs/class-wc-gateway-bacs.php
+
+ -
+ message: '#^Property WC_Gateway_BACS\:\:\$account_details \(array\) does not accept mixed\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: includes/gateways/bacs/class-wc-gateway-bacs.php
+
+ -
+ message: '#^@param object \$order does not accept actual type of parameter\: bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: includes/gateways/cheque/class-wc-gateway-cheque.php
+
+ -
+ message: '#^Action callback returns bool but should not return anything\.$#'
+ identifier: return.void
+ count: 1
+ path: includes/gateways/cheque/class-wc-gateway-cheque.php
+
+ -
+ message: '#^Cannot call method get_total\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/gateways/cheque/class-wc-gateway-cheque.php
+
+ -
+ message: '#^Cannot call method payment_complete\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/gateways/cheque/class-wc-gateway-cheque.php
+
+ -
+ message: '#^Cannot call method update_status\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/gateways/cheque/class-wc-gateway-cheque.php
+
+ -
+ message: '#^Method WC_Gateway_Cheque\:\:email_instructions\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/gateways/cheque/class-wc-gateway-cheque.php
+
+ -
+ message: '#^Method WC_Gateway_Cheque\:\:init_form_fields\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/gateways/cheque/class-wc-gateway-cheque.php
+
+ -
+ message: '#^Method WC_Gateway_Cheque\:\:thankyou_page\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/gateways/cheque/class-wc-gateway-cheque.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_Payment_Gateway\)\: Unexpected token "\\n \* ", expected ''\<'' at offset 172 on line 7$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/gateways/cheque/class-wc-gateway-cheque.php
+
+ -
+ message: '#^Parameter \#1 \$order of method WC_Payment_Gateway\:\:get_return_url\(\) expects WC_Order\|null, bool\|WC_Order\|WC_Order_Refund given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/gateways/cheque/class-wc-gateway-cheque.php
+
+ -
+ message: '#^Method WC_Payment_Gateway_CC\:\:form\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/gateways/class-wc-payment-gateway-cc.php
+
+ -
+ message: '#^Method WC_Payment_Gateway_CC\:\:payment_fields\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/gateways/class-wc-payment-gateway-cc.php
+
+ -
+ message: '#^Method WC_Payment_Gateway_ECheck\:\:form\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/gateways/class-wc-payment-gateway-echeck.php
+
+ -
+ message: '#^Method WC_Payment_Gateway_ECheck\:\:payment_fields\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/gateways/class-wc-payment-gateway-echeck.php
+
+ -
+ message: '#^Action callback returns bool but should not return anything\.$#'
+ identifier: return.void
+ count: 1
+ path: includes/gateways/cod/class-wc-gateway-cod.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_zones\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/gateways/cod/class-wc-gateway-cod.php
+
+ -
+ message: '#^Cannot call method get_instance_id\(\) on class\-string\|object\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/gateways/cod/class-wc-gateway-cod.php
+
+ -
+ message: '#^Cannot call method get_method_id\(\) on class\-string\|object\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/gateways/cod/class-wc-gateway-cod.php
+
+ -
+ message: '#^Cannot call method get_shipping_methods\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/gateways/cod/class-wc-gateway-cod.php
+
+ -
+ message: '#^Cannot call method get_total\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/gateways/cod/class-wc-gateway-cod.php
+
+ -
+ message: '#^Cannot call method has_downloadable_item\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/gateways/cod/class-wc-gateway-cod.php
+
+ -
+ message: '#^Cannot call method payment_complete\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/gateways/cod/class-wc-gateway-cod.php
+
+ -
+ message: '#^Cannot call method update_status\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/gateways/cod/class-wc-gateway-cod.php
+
+ -
+ message: '#^Expected 2 @param tags, found 1\.$#'
+ identifier: paramTag.count
+ count: 1
+ path: includes/gateways/cod/class-wc-gateway-cod.php
+
+ -
+ message: '#^Method WC_Gateway_COD\:\:email_instructions\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/gateways/cod/class-wc-gateway-cod.php
+
+ -
+ message: '#^Method WC_Gateway_COD\:\:init_form_fields\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/gateways/cod/class-wc-gateway-cod.php
+
+ -
+ message: '#^Method WC_Gateway_COD\:\:setup_properties\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/gateways/cod/class-wc-gateway-cod.php
+
+ -
+ message: '#^Method WC_Gateway_COD\:\:thankyou_page\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/gateways/cod/class-wc-gateway-cod.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_Payment_Gateway\)\: Unexpected token "\\n \* ", expected ''\<'' at offset 152 on line 7$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/gateways/cod/class-wc-gateway-cod.php
+
+ -
+ message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/gateways/cod/class-wc-gateway-cod.php
+
+ -
+ message: '#^Parameter \#1 \$order of method WC_Payment_Gateway\:\:get_return_url\(\) expects WC_Order\|null, bool\|WC_Order\|WC_Order_Refund given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/gateways/cod/class-wc-gateway-cod.php
+
+ -
+ message: '#^Property WC_Gateway_COD\:\:\$enable_for_methods \(array\) does not accept string\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: includes/gateways/cod/class-wc-gateway-cod.php
+
+ -
+ message: '#^Method WC_Gateway_Paypal_Buttons\:\:get_client_id\(\) should return string\|null but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/gateways/paypal/class-wc-gateway-paypal-buttons.php
+
+ -
+ message: '#^Method WC_Gateway_Paypal_Buttons\:\:get_current_page_for_app_switch\(\) should return string but returns string\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/gateways/paypal/class-wc-gateway-paypal-buttons.php
+
+ -
+ message: '#^Parameter \#1 \$post of function get_permalink expects int\|WP_Post, int\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/gateways/paypal/class-wc-gateway-paypal-buttons.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$ACK\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/gateways/paypal/class-wc-gateway-paypal.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$AMT\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/gateways/paypal/class-wc-gateway-paypal.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$AUTHORIZATIONID\.$#'
+ identifier: property.notFound
+ count: 2
+ path: includes/gateways/paypal/class-wc-gateway-paypal.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$GROSSREFUNDAMT\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/gateways/paypal/class-wc-gateway-paypal.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$REFUNDTRANSACTIONID\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/gateways/paypal/class-wc-gateway-paypal.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$TRANSACTIONID\.$#'
+ identifier: property.notFound
+ count: 2
+ path: includes/gateways/paypal/class-wc-gateway-paypal.php
+
+ -
+ message: '#^Action callback returns bool but should not return anything\.$#'
+ identifier: return.void
+ count: 1
+ path: includes/gateways/paypal/class-wc-gateway-paypal.php
+
+ -
+ message: '#^Cannot access offset ''debug'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/gateways/paypal/class-wc-gateway-paypal.php
+
+ -
+ message: '#^Cannot call method add_order_note\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 3
+ path: includes/gateways/paypal/class-wc-gateway-paypal.php
+
+ -
+ message: '#^Cannot call method add_order_note\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/gateways/paypal/class-wc-gateway-paypal.php
+
+ -
+ message: '#^Cannot call method get_meta\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 3
+ path: includes/gateways/paypal/class-wc-gateway-paypal.php
+
+ -
+ message: '#^Cannot call method get_payment_method\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: includes/gateways/paypal/class-wc-gateway-paypal.php
+
+ -
+ message: '#^Cannot call method get_transaction_id\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/gateways/paypal/class-wc-gateway-paypal.php
+
+ -
+ message: '#^Cannot call method save\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: includes/gateways/paypal/class-wc-gateway-paypal.php
+
+ -
+ message: '#^Cannot call method set_billing_address_1\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/gateways/paypal/class-wc-gateway-paypal.php
+
+ -
+ message: '#^Cannot call method set_billing_address_2\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/gateways/paypal/class-wc-gateway-paypal.php
+
+ -
+ message: '#^Cannot call method set_billing_city\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/gateways/paypal/class-wc-gateway-paypal.php
+
+ -
+ message: '#^Cannot call method set_billing_country\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/gateways/paypal/class-wc-gateway-paypal.php
+
+ -
+ message: '#^Cannot call method set_billing_email\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/gateways/paypal/class-wc-gateway-paypal.php
+
+ -
+ message: '#^Cannot call method set_billing_first_name\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/gateways/paypal/class-wc-gateway-paypal.php
+
+ -
+ message: '#^Cannot call method set_billing_last_name\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/gateways/paypal/class-wc-gateway-paypal.php
+
+ -
+ message: '#^Cannot call method set_billing_postcode\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/gateways/paypal/class-wc-gateway-paypal.php
+
+ -
+ message: '#^Cannot call method set_billing_state\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/gateways/paypal/class-wc-gateway-paypal.php
+
+ -
+ message: '#^Cannot call method set_shipping_address_1\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/gateways/paypal/class-wc-gateway-paypal.php
+
+ -
+ message: '#^Cannot call method set_shipping_address_2\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/gateways/paypal/class-wc-gateway-paypal.php
+
+ -
+ message: '#^Cannot call method set_shipping_city\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/gateways/paypal/class-wc-gateway-paypal.php
+
+ -
+ message: '#^Cannot call method set_shipping_country\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/gateways/paypal/class-wc-gateway-paypal.php
+
+ -
+ message: '#^Cannot call method set_shipping_first_name\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/gateways/paypal/class-wc-gateway-paypal.php
+
+ -
+ message: '#^Cannot call method set_shipping_last_name\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/gateways/paypal/class-wc-gateway-paypal.php
+
+ -
+ message: '#^Cannot call method set_shipping_postcode\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/gateways/paypal/class-wc-gateway-paypal.php
+
+ -
+ message: '#^Cannot call method set_shipping_state\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/gateways/paypal/class-wc-gateway-paypal.php
+
+ -
+ message: '#^Cannot call method set_transaction_id\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/gateways/paypal/class-wc-gateway-paypal.php
+
+ -
+ message: '#^Cannot call method update_meta_data\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/gateways/paypal/class-wc-gateway-paypal.php
+
+ -
+ message: '#^Constant WC_ABSPATH not found\.$#'
+ identifier: constant.notFound
+ count: 1
+ path: includes/gateways/paypal/class-wc-gateway-paypal.php
+
+ -
+ message: '#^Found usage of constant DOING_AJAX\. Use wp_doing_ajax\(\) instead\.$#'
+ identifier: phpstanWP.wpConstant.fetch
+ count: 1
+ path: includes/gateways/paypal/class-wc-gateway-paypal.php
+
+ -
+ message: '#^Method WC_Gateway_Paypal\:\:admin_options\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/gateways/paypal/class-wc-gateway-paypal.php
+
+ -
+ message: '#^Method WC_Gateway_Paypal\:\:admin_scripts\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/gateways/paypal/class-wc-gateway-paypal.php
+
+ -
+ message: '#^Method WC_Gateway_Paypal\:\:capture_payment\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/gateways/paypal/class-wc-gateway-paypal.php
+
+ -
+ message: '#^Method WC_Gateway_Paypal\:\:enqueue_scripts\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/gateways/paypal/class-wc-gateway-paypal.php
+
+ -
+ message: '#^Method WC_Gateway_Paypal\:\:init_api\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/gateways/paypal/class-wc-gateway-paypal.php
+
+ -
+ message: '#^Method WC_Gateway_Paypal\:\:init_form_fields\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/gateways/paypal/class-wc-gateway-paypal.php
+
+ -
+ message: '#^Method WC_Gateway_Paypal\:\:log\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/gateways/paypal/class-wc-gateway-paypal.php
+
+ -
+ message: '#^Method WC_Gateway_Paypal\:\:render_buttons_container\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/gateways/paypal/class-wc-gateway-paypal.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_Payment_Gateway\)\: Unexpected token "\\n \* ", expected ''\<'' at offset 161 on line 7$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/gateways/paypal/class-wc-gateway-paypal.php
+
+ -
+ message: '#^Parameter \#1 \$order of method WC_Gateway_Paypal\:\:can_refund_order\(\) expects WC_Order, bool\|WC_Order\|WC_Order_Refund given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/gateways/paypal/class-wc-gateway-paypal.php
+
+ -
+ message: '#^Parameter \#1 \$order of method WC_Gateway_Paypal_Request\:\:capture_authorized_payment\(\) expects WC_Order, WC_Order\|WC_Order_Refund\|true given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/gateways/paypal/class-wc-gateway-paypal.php
+
+ -
+ message: '#^Parameter \#1 \$order of method WC_Gateway_Paypal_Request\:\:create_paypal_order\(\) expects WC_Order, bool\|WC_Order\|WC_Order_Refund given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/gateways/paypal/class-wc-gateway-paypal.php
+
+ -
+ message: '#^Parameter \#1 \$order of method WC_Gateway_Paypal_Request\:\:get_request_url\(\) expects WC_Order, bool\|WC_Order\|WC_Order_Refund given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/gateways/paypal/class-wc-gateway-paypal.php
+
+ -
+ message: '#^Parameter \#1 \$order of static method WC_Gateway_Paypal_API_Handler\:\:do_capture\(\) expects WC_Order, WC_Order\|WC_Order_Refund\|true given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/gateways/paypal/class-wc-gateway-paypal.php
+
+ -
+ message: '#^Parameter \#1 \$order of static method WC_Gateway_Paypal_API_Handler\:\:refund_transaction\(\) expects WC_Order, bool\|WC_Order\|WC_Order_Refund given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/gateways/paypal/class-wc-gateway-paypal.php
+
+ -
+ message: '#^Parameter \#1 \$paypal_order_id of method WC_Gateway_Paypal_Request\:\:get_paypal_order_details\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/gateways/paypal/class-wc-gateway-paypal.php
+
+ -
+ message: '#^Parameter \#4 \$ver of function wp_enqueue_script expects bool\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/gateways/paypal/class-wc-gateway-paypal.php
+
+ -
+ message: '#^Parameter \#4 \$ver of function wp_register_script expects bool\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/gateways/paypal/class-wc-gateway-paypal.php
+
+ -
+ message: '#^Static property WC_Gateway_Paypal\:\:\$log \(WC_Logger\) does not accept WC_Logger_Interface\.$#'
+ identifier: assign.propertyType
+ count: 2
+ path: includes/gateways/paypal/class-wc-gateway-paypal.php
+
+ -
+ message: '#^Static property WC_Gateway_Paypal\:\:\$log \(WC_Logger\) does not accept default value of type false\.$#'
+ identifier: property.defaultValue
+ count: 1
+ path: includes/gateways/paypal/class-wc-gateway-paypal.php
+
+ -
+ message: '#^Static property WC_Gateway_Paypal\:\:\$log \(WC_Logger\) in empty\(\) is not falsy\.$#'
+ identifier: empty.property
+ count: 2
+ path: includes/gateways/paypal/class-wc-gateway-paypal.php
+
+ -
+ message: '#^Method WC_Gateway_Paypal_Refund\:\:refund_order\(\) should return object but returns array\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-api-handler.php
+
+ -
+ message: '#^Cannot access offset ''_should_load'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-helper.php
+
+ -
+ message: '#^Cannot access offset ''api_password'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-helper.php
+
+ -
+ message: '#^Cannot access offset ''api_signature'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-helper.php
+
+ -
+ message: '#^Cannot access offset ''api_username'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-helper.php
+
+ -
+ message: '#^Cannot access offset ''enabled'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-helper.php
+
+ -
+ message: '#^Cannot access offset ''sandbox_api_password'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-helper.php
+
+ -
+ message: '#^Cannot access offset ''sandbox_api_signature'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-helper.php
+
+ -
+ message: '#^Cannot access offset ''sandbox_api_username'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-helper.php
+
+ -
+ message: '#^Cannot access offset ''testmode'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-helper.php
+
+ -
+ message: '#^Cannot call method get_order_key\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-helper.php
+
+ -
+ message: '#^Method WC_Gateway_Paypal_Helper\:\:get_wc_order_from_paypal_custom_id\(\) should return WC_Order\|null but returns WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-helper.php
+
+ -
+ message: '#^Parameter \#1 \$email of static method WC_Gateway_Paypal_Helper\:\:mask_email\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-helper.php
+
+ -
+ message: '#^Cannot access offset ''ipn_notification'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-ipn-handler.php
+
+ -
+ message: '#^Cannot access offset ''recipient'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-ipn-handler.php
+
+ -
+ message: '#^Cannot call method get_id\(\) on WC_Order\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-ipn-handler.php
+
+ -
+ message: '#^Method WC_Gateway_Paypal_IPN_Handler\:\:check_response\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-ipn-handler.php
+
+ -
+ message: '#^Method WC_Gateway_Paypal_IPN_Handler\:\:payment_status_canceled_reversal\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-ipn-handler.php
+
+ -
+ message: '#^Method WC_Gateway_Paypal_IPN_Handler\:\:payment_status_completed\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-ipn-handler.php
+
+ -
+ message: '#^Method WC_Gateway_Paypal_IPN_Handler\:\:payment_status_denied\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-ipn-handler.php
+
+ -
+ message: '#^Method WC_Gateway_Paypal_IPN_Handler\:\:payment_status_expired\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-ipn-handler.php
+
+ -
+ message: '#^Method WC_Gateway_Paypal_IPN_Handler\:\:payment_status_failed\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-ipn-handler.php
+
+ -
+ message: '#^Method WC_Gateway_Paypal_IPN_Handler\:\:payment_status_paid_cancelled_order\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-ipn-handler.php
+
+ -
+ message: '#^Method WC_Gateway_Paypal_IPN_Handler\:\:payment_status_pending\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-ipn-handler.php
+
+ -
+ message: '#^Method WC_Gateway_Paypal_IPN_Handler\:\:payment_status_refunded\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-ipn-handler.php
+
+ -
+ message: '#^Method WC_Gateway_Paypal_IPN_Handler\:\:payment_status_reversed\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-ipn-handler.php
+
+ -
+ message: '#^Method WC_Gateway_Paypal_IPN_Handler\:\:payment_status_voided\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-ipn-handler.php
+
+ -
+ message: '#^Method WC_Gateway_Paypal_IPN_Handler\:\:save_paypal_meta_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-ipn-handler.php
+
+ -
+ message: '#^Method WC_Gateway_Paypal_IPN_Handler\:\:send_ipn_email_notification\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-ipn-handler.php
+
+ -
+ message: '#^Method WC_Gateway_Paypal_IPN_Handler\:\:valid_response\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-ipn-handler.php
+
+ -
+ message: '#^Method WC_Gateway_Paypal_IPN_Handler\:\:validate_amount\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-ipn-handler.php
+
+ -
+ message: '#^Method WC_Gateway_Paypal_IPN_Handler\:\:validate_currency\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-ipn-handler.php
+
+ -
+ message: '#^Method WC_Gateway_Paypal_IPN_Handler\:\:validate_ipn\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-ipn-handler.php
+
+ -
+ message: '#^Method WC_Gateway_Paypal_IPN_Handler\:\:validate_receiver_email\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-ipn-handler.php
+
+ -
+ message: '#^Method WC_Gateway_Paypal_IPN_Handler\:\:validate_transaction_type\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-ipn-handler.php
+
+ -
+ message: '#^Parameter \#1 \$function of function call_user_func expects callable\(\)\: mixed, array\{\$this\(WC_Gateway_Paypal_IPN_Handler\), non\-falsy\-string\} given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-ipn-handler.php
+
+ -
+ message: '#^Parameter \#1 \$value of method WC_Order\:\:set_transaction_id\(\) expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-ipn-handler.php
+
+ -
+ message: '#^Parameter \#2 \$txn_id of method WC_Gateway_Paypal_Response\:\:payment_complete\(\) expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-ipn-handler.php
+
+ -
+ message: '#^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, array\|string given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-ipn-handler.php
+
+ -
+ message: '#^Parameter \#3 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-ipn-handler.php
+
+ -
+ message: '#^Cannot access property \$id on WP_Screen\|null\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-notices.php
+
+ -
+ message: '#^Method WC_Gateway_Paypal_Notices\:\:paypal_migration_notice_dismissed\(\) should return bool but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-notices.php
+
+ -
+ message: '#^Binary operation "\." between ''WooCommerce/'' and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-pdt-handler.php
+
+ -
+ message: '#^Cannot access offset ''custom'' on non\-empty\-array\|true\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-pdt-handler.php
+
+ -
+ message: '#^Cannot access offset ''payment_status'' on non\-empty\-array\|true\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-pdt-handler.php
+
+ -
+ message: '#^Cannot access offset ''pending_reason'' on non\-empty\-array\|true\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-pdt-handler.php
+
+ -
+ message: '#^Cannot access offset ''receiver_email'' on non\-empty\-array\|true\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-pdt-handler.php
+
+ -
+ message: '#^Cannot call method add_meta_data\(\) on WC_Order\|true\.$#'
+ identifier: method.nonObject
+ count: 3
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-pdt-handler.php
+
+ -
+ message: '#^Cannot call method get_id\(\) on WC_Order\|true\.$#'
+ identifier: method.nonObject
+ count: 3
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-pdt-handler.php
+
+ -
+ message: '#^Cannot call method get_id\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-pdt-handler.php
+
+ -
+ message: '#^Cannot call method get_total\(\) on WC_Order\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-pdt-handler.php
+
+ -
+ message: '#^Cannot call method needs_payment\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-pdt-handler.php
+
+ -
+ message: '#^Cannot call method set_transaction_id\(\) on WC_Order\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-pdt-handler.php
+
+ -
+ message: '#^Method WC_Gateway_Paypal_PDT_Handler\:\:check_response\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-pdt-handler.php
+
+ -
+ message: '#^Method WC_Gateway_Paypal_PDT_Handler\:\:check_response_for_order\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-pdt-handler.php
+
+ -
+ message: '#^Method WC_Gateway_Paypal_PDT_Handler\:\:set_receiver_email\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-pdt-handler.php
+
+ -
+ message: '#^Parameter \#1 \$order of method WC_Gateway_Paypal_Response\:\:payment_complete\(\) expects WC_Order, WC_Order\|true given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-pdt-handler.php
+
+ -
+ message: '#^Parameter \#1 \$order of method WC_Gateway_Paypal_Response\:\:payment_on_hold\(\) expects WC_Order, WC_Order\|true given\.$#'
+ identifier: argument.type
+ count: 3
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-pdt-handler.php
+
+ -
+ message: '#^Parameter \#1 \$transaction of method WC_Gateway_Paypal_PDT_Handler\:\:validate_transaction\(\) expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-pdt-handler.php
+
+ -
+ message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-pdt-handler.php
+
+ -
+ message: '#^Parameter \#2 \$str of function explode expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-pdt-handler.php
+
+ -
+ message: '#^Parameter \#2 \$txn_id of method WC_Gateway_Paypal_Response\:\:payment_complete\(\) expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-pdt-handler.php
+
+ -
+ message: '#^Parameter \#3 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-pdt-handler.php
+
+ -
+ message: '#^Binary operation "\*" between string and int results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-request.php
+
+ -
+ message: '#^Binary operation "\+" between string and string results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 2
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-request.php
+
+ -
+ message: '#^Binary operation "\+\=" between string and string results in an error\.$#'
+ identifier: assignOp.invalid
+ count: 1
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-request.php
+
+ -
+ message: '#^Binary operation "\." between ''\. Debug ID\: '' and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-request.php
+
+ -
+ message: '#^Binary operation "\." between ''PayPal payment is…'' and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-request.php
+
+ -
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_amount\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-request.php
+
+ -
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_product\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-request.php
+
+ -
+ message: '#^Cannot access offset ''client_id'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-request.php
+
+ -
+ message: '#^Cannot access offset ''debug_id'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 4
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-request.php
+
+ -
+ message: '#^Cannot access offset ''id'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-request.php
+
+ -
+ message: '#^Cannot access offset ''update_time'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-request.php
+
+ -
+ message: '#^Cannot call static method instance\(\) on mixed\.$#'
+ identifier: staticMethod.nonObject
+ count: 1
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-request.php
+
+ -
+ message: '#^Constant WC_VERSION not found\.$#'
+ identifier: constant.notFound
+ count: 1
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-request.php
+
+ -
+ message: '#^Method WC_Gateway_Paypal_Request\:\:add_line_item\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-request.php
+
+ -
+ message: '#^Method WC_Gateway_Paypal_Request\:\:delete_line_items\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-request.php
+
+ -
+ message: '#^Method WC_Gateway_Paypal_Request\:\:fetch_paypal_client_id\(\) should return string\|null but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-request.php
+
+ -
+ message: '#^Method WC_Gateway_Paypal_Request\:\:get_latest_transaction_data\(\) should return array\|null but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-request.php
+
+ -
+ message: '#^Method WC_Gateway_Paypal_Request\:\:get_line_items\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-request.php
+
+ -
+ message: '#^Method WC_Gateway_Paypal_Request\:\:get_paypal_order_custom_id\(\) should return string but returns string\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-request.php
+
+ -
+ message: '#^Method WC_Gateway_Paypal_Request\:\:get_paypal_order_details\(\) should return array but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-request.php
+
+ -
+ message: '#^Method WC_Gateway_Paypal_Request\:\:prepare_line_items\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-request.php
+
+ -
+ message: '#^Method WC_Gateway_Paypal_Request\:\:send_wpcom_proxy_request\(\) never returns array so it can be removed from the return type\.$#'
+ identifier: return.unusedType
+ count: 1
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-request.php
+
+ -
+ message: '#^Method WC_Gateway_Paypal_Request\:\:send_wpcom_proxy_request\(\) never returns null so it can be removed from the return type\.$#'
+ identifier: return.unusedType
+ count: 1
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-request.php
+
+ -
+ message: '#^Method WC_Gateway_Paypal_Request\:\:send_wpcom_proxy_request\(\) should return array\|null but returns Automattic\\Jetpack\\Connection\\_WP_Remote_Response_Array\|WP_Error\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-request.php
+
+ -
+ message: '#^Parameter \#1 \$paypal_order_id of method WC_Gateway_Paypal_Request\:\:get_paypal_order_details\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-request.php
+
+ -
+ message: '#^Parameter \#1 \$price of method WC_Gateway_Paypal_Request\:\:number_format\(\) expects float\|int, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-request.php
+
+ -
+ message: '#^Parameter \#1 \$price of method WC_Gateway_Paypal_Request\:\:round\(\) expects float, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-request.php
+
+ -
+ message: '#^Parameter \#1 \$response of function wp_remote_retrieve_body expects array\|WP_Error, array\|null given\.$#'
+ identifier: argument.type
+ count: 5
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-request.php
+
+ -
+ message: '#^Parameter \#1 \$response of function wp_remote_retrieve_response_code expects array\|WP_Error, array\|null given\.$#'
+ identifier: argument.type
+ count: 5
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-request.php
+
+ -
+ message: '#^Parameter \#1 \$string of function strlen expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-request.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_html expects string, int given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-request.php
+
+ -
+ message: '#^Parameter \#1 \$text of function wp_strip_all_tags expects string, string\|null given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-request.php
+
+ -
+ message: '#^Parameter \#2 \$response_data of method WC_Gateway_Paypal_Request\:\:get_approve_link\(\) expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-request.php
+
+ -
+ message: '#^Parameter \#2 \$value of method WC_Data\:\:update_meta_data\(\) expects array\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-request.php
+
+ -
+ message: '#^Parameter \#2 \$version of static method Automattic\\Jetpack\\Connection\\Client\:\:wpcom_json_api_request_as_blog\(\) expects string, int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-request.php
+
+ -
+ message: '#^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 4
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-request.php
+
+ -
+ message: '#^Parameter \#3 \$amount of method WC_Gateway_Paypal_Request\:\:add_line_item\(\) expects float, string given\.$#'
+ identifier: argument.type
+ count: 4
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-request.php
+
+ -
+ message: '#^Parameter \#3 \$subject of function str_replace expects array\<string\>\|string, string\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-request.php
+
+ -
+ message: '#^Parameter \#3 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-request.php
+
+ -
+ message: '#^Parameter \#4 \$body of static method Automattic\\Jetpack\\Connection\\Client\:\:wpcom_json_api_request_as_blog\(\) expects array\|string\|null, string\|false\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-request.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$order_id\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-response.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$order_key\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-response.php
+
+ -
+ message: '#^Cannot call method get_order_key\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-response.php
+
+ -
+ message: '#^Method WC_Gateway_Paypal_Response\:\:get_paypal_order\(\) should return bool\|WC_Order but returns WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-response.php
+
+ -
+ message: '#^Method WC_Gateway_Paypal_Response\:\:payment_complete\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-response.php
+
+ -
+ message: '#^Method WC_Gateway_Paypal_Response\:\:payment_on_hold\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-response.php
+
+ -
+ message: '#^Property WooCommerce\:\:\$cart \(WC_Cart\) in isset\(\) is not nullable\.$#'
+ identifier: isset.property
+ count: 2
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-response.php
+
+ -
+ message: '#^Cannot access offset ''account'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-transact-account-manager.php
+
+ -
+ message: '#^Cannot access offset ''expiry'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-transact-account-manager.php
+
+ -
+ message: '#^Cannot access offset ''public_id'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-transact-account-manager.php
+
+ -
+ message: '#^Method WC_Gateway_Paypal_Transact_Account_Manager\:\:get_transact_account_data\(\) should return array\|null but returns array\|true\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-transact-account-manager.php
+
+ -
+ message: '#^Method WC_Gateway_Paypal_Transact_Account_Manager\:\:get_transact_account_from_cache\(\) should return bool\|null but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-transact-account-manager.php
+
+ -
+ message: '#^Method WC_Gateway_Paypal_Transact_Account_Manager\:\:send_transact_api_request\(\) never returns array so it can be removed from the return type\.$#'
+ identifier: return.unusedType
+ count: 1
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-transact-account-manager.php
+
+ -
+ message: '#^Method WC_Gateway_Paypal_Transact_Account_Manager\:\:send_transact_api_request\(\) never returns null so it can be removed from the return type\.$#'
+ identifier: return.unusedType
+ count: 1
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-transact-account-manager.php
+
+ -
+ message: '#^Method WC_Gateway_Paypal_Transact_Account_Manager\:\:send_transact_api_request\(\) should return array\|null but returns Automattic\\Jetpack\\Connection\\_WP_Remote_Response_Array\|WP_Error\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-transact-account-manager.php
+
+ -
+ message: '#^Method WC_Gateway_Paypal_Transact_Account_Manager\:\:update_transact_account_cache\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-transact-account-manager.php
+
+ -
+ message: '#^Parameter \#1 \$cache_key of method WC_Gateway_Paypal_Transact_Account_Manager\:\:get_transact_account_from_cache\(\) expects string, string\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-transact-account-manager.php
+
+ -
+ message: '#^Parameter \#1 \$cache_key of method WC_Gateway_Paypal_Transact_Account_Manager\:\:update_transact_account_cache\(\) expects string, string\|null given\.$#'
+ identifier: argument.type
+ count: 3
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-transact-account-manager.php
+
+ -
+ message: '#^Parameter \#1 \$response of function wp_remote_retrieve_body expects array\|WP_Error, array\|null given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-transact-account-manager.php
+
+ -
+ message: '#^Parameter \#1 \$response of function wp_remote_retrieve_response_code expects array\|WP_Error, array\|null given\.$#'
+ identifier: argument.type
+ count: 4
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-transact-account-manager.php
+
+ -
+ message: '#^Parameter \#2 \$account_data of method WC_Gateway_Paypal_Transact_Account_Manager\:\:update_transact_account_cache\(\) expects array, array\|true given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-transact-account-manager.php
+
+ -
+ message: '#^Parameter \#2 \$account_data of method WC_Gateway_Paypal_Transact_Account_Manager\:\:update_transact_account_cache\(\) expects array, true given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-transact-account-manager.php
+
+ -
+ message: '#^Parameter \#2 \$version of static method Automattic\\Jetpack\\Connection\\Client\:\:wpcom_json_api_request_as_blog\(\) expects string, int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-transact-account-manager.php
+
+ -
+ message: '#^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 4
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-transact-account-manager.php
+
+ -
+ message: '#^Parameter \#4 \$body of static method Automattic\\Jetpack\\Connection\\Client\:\:wpcom_json_api_request_as_blog\(\) expects array\|string\|null, string\|false\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-transact-account-manager.php
+
+ -
+ message: '#^Method WC_Gateway_Paypal_Webhook_Handler\:\:process_checkout_order_approved\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-webhook-handler.php
+
+ -
+ message: '#^Method WC_Gateway_Paypal_Webhook_Handler\:\:process_payment_authorization_created\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-webhook-handler.php
+
+ -
+ message: '#^Method WC_Gateway_Paypal_Webhook_Handler\:\:process_payment_capture_completed\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-webhook-handler.php
+
+ -
+ message: '#^Method WC_Gateway_Paypal_Webhook_Handler\:\:process_payment_capture_pending\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-webhook-handler.php
+
+ -
+ message: '#^Method WC_Gateway_Paypal_Webhook_Handler\:\:process_webhook\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-webhook-handler.php
+
+ -
+ message: '#^Method WC_Gateway_Paypal_Webhook_Handler\:\:process_webhook\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-webhook-handler.php
+
+ -
+ message: '#^Parameter \#2 \$action_url of method WC_Gateway_Paypal_Request\:\:authorize_or_capture_payment\(\) expects string, string\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/gateways/paypal/includes/class-wc-gateway-paypal-webhook-handler.php
+
+ -
+ message: '#^Call to an undefined method object\:\:set_variation\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/import/abstract-wc-product-importer.php
+
+ -
+ message: '#^Constant WC_ABSPATH not found\.$#'
+ identifier: constant.notFound
+ count: 1
+ path: includes/import/abstract-wc-product-importer.php
+
+ -
+ message: '#^Method WC_Product_Importer\:\:set_image_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/import/abstract-wc-product-importer.php
+
+ -
+ message: '#^Method WC_Product_Importer\:\:set_meta_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/import/abstract-wc-product-importer.php
+
+ -
+ message: '#^Method WC_Product_Importer\:\:set_product_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/import/abstract-wc-product-importer.php
+
+ -
+ message: '#^Method WC_Product_Importer\:\:set_variation_data\(\) should return WC_Product\|WP_Error but return statement is missing\.$#'
+ identifier: return.missing
+ count: 2
+ path: includes/import/abstract-wc-product-importer.php
+
+ -
+ message: '#^Parameter \#1 \$attribute_name of function wc_attribute_taxonomy_name expects string, int\<min, \-1\>\|int\<1, max\>\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/import/abstract-wc-product-importer.php
+
+ -
+ message: '#^Parameter \#1 \$name of function wc_attribute_taxonomy_id_by_name expects string, int\<min, \-1\>\|int\<1, max\>\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/import/abstract-wc-product-importer.php
+
+ -
+ message: '#^Parameter \#2 \$array of function array_map expects array, list\<string\>\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/import/abstract-wc-product-importer.php
+
+ -
+ message: '#^Parameter \#2 \$callback of function array_filter expects \(callable\(string\)\: bool\)\|null, ''strlen'' given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/import/abstract-wc-product-importer.php
+
+ -
+ message: '#^Call to function is_wp_error\(\) with mixed will always evaluate to false\.$#'
+ identifier: function.impossibleType
+ count: 3
+ path: includes/import/class-wc-product-csv-importer.php
+
+ -
+ message: '#^Cannot call method feature_is_enabled\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/import/class-wc-product-csv-importer.php
+
+ -
+ message: '#^Constant WC_ABSPATH not found\.$#'
+ identifier: constant.notFound
+ count: 1
+ path: includes/import/class-wc-product-csv-importer.php
+
+ -
+ message: '#^Method WC_Product_CSV_Importer\:\:adjust_character_encoding\(\) should return string but returns string\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/import/class-wc-product-csv-importer.php
+
+ -
+ message: '#^Method WC_Product_CSV_Importer\:\:parse_bool_field\(\) should return bool\|string but returns array\|string\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/import/class-wc-product-csv-importer.php
+
+ -
+ message: '#^Method WC_Product_CSV_Importer\:\:parse_download_file_field\(\) should return string but returns array\|string\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/import/class-wc-product-csv-importer.php
+
+ -
+ message: '#^Method WC_Product_CSV_Importer\:\:parse_tax_status_field\(\) should return string but returns array\|string\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/import/class-wc-product-csv-importer.php
+
+ -
+ message: '#^Method WC_Product_CSV_Importer\:\:read_file\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/import/class-wc-product-csv-importer.php
+
+ -
+ message: '#^Method WC_Product_CSV_Importer\:\:set_mapped_keys\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/import/class-wc-product-csv-importer.php
+
+ -
+ message: '#^Method WC_Product_CSV_Importer\:\:set_parsed_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/import/class-wc-product-csv-importer.php
+
+ -
+ message: '#^Offset ''name'' might not exist on array\{url\: mixed, name\?\: mixed, id\?\: mixed\}\.$#'
+ identifier: offsetAccess.notFound
+ count: 1
+ path: includes/import/class-wc-product-csv-importer.php
+
+ -
+ message: '#^Parameter \#1 \$amount of function wc_stock_amount expects float\|int, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/import/class-wc-product-csv-importer.php
+
+ -
+ message: '#^Parameter \#1 \$callback of function array_map expects \(callable\(string\|null\)\: mixed\)\|null, ''trim'' given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/import/class-wc-product-csv-importer.php
+
+ -
+ message: '#^Parameter \#1 \$value of method WC_Product_Importer\:\:unescape_data\(\) expects string, int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/import/class-wc-product-csv-importer.php
+
+ -
+ message: '#^Parameter \#1 \$var of function intval expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/import/class-wc-product-csv-importer.php
+
+ -
+ message: '#^Parameter \#2 \$array of function array_map expects array, list\<string\|null\>\|false\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/import/class-wc-product-csv-importer.php
+
+ -
+ message: '#^Parameter \#2 \$array of function array_map expects array, list\<string\|null\>\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/import/class-wc-product-csv-importer.php
+
+ -
+ message: '#^Parameter \#2 \$value of method WC_Data\:\:add_meta_data\(\) expects array\|string, int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/import/class-wc-product-csv-importer.php
+
+ -
+ message: '#^Parameter \#2 \$value of method WC_Data\:\:add_meta_data\(\) expects array\|string, int\<1, max\> given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/import/class-wc-product-csv-importer.php
+
+ -
+ message: '#^Property WC_Product_Importer\:\:\$file_position \(int\) does not accept int\|false\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: includes/import/class-wc-product-csv-importer.php
+
+ -
+ message: '#^Property WC_Product_Importer\:\:\$raw_keys \(array\) does not accept array\|string\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: includes/import/class-wc-product-csv-importer.php
+
+ -
+ message: '#^Ternary operator condition is always true\.$#'
+ identifier: ternary.alwaysTrue
+ count: 1
+ path: includes/import/class-wc-product-csv-importer.php
+
+ -
+ message: '#^Cannot access offset ''code'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/integrations/maxmind-geolocation/class-wc-integration-maxmind-database-service.php
+
+ -
+ message: '#^Cannot access offset ''country'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/integrations/maxmind-geolocation/class-wc-integration-maxmind-database-service.php
+
+ -
+ message: '#^Cannot access offset ''iso_code'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/integrations/maxmind-geolocation/class-wc-integration-maxmind-database-service.php
+
+ -
+ message: '#^Cannot call method getFilename\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: includes/integrations/maxmind-geolocation/class-wc-integration-maxmind-database-service.php
+
+ -
+ message: '#^Method WC_Integration_MaxMind_Database_Service\:\:get_iso_country_code_for_ip\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/integrations/maxmind-geolocation/class-wc-integration-maxmind-database-service.php
+
+ -
+ message: '#^Parameter \#1 \$str of function urlencode expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/integrations/maxmind-geolocation/class-wc-integration-maxmind-database-service.php
+
+ -
+ message: '#^Property WC_Integration_MaxMind_Database_Service\:\:\$database_prefix \(string\) does not accept string\|null\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: includes/integrations/maxmind-geolocation/class-wc-integration-maxmind-database-service.php
+
+ -
+ message: '#^Action callback returns bool but should not return anything\.$#'
+ identifier: return.void
+ count: 1
+ path: includes/integrations/maxmind-geolocation/class-wc-integration-maxmind-geolocation.php
+
+ -
+ message: '#^Constant WC_ABSPATH not found\.$#'
+ identifier: constant.notFound
+ count: 2
+ path: includes/integrations/maxmind-geolocation/class-wc-integration-maxmind-geolocation.php
+
+ -
+ message: '#^Method WC_Integration_MaxMind_Geolocation\:\:add_missing_license_key_notice\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/integrations/maxmind-geolocation/class-wc-integration-maxmind-geolocation.php
+
+ -
+ message: '#^Method WC_Integration_MaxMind_Geolocation\:\:admin_options\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/integrations/maxmind-geolocation/class-wc-integration-maxmind-geolocation.php
+
+ -
+ message: '#^Method WC_Integration_MaxMind_Geolocation\:\:display_missing_license_key_notice\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/integrations/maxmind-geolocation/class-wc-integration-maxmind-geolocation.php
+
+ -
+ message: '#^Method WC_Integration_MaxMind_Geolocation\:\:init_form_fields\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/integrations/maxmind-geolocation/class-wc-integration-maxmind-geolocation.php
+
+ -
+ message: '#^Method WC_Integration_MaxMind_Geolocation\:\:remove_missing_license_key_notice\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/integrations/maxmind-geolocation/class-wc-integration-maxmind-geolocation.php
+
+ -
+ message: '#^Method WC_Integration_MaxMind_Geolocation\:\:update_database\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/integrations/maxmind-geolocation/class-wc-integration-maxmind-geolocation.php
+
+ -
+ message: '#^Parameter \#2 \$value of method WC_Settings_API\:\:validate_password_field\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/integrations/maxmind-geolocation/class-wc-integration-maxmind-geolocation.php
+
+ -
+ message: '#^Variable \$this might not be defined\.$#'
+ identifier: variable.undefined
+ count: 1
+ path: includes/integrations/maxmind-geolocation/views/html-admin-options.php
+
+ -
+ message: '#^Method WC_Abstract_Order_Data_Store_Interface\:\:delete_items\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/interfaces/class-wc-abstract-order-data-store-interface.php
+
+ -
+ message: '#^Method WC_Abstract_Order_Data_Store_Interface\:\:update_payment_token_ids\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/interfaces/class-wc-abstract-order-data-store-interface.php
+
+ -
+ message: '#^Method WC_Coupon_Data_Store_Interface\:\:decrease_usage_count\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/interfaces/class-wc-coupon-data-store-interface.php
+
+ -
+ message: '#^Method WC_Coupon_Data_Store_Interface\:\:increase_usage_count\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/interfaces/class-wc-coupon-data-store-interface.php
+
+ -
+ message: '#^Method WC_Customer_Download_Data_Store_Interface\:\:delete_by_download_id\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/interfaces/class-wc-customer-download-data-store-interface.php
+
+ -
+ message: '#^Method WC_Customer_Download_Data_Store_Interface\:\:delete_by_id\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/interfaces/class-wc-customer-download-data-store-interface.php
+
+ -
+ message: '#^Method WC_Customer_Download_Data_Store_Interface\:\:delete_by_order_id\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/interfaces/class-wc-customer-download-data-store-interface.php
+
+ -
+ message: '#^Method WC_Customer_Download_Data_Store_Interface\:\:update_download_id\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/interfaces/class-wc-customer-download-data-store-interface.php
+
+ -
+ message: '#^Method WC_Customer_Download_Data_Store_Interface\:\:update_user_by_order_id\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/interfaces/class-wc-customer-download-data-store-interface.php
+
+ -
+ message: '#^Method WC_Logger_Interface\:\:alert\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/interfaces/class-wc-logger-interface.php
+
+ -
+ message: '#^Method WC_Logger_Interface\:\:critical\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/interfaces/class-wc-logger-interface.php
+
+ -
+ message: '#^Method WC_Logger_Interface\:\:debug\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/interfaces/class-wc-logger-interface.php
+
+ -
+ message: '#^Method WC_Logger_Interface\:\:emergency\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/interfaces/class-wc-logger-interface.php
+
+ -
+ message: '#^Method WC_Logger_Interface\:\:error\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/interfaces/class-wc-logger-interface.php
+
+ -
+ message: '#^Method WC_Logger_Interface\:\:info\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/interfaces/class-wc-logger-interface.php
+
+ -
+ message: '#^Method WC_Logger_Interface\:\:log\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/interfaces/class-wc-logger-interface.php
+
+ -
+ message: '#^Method WC_Logger_Interface\:\:notice\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/interfaces/class-wc-logger-interface.php
+
+ -
+ message: '#^Method WC_Logger_Interface\:\:warning\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/interfaces/class-wc-logger-interface.php
+
+ -
+ message: '#^Method WC_Object_Data_Store_Interface\:\:create\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/interfaces/class-wc-object-data-store-interface.php
+
+ -
+ message: '#^Method WC_Object_Data_Store_Interface\:\:read\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/interfaces/class-wc-object-data-store-interface.php
+
+ -
+ message: '#^Method WC_Object_Data_Store_Interface\:\:update\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/interfaces/class-wc-object-data-store-interface.php
+
+ -
+ message: '#^Method WC_Object_Data_Store_Interface\:\:update_meta\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/interfaces/class-wc-object-data-store-interface.php
+
+ -
+ message: '#^Method WC_Order_Data_Store_Interface\:\:set_download_permissions_granted\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/interfaces/class-wc-order-data-store-interface.php
+
+ -
+ message: '#^Method WC_Order_Data_Store_Interface\:\:set_recorded_coupon_usage_counts\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/interfaces/class-wc-order-data-store-interface.php
+
+ -
+ message: '#^Method WC_Order_Data_Store_Interface\:\:set_recorded_sales\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/interfaces/class-wc-order-data-store-interface.php
+
+ -
+ message: '#^Method WC_Order_Item_Data_Store_Interface\:\:delete_order_item\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/interfaces/class-wc-order-item-data-store-interface.php
+
+ -
+ message: '#^Method WC_Order_Item_Type_Data_Store_Interface\:\:save_item_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/interfaces/class-wc-order-item-type-data-store-interface.php
+
+ -
+ message: '#^Method WC_Product_Data_Store_Interface\:\:sort_all_product_variations\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/interfaces/class-wc-product-data-store-interface.php
+
+ -
+ message: '#^Method WC_Product_Data_Store_Interface\:\:update_product_sales\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/interfaces/class-wc-product-data-store-interface.php
+
+ -
+ message: '#^Method WC_Product_Data_Store_Interface\:\:update_product_stock\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/interfaces/class-wc-product-data-store-interface.php
+
+ -
+ message: '#^Method WC_Product_Variable_Data_Store_Interface\:\:delete_variations\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/interfaces/class-wc-product-variable-data-store-interface.php
+
+ -
+ message: '#^Method WC_Product_Variable_Data_Store_Interface\:\:sync_managed_variation_stock_status\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/interfaces/class-wc-product-variable-data-store-interface.php
+
+ -
+ message: '#^Method WC_Product_Variable_Data_Store_Interface\:\:sync_price\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/interfaces/class-wc-product-variable-data-store-interface.php
+
+ -
+ message: '#^Method WC_Product_Variable_Data_Store_Interface\:\:sync_variation_names\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/interfaces/class-wc-product-variable-data-store-interface.php
+
+ -
+ message: '#^Method WC_Product_Variable_Data_Store_Interface\:\:untrash_variations\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/interfaces/class-wc-product-variable-data-store-interface.php
+
+ -
+ message: '#^Method WC_Queue_Interface\:\:cancel\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/interfaces/class-wc-queue-interface.php
+
+ -
+ message: '#^Method WC_Queue_Interface\:\:cancel_all\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/interfaces/class-wc-queue-interface.php
+
+ -
+ message: '#^Method WC_Shipping_Zone_Data_Store_Interface\:\:delete_method\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/interfaces/class-wc-shipping-zone-data-store-interface.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$amount\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-order.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$name\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-order.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$tax\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-order.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$tax_class\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-order.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$tax_data\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-order.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$taxable\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-order.php
+
+ -
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Order\:\:add_item\(\)\.$#'
+ identifier: method.notFound
+ count: 4
+ path: includes/legacy/abstract-wc-legacy-order.php
+
+ -
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Order\:\:calculate_shipping\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-order.php
+
+ -
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Order\:\:get_billing_email\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-order.php
+
+ -
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Order\:\:get_cart_tax\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-order.php
+
+ -
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Order\:\:get_coupon_codes\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-order.php
+
+ -
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Order\:\:get_currency\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/legacy/abstract-wc-legacy-order.php
+
+ -
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Order\:\:get_customer_id\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-order.php
+
+ -
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Order\:\:get_customer_note\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-order.php
+
+ -
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Order\:\:get_date_completed\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/legacy/abstract-wc-legacy-order.php
+
+ -
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Order\:\:get_date_created\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/legacy/abstract-wc-legacy-order.php
+
+ -
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Order\:\:get_date_modified\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/legacy/abstract-wc-legacy-order.php
+
+ -
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Order\:\:get_date_paid\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/legacy/abstract-wc-legacy-order.php
+
+ -
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Order\:\:get_discount_tax\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-order.php
+
+ -
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Order\:\:get_item\(\)\.$#'
+ identifier: method.notFound
+ count: 6
+ path: includes/legacy/abstract-wc-legacy-order.php
+
+ -
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Order\:\:get_order_key\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-order.php
+
+ -
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Order\:\:get_shipping_tax\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-order.php
+
+ -
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Order\:\:get_shipping_total\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/legacy/abstract-wc-legacy-order.php
+
+ -
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Order\:\:get_status\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-order.php
+
+ -
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Order\:\:get_total\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-order.php
+
+ -
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Order\:\:get_total_discount\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-order.php
+
+ -
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Order\:\:get_type\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-order.php
+
+ -
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Order\:\:get_version\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-order.php
+
+ -
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Order\:\:is_download_permitted\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-order.php
+
+ -
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Order\:\:set_cart_tax\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-order.php
+
+ -
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Order\:\:set_discount_tax\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-order.php
+
+ -
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Order\:\:set_discount_total\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-order.php
+
+ -
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Order\:\:set_shipping_tax\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-order.php
+
+ -
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Order\:\:set_shipping_total\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-order.php
+
+ -
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Order\:\:set_total\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-order.php
+
+ -
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Order\:\:update_status\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-order.php
+
+ -
+ message: '#^Call to an undefined method object\:\:add_meta_data\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-order.php
+
+ -
+ message: '#^Call to an undefined method object\:\:get_id\(\)\.$#'
+ identifier: method.notFound
+ count: 10
+ path: includes/legacy/abstract-wc-legacy-order.php
+
+ -
+ message: '#^Call to an undefined method object\:\:is_type\(\)\.$#'
+ identifier: method.notFound
+ count: 5
+ path: includes/legacy/abstract-wc-legacy-order.php
+
+ -
+ message: '#^Call to an undefined method object\:\:read\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/legacy/abstract-wc-legacy-order.php
+
+ -
+ message: '#^Call to an undefined method object\:\:save\(\)\.$#'
+ identifier: method.notFound
+ count: 5
+ path: includes/legacy/abstract-wc-legacy-order.php
+
+ -
+ message: '#^Call to an undefined method object\:\:set_order_id\(\)\.$#'
+ identifier: method.notFound
+ count: 5
+ path: includes/legacy/abstract-wc-legacy-order.php
+
+ -
+ message: '#^Call to an undefined method object\:\:set_props\(\)\.$#'
+ identifier: method.notFound
+ count: 5
+ path: includes/legacy/abstract-wc-legacy-order.php
+
+ -
+ message: '#^Cannot access property \$ID on mixed\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-order.php
+
+ -
+ message: '#^Cannot call method get_product\(\) on array\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: includes/legacy/abstract-wc-legacy-order.php
+
+ -
+ message: '#^Method WC_Abstract_Legacy_Order\:\:add_shipping\(\) has parameter \$shipping_rate with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-order.php
+
+ -
+ message: '#^Method WC_Abstract_Legacy_Order\:\:cancel_order\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-order.php
+
+ -
+ message: '#^Method WC_Abstract_Legacy_Order\:\:decrease_coupon_usage_counts\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-order.php
+
+ -
+ message: '#^Method WC_Abstract_Legacy_Order\:\:display_item_downloads\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-order.php
+
+ -
+ message: '#^Method WC_Abstract_Legacy_Order\:\:display_item_meta\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-order.php
+
+ -
+ message: '#^Method WC_Abstract_Legacy_Order\:\:get_item_meta\(\) should return array\|string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-order.php
+
+ -
+ message: '#^Method WC_Abstract_Legacy_Order\:\:get_order_currency\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-order.php
+
+ -
+ message: '#^Method WC_Abstract_Legacy_Order\:\:increase_coupon_usage_counts\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-order.php
+
+ -
+ message: '#^Method WC_Abstract_Legacy_Order\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-order.php
+
+ -
+ message: '#^Method WC_Abstract_Legacy_Order\:\:populate\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-order.php
+
+ -
+ message: '#^Method WC_Abstract_Legacy_Order\:\:record_product_sales\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-order.php
+
+ -
+ message: '#^Method WC_Abstract_Legacy_Order\:\:reduce_order_stock\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-order.php
+
+ -
+ message: '#^Method WC_Abstract_Legacy_Order\:\:send_stock_notifications\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-order.php
+
+ -
+ message: '#^Method WC_Abstract_Legacy_Order\:\:send_stock_notifications\(\) has parameter \$new_stock with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-order.php
+
+ -
+ message: '#^Method WC_Abstract_Legacy_Order\:\:send_stock_notifications\(\) has parameter \$product with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-order.php
+
+ -
+ message: '#^Method WC_Abstract_Legacy_Order\:\:send_stock_notifications\(\) has parameter \$qty_ordered with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-order.php
+
+ -
+ message: '#^Method WC_Abstract_Legacy_Order\:\:set_address\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-order.php
+
+ -
+ message: '#^Method WC_Abstract_Legacy_Order\:\:update_coupon\(\) should return int but returns false\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-order.php
+
+ -
+ message: '#^Method WC_Abstract_Legacy_Order\:\:update_fee\(\) should return int but returns false\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-order.php
+
+ -
+ message: '#^Method WC_Abstract_Legacy_Order\:\:update_product\(\) should return int but returns false\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-order.php
+
+ -
+ message: '#^Method WC_Abstract_Legacy_Order\:\:update_shipping\(\) should return int but returns false\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-order.php
+
+ -
+ message: '#^Method WC_Abstract_Legacy_Order\:\:update_tax\(\) should return int but returns false\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-order.php
+
+ -
+ message: '#^PHPDoc tag @param has invalid value \(WC_Shipping_Rate shipping_rate\)\: Unexpected token "shipping_rate", expected variable at offset 69 on line 3$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-order.php
+
+ -
+ message: '#^Parameter \#1 \$order of function wc_get_email_order_items expects WC_Order, \$this\(WC_Abstract_Legacy_Order\) given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-order.php
+
+ -
+ message: '#^Parameter \#1 \$product of method WC_Order_Item_Product\:\:set_product\(\) expects WC_Product, WC_Product\|false\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-order.php
+
+ -
+ message: '#^Parameter \#2 \$object_id of function get_metadata expects int, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-order.php
+
+ -
+ message: '#^Method WC_Legacy_Payment_Token\:\:create\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-payment-token.php
+
+ -
+ message: '#^Method WC_Legacy_Payment_Token\:\:read\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-payment-token.php
+
+ -
+ message: '#^Method WC_Legacy_Payment_Token\:\:set_type\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-payment-token.php
+
+ -
+ message: '#^Method WC_Legacy_Payment_Token\:\:set_type\(\) has parameter \$type with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-payment-token.php
+
+ -
+ message: '#^Method WC_Legacy_Payment_Token\:\:update\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-payment-token.php
+
+ -
+ message: '#^PHPDoc tag @param has invalid value \(string Payment Token Type \(CC, eCheck\)\)\: Unexpected token "Payment", expected variable at offset 99 on line 4$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-payment-token.php
+
+ -
+ message: '#^Access to an undefined property WC_Abstract_Legacy_Product\:\:\$post_type\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-product.php
+
+ -
+ message: '#^Argument of an invalid type array\|true supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-product.php
+
+ -
+ message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-product.php
+
+ -
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Product\:\:child_has_dimensions\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-product.php
+
+ -
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Product\:\:child_has_weight\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-product.php
+
+ -
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Product\:\:get_catalog_visibility\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-product.php
+
+ -
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Product\:\:get_children\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/legacy/abstract-wc-legacy-product.php
+
+ -
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Product\:\:get_cross_sell_ids\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/legacy/abstract-wc-legacy-product.php
+
+ -
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Product\:\:get_date_on_sale_from\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/legacy/abstract-wc-legacy-product.php
+
+ -
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Product\:\:get_date_on_sale_to\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/legacy/abstract-wc-legacy-product.php
+
+ -
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Product\:\:get_default_attributes\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/legacy/abstract-wc-legacy-product.php
+
+ -
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Product\:\:get_description\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-product.php
+
+ -
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Product\:\:get_downloadable\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-product.php
+
+ -
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Product\:\:get_downloads\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-product.php
+
+ -
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Product\:\:get_featured\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-product.php
+
+ -
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Product\:\:get_gallery_image_ids\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/legacy/abstract-wc-legacy-product.php
+
+ -
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Product\:\:get_manage_stock\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-product.php
+
+ -
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Product\:\:get_parent_id\(\)\.$#'
+ identifier: method.notFound
+ count: 4
+ path: includes/legacy/abstract-wc-legacy-product.php
+
+ -
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Product\:\:get_shipping_class\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-product.php
+
+ -
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Product\:\:get_shipping_class_id\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-product.php
+
+ -
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Product\:\:get_sold_individually\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-product.php
+
+ -
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Product\:\:get_stock_quantity\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/legacy/abstract-wc-legacy-product.php
+
+ -
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Product\:\:get_type\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-product.php
+
+ -
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Product\:\:get_upsell_ids\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/legacy/abstract-wc-legacy-product.php
+
+ -
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Product\:\:get_variation_attributes\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-product.php
+
+ -
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Product\:\:get_virtual\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-product.php
+
+ -
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Product\:\:has_dimensions\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-product.php
+
+ -
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Product\:\:has_weight\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-product.php
+
+ -
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Product\:\:is_type\(\)\.$#'
+ identifier: method.notFound
+ count: 7
+ path: includes/legacy/abstract-wc-legacy-product.php
+
+ -
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Product\:\:is_visible\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-product.php
+
+ -
+ message: '#^Call to an undefined method WC_Abstract_Legacy_Product\:\:managing_stock\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-product.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:find_matching_product_variation\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-product.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_related_products_query\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-product.php
+
+ -
+ message: '#^Call to an undefined static method WC_Abstract_Legacy_Product\:\:sync\(\)\.$#'
+ identifier: staticMethod.notFound
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-product.php
+
+ -
+ message: '#^Cannot access offset ''name'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-product.php
+
+ -
+ message: '#^Cannot access offset ''value'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-product.php
+
+ -
+ message: '#^Cannot access offset 0 on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: includes/legacy/abstract-wc-legacy-product.php
+
+ -
+ message: '#^Cannot call method get_children\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-product.php
+
+ -
+ message: '#^Cannot call method get_id\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: includes/legacy/abstract-wc-legacy-product.php
+
+ -
+ message: '#^Method WC_Abstract_Legacy_Product\:\:adjust_price\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-product.php
+
+ -
+ message: '#^Method WC_Abstract_Legacy_Product\:\:build_related_query\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-product.php
+
+ -
+ message: '#^Method WC_Abstract_Legacy_Product\:\:build_related_query\(\) has parameter \$cats_array with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-product.php
+
+ -
+ message: '#^Method WC_Abstract_Legacy_Product\:\:build_related_query\(\) has parameter \$exclude_ids with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-product.php
+
+ -
+ message: '#^Method WC_Abstract_Legacy_Product\:\:build_related_query\(\) has parameter \$limit with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-product.php
+
+ -
+ message: '#^Method WC_Abstract_Legacy_Product\:\:build_related_query\(\) has parameter \$tags_array with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-product.php
+
+ -
+ message: '#^Method WC_Abstract_Legacy_Product\:\:check_stock_status\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-product.php
+
+ -
+ message: '#^Method WC_Abstract_Legacy_Product\:\:get_child\(\) should return WC_Product but returns WC_Product\|false\|null\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-product.php
+
+ -
+ message: '#^Method WC_Abstract_Legacy_Product\:\:get_display_price\(\) should return string but returns float\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-product.php
+
+ -
+ message: '#^Method WC_Abstract_Legacy_Product\:\:get_matching_variation\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-product.php
+
+ -
+ message: '#^Method WC_Abstract_Legacy_Product\:\:get_post_data\(\) should return WP_Post but returns WP_Post\|null\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-product.php
+
+ -
+ message: '#^Method WC_Abstract_Legacy_Product\:\:get_price_excluding_tax\(\) should return string but returns float\|string\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-product.php
+
+ -
+ message: '#^Method WC_Abstract_Legacy_Product\:\:get_price_including_tax\(\) should return string but returns float\|string\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-product.php
+
+ -
+ message: '#^Method WC_Abstract_Legacy_Product\:\:get_related_terms\(\) has parameter \$term with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-product.php
+
+ -
+ message: '#^Method WC_Abstract_Legacy_Product\:\:get_tags\(\) should return array but returns string\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-product.php
+
+ -
+ message: '#^Method WC_Abstract_Legacy_Product\:\:get_total_stock\(\) should return int but returns float\|int\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-product.php
+
+ -
+ message: '#^Method WC_Abstract_Legacy_Product\:\:grouped_product_sync\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-product.php
+
+ -
+ message: '#^Method WC_Abstract_Legacy_Product\:\:increase_stock\(\) should return int but returns bool\|int\|null\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-product.php
+
+ -
+ message: '#^Method WC_Abstract_Legacy_Product\:\:list_attributes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-product.php
+
+ -
+ message: '#^Method WC_Abstract_Legacy_Product\:\:reduce_stock\(\) should return int but returns bool\|int\|null\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-product.php
+
+ -
+ message: '#^Method WC_Abstract_Legacy_Product\:\:set_stock\(\) should return int but returns bool\|int\|null\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-product.php
+
+ -
+ message: '#^Method WC_Abstract_Legacy_Product\:\:sync_attributes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-product.php
+
+ -
+ message: '#^Method WC_Abstract_Legacy_Product\:\:sync_attributes\(\) has parameter \$product with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-product.php
+
+ -
+ message: '#^Method WC_Abstract_Legacy_Product\:\:sync_average_rating\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-product.php
+
+ -
+ message: '#^Method WC_Abstract_Legacy_Product\:\:sync_rating_count\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-product.php
+
+ -
+ message: '#^Method WC_Abstract_Legacy_Product\:\:variable_product_sync\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-product.php
+
+ -
+ message: '#^Parameter \#1 \$amount of function wc_stock_amount expects float\|int, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-product.php
+
+ -
+ message: '#^Parameter \#1 \$haystack of function strpos expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-product.php
+
+ -
+ message: '#^Parameter \#1 \$product of function wc_display_product_attributes expects WC_Product, \$this\(WC_Abstract_Legacy_Product\) given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-product.php
+
+ -
+ message: '#^Parameter \#1 \$product of function wc_get_price_excluding_tax expects WC_Product, \$this\(WC_Abstract_Legacy_Product\) given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-product.php
+
+ -
+ message: '#^Parameter \#1 \$product of function wc_get_price_including_tax expects WC_Product, \$this\(WC_Abstract_Legacy_Product\) given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-product.php
+
+ -
+ message: '#^Parameter \#1 \$product of function wc_get_price_to_display expects WC_Product, \$this\(WC_Abstract_Legacy_Product\) given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-product.php
+
+ -
+ message: '#^Parameter \#1 \$product of function wc_update_product_stock expects int\|WC_Product, \$this\(WC_Abstract_Legacy_Product\) given\.$#'
+ identifier: argument.type
+ count: 3
+ path: includes/legacy/abstract-wc-legacy-product.php
+
+ -
+ message: '#^Parameter \#1 \$product of static method WC_Comments\:\:get_average_rating_for_product\(\) expects WC_Product, WC_Product\|false\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-product.php
+
+ -
+ message: '#^Parameter \#1 \$product of static method WC_Comments\:\:get_average_rating_for_product\(\) is passed by reference, so it expects variables only\.$#'
+ identifier: argument.byRef
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-product.php
+
+ -
+ message: '#^Parameter \#1 \$product of static method WC_Comments\:\:get_rating_counts_for_product\(\) expects WC_Product, WC_Product\|false\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-product.php
+
+ -
+ message: '#^Parameter \#1 \$product of static method WC_Comments\:\:get_rating_counts_for_product\(\) is passed by reference, so it expects variables only\.$#'
+ identifier: argument.byRef
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-product.php
+
+ -
+ message: '#^Parameter \#1 \$rating of function wc_get_rating_html expects float, string\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-product.php
+
+ -
+ message: '#^Parameter \#1 \$raw_attributes of function wc_get_text_attributes expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-product.php
+
+ -
+ message: '#^Parameter \#1 \$title of function sanitize_title expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/legacy/abstract-wc-legacy-product.php
+
+ -
+ message: '#^Parameter \#1 \$variation of function wc_get_formatted_variation expects array\|WC_Product_Variation, \$this\(WC_Abstract_Legacy_Product\) given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-product.php
+
+ -
+ message: '#^Parameter \#1 \$version1 of function version_compare expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-product.php
+
+ -
+ message: '#^Parameter \#2 \$sale_price of function wc_format_sale_price expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/legacy/abstract-wc-legacy-product.php
+
+ -
+ message: '#^Unreachable statement \- code above always terminates\.$#'
+ identifier: deadCode.unreachable
+ count: 3
+ path: includes/legacy/abstract-wc-legacy-product.php
+
+ -
+ message: '#^Access to an undefined property WC_Legacy_Cart\:\:\$cart_contents\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/legacy/class-wc-legacy-cart.php
+
+ -
+ message: '#^Access to an undefined property WC_Legacy_Cart\:\:\$fees\.$#'
+ identifier: property.notFound
+ count: 2
+ path: includes/legacy/class-wc-legacy-cart.php
+
+ -
+ message: '#^Access to an undefined property WC_Legacy_Cart\:\:\$session\.$#'
+ identifier: property.notFound
+ count: 6
+ path: includes/legacy/class-wc-legacy-cart.php
+
+ -
+ message: '#^Access to an undefined property WC_Legacy_Cart\:\:\$tax\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/legacy/class-wc-legacy-cart.php
+
+ -
+ message: '#^Access to an undefined property WC_Legacy_Cart\:\:\$totals\.$#'
+ identifier: property.notFound
+ count: 2
+ path: includes/legacy/class-wc-legacy-cart.php
+
+ -
+ message: '#^Call to an undefined method WC_Legacy_Cart\:\:apply_coupon\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/class-wc-legacy-cart.php
+
+ -
+ message: '#^Call to an undefined method WC_Legacy_Cart\:\:display_prices_including_tax\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/class-wc-legacy-cart.php
+
+ -
+ message: '#^Call to an undefined method WC_Legacy_Cart\:\:fees_api\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/class-wc-legacy-cart.php
+
+ -
+ message: '#^Call to an undefined method WC_Legacy_Cart\:\:get_cart_contents_count\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/class-wc-legacy-cart.php
+
+ -
+ message: '#^Call to an undefined method WC_Legacy_Cart\:\:get_cart_contents_tax\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/class-wc-legacy-cart.php
+
+ -
+ message: '#^Call to an undefined method WC_Legacy_Cart\:\:get_cart_contents_total\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/class-wc-legacy-cart.php
+
+ -
+ message: '#^Call to an undefined method WC_Legacy_Cart\:\:get_cart_contents_weight\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/class-wc-legacy-cart.php
+
+ -
+ message: '#^Call to an undefined method WC_Legacy_Cart\:\:get_coupons\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/class-wc-legacy-cart.php
+
+ -
+ message: '#^Call to an undefined method WC_Legacy_Cart\:\:get_discount_tax\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/legacy/class-wc-legacy-cart.php
+
+ -
+ message: '#^Call to an undefined method WC_Legacy_Cart\:\:get_discount_total\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/legacy/class-wc-legacy-cart.php
+
+ -
+ message: '#^Call to an undefined method WC_Legacy_Cart\:\:get_fee_tax\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/class-wc-legacy-cart.php
+
+ -
+ message: '#^Call to an undefined method WC_Legacy_Cart\:\:get_fee_total\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/class-wc-legacy-cart.php
+
+ -
+ message: '#^Call to an undefined method WC_Legacy_Cart\:\:get_shipping_tax\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/class-wc-legacy-cart.php
+
+ -
+ message: '#^Call to an undefined method WC_Legacy_Cart\:\:get_shipping_total\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/class-wc-legacy-cart.php
+
+ -
+ message: '#^Call to an undefined method WC_Legacy_Cart\:\:get_subtotal\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/legacy/class-wc-legacy-cart.php
+
+ -
+ message: '#^Call to an undefined method WC_Legacy_Cart\:\:get_subtotal_tax\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/class-wc-legacy-cart.php
+
+ -
+ message: '#^Call to an undefined method WC_Legacy_Cart\:\:get_tax_price_display_mode\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/class-wc-legacy-cart.php
+
+ -
+ message: '#^Call to an undefined method WC_Legacy_Cart\:\:get_total\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/class-wc-legacy-cart.php
+
+ -
+ message: '#^Call to an undefined method WC_Legacy_Cart\:\:set_cart_contents_tax\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/class-wc-legacy-cart.php
+
+ -
+ message: '#^Call to an undefined method WC_Legacy_Cart\:\:set_cart_contents_taxes\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/class-wc-legacy-cart.php
+
+ -
+ message: '#^Call to an undefined method WC_Legacy_Cart\:\:set_cart_contents_total\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/class-wc-legacy-cart.php
+
+ -
+ message: '#^Call to an undefined method WC_Legacy_Cart\:\:set_coupon_discount_tax_totals\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/class-wc-legacy-cart.php
+
+ -
+ message: '#^Call to an undefined method WC_Legacy_Cart\:\:set_coupon_discount_totals\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/class-wc-legacy-cart.php
+
+ -
+ message: '#^Call to an undefined method WC_Legacy_Cart\:\:set_discount_tax\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/class-wc-legacy-cart.php
+
+ -
+ message: '#^Call to an undefined method WC_Legacy_Cart\:\:set_discount_total\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/class-wc-legacy-cart.php
+
+ -
+ message: '#^Call to an undefined method WC_Legacy_Cart\:\:set_fee_tax\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/class-wc-legacy-cart.php
+
+ -
+ message: '#^Call to an undefined method WC_Legacy_Cart\:\:set_fee_total\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/class-wc-legacy-cart.php
+
+ -
+ message: '#^Call to an undefined method WC_Legacy_Cart\:\:set_shipping_tax\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/class-wc-legacy-cart.php
+
+ -
+ message: '#^Call to an undefined method WC_Legacy_Cart\:\:set_shipping_taxes\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/class-wc-legacy-cart.php
+
+ -
+ message: '#^Call to an undefined method WC_Legacy_Cart\:\:set_shipping_total\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/class-wc-legacy-cart.php
+
+ -
+ message: '#^Call to an undefined method WC_Legacy_Cart\:\:set_subtotal\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/legacy/class-wc-legacy-cart.php
+
+ -
+ message: '#^Call to an undefined method WC_Legacy_Cart\:\:set_total\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/class-wc-legacy-cart.php
+
+ -
+ message: '#^Cannot access offset ''key'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/legacy/class-wc-legacy-cart.php
+
+ -
+ message: '#^Method WC_Legacy_Cart\:\:apply_cart_discounts_after_tax\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/legacy/class-wc-legacy-cart.php
+
+ -
+ message: '#^Method WC_Legacy_Cart\:\:apply_cart_discounts_after_tax\(\) has parameter \$price with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/legacy/class-wc-legacy-cart.php
+
+ -
+ message: '#^Method WC_Legacy_Cart\:\:apply_cart_discounts_after_tax\(\) has parameter \$values with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/legacy/class-wc-legacy-cart.php
+
+ -
+ message: '#^Method WC_Legacy_Cart\:\:apply_product_discounts_after_tax\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/legacy/class-wc-legacy-cart.php
+
+ -
+ message: '#^Method WC_Legacy_Cart\:\:apply_product_discounts_after_tax\(\) has parameter \$price with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/legacy/class-wc-legacy-cart.php
+
+ -
+ message: '#^Method WC_Legacy_Cart\:\:apply_product_discounts_after_tax\(\) has parameter \$values with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/legacy/class-wc-legacy-cart.php
+
+ -
+ message: '#^Method WC_Legacy_Cart\:\:get_cart_for_session\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/legacy/class-wc-legacy-cart.php
+
+ -
+ message: '#^Method WC_Legacy_Cart\:\:get_cart_from_session\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/legacy/class-wc-legacy-cart.php
+
+ -
+ message: '#^Method WC_Legacy_Cart\:\:get_discounts_after_tax\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/legacy/class-wc-legacy-cart.php
+
+ -
+ message: '#^Method WC_Legacy_Cart\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/legacy/class-wc-legacy-cart.php
+
+ -
+ message: '#^Method WC_Legacy_Cart\:\:maybe_set_cart_cookies\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/legacy/class-wc-legacy-cart.php
+
+ -
+ message: '#^Method WC_Legacy_Cart\:\:persistent_cart_destroy\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/legacy/class-wc-legacy-cart.php
+
+ -
+ message: '#^Method WC_Legacy_Cart\:\:persistent_cart_update\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/legacy/class-wc-legacy-cart.php
+
+ -
+ message: '#^Method WC_Legacy_Cart\:\:remove_taxes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/legacy/class-wc-legacy-cart.php
+
+ -
+ message: '#^Method WC_Legacy_Cart\:\:set_session\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/legacy/class-wc-legacy-cart.php
+
+ -
+ message: '#^PHPDoc tag @param references unknown parameter\: \$value$#'
+ identifier: parameter.notFound
+ count: 1
+ path: includes/legacy/class-wc-legacy-cart.php
+
+ -
+ message: '#^Property WC_Legacy_Cart\:\:\$cart_session_data has no type specified\.$#'
+ identifier: missingType.property
+ count: 1
+ path: includes/legacy/class-wc-legacy-cart.php
+
+ -
+ message: '#^Call to an undefined method WC_Legacy_Coupon\:\:decrease_usage_count\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/class-wc-legacy-coupon.php
+
+ -
+ message: '#^Call to an undefined method WC_Legacy_Coupon\:\:get_amount\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/class-wc-legacy-coupon.php
+
+ -
+ message: '#^Call to an undefined method WC_Legacy_Coupon\:\:get_code\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/class-wc-legacy-coupon.php
+
+ -
+ message: '#^Call to an undefined method WC_Legacy_Coupon\:\:get_date_expires\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/legacy/class-wc-legacy-coupon.php
+
+ -
+ message: '#^Call to an undefined method WC_Legacy_Coupon\:\:get_discount_type\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/class-wc-legacy-coupon.php
+
+ -
+ message: '#^Call to an undefined method WC_Legacy_Coupon\:\:get_email_restrictions\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/class-wc-legacy-coupon.php
+
+ -
+ message: '#^Call to an undefined method WC_Legacy_Coupon\:\:get_exclude_sale_items\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/class-wc-legacy-coupon.php
+
+ -
+ message: '#^Call to an undefined method WC_Legacy_Coupon\:\:get_excluded_product_categories\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/class-wc-legacy-coupon.php
+
+ -
+ message: '#^Call to an undefined method WC_Legacy_Coupon\:\:get_excluded_product_ids\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/class-wc-legacy-coupon.php
+
+ -
+ message: '#^Call to an undefined method WC_Legacy_Coupon\:\:get_free_shipping\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/class-wc-legacy-coupon.php
+
+ -
+ message: '#^Call to an undefined method WC_Legacy_Coupon\:\:get_individual_use\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/class-wc-legacy-coupon.php
+
+ -
+ message: '#^Call to an undefined method WC_Legacy_Coupon\:\:get_limit_usage_to_x_items\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/class-wc-legacy-coupon.php
+
+ -
+ message: '#^Call to an undefined method WC_Legacy_Coupon\:\:get_maximum_amount\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/class-wc-legacy-coupon.php
+
+ -
+ message: '#^Call to an undefined method WC_Legacy_Coupon\:\:get_minimum_amount\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/class-wc-legacy-coupon.php
+
+ -
+ message: '#^Call to an undefined method WC_Legacy_Coupon\:\:get_product_categories\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/class-wc-legacy-coupon.php
+
+ -
+ message: '#^Call to an undefined method WC_Legacy_Coupon\:\:get_product_ids\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/class-wc-legacy-coupon.php
+
+ -
+ message: '#^Call to an undefined method WC_Legacy_Coupon\:\:get_usage_count\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/class-wc-legacy-coupon.php
+
+ -
+ message: '#^Call to an undefined method WC_Legacy_Coupon\:\:get_usage_limit\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/class-wc-legacy-coupon.php
+
+ -
+ message: '#^Call to an undefined method WC_Legacy_Coupon\:\:get_usage_limit_per_user\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/class-wc-legacy-coupon.php
+
+ -
+ message: '#^Call to an undefined method WC_Legacy_Coupon\:\:increase_usage_count\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/class-wc-legacy-coupon.php
+
+ -
+ message: '#^Method WC_Legacy_Coupon\:\:dcr_usage_count\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/legacy/class-wc-legacy-coupon.php
+
+ -
+ message: '#^Method WC_Legacy_Coupon\:\:inc_usage_count\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/legacy/class-wc-legacy-coupon.php
+
+ -
+ message: '#^Parameter \#1 \$callback of function array_map expects \(callable\(mixed\)\: mixed\)\|null, ''strtolower'' given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/legacy/class-wc-legacy-coupon.php
+
+ -
+ message: '#^Parameter \#2 \$array of function array_map expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/legacy/class-wc-legacy-coupon.php
+
+ -
+ message: '#^Call to an undefined method WC_Legacy_Customer\:\:get_billing_address_1\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/class-wc-legacy-customer.php
+
+ -
+ message: '#^Call to an undefined method WC_Legacy_Customer\:\:get_billing_address_2\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/class-wc-legacy-customer.php
+
+ -
+ message: '#^Call to an undefined method WC_Legacy_Customer\:\:get_billing_city\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/class-wc-legacy-customer.php
+
+ -
+ message: '#^Call to an undefined method WC_Legacy_Customer\:\:get_billing_country\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/class-wc-legacy-customer.php
+
+ -
+ message: '#^Call to an undefined method WC_Legacy_Customer\:\:get_billing_postcode\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/class-wc-legacy-customer.php
+
+ -
+ message: '#^Call to an undefined method WC_Legacy_Customer\:\:get_billing_state\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/class-wc-legacy-customer.php
+
+ -
+ message: '#^Call to an undefined method WC_Legacy_Customer\:\:set_billing_address\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/class-wc-legacy-customer.php
+
+ -
+ message: '#^Call to an undefined method WC_Legacy_Customer\:\:set_billing_address_2\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/class-wc-legacy-customer.php
+
+ -
+ message: '#^Call to an undefined method WC_Legacy_Customer\:\:set_billing_address_to_base\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/class-wc-legacy-customer.php
+
+ -
+ message: '#^Call to an undefined method WC_Legacy_Customer\:\:set_billing_city\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/class-wc-legacy-customer.php
+
+ -
+ message: '#^Call to an undefined method WC_Legacy_Customer\:\:set_billing_country\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/class-wc-legacy-customer.php
+
+ -
+ message: '#^Call to an undefined method WC_Legacy_Customer\:\:set_billing_location\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/class-wc-legacy-customer.php
+
+ -
+ message: '#^Call to an undefined method WC_Legacy_Customer\:\:set_billing_postcode\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/class-wc-legacy-customer.php
+
+ -
+ message: '#^Call to an undefined method WC_Legacy_Customer\:\:set_billing_state\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/class-wc-legacy-customer.php
+
+ -
+ message: '#^Call to an undefined method WC_Legacy_Customer\:\:set_calculated_shipping\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/class-wc-legacy-customer.php
+
+ -
+ message: '#^Call to an undefined method WC_Legacy_Customer\:\:set_shipping_address_to_base\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/class-wc-legacy-customer.php
+
+ -
+ message: '#^Call to an undefined method WC_Legacy_Customer\:\:set_shipping_location\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/class-wc-legacy-customer.php
+
+ -
+ message: '#^Default value of the parameter \#1 \$user_id \(string\) of method WC_Legacy_Customer\:\:is_paying_customer\(\) is incompatible with type int\.$#'
+ identifier: parameter.defaultValue
+ count: 1
+ path: includes/legacy/class-wc-legacy-customer.php
+
+ -
+ message: '#^Method WC_Legacy_Customer\:\:calculated_shipping\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/legacy/class-wc-legacy-customer.php
+
+ -
+ message: '#^Method WC_Legacy_Customer\:\:get_address\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/legacy/class-wc-legacy-customer.php
+
+ -
+ message: '#^Method WC_Legacy_Customer\:\:get_address_2\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/legacy/class-wc-legacy-customer.php
+
+ -
+ message: '#^Method WC_Legacy_Customer\:\:get_city\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/legacy/class-wc-legacy-customer.php
+
+ -
+ message: '#^Method WC_Legacy_Customer\:\:get_country\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/legacy/class-wc-legacy-customer.php
+
+ -
+ message: '#^Method WC_Legacy_Customer\:\:get_postcode\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/legacy/class-wc-legacy-customer.php
+
+ -
+ message: '#^Method WC_Legacy_Customer\:\:get_state\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/legacy/class-wc-legacy-customer.php
+
+ -
+ message: '#^Method WC_Legacy_Customer\:\:save_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/legacy/class-wc-legacy-customer.php
+
+ -
+ message: '#^Method WC_Legacy_Customer\:\:set_address\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/legacy/class-wc-legacy-customer.php
+
+ -
+ message: '#^Method WC_Legacy_Customer\:\:set_address_2\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/legacy/class-wc-legacy-customer.php
+
+ -
+ message: '#^Method WC_Legacy_Customer\:\:set_city\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/legacy/class-wc-legacy-customer.php
+
+ -
+ message: '#^Method WC_Legacy_Customer\:\:set_country\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/legacy/class-wc-legacy-customer.php
+
+ -
+ message: '#^Method WC_Legacy_Customer\:\:set_default_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/legacy/class-wc-legacy-customer.php
+
+ -
+ message: '#^Method WC_Legacy_Customer\:\:set_location\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/legacy/class-wc-legacy-customer.php
+
+ -
+ message: '#^Method WC_Legacy_Customer\:\:set_postcode\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/legacy/class-wc-legacy-customer.php
+
+ -
+ message: '#^Method WC_Legacy_Customer\:\:set_shipping_to_base\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/legacy/class-wc-legacy-customer.php
+
+ -
+ message: '#^Method WC_Legacy_Customer\:\:set_state\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/legacy/class-wc-legacy-customer.php
+
+ -
+ message: '#^Method WC_Legacy_Customer\:\:set_to_base\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/legacy/class-wc-legacy-customer.php
+
+ -
+ message: '#^Parameter \#1 \$key of method WC_Legacy_Customer\:\:filter_legacy_key\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/legacy/class-wc-legacy-customer.php
+
+ -
+ message: '#^Method WC_Legacy_Shipping_Zone\:\:create\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/legacy/class-wc-legacy-shipping-zone.php
+
+ -
+ message: '#^Method WC_Legacy_Shipping_Zone\:\:read\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/legacy/class-wc-legacy-shipping-zone.php
+
+ -
+ message: '#^Method WC_Legacy_Shipping_Zone\:\:update\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/legacy/class-wc-legacy-shipping-zone.php
+
+ -
+ message: '#^Call to an undefined method WC_Legacy_Webhook\:\:get_api_version\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/class-wc-legacy-webhook.php
+
+ -
+ message: '#^Call to an undefined method WC_Legacy_Webhook\:\:get_delivery_url\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/class-wc-legacy-webhook.php
+
+ -
+ message: '#^Call to an undefined method WC_Legacy_Webhook\:\:get_event\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/class-wc-legacy-webhook.php
+
+ -
+ message: '#^Call to an undefined method WC_Legacy_Webhook\:\:get_failure_count\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/class-wc-legacy-webhook.php
+
+ -
+ message: '#^Call to an undefined method WC_Legacy_Webhook\:\:get_hooks\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/class-wc-legacy-webhook.php
+
+ -
+ message: '#^Call to an undefined method WC_Legacy_Webhook\:\:get_resource\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/class-wc-legacy-webhook.php
+
+ -
+ message: '#^Call to an undefined method WC_Legacy_Webhook\:\:get_secret\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/class-wc-legacy-webhook.php
+
+ -
+ message: '#^Call to an undefined method WC_Legacy_Webhook\:\:get_status\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/class-wc-legacy-webhook.php
+
+ -
+ message: '#^Call to an undefined method WC_Legacy_Webhook\:\:get_topic\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/class-wc-legacy-webhook.php
+
+ -
+ message: '#^Call to an undefined method WC_Legacy_Webhook\:\:set_status\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/legacy/class-wc-legacy-webhook.php
+
+ -
+ message: '#^Method WC_Legacy_Webhook\:\:update_status\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/legacy/class-wc-legacy-webhook.php
+
+ -
+ message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
+ count: 1
+ path: includes/libraries/class-wc-eval-math.php
+
+ -
+ message: '#^Binary operation "\*" between \-1 and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: includes/libraries/class-wc-eval-math.php
+
+ -
+ message: '#^Binary operation "\*" between mixed and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: includes/libraries/class-wc-eval-math.php
+
+ -
+ message: '#^Binary operation "\+" between mixed and 1 results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: includes/libraries/class-wc-eval-math.php
+
+ -
+ message: '#^Binary operation "\+" between mixed and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: includes/libraries/class-wc-eval-math.php
+
+ -
+ message: '#^Binary operation "\-" between mixed and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: includes/libraries/class-wc-eval-math.php
+
+ -
+ message: '#^Binary operation "/" between mixed and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: includes/libraries/class-wc-eval-math.php
+
+ -
+ message: '#^Method WC_Eval_Math\:\:debugPrintCallingFunction\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/libraries/class-wc-eval-math.php
+
+ -
+ message: '#^Method WC_Eval_Math\:\:nfx\(\) never returns string so it can be removed from the return type\.$#'
+ identifier: return.unusedType
+ count: 1
+ path: includes/libraries/class-wc-eval-math.php
+
+ -
+ message: '#^Method WC_Eval_Math\:\:nfx\(\) should return array\|string but returns bool\.$#'
+ identifier: return.type
+ count: 13
+ path: includes/libraries/class-wc-eval-math.php
+
+ -
+ message: '#^Method WC_Eval_Math_Stack\:\:push\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/libraries/class-wc-eval-math.php
+
+ -
+ message: '#^Offset ''file'' might not exist on array\{function\: string, line\?\: int, file\?\: string, class\?\: class\-string, type\?\: ''\-\>''\|''\:\:'', args\?\: list\<mixed\>, object\?\: object\}\.$#'
+ identifier: offsetAccess.notFound
+ count: 1
+ path: includes/libraries/class-wc-eval-math.php
+
+ -
+ message: '#^Offset ''line'' might not exist on array\{function\: string, line\?\: int, file\: string, class\?\: class\-string, type\?\: ''\-\>''\|''\:\:'', args\?\: list\<mixed\>, object\?\: object\}\.$#'
+ identifier: offsetAccess.notFound
+ count: 1
+ path: includes/libraries/class-wc-eval-math.php
+
+ -
+ message: '#^Parameter \#1 \$base of function pow expects float\|int, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/libraries/class-wc-eval-math.php
+
+ -
+ message: '#^Parameter \#1 \$key of function array_key_exists expects int\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/libraries/class-wc-eval-math.php
+
+ -
+ message: '#^Parameter \#1 \$var of function count expects array\|Countable, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/libraries/class-wc-eval-math.php
+
+ -
+ message: '#^Parameter \#2 \$exponent of function pow expects float\|int, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/libraries/class-wc-eval-math.php
+
+ -
+ message: '#^Parameter \#2 \$str of function explode expects string, string\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/libraries/class-wc-eval-math.php
+
+ -
+ message: '#^Parameter \#2 \$subject of function preg_match expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 3
+ path: includes/libraries/class-wc-eval-math.php
+
+ -
+ message: '#^Part \$arg_count \(mixed\) of encapsed string cannot be cast to string\.$#'
+ identifier: encapsedStringPart.nonString
+ count: 2
+ path: includes/libraries/class-wc-eval-math.php
+
+ -
+ message: '#^Part \$token \(mixed\) of encapsed string cannot be cast to string\.$#'
+ identifier: encapsedStringPart.nonString
+ count: 1
+ path: includes/libraries/class-wc-eval-math.php
+
+ -
+ message: '#^Possibly invalid array key type mixed\.$#'
+ identifier: offsetAccess.invalidOffset
+ count: 2
+ path: includes/libraries/class-wc-eval-math.php
+
+ -
+ message: '#^Static property WC_Eval_Math\:\:\$last_error \(string\) does not accept null\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: includes/libraries/class-wc-eval-math.php
+
+ -
+ message: '#^Method WP_Async_Request\:\:handle\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/libraries/wp-async-request.php
+
+ -
+ message: '#^Method WP_Async_Request\:\:maybe_handle\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/libraries/wp-async-request.php
+
+ -
+ message: '#^Parameter \#1 \$action of function check_ajax_referer expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/libraries/wp-async-request.php
+
+ -
+ message: '#^Parameter \#1 \$action of function wp_create_nonce expects \-1\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/libraries/wp-async-request.php
+
+ -
+ message: '#^Binary operation "\." between mixed and ''_batch_%%'' results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 2
+ path: includes/libraries/wp-background-process.php
+
+ -
+ message: '#^Binary operation "\." between mixed and ''_batch_'' results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: includes/libraries/wp-background-process.php
+
+ -
+ message: '#^Binary operation "\." between mixed and ''_cron'' results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: includes/libraries/wp-background-process.php
+
+ -
+ message: '#^Binary operation "\." between mixed and ''_cron_interval'' results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 4
+ path: includes/libraries/wp-background-process.php
+
+ -
+ message: '#^Binary operation "\." between mixed and ''_default_time_limit'' results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: includes/libraries/wp-background-process.php
+
+ -
+ message: '#^Binary operation "\." between mixed and ''_memory_exceeded'' results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: includes/libraries/wp-background-process.php
+
+ -
+ message: '#^Binary operation "\." between mixed and ''_process_lock'' results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 3
+ path: includes/libraries/wp-background-process.php
+
+ -
+ message: '#^Binary operation "\." between mixed and ''_queue_lock_time'' results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: includes/libraries/wp-background-process.php
+
+ -
+ message: '#^Binary operation "\." between mixed and ''_time_exceeded'' results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: includes/libraries/wp-background-process.php
+
+ -
+ message: '#^Cannot access offset non\-falsy\-string on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/libraries/wp-background-process.php
+
+ -
+ message: '#^Method WP_Background_Process\:\:cancel_process\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/libraries/wp-background-process.php
+
+ -
+ message: '#^Method WP_Background_Process\:\:clear_scheduled_event\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/libraries/wp-background-process.php
+
+ -
+ message: '#^Method WP_Background_Process\:\:complete\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/libraries/wp-background-process.php
+
+ -
+ message: '#^Method WP_Background_Process\:\:handle\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/libraries/wp-background-process.php
+
+ -
+ message: '#^Method WP_Background_Process\:\:handle_cron_healthcheck\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/libraries/wp-background-process.php
+
+ -
+ message: '#^Method WP_Background_Process\:\:is_process_running\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/libraries/wp-background-process.php
+
+ -
+ message: '#^Method WP_Background_Process\:\:lock_process\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/libraries/wp-background-process.php
+
+ -
+ message: '#^Method WP_Background_Process\:\:maybe_handle\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/libraries/wp-background-process.php
+
+ -
+ message: '#^Method WP_Background_Process\:\:schedule_event\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/libraries/wp-background-process.php
+
+ -
+ message: '#^Parameter \#1 \$action of function check_ajax_referer expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/libraries/wp-background-process.php
+
+ -
+ message: '#^Parameter \#1 \$hook of function wp_clear_scheduled_hook expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/libraries/wp-background-process.php
+
+ -
+ message: '#^Parameter \#1 \$hook of function wp_next_scheduled expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/libraries/wp-background-process.php
+
+ -
+ message: '#^Parameter \#2 \$hook of function wp_unschedule_event expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/libraries/wp-background-process.php
+
+ -
+ message: '#^Parameter \#2 \$recurrence of function wp_schedule_event expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/libraries/wp-background-process.php
+
+ -
+ message: '#^Parameter \#3 \$hook of function wp_schedule_event expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/libraries/wp-background-process.php
+
+ -
+ message: '#^Strict comparison using \=\=\= between \-1 and non\-falsy\-string will always evaluate to false\.$#'
+ identifier: identical.alwaysFalse
+ count: 1
+ path: includes/libraries/wp-background-process.php
+
+ -
+ message: '#^Method WC_Log_Handler_DB\:\:delete_logs_before_timestamp\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/log-handlers/class-wc-log-handler-db.php
+
+ -
+ message: '#^Parameter \#2 \$haystack of function in_array expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/log-handlers/class-wc-log-handler-db.php
+
+ -
+ message: '#^Parameter \#4 \$source of method WC_Log_Handler_DB\:\:add\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/log-handlers/class-wc-log-handler-db.php
+
+ -
+ message: '#^Action callback returns bool but should not return anything\.$#'
+ identifier: return.void
+ count: 1
+ path: includes/log-handlers/class-wc-log-handler-email.php
+
+ -
+ message: '#^Method WC_Log_Handler_Email\:\:add_email\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/log-handlers/class-wc-log-handler-email.php
+
+ -
+ message: '#^Method WC_Log_Handler_Email\:\:add_log\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/log-handlers/class-wc-log-handler-email.php
+
+ -
+ message: '#^Method WC_Log_Handler_Email\:\:clear_logs\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/log-handlers/class-wc-log-handler-email.php
+
+ -
+ message: '#^Method WC_Log_Handler_Email\:\:set_threshold\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/log-handlers/class-wc-log-handler-email.php
+
+ -
+ message: '#^Parameter \#1 \$email of method WC_Log_Handler_Email\:\:add_email\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/log-handlers/class-wc-log-handler-email.php
+
+ -
+ message: '#^Parameter \#1 \$str of function strtoupper expects string, bool\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/log-handlers/class-wc-log-handler-email.php
+
+ -
+ message: '#^Cannot access offset ''size'' on array\{0\: int, 1\: int, 2\: int, 3\: int, 4\: int, 5\: int, 6\: int, 7\: int, \.\.\.\}\|false\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/log-handlers/class-wc-log-handler-file.php
+
+ -
+ message: '#^Method WC_Log_Handler_File\:\:cache_log\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/log-handlers/class-wc-log-handler-file.php
+
+ -
+ message: '#^Method WC_Log_Handler_File\:\:delete_logs_before_timestamp\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/log-handlers/class-wc-log-handler-file.php
+
+ -
+ message: '#^Method WC_Log_Handler_File\:\:log_rotate\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/log-handlers/class-wc-log-handler-file.php
+
+ -
+ message: '#^Method WC_Log_Handler_File\:\:write_cached_logs\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/log-handlers/class-wc-log-handler-file.php
+
+ -
+ message: '#^Parameter \#1 \$filename of function file_exists expects string, string\|true given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/log-handlers/class-wc-log-handler-file.php
+
+ -
+ message: '#^Parameter \#1 \$filename of function filesize expects string, string\|true given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/log-handlers/class-wc-log-handler-file.php
+
+ -
+ message: '#^Parameter \#1 \$filename of function fopen expects string, string\|true given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/log-handlers/class-wc-log-handler-file.php
+
+ -
+ message: '#^Parameter \#1 \$filename of function is_file expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/log-handlers/class-wc-log-handler-file.php
+
+ -
+ message: '#^Parameter \#1 \$filename of function is_writable expects string, bool\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/log-handlers/class-wc-log-handler-file.php
+
+ -
+ message: '#^Parameter \#1 \$filename of function is_writable expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/log-handlers/class-wc-log-handler-file.php
+
+ -
+ message: '#^Parameter \#1 \$handle of method WC_Log_Handler_File\:\:close\(\) expects string, bool\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/log-handlers/class-wc-log-handler-file.php
+
+ -
+ message: '#^Parameter \#1 \$handle of method WC_Log_Handler_File\:\:is_open\(\) expects string, bool\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/log-handlers/class-wc-log-handler-file.php
+
+ -
+ message: '#^Parameter \#1 \$haystack of function stripos expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/log-handlers/class-wc-log-handler-file.php
+
+ -
+ message: '#^Parameter \#2 \$needle of function stripos expects int\|string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/log-handlers/class-wc-log-handler-file.php
+
+ -
+ message: '#^Parameter \#2 \$new_name of function rename expects string, bool\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/log-handlers/class-wc-log-handler-file.php
+
+ -
+ message: '#^Method WC_Payment_Token_CC\:\:get_card_type\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/payment-tokens/class-wc-payment-token-cc.php
+
+ -
+ message: '#^Method WC_Payment_Token_CC\:\:get_expiry_month\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/payment-tokens/class-wc-payment-token-cc.php
+
+ -
+ message: '#^Method WC_Payment_Token_CC\:\:get_expiry_year\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/payment-tokens/class-wc-payment-token-cc.php
+
+ -
+ message: '#^Method WC_Payment_Token_CC\:\:get_last4\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/payment-tokens/class-wc-payment-token-cc.php
+
+ -
+ message: '#^Method WC_Payment_Token_CC\:\:set_card_type\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/payment-tokens/class-wc-payment-token-cc.php
+
+ -
+ message: '#^Method WC_Payment_Token_CC\:\:set_expiry_month\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/payment-tokens/class-wc-payment-token-cc.php
+
+ -
+ message: '#^Method WC_Payment_Token_CC\:\:set_expiry_year\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/payment-tokens/class-wc-payment-token-cc.php
+
+ -
+ message: '#^Method WC_Payment_Token_CC\:\:set_last4\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/payment-tokens/class-wc-payment-token-cc.php
+
+ -
+ message: '#^Method WC_Payment_Token_ECheck\:\:get_last4\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/payment-tokens/class-wc-payment-token-echeck.php
+
+ -
+ message: '#^Method WC_Payment_Token_ECheck\:\:set_last4\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/payment-tokens/class-wc-payment-token-echeck.php
+
+ -
+ message: '#^Constant WC_ABSPATH not found\.$#'
+ identifier: constant.notFound
+ count: 1
+ path: includes/product-usage/class-wc-product-usage.php
+
+ -
+ message: '#^Method WC_Product_Usage\:\:includes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/product-usage/class-wc-product-usage.php
+
+ -
+ message: '#^Method WC_Product_Usage\:\:load\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/product-usage/class-wc-product-usage.php
+
+ -
+ message: '#^Function as_get_scheduled_actions not found\.$#'
+ identifier: function.notFound
+ count: 1
+ path: includes/queue/class-wc-action-queue.php
+
+ -
+ message: '#^Function as_next_scheduled_action not found\.$#'
+ identifier: function.notFound
+ count: 1
+ path: includes/queue/class-wc-action-queue.php
+
+ -
+ message: '#^Function as_schedule_cron_action not found\.$#'
+ identifier: function.notFound
+ count: 1
+ path: includes/queue/class-wc-action-queue.php
+
+ -
+ message: '#^Function as_schedule_recurring_action not found\.$#'
+ identifier: function.notFound
+ count: 1
+ path: includes/queue/class-wc-action-queue.php
+
+ -
+ message: '#^Function as_schedule_single_action not found\.$#'
+ identifier: function.notFound
+ count: 1
+ path: includes/queue/class-wc-action-queue.php
+
+ -
+ message: '#^Function as_unschedule_action not found\.$#'
+ identifier: function.notFound
+ count: 1
+ path: includes/queue/class-wc-action-queue.php
+
+ -
+ message: '#^Function as_unschedule_all_actions not found\.$#'
+ identifier: function.notFound
+ count: 1
+ path: includes/queue/class-wc-action-queue.php
+
+ -
+ message: '#^Method WC_Action_Queue\:\:cancel\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/queue/class-wc-action-queue.php
+
+ -
+ message: '#^Method WC_Action_Queue\:\:cancel_all\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/queue/class-wc-action-queue.php
+
+ -
+ message: '#^Method WC_Queue\:\:validate_instance\(\) should return WC_Queue_Interface but returns object\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/queue/class-wc-queue.php
+
+ -
+ message: '#^Parameter \#1 \$instance of static method WC_Queue\:\:validate_instance\(\) expects WC_Queue_Interface, object given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/queue/class-wc-queue.php
+
+ -
+ message: '#^Static property WC_Queue\:\:\$instance \(WC_Queue_Interface\|null\) does not accept object\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: includes/queue/class-wc-queue.php
+
+ -
+ message: '#^Cannot access offset non\-falsy\-string on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/react-admin/class-experimental-abtest.php
+
+ -
+ message: '#^Method WooCommerce\\Admin\\Experimental_Abtest\:\:fetch_variation\(\) should return array\|WP_Error but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/react-admin/class-experimental-abtest.php
+
+ -
+ message: '#^Method WooCommerce\\Admin\\Experimental_Abtest\:\:request_assignment\(\) should return array\|WP_Error but returns array\<string, array\<int\|string, int\|string\|WP_Http_Cookie\>\|string\|WP_HTTP_Requests_Response\|WpOrg\\Requests\\Utility\\CaseInsensitiveDictionary\|null\>\|Automattic\\Jetpack\\Connection\\_WP_Remote_Response_Array\|WP_Error\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/react-admin/class-experimental-abtest.php
+
+ -
+ message: '#^Parameter \#1 \$json of function json_decode expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/react-admin/class-experimental-abtest.php
+
+ -
+ message: '#^Parameter \#1 \$str of function rawurlencode expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/react-admin/class-experimental-abtest.php
+
+ -
+ message: '#^Parameter \#1 \$str of function sanitize_text_field expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/react-admin/class-experimental-abtest.php
+
+ -
+ message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/react-admin/connect-existing-pages.php
+
+ -
+ message: '#^Function wc_admin_record_tracks_event\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/react-admin/core-functions.php
+
+ -
+ message: '#^Parameter \#1 \$number of function number_format expects float, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/react-admin/core-functions.php
+
+ -
+ message: '#^Variable \$download_url might not be defined\.$#'
+ identifier: variable.undefined
+ count: 1
+ path: includes/react-admin/emails/html-admin-report-export-download.php
+
+ -
+ message: '#^Variable \$email might not be defined\.$#'
+ identifier: variable.undefined
+ count: 2
+ path: includes/react-admin/emails/html-admin-report-export-download.php
+
+ -
+ message: '#^Variable \$email_heading might not be defined\.$#'
+ identifier: variable.undefined
+ count: 1
+ path: includes/react-admin/emails/html-admin-report-export-download.php
+
+ -
+ message: '#^Variable \$report_name might not be defined\.$#'
+ identifier: variable.undefined
+ count: 1
+ path: includes/react-admin/emails/html-admin-report-export-download.php
+
+ -
+ message: '#^Variable \$download_url might not be defined\.$#'
+ identifier: variable.undefined
+ count: 1
+ path: includes/react-admin/emails/plain-admin-report-export-download.php
+
+ -
+ message: '#^Variable \$email_heading might not be defined\.$#'
+ identifier: variable.undefined
+ count: 1
+ path: includes/react-admin/emails/plain-admin-report-export-download.php
+
+ -
+ message: '#^Variable \$report_name might not be defined\.$#'
+ identifier: variable.undefined
+ count: 1
+ path: includes/react-admin/emails/plain-admin-report-export-download.php
+
+ -
+ message: '#^Function wc_admin_connect_page\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/react-admin/page-controller-functions.php
+
+ -
+ message: '#^Function wc_admin_register_page\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/react-admin/page-controller-functions.php
+
+ -
+ message: '#^Argument of an invalid type list\<string\>\|false supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
+ count: 1
+ path: includes/react-admin/wc-admin-update-functions.php
+
+ -
+ message: '#^Call to an undefined method object\:\:mark_actioned\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/react-admin/wc-admin-update-functions.php
+
+ -
+ message: '#^Call to static method update_db_version\(\) on an unknown class Installer\.$#'
+ identifier: class.notFound
+ count: 2
+ path: includes/react-admin/wc-admin-update-functions.php
+
+ -
+ message: '#^Cannot access an offset on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: includes/react-admin/wc-admin-update-functions.php
+
+ -
+ message: '#^Function as_unschedule_action not found\.$#'
+ identifier: function.notFound
+ count: 2
+ path: includes/react-admin/wc-admin-update-functions.php
+
+ -
+ message: '#^Function wc_admin_update_0201_order_status_index\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/react-admin/wc-admin-update-functions.php
+
+ -
+ message: '#^Function wc_admin_update_0230_rename_gross_total\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/react-admin/wc-admin-update-functions.php
+
+ -
+ message: '#^Function wc_admin_update_0251_remove_unsnooze_action\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/react-admin/wc-admin-update-functions.php
+
+ -
+ message: '#^Function wc_admin_update_110_remove_facebook_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/react-admin/wc-admin-update-functions.php
+
+ -
+ message: '#^Function wc_admin_update_130_db_version\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/react-admin/wc-admin-update-functions.php
+
+ -
+ message: '#^Function wc_admin_update_130_remove_dismiss_action_from_tracking_opt_in_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/react-admin/wc-admin-update-functions.php
+
+ -
+ message: '#^Function wc_admin_update_140_db_version\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/react-admin/wc-admin-update-functions.php
+
+ -
+ message: '#^Function wc_admin_update_160_remove_facebook_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/react-admin/wc-admin-update-functions.php
+
+ -
+ message: '#^Function wc_admin_update_170_homescreen_layout\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/react-admin/wc-admin-update-functions.php
+
+ -
+ message: '#^Function wc_admin_update_270_delete_report_downloads\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/react-admin/wc-admin-update-functions.php
+
+ -
+ message: '#^Function wc_admin_update_271_update_task_list_options\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/react-admin/wc-admin-update-functions.php
+
+ -
+ message: '#^Function wc_admin_update_280_order_status\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/react-admin/wc-admin-update-functions.php
+
+ -
+ message: '#^Function wc_admin_update_290_delete_default_homepage_layout_option\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/react-admin/wc-admin-update-functions.php
+
+ -
+ message: '#^Function wc_admin_update_290_update_apperance_task_option\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/react-admin/wc-admin-update-functions.php
+
+ -
+ message: '#^Function wc_admin_update_300_update_is_read_from_last_read\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/react-admin/wc-admin-update-functions.php
+
+ -
+ message: '#^Function wc_admin_update_340_remove_is_primary_from_note_action\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/react-admin/wc-admin-update-functions.php
+
+ -
+ message: '#^Function wc_update_1040_add_idx_date_paid_status_parent\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/react-admin/wc-admin-update-functions.php
+
+ -
+ message: '#^Function wc_update_1050_add_idx_user_email\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/react-admin/wc-admin-update-functions.php
+
+ -
+ message: '#^Function wc_update_670_delete_deprecated_remote_inbox_notifications_option\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/react-admin/wc-admin-update-functions.php
+
+ -
+ message: '#^Parameter \#1 \$args of function get_users expects array\{blog_id\?\: int, role\?\: array\<string\>\|string, role__in\?\: array\<string\>, role__not_in\?\: array\<string\>, meta_key\?\: array\<string\>\|string, meta_value\?\: array\<string\>\|string, meta_compare\?\: string, meta_compare_key\?\: string, \.\.\.\}, ''meta_key…'' given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/react-admin/wc-admin-update-functions.php
+
+ -
+ message: '#^Parameter \#1 \$array of function array_unique expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/react-admin/wc-admin-update-functions.php
+
+ -
+ message: '#^Parameter \#4 \$autoload of function add_option expects bool\|null, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/react-admin/wc-admin-update-functions.php
+
+ -
+ message: '#^Cannot access offset ''installation_date'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: includes/rest-api/Controllers/Telemetry/class-wc-rest-telemetry-controller.php
+
+ -
+ message: '#^Cannot access offset ''last_used'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/rest-api/Controllers/Telemetry/class-wc-rest-telemetry-controller.php
+
+ -
+ message: '#^Cannot access offset ''version'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: includes/rest-api/Controllers/Telemetry/class-wc-rest-telemetry-controller.php
+
+ -
+ message: '#^Cannot access offset mixed on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: includes/rest-api/Controllers/Telemetry/class-wc-rest-telemetry-controller.php
+
+ -
+ message: '#^Method WC_REST_Telemetry_Controller\:\:get_usage_data\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Telemetry/class-wc-rest-telemetry-controller.php
+
+ -
+ message: '#^Method WC_REST_Telemetry_Controller\:\:get_usage_data\(\) should return array but empty return statement found\.$#'
+ identifier: return.empty
+ count: 2
+ path: includes/rest-api/Controllers/Telemetry/class-wc-rest-telemetry-controller.php
+
+ -
+ message: '#^Method WC_REST_Telemetry_Controller\:\:record_usage_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/rest-api/Controllers/Telemetry/class-wc-rest-telemetry-controller.php
+
+ -
+ message: '#^Method WC_REST_Telemetry_Controller\:\:record_usage_data\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Telemetry/class-wc-rest-telemetry-controller.php
+
+ -
+ message: '#^Method WC_REST_Telemetry_Controller\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/rest-api/Controllers/Telemetry/class-wc-rest-telemetry-controller.php
+
+ -
+ message: '#^Method WC_REST_Telemetry_Controller\:\:telemetry_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Telemetry/class-wc-rest-telemetry-controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 100 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/rest-api/Controllers/Telemetry/class-wc-rest-telemetry-controller.php
+
+ -
+ message: '#^Parameter \#2 \$version2 of function version_compare expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Telemetry/class-wc-rest-telemetry-controller.php
+
+ -
+ message: '#^@param WP_Post \$post does not accept actual type of parameter\: WP_Post\|null\.$#'
+ identifier: parameter.phpDocType
+ count: 2
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-coupons-v1-controller.php
+
+ -
+ message: '#^Call to an undefined method Exception\:\:getErrorCode\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-coupons-v1-controller.php
+
+ -
+ message: '#^Cannot access property \$ID on WP_Post\|null\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-coupons-v1-controller.php
+
+ -
+ message: '#^Cannot assign offset ''date_expires'' to WP_REST_Request\.$#'
+ identifier: offsetAssign.dimType
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-coupons-v1-controller.php
+
+ -
+ message: '#^Cannot assign offset ''excluded_product_ids'' to WP_REST_Request\.$#'
+ identifier: offsetAssign.dimType
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-coupons-v1-controller.php
+
+ -
+ message: '#^Cannot call method get_id\(\) on stdClass\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-coupons-v1-controller.php
+
+ -
+ message: '#^Cannot call method save\(\) on stdClass\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-coupons-v1-controller.php
+
+ -
+ message: '#^Dead catch \- WC_REST_Exception is already caught above\.$#'
+ identifier: catch.alreadyCaught
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-coupons-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Coupons_V1_Controller\:\:create_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-coupons-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Coupons_V1_Controller\:\:prepare_item_for_database\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-coupons-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Coupons_V1_Controller\:\:prepare_item_for_database\(\) should return stdClass\|WP_Error but returns WC_Coupon\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-coupons-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Coupons_V1_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-coupons-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Coupons_V1_Controller\:\:query_args\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-coupons-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Coupons_V1_Controller\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-coupons-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Coupons_V1_Controller\:\:save_coupon\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-coupons-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Coupons_V1_Controller\:\:update_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-coupons-v1-controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Posts_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 113 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-coupons-v1-controller.php
+
+ -
+ message: '#^Parameter \#1 \$data_object of method WP_REST_Controller\:\:update_additional_fields_for_object\(\) expects object, WP_Post\|null given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-coupons-v1-controller.php
+
+ -
+ message: '#^Parameter \#1 \$post of method WC_REST_Coupons_V1_Controller\:\:prepare_item_for_response\(\) expects WP_Post, WP_Post\|null given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-coupons-v1-controller.php
+
+ -
+ message: '#^Parameter \#1 \$post of method WC_REST_Posts_Controller\:\:add_post_meta_fields\(\) expects WP_Post, WP_Post\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-coupons-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Customer_Downloads_V1_Controller\:\:get_items\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-customer-downloads-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Customer_Downloads_V1_Controller\:\:get_items\(\) should return array but returns WP_REST_Response\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-customer-downloads-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Customer_Downloads_V1_Controller\:\:get_items_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-customer-downloads-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Customer_Downloads_V1_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-customer-downloads-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Customer_Downloads_V1_Controller\:\:prepare_links\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-customer-downloads-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Customer_Downloads_V1_Controller\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-customer-downloads-v1-controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 109 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-customer-downloads-v1-controller.php
+
+ -
+ message: '#^Parameter \#1 \$download of method WC_REST_Customer_Downloads_V1_Controller\:\:prepare_item_for_response\(\) expects stdObject, stdClass given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-customer-downloads-v1-controller.php
+
+ -
+ message: '#^Parameter \#1 \$download of method WC_REST_Customer_Downloads_V1_Controller\:\:prepare_links\(\) expects stdClass, stdObject given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-customer-downloads-v1-controller.php
+
+ -
+ message: '#^Parameter \$download of method WC_REST_Customer_Downloads_V1_Controller\:\:prepare_item_for_response\(\) has invalid type stdObject\.$#'
+ identifier: class.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-customer-downloads-v1-controller.php
+
+ -
+ message: '#^Return type \(array\) of method WC_REST_Customer_Downloads_V1_Controller\:\:get_items\(\) should be compatible with return type \(WP_Error\|WP_REST_Response\) of method WP_REST_Controller\:\:get_items\(\)$#'
+ identifier: method.childReturnType
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-customer-downloads-v1-controller.php
+
+ -
+ message: '#^@param WP_User \$customer does not accept actual type of parameter\: WP_User\|false\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-customers-v1-controller.php
+
+ -
+ message: '#^@param WP_User \$user_data does not accept actual type of parameter\: WP_User\|false\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-customers-v1-controller.php
+
+ -
+ message: '#^Access to an undefined property WP_User_Query\:\:\$results\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-customers-v1-controller.php
+
+ -
+ message: '#^Call to an undefined method Exception\:\:getErrorCode\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-customers-v1-controller.php
+
+ -
+ message: '#^Cannot access property \$ID on WP_User\|false\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-customers-v1-controller.php
+
+ -
+ message: '#^Cannot assign offset ''password'' to WP_REST_Request\.$#'
+ identifier: offsetAssign.dimType
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-customers-v1-controller.php
+
+ -
+ message: '#^Cannot assign offset ''username'' to WP_REST_Request\.$#'
+ identifier: offsetAssign.dimType
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-customers-v1-controller.php
+
+ -
+ message: '#^Cannot call method add_role\(\) on WP_User\|false\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-customers-v1-controller.php
+
+ -
+ message: '#^Left side of && is always true\.$#'
+ identifier: booleanAnd.leftAlwaysTrue
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-customers-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Customers_V1_Controller\:\:batch_items_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-customers-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Customers_V1_Controller\:\:create_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-customers-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Customers_V1_Controller\:\:create_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-customers-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Customers_V1_Controller\:\:delete_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-customers-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Customers_V1_Controller\:\:delete_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-customers-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Customers_V1_Controller\:\:get_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-customers-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Customers_V1_Controller\:\:get_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-customers-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Customers_V1_Controller\:\:get_items\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-customers-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Customers_V1_Controller\:\:get_items_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-customers-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Customers_V1_Controller\:\:permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-customers-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Customers_V1_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-customers-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Customers_V1_Controller\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-customers-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Customers_V1_Controller\:\:update_customer_meta_fields\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-customers-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Customers_V1_Controller\:\:update_customer_meta_fields\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-customers-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Customers_V1_Controller\:\:update_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-customers-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Customers_V1_Controller\:\:update_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-customers-v1-controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 109 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-customers-v1-controller.php
+
+ -
+ message: '#^Parameter \#1 \$data_object of method WP_REST_Controller\:\:update_additional_fields_for_object\(\) expects object, WP_User\|false given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-customers-v1-controller.php
+
+ -
+ message: '#^Parameter \#1 \$first_name of method WC_Customer\:\:set_first_name\(\) expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-customers-v1-controller.php
+
+ -
+ message: '#^Parameter \#1 \$last_name of method WC_Customer\:\:set_last_name\(\) expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-customers-v1-controller.php
+
+ -
+ message: '#^Parameter \#1 \$user_data of method WC_REST_Customers_V1_Controller\:\:prepare_item_for_response\(\) expects WP_User, WP_User\|false given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-customers-v1-controller.php
+
+ -
+ message: '#^Parameter \#2 \$value of method WP_HTTP_Response\:\:header\(\) expects string, int given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-customers-v1-controller.php
+
+ -
+ message: '#^@param WP_Comment \$note does not accept actual type of parameter\: WP_Comment\|null\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-order-notes-v1-controller.php
+
+ -
+ message: '#^Argument of an invalid type array\<int\|WP_Comment\>\|int supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-order-notes-v1-controller.php
+
+ -
+ message: '#^Cannot call method add_order_note\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-order-notes-v1-controller.php
+
+ -
+ message: '#^Cannot call method get_id\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 6
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-order-notes-v1-controller.php
+
+ -
+ message: '#^Cannot call method get_type\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 4
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-order-notes-v1-controller.php
+
+ -
+ message: '#^Function remove_filter invoked with 4 parameters, 2\-3 required\.$#'
+ identifier: arguments.count
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-order-notes-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Order_Notes_V1_Controller\:\:create_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-order-notes-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Order_Notes_V1_Controller\:\:create_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-order-notes-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Order_Notes_V1_Controller\:\:delete_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-order-notes-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Order_Notes_V1_Controller\:\:delete_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-order-notes-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Order_Notes_V1_Controller\:\:get_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-order-notes-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Order_Notes_V1_Controller\:\:get_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-order-notes-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Order_Notes_V1_Controller\:\:get_items\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-order-notes-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Order_Notes_V1_Controller\:\:get_items\(\) should return array\|WP_Error but returns WP_REST_Response\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-order-notes-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Order_Notes_V1_Controller\:\:get_items_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-order-notes-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Order_Notes_V1_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-order-notes-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Order_Notes_V1_Controller\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-order-notes-v1-controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 111 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-order-notes-v1-controller.php
+
+ -
+ message: '#^Parameter \#1 \$comment_id of function get_comment_meta expects int, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-order-notes-v1-controller.php
+
+ -
+ message: '#^Parameter \#1 \$data_object of method WP_REST_Controller\:\:update_additional_fields_for_object\(\) expects object, WP_Comment\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-order-notes-v1-controller.php
+
+ -
+ message: '#^Parameter \#1 \$note of method WC_REST_Order_Notes_V1_Controller\:\:prepare_item_for_response\(\) expects WP_Comment, WP_Comment\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-order-notes-v1-controller.php
+
+ -
+ message: '#^Parameter \#1 \$note of method WC_REST_Order_Notes_V1_Controller\:\:prepare_item_for_response\(\) expects WP_Comment, int\|WP_Comment given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-order-notes-v1-controller.php
+
+ -
+ message: '#^Parameter \#1 \$note_id of function wc_delete_order_note expects int, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-order-notes-v1-controller.php
+
+ -
+ message: '#^Parameter \#2 \$replace of function str_replace expects array\<string\>\|string, int given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-order-notes-v1-controller.php
+
+ -
+ message: '#^@param WP_Post \$post does not accept actual type of parameter\: WP_Post\|null\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-order-refunds-v1-controller.php
+
+ -
+ message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
+ count: 2
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-order-refunds-v1-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_product\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-order-refunds-v1-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_product_id\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-order-refunds-v1-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_variation_id\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-order-refunds-v1-controller.php
+
+ -
+ message: '#^Call to an undefined method WP_Error\|WP_REST_Response\:\:header\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-order-refunds-v1-controller.php
+
+ -
+ message: '#^Call to an undefined method WP_Error\|WP_REST_Response\:\:set_status\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-order-refunds-v1-controller.php
+
+ -
+ message: '#^Call to an undefined method object\:\:get_sku\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-order-refunds-v1-controller.php
+
+ -
+ message: '#^Cannot access offset ''subtotal'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-order-refunds-v1-controller.php
+
+ -
+ message: '#^Cannot access offset ''total'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-order-refunds-v1-controller.php
+
+ -
+ message: '#^Cannot access property \$ID on WP_Post\|null\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-order-refunds-v1-controller.php
+
+ -
+ message: '#^Cannot call method get_amount\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-order-refunds-v1-controller.php
+
+ -
+ message: '#^Cannot call method get_date_created\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-order-refunds-v1-controller.php
+
+ -
+ message: '#^Cannot call method get_id\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-order-refunds-v1-controller.php
+
+ -
+ message: '#^Cannot call method get_item_total\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-order-refunds-v1-controller.php
+
+ -
+ message: '#^Cannot call method get_items\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-order-refunds-v1-controller.php
+
+ -
+ message: '#^Cannot call method get_line_subtotal\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-order-refunds-v1-controller.php
+
+ -
+ message: '#^Cannot call method get_line_total\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-order-refunds-v1-controller.php
+
+ -
+ message: '#^Cannot call method get_parent_id\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-order-refunds-v1-controller.php
+
+ -
+ message: '#^Cannot call method get_reason\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-order-refunds-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Order_Refunds_V1_Controller\:\:create_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-order-refunds-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Order_Refunds_V1_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-order-refunds-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Order_Refunds_V1_Controller\:\:prepare_links\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-order-refunds-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Order_Refunds_V1_Controller\:\:query_args\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-order-refunds-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Order_Refunds_V1_Controller\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-order-refunds-v1-controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Orders_V1_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 123 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-order-refunds-v1-controller.php
+
+ -
+ message: '#^Parameter \#1 \$amount of function wc_stock_amount expects float\|int, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-order-refunds-v1-controller.php
+
+ -
+ message: '#^Parameter \#1 \$data of function maybe_unserialize expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-order-refunds-v1-controller.php
+
+ -
+ message: '#^Parameter \#1 \$data_object of method WP_REST_Controller\:\:update_additional_fields_for_object\(\) expects object, WP_Post\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-order-refunds-v1-controller.php
+
+ -
+ message: '#^Parameter \#1 \$hideprefix of method WC_Order_Item\:\:get_all_formatted_meta_data\(\) expects string, string\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-order-refunds-v1-controller.php
+
+ -
+ message: '#^Parameter \#1 \$number of function wc_format_decimal expects float\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-order-refunds-v1-controller.php
+
+ -
+ message: '#^Parameter \#1 \$post of method WC_REST_Order_Refunds_V1_Controller\:\:prepare_item_for_response\(\) expects WP_Post, WP_Post\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-order-refunds-v1-controller.php
+
+ -
+ message: '#^Parameter \#1 \$refund \(WC_Order_Refund\) of method WC_REST_Order_Refunds_V1_Controller\:\:prepare_links\(\) should be compatible with parameter \$order \(WC_Order\) of method WC_REST_Orders_V1_Controller\:\:prepare_links\(\)$#'
+ identifier: method.childParameterType
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-order-refunds-v1-controller.php
+
+ -
+ message: '#^Parameter \#1 \$refund of method WC_REST_Order_Refunds_V1_Controller\:\:prepare_links\(\) expects WC_Order_Refund, WC_Order\|WC_Order_Refund\|true given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-order-refunds-v1-controller.php
+
+ -
+ message: '#^Parameter \#2 \$replace of function str_replace expects array\<string\>\|string, int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-order-refunds-v1-controller.php
+
+ -
+ message: '#^Possibly invalid array key type mixed\.$#'
+ identifier: offsetAccess.invalidOffset
+ count: 2
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-order-refunds-v1-controller.php
+
+ -
+ message: '#^@param WP_Post \$post does not accept actual type of parameter\: WP_Post\|null\.$#'
+ identifier: parameter.phpDocType
+ count: 2
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+
+ -
+ message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
+ count: 4
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+
+ -
+ message: '#^Call to an undefined method Exception\:\:getErrorCode\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_discount\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_discount_tax\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_product\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_product_id\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_variation_id\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Order\|WP_Error\:\:calculate_totals\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Order\|WP_Error\:\:get_id\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Order\|WP_Error\:\:needs_payment\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Order\|WP_Error\:\:payment_complete\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Order\|WP_Error\:\:save\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Order\|WP_Error\:\:set_created_via\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Order\|WP_Error\:\:set_prices_include_tax\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+
+ -
+ message: '#^Call to an undefined method object\:\:get_sku\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+
+ -
+ message: '#^Cannot access offset ''subtotal'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+
+ -
+ message: '#^Cannot access offset ''total'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+
+ -
+ message: '#^Cannot access property \$ID on WP_Post\|null\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+
+ -
+ message: '#^Cannot call method get_address\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+
+ -
+ message: '#^Cannot call method get_cart_hash\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+
+ -
+ message: '#^Cannot call method get_cart_tax\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+
+ -
+ message: '#^Cannot call method get_created_via\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+
+ -
+ message: '#^Cannot call method get_currency\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+
+ -
+ message: '#^Cannot call method get_customer_id\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+
+ -
+ message: '#^Cannot call method get_customer_ip_address\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+
+ -
+ message: '#^Cannot call method get_customer_note\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+
+ -
+ message: '#^Cannot call method get_customer_user_agent\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+
+ -
+ message: '#^Cannot call method get_date_completed\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+
+ -
+ message: '#^Cannot call method get_date_created\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+
+ -
+ message: '#^Cannot call method get_date_modified\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+
+ -
+ message: '#^Cannot call method get_date_paid\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+
+ -
+ message: '#^Cannot call method get_discount_tax\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+
+ -
+ message: '#^Cannot call method get_fees\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+
+ -
+ message: '#^Cannot call method get_id\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 3
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+
+ -
+ message: '#^Cannot call method get_id\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+
+ -
+ message: '#^Cannot call method get_item_total\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+
+ -
+ message: '#^Cannot call method get_items\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 3
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+
+ -
+ message: '#^Cannot call method get_line_subtotal\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+
+ -
+ message: '#^Cannot call method get_line_tax\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+
+ -
+ message: '#^Cannot call method get_line_total\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+
+ -
+ message: '#^Cannot call method get_order_key\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+
+ -
+ message: '#^Cannot call method get_order_number\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+
+ -
+ message: '#^Cannot call method get_parent_id\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+
+ -
+ message: '#^Cannot call method get_payment_method\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+
+ -
+ message: '#^Cannot call method get_payment_method_title\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+
+ -
+ message: '#^Cannot call method get_prices_include_tax\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+
+ -
+ message: '#^Cannot call method get_refunds\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+
+ -
+ message: '#^Cannot call method get_shipping_methods\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+
+ -
+ message: '#^Cannot call method get_shipping_tax\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+
+ -
+ message: '#^Cannot call method get_shipping_total\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+
+ -
+ message: '#^Cannot call method get_status\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+
+ -
+ message: '#^Cannot call method get_total\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+
+ -
+ message: '#^Cannot call method get_total_discount\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+
+ -
+ message: '#^Cannot call method get_total_tax\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+
+ -
+ message: '#^Cannot call method get_transaction_id\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+
+ -
+ message: '#^Cannot call method get_version\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+
+ -
+ message: '#^Dead catch \- WC_REST_Exception is already caught above\.$#'
+ identifier: catch.alreadyCaught
+ count: 2
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Orders_V1_Controller\:\:create_base_order\(\) should return WC_Order but returns WC_Order\|WP_Error\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Orders_V1_Controller\:\:create_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Orders_V1_Controller\:\:create_order\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Orders_V1_Controller\:\:delete_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Orders_V1_Controller\:\:get_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Orders_V1_Controller\:\:maybe_set_item_prop\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Orders_V1_Controller\:\:maybe_set_item_props\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Orders_V1_Controller\:\:prepare_item_for_database\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Orders_V1_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Orders_V1_Controller\:\:prepare_links\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Orders_V1_Controller\:\:prepare_shipping_lines\(\) has parameter \$posted with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Orders_V1_Controller\:\:query_args\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Orders_V1_Controller\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Orders_V1_Controller\:\:set_item\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Orders_V1_Controller\:\:update_address\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Orders_V1_Controller\:\:update_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Orders_V1_Controller\:\:update_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Orders_V1_Controller\:\:update_order\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Posts_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 112 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+
+ -
+ message: '#^Parameter \#1 \$amount of function wc_stock_amount expects float\|int, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+
+ -
+ message: '#^Parameter \#1 \$data of function maybe_unserialize expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+
+ -
+ message: '#^Parameter \#1 \$data_object of method WP_REST_Controller\:\:update_additional_fields_for_object\(\) expects object, WP_Post\|null given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+
+ -
+ message: '#^Parameter \#1 \$hideprefix of method WC_Order_Item\:\:get_all_formatted_meta_data\(\) expects string, string\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+
+ -
+ message: '#^Parameter \#1 \$item_id of method WC_Abstract_Order\:\:remove_item\(\) expects int, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+
+ -
+ message: '#^Parameter \#1 \$number of function wc_format_decimal expects float\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 5
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+
+ -
+ message: '#^Parameter \#1 \$order \(WC_Order\) of method WC_REST_Orders_V1_Controller\:\:prepare_links\(\) should be compatible with parameter \$post \(WP_Post\) of method WC_REST_Posts_Controller\:\:prepare_links\(\)$#'
+ identifier: method.childParameterType
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+
+ -
+ message: '#^Parameter \#1 \$order of method WC_REST_Orders_V1_Controller\:\:prepare_links\(\) expects WC_Order, bool\|WC_Order\|WC_Order_Refund given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+
+ -
+ message: '#^Parameter \#1 \$post of method WC_REST_Orders_V1_Controller\:\:prepare_item_for_response\(\) expects WP_Post, WP_Post\|null given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+
+ -
+ message: '#^Parameter \#1 \$value of method WC_Order_Item_Product\:\:set_subtotal\(\) expects string, float\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+
+ -
+ message: '#^Parameter \#1 \$value of method WC_Order_Item_Product\:\:set_total\(\) expects string, float\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+
+ -
+ message: '#^Parameter \#1 \$value of static method Automattic\\WooCommerce\\Utilities\\StringUtil\:\:is_null_or_whitespace\(\) expects string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+
+ -
+ message: '#^Possibly invalid array key type mixed\.$#'
+ identifier: offsetAccess.invalidOffset
+ count: 4
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-orders-v1-controller.php
+
+ -
+ message: '#^Cannot cast mixed to int\.$#'
+ identifier: cast.int
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attribute-terms-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Product_Attribute_Terms_V1_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attribute-terms-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Product_Attribute_Terms_V1_Controller\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attribute-terms-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Product_Attribute_Terms_V1_Controller\:\:update_term_meta_fields\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attribute-terms-v1-controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Terms_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 129 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attribute-terms-v1-controller.php
+
+ -
+ message: '#^@param stdObject \$attribute does not accept actual type of parameter\: stdClass\.$#'
+ identifier: parameter.phpDocType
+ count: 3
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attributes-v1-controller.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$attribute_id\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attributes-v1-controller.php
+
+ -
+ message: '#^Access to property \$attribute_id on an unknown class obj\.$#'
+ identifier: class.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attributes-v1-controller.php
+
+ -
+ message: '#^Access to property \$attribute_label on an unknown class obj\.$#'
+ identifier: class.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attributes-v1-controller.php
+
+ -
+ message: '#^Access to property \$attribute_name on an unknown class obj\.$#'
+ identifier: class.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attributes-v1-controller.php
+
+ -
+ message: '#^Access to property \$attribute_orderby on an unknown class obj\.$#'
+ identifier: class.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attributes-v1-controller.php
+
+ -
+ message: '#^Access to property \$attribute_public on an unknown class obj\.$#'
+ identifier: class.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attributes-v1-controller.php
+
+ -
+ message: '#^Access to property \$attribute_type on an unknown class obj\.$#'
+ identifier: class.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attributes-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Product_Attributes_V1_Controller\:\:batch_items_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attributes-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Product_Attributes_V1_Controller\:\:create_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attributes-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Product_Attributes_V1_Controller\:\:create_item\(\) return type with generic class WP_REST_Request does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attributes-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Product_Attributes_V1_Controller\:\:create_item\(\) should return WP_Error\|WP_REST_Request but returns WP_REST_Response\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attributes-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Product_Attributes_V1_Controller\:\:create_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attributes-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Product_Attributes_V1_Controller\:\:delete_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attributes-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Product_Attributes_V1_Controller\:\:delete_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attributes-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Product_Attributes_V1_Controller\:\:flush_rewrite_rules\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attributes-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Product_Attributes_V1_Controller\:\:get_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attributes-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Product_Attributes_V1_Controller\:\:get_item\(\) return type with generic class WP_REST_Request does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attributes-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Product_Attributes_V1_Controller\:\:get_item\(\) should return WP_Error\|WP_REST_Request but returns WP_REST_Response\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attributes-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Product_Attributes_V1_Controller\:\:get_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attributes-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Product_Attributes_V1_Controller\:\:get_items\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attributes-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Product_Attributes_V1_Controller\:\:get_items\(\) should return array but returns WP_REST_Response\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attributes-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Product_Attributes_V1_Controller\:\:get_items_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attributes-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Product_Attributes_V1_Controller\:\:get_taxonomy\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attributes-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Product_Attributes_V1_Controller\:\:get_taxonomy\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attributes-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Product_Attributes_V1_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attributes-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Product_Attributes_V1_Controller\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attributes-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Product_Attributes_V1_Controller\:\:update_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attributes-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Product_Attributes_V1_Controller\:\:update_item\(\) return type with generic class WP_REST_Request does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attributes-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Product_Attributes_V1_Controller\:\:update_item\(\) should return WP_Error\|WP_REST_Request but returns WP_REST_Response\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attributes-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Product_Attributes_V1_Controller\:\:update_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attributes-v1-controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 118 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attributes-v1-controller.php
+
+ -
+ message: '#^Parameter \#1 \$item of method WC_REST_Product_Attributes_V1_Controller\:\:prepare_item_for_response\(\) expects obj, stdClass given\.$#'
+ identifier: argument.type
+ count: 4
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attributes-v1-controller.php
+
+ -
+ message: '#^Parameter \#2 \$value of method WP_HTTP_Response\:\:header\(\) expects string, int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attributes-v1-controller.php
+
+ -
+ message: '#^Parameter \#2 \$value of method WP_HTTP_Response\:\:header\(\) expects string, int\<0, max\> given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attributes-v1-controller.php
+
+ -
+ message: '#^Parameter \$item of method WC_REST_Product_Attributes_V1_Controller\:\:prepare_item_for_response\(\) has invalid type obj\.$#'
+ identifier: class.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attributes-v1-controller.php
+
+ -
+ message: '#^Return type \(array\) of method WC_REST_Product_Attributes_V1_Controller\:\:get_items\(\) should be compatible with return type \(WP_Error\|WP_REST_Response\) of method WP_REST_Controller\:\:get_items\(\)$#'
+ identifier: method.childReturnType
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-attributes-v1-controller.php
+
+ -
+ message: '#^Cannot access property \$post_date_gmt on WP_Post\|null\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-categories-v1-controller.php
+
+ -
+ message: '#^Cannot access property \$post_modified_gmt on WP_Post\|null\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-categories-v1-controller.php
+
+ -
+ message: '#^Cannot cast mixed to int\.$#'
+ identifier: cast.int
+ count: 2
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-categories-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Product_Categories_V1_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-categories-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Product_Categories_V1_Controller\:\:update_term_meta_fields\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-categories-v1-controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Terms_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 124 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-categories-v1-controller.php
+
+ -
+ message: '#^Parameter \#1 \$attachment_id of function wp_get_attachment_url expects int, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-categories-v1-controller.php
+
+ -
+ message: '#^Parameter \#1 \$post of function get_post expects int\|WP_Post\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-categories-v1-controller.php
+
+ -
+ message: '#^Parameter \#1 \$post of function get_the_title expects int\|WP_Post, WP_Post\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-categories-v1-controller.php
+
+ -
+ message: '#^Parameter \#1 \$post_id of function get_post_meta expects int, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-categories-v1-controller.php
+
+ -
+ message: '#^Parameter \#1 \$postarr of function wp_update_post expects array\{ID\?\: int, post_author\?\: int, post_date\?\: string, post_date_gmt\?\: string, post_content\?\: string, post_content_filtered\?\: string, post_title\?\: string, post_excerpt\?\: string, \.\.\.\}, array\{ID\: int\<min, \-1\>\|int\<1, max\>, post_title\: array\|string\} given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-categories-v1-controller.php
+
+ -
+ message: '#^@param WP_Comment \$comment does not accept actual type of parameter\: WP_Comment\|null\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-reviews-v1-controller.php
+
+ -
+ message: '#^@param WP_Comment \$product_review does not accept actual type of parameter\: WP_Comment\|null\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-reviews-v1-controller.php
+
+ -
+ message: '#^@param WP_Post \$product_review does not accept actual type of parameter\: WP_Comment\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-reviews-v1-controller.php
+
+ -
+ message: '#^@param array \$prepared_review does not accept actual type of parameter\: array\|WP_Error\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-reviews-v1-controller.php
+
+ -
+ message: '#^Cannot cast mixed to int\.$#'
+ identifier: cast.int
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-reviews-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Product_Reviews_V1_Controller\:\:create_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-reviews-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Product_Reviews_V1_Controller\:\:create_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-reviews-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Product_Reviews_V1_Controller\:\:delete_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-reviews-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Product_Reviews_V1_Controller\:\:delete_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-reviews-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Product_Reviews_V1_Controller\:\:get_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-reviews-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Product_Reviews_V1_Controller\:\:get_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-reviews-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Product_Reviews_V1_Controller\:\:get_items\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-reviews-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Product_Reviews_V1_Controller\:\:get_items\(\) should return array\|WP_Error but returns WP_REST_Response\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-reviews-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Product_Reviews_V1_Controller\:\:get_items_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-reviews-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Product_Reviews_V1_Controller\:\:get_review\(\) should return WP_Comment but returns WP_Error\.$#'
+ identifier: return.type
+ count: 2
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-reviews-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Product_Reviews_V1_Controller\:\:prepare_item_for_database\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-reviews-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Product_Reviews_V1_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-reviews-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Product_Reviews_V1_Controller\:\:prepare_links\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-reviews-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Product_Reviews_V1_Controller\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-reviews-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Product_Reviews_V1_Controller\:\:update_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-reviews-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Product_Reviews_V1_Controller\:\:update_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-reviews-v1-controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 115 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-reviews-v1-controller.php
+
+ -
+ message: '#^Parameter \#1 \$comment_id of function get_comment_meta expects int, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-reviews-v1-controller.php
+
+ -
+ message: '#^Parameter \#1 \$comment_id of function wc_review_is_from_verified_owner expects int, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-reviews-v1-controller.php
+
+ -
+ message: '#^Parameter \#1 \$comment_id of function wp_trash_comment expects int\|WP_Comment, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-reviews-v1-controller.php
+
+ -
+ message: '#^Parameter \#1 \$commentarr of function wp_update_comment expects array, array\|WP_Error given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-reviews-v1-controller.php
+
+ -
+ message: '#^Parameter \#1 \$data_object of method WP_REST_Controller\:\:update_additional_fields_for_object\(\) expects object, WP_Comment\|null given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-reviews-v1-controller.php
+
+ -
+ message: '#^Parameter \#1 \$review of method WC_REST_Product_Reviews_V1_Controller\:\:prepare_item_for_response\(\) expects WP_Comment, WP_Comment\|null given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-reviews-v1-controller.php
+
+ -
+ message: '#^Parameter \#2 \$object_id of function wc_rest_check_product_reviews_permissions expects string, int given\.$#'
+ identifier: argument.type
+ count: 3
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-reviews-v1-controller.php
+
+ -
+ message: '#^Parameter \#2 \$replace of function str_replace expects array\<string\>\|string, int given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-reviews-v1-controller.php
+
+ -
+ message: '#^Access to property \$count on an unknown class obj\.$#'
+ identifier: class.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-shipping-classes-v1-controller.php
+
+ -
+ message: '#^Access to property \$description on an unknown class obj\.$#'
+ identifier: class.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-shipping-classes-v1-controller.php
+
+ -
+ message: '#^Access to property \$name on an unknown class obj\.$#'
+ identifier: class.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-shipping-classes-v1-controller.php
+
+ -
+ message: '#^Access to property \$slug on an unknown class obj\.$#'
+ identifier: class.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-shipping-classes-v1-controller.php
+
+ -
+ message: '#^Access to property \$term_id on an unknown class obj\.$#'
+ identifier: class.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-shipping-classes-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Product_Shipping_Classes_V1_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-shipping-classes-v1-controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Terms_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 130 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-shipping-classes-v1-controller.php
+
+ -
+ message: '#^Parameter \$item of method WC_REST_Product_Shipping_Classes_V1_Controller\:\:prepare_item_for_response\(\) has invalid type obj\.$#'
+ identifier: class.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-shipping-classes-v1-controller.php
+
+ -
+ message: '#^Access to property \$count on an unknown class obj\.$#'
+ identifier: class.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-tags-v1-controller.php
+
+ -
+ message: '#^Access to property \$description on an unknown class obj\.$#'
+ identifier: class.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-tags-v1-controller.php
+
+ -
+ message: '#^Access to property \$name on an unknown class obj\.$#'
+ identifier: class.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-tags-v1-controller.php
+
+ -
+ message: '#^Access to property \$slug on an unknown class obj\.$#'
+ identifier: class.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-tags-v1-controller.php
+
+ -
+ message: '#^Access to property \$term_id on an unknown class obj\.$#'
+ identifier: class.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-tags-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Product_Tags_V1_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-tags-v1-controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Terms_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 118 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-tags-v1-controller.php
+
+ -
+ message: '#^Parameter \$item of method WC_REST_Product_Tags_V1_Controller\:\:prepare_item_for_response\(\) has invalid type obj\.$#'
+ identifier: class.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-product-tags-v1-controller.php
+
+ -
+ message: '#^@param WC_Product \$product does not accept actual type of parameter\: object\|false\|null\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+
+ -
+ message: '#^@param WP_Post \$post does not accept actual type of parameter\: WP_Post\|null\.$#'
+ identifier: parameter.phpDocType
+ count: 2
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Product\:\:get_button_text\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Product\:\:get_product_url\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Product\:\:get_variation_attributes\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Product\:\:set_button_text\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Product\:\:set_product_url\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+
+ -
+ message: '#^Call to an undefined method object\:\:get_shipping_class_id_by_slug\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+
+ -
+ message: '#^Cannot access offset ''alt'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+
+ -
+ message: '#^Cannot access offset ''id'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+
+ -
+ message: '#^Cannot access offset ''name'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+
+ -
+ message: '#^Cannot access offset ''option'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+
+ -
+ message: '#^Cannot access offset ''position'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+
+ -
+ message: '#^Cannot access offset ''src'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+
+ -
+ message: '#^Cannot access property \$ID on WP_Post\|null\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+
+ -
+ message: '#^Cannot assign offset ''category''\|''shipping_class''\|''tag'' to WP_REST_Request\.$#'
+ identifier: offsetAssign.dimType
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+
+ -
+ message: '#^Cannot call method delete\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 3
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+
+ -
+ message: '#^Cannot call method get_children\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 3
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+
+ -
+ message: '#^Cannot call method get_id\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+
+ -
+ message: '#^Cannot call method get_status\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+
+ -
+ message: '#^Cannot call method has_child\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+
+ -
+ message: '#^Cannot call method is_type\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 3
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+
+ -
+ message: '#^Cannot call method save\(\) on stdClass\|WP_Error\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+
+ -
+ message: '#^Cannot call method set_description\(\) on object\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+
+ -
+ message: '#^Cannot call method set_menu_order\(\) on object\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+
+ -
+ message: '#^Cannot call method set_name\(\) on object\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+
+ -
+ message: '#^Cannot call method set_reviews_allowed\(\) on object\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+
+ -
+ message: '#^Cannot call method set_short_description\(\) on object\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+
+ -
+ message: '#^Cannot call method set_slug\(\) on object\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+
+ -
+ message: '#^Cannot call method set_status\(\) on object\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+
+ -
+ message: '#^Constant WC_DELIMITER not found\.$#'
+ identifier: constant.notFound
+ count: 2
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+
+ -
+ message: '#^Dead catch \- WC_REST_Exception is already caught above\.$#'
+ identifier: catch.alreadyCaught
+ count: 2
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+
+ -
+ message: '#^Function set_product_images not found\.$#'
+ identifier: function.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Products_V1_Controller\:\:add_post_meta_fields\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Products_V1_Controller\:\:clear_transients\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Products_V1_Controller\:\:create_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Products_V1_Controller\:\:delete_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Products_V1_Controller\:\:delete_post\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Products_V1_Controller\:\:prepare_item_for_database\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Products_V1_Controller\:\:prepare_item_for_database\(\) should return stdClass\|WP_Error but returns WC_Product\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Products_V1_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Products_V1_Controller\:\:prepare_links\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Products_V1_Controller\:\:query_args\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Products_V1_Controller\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Products_V1_Controller\:\:save_default_attributes\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Products_V1_Controller\:\:save_product\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Products_V1_Controller\:\:save_product_images\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Products_V1_Controller\:\:save_product_meta\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Products_V1_Controller\:\:save_variations_data\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Products_V1_Controller\:\:set_product_meta\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Products_V1_Controller\:\:update_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Products_V1_Controller\:\:update_post_meta_fields\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Posts_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 114 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+
+ -
+ message: '#^Parameter \#1 \$amount of function wc_stock_amount expects float\|int, int\|null given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+
+ -
+ message: '#^Parameter \#1 \$classname of function class_exists expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+
+ -
+ message: '#^Parameter \#1 \$data_object of method WP_REST_Controller\:\:update_additional_fields_for_object\(\) expects object, WP_Post\|null given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+
+ -
+ message: '#^Parameter \#1 \$dimensions_unit of static method Automattic\\WooCommerce\\Utilities\\I18nUtil\:\:get_dimensions_unit_label\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+
+ -
+ message: '#^Parameter \#1 \$manage_stock of method WC_Product\:\:set_manage_stock\(\) expects bool, string given\.$#'
+ identifier: argument.type
+ count: 3
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+
+ -
+ message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 3
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+
+ -
+ message: '#^Parameter \#1 \$post of method WC_REST_Products_V1_Controller\:\:prepare_item_for_response\(\) expects WP_Post, WP_Post\|null given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+
+ -
+ message: '#^Parameter \#1 \$post of method WC_REST_Products_V1_Controller\:\:update_post_meta_fields\(\) expects WP_Post, WP_Post\|null given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+
+ -
+ message: '#^Parameter \#1 \$postarr of function wp_update_post expects array\{ID\?\: int, post_author\?\: int, post_date\?\: string, post_date_gmt\?\: string, post_content\?\: string, post_content_filtered\?\: string, post_title\?\: string, post_excerpt\?\: string, \.\.\.\}, array\{ID\: int, post_title\: mixed\} given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+
+ -
+ message: '#^Parameter \#1 \$product \(WC_Product\) of method WC_REST_Products_V1_Controller\:\:prepare_links\(\) should be compatible with parameter \$post \(WP_Post\) of method WC_REST_Posts_Controller\:\:prepare_links\(\)$#'
+ identifier: method.childParameterType
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+
+ -
+ message: '#^Parameter \#1 \$product of method WC_REST_Products_V1_Controller\:\:get_product_data\(\) expects WC_Product, WC_Product\|false\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+
+ -
+ message: '#^Parameter \#1 \$product of method WC_REST_Products_V1_Controller\:\:get_variation_data\(\) expects WC_Product, WC_Product\|false\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+
+ -
+ message: '#^Parameter \#1 \$product of method WC_REST_Products_V1_Controller\:\:prepare_links\(\) expects WC_Product, WC_Product\|false\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+
+ -
+ message: '#^Parameter \#1 \$product of method WC_REST_Products_V1_Controller\:\:set_product_images\(\) expects WC_Product, WC_Product\|false\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+
+ -
+ message: '#^Parameter \#1 \$product of method WC_REST_Products_V1_Controller\:\:set_product_meta\(\) expects WC_Product, WC_Product\|false\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+
+ -
+ message: '#^Parameter \#1 \$quantity of method WC_Product\:\:set_stock_quantity\(\) expects float\|null, string given\.$#'
+ identifier: argument.type
+ count: 4
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+
+ -
+ message: '#^Parameter \#1 \$sku of method WC_Product\:\:set_sku\(\) expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+
+ -
+ message: '#^Parameter \#1 \$str of function stripslashes expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+
+ -
+ message: '#^Parameter \#1 \$tax of function get_taxonomy_labels expects WP_Taxonomy, WP_Taxonomy\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+
+ -
+ message: '#^Parameter \#1 \$title of function sanitize_title expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+
+ -
+ message: '#^Parameter \#1 \$title of function sanitize_title expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+
+ -
+ message: '#^Parameter \#1 \$url of function esc_url_raw expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+
+ -
+ message: '#^Parameter \#1 \$value of method WC_Product_Attribute\:\:set_name\(\) expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+
+ -
+ message: '#^Parameter \#1 \$value of method WC_Product_Attribute\:\:set_options\(\) expects array, array\<mixed\>\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+
+ -
+ message: '#^Parameter \#1 \$value of method WC_Product_Attribute\:\:set_position\(\) expects int, string given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+
+ -
+ message: '#^Parameter \#1 \$value of method WC_Product_Attribute\:\:set_variation\(\) expects bool, int given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+
+ -
+ message: '#^Parameter \#1 \$value of method WC_Product_Attribute\:\:set_visible\(\) expects bool, int given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+
+ -
+ message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+
+ -
+ message: '#^Parameter \#1 \$weight_unit of static method Automattic\\WooCommerce\\Utilities\\I18nUtil\:\:get_weight_unit_label\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+
+ -
+ message: '#^Parameter \#2 \$callback of function array_filter expects \(callable\(mixed\)\: bool\)\|null, ''strlen'' given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+
+ -
+ message: '#^Parameter \#2 \$callback of function array_filter expects \(callable\(string\)\: bool\)\|null, ''strlen'' given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+
+ -
+ message: '#^Parameter \#2 \$data of method WC_REST_Products_V1_Controller\:\:save_product_shipping_data\(\) expects array, WP_REST_Request given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+
+ -
+ message: '#^Parameter \#2 \$value of function get_term_by expects int\|string, array\|string given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+
+ -
+ message: '#^WP_REST_Request does not accept array\<mixed\>\.$#'
+ identifier: offsetAssign.valueType
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Admin_Report\:\:get_report_data\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-report-sales-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Report_Sales_V1_Controller\:\:get_items\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-report-sales-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Report_Sales_V1_Controller\:\:get_items\(\) should return array\|WP_Error but returns WP_REST_Response\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-report-sales-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Report_Sales_V1_Controller\:\:get_items_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-report-sales-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Report_Sales_V1_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-report-sales-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Report_Sales_V1_Controller\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-report-sales-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Report_Sales_V1_Controller\:\:setup_report\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-report-sales-v1-controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 112 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-report-sales-v1-controller.php
+
+ -
+ message: '#^Parameter \#2 \$timestamp of function date expects int, int\|false given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-report-sales-v1-controller.php
+
+ -
+ message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-report-top-sellers-v1-controller.php
+
+ -
+ message: '#^Cannot access property \$order_item_qty on mixed\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-report-top-sellers-v1-controller.php
+
+ -
+ message: '#^Cannot access property \$product_id on mixed\.$#'
+ identifier: property.nonObject
+ count: 2
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-report-top-sellers-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Report_Top_Sellers_V1_Controller\:\:get_items\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-report-top-sellers-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Report_Top_Sellers_V1_Controller\:\:get_items\(\) should return array\|WP_Error but returns WP_REST_Response\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-report-top-sellers-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Report_Top_Sellers_V1_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-report-top-sellers-v1-controller.php
+
+ -
+ message: '#^Offset ''limit'' on array\{period\: mixed, date_min\: mixed, date_max\: mixed\} in isset\(\) does not exist\.$#'
+ identifier: isset.offset
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-report-top-sellers-v1-controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Report_Sales_V1_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 134 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-report-top-sellers-v1-controller.php
+
+ -
+ message: '#^Parameter \#1 \$top_seller \(stdClass\) of method WC_REST_Report_Top_Sellers_V1_Controller\:\:prepare_item_for_response\(\) should be compatible with parameter \$_ \(null\) of method WC_REST_Report_Sales_V1_Controller\:\:prepare_item_for_response\(\)$#'
+ identifier: method.childParameterType
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-report-top-sellers-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Reports_V1_Controller\:\:get_items\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-reports-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Reports_V1_Controller\:\:get_items\(\) should return array\|WP_Error but returns WP_REST_Response\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-reports-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Reports_V1_Controller\:\:get_items_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-reports-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Reports_V1_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-reports-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Reports_V1_Controller\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-reports-v1-controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 107 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-reports-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Tax_Classes_V1_Controller\:\:create_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-tax-classes-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Tax_Classes_V1_Controller\:\:create_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-tax-classes-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Tax_Classes_V1_Controller\:\:delete_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-tax-classes-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Tax_Classes_V1_Controller\:\:delete_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-tax-classes-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Tax_Classes_V1_Controller\:\:get_items\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-tax-classes-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Tax_Classes_V1_Controller\:\:get_items\(\) should return array but returns WP_REST_Response\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-tax-classes-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Tax_Classes_V1_Controller\:\:get_items_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-tax-classes-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Tax_Classes_V1_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-tax-classes-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Tax_Classes_V1_Controller\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-tax-classes-v1-controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 111 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-tax-classes-v1-controller.php
+
+ -
+ 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: includes/rest-api/Controllers/Version1/class-wc-rest-tax-classes-v1-controller.php
+
+ -
+ message: '#^Parameter \#1 \$tax_class of method WC_REST_Tax_Classes_V1_Controller\:\:prepare_item_for_response\(\) expects array, array\|true given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-tax-classes-v1-controller.php
+
+ -
+ message: '#^Parameter \#2 \$value of method WP_HTTP_Response\:\:header\(\) expects string, int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-tax-classes-v1-controller.php
+
+ -
+ message: '#^Parameter \#2 \$value of method WP_HTTP_Response\:\:header\(\) expects string, int\<1, max\> given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-tax-classes-v1-controller.php
+
+ -
+ message: '#^Return type \(array\) of method WC_REST_Tax_Classes_V1_Controller\:\:get_items\(\) should be compatible with return type \(WP_Error\|WP_REST_Response\) of method WP_REST_Controller\:\:get_items\(\)$#'
+ identifier: method.childReturnType
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-tax-classes-v1-controller.php
+
+ -
+ message: '#^@param stdClass \$tax does not accept actual type of parameter\: non\-empty\-array\|object\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-taxes-v1-controller.php
+
+ -
+ message: '#^@param stdClass \$tax does not accept actual type of parameter\: object\.$#'
+ identifier: parameter.phpDocType
+ count: 2
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-taxes-v1-controller.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$tax_rate_id\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-taxes-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Taxes_V1_Controller\:\:batch_items_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-taxes-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Taxes_V1_Controller\:\:create_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-taxes-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Taxes_V1_Controller\:\:create_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-taxes-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Taxes_V1_Controller\:\:create_or_update_tax\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-taxes-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Taxes_V1_Controller\:\:create_or_update_tax\(\) should return object but returns array\|object\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-taxes-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Taxes_V1_Controller\:\:delete_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-taxes-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Taxes_V1_Controller\:\:delete_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-taxes-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Taxes_V1_Controller\:\:get_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-taxes-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Taxes_V1_Controller\:\:get_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-taxes-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Taxes_V1_Controller\:\:get_items\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-taxes-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Taxes_V1_Controller\:\:get_items_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-taxes-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Taxes_V1_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-taxes-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Taxes_V1_Controller\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-taxes-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Taxes_V1_Controller\:\:update_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-taxes-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Taxes_V1_Controller\:\:update_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-taxes-v1-controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 105 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-taxes-v1-controller.php
+
+ -
+ message: '#^Parameter \#1 \$tax of method WC_REST_Taxes_V1_Controller\:\:prepare_item_for_response\(\) expects stdClass, array\|object given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-taxes-v1-controller.php
+
+ -
+ message: '#^Parameter \#1 \$tax of method WC_REST_Taxes_V1_Controller\:\:prepare_item_for_response\(\) expects stdClass, object given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-taxes-v1-controller.php
+
+ -
+ message: '#^Parameter \#2 \$cities of static method WC_Tax\:\:_update_tax_rate_cities\(\) expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-taxes-v1-controller.php
+
+ -
+ message: '#^Parameter \#2 \$current of method WC_REST_Taxes_V1_Controller\:\:create_or_update_tax\(\) expects stdClass\|null, array\|object given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-taxes-v1-controller.php
+
+ -
+ message: '#^Parameter \#2 \$postcodes of static method WC_Tax\:\:_update_tax_rate_postcodes\(\) expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-taxes-v1-controller.php
+
+ -
+ message: '#^Parameter \#2 \$value of method WP_HTTP_Response\:\:header\(\) expects string, int given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-taxes-v1-controller.php
+
+ -
+ message: '#^Call to function is_null\(\) with mixed will always evaluate to false\.$#'
+ identifier: function.impossibleType
+ count: 2
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-webhook-deliveries-v1-controller.php
+
+ -
+ message: '#^Empty array passed to foreach\.$#'
+ identifier: foreach.emptyArray
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-webhook-deliveries-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Webhook_Deliveries_V1_Controller\:\:get_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-webhook-deliveries-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Webhook_Deliveries_V1_Controller\:\:get_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-webhook-deliveries-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Webhook_Deliveries_V1_Controller\:\:get_items\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-webhook-deliveries-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Webhook_Deliveries_V1_Controller\:\:get_items\(\) should return array\|WP_Error but returns WP_REST_Response\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-webhook-deliveries-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Webhook_Deliveries_V1_Controller\:\:get_items_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-webhook-deliveries-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Webhook_Deliveries_V1_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-webhook-deliveries-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Webhook_Deliveries_V1_Controller\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-webhook-deliveries-v1-controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 189 on line 6$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-webhook-deliveries-v1-controller.php
+
+ -
+ message: '#^Parameter \#2 \$replace of function str_replace expects array\<string\>\|string, int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-webhook-deliveries-v1-controller.php
+
+ -
+ message: '#^Result of \|\| is always true\.$#'
+ identifier: booleanOr.alwaysTrue
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-webhook-deliveries-v1-controller.php
+
+ -
+ message: '#^Unreachable statement \- code above always terminates\.$#'
+ identifier: deadCode.unreachable
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-webhook-deliveries-v1-controller.php
+
+ -
+ message: '#^Variable \$log in empty\(\) always exists and is always falsy\.$#'
+ identifier: empty.variable
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-webhook-deliveries-v1-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:search_webhooks\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-webhooks-v1-controller.php
+
+ -
+ message: '#^Call to function is_null\(\) with mixed will always evaluate to false\.$#'
+ identifier: function.impossibleType
+ count: 3
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-webhooks-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Webhooks_V1_Controller\:\:batch_items_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-webhooks-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Webhooks_V1_Controller\:\:create_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-webhooks-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Webhooks_V1_Controller\:\:create_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-webhooks-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Webhooks_V1_Controller\:\:delete_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-webhooks-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Webhooks_V1_Controller\:\:delete_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-webhooks-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Webhooks_V1_Controller\:\:get_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-webhooks-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Webhooks_V1_Controller\:\:get_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-webhooks-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Webhooks_V1_Controller\:\:get_items\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-webhooks-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Webhooks_V1_Controller\:\:get_items_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-webhooks-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Webhooks_V1_Controller\:\:prepare_item_for_database\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-webhooks-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Webhooks_V1_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-webhooks-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Webhooks_V1_Controller\:\:prepare_item_for_response\(\) should return WP_REST_Response but returns WP_Error\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-webhooks-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Webhooks_V1_Controller\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-webhooks-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Webhooks_V1_Controller\:\:update_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-webhooks-v1-controller.php
+
+ -
+ message: '#^Method WC_REST_Webhooks_V1_Controller\:\:update_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-webhooks-v1-controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 108 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-webhooks-v1-controller.php
+
+ -
+ message: '#^Parameter \#1 \$id of method WC_REST_Webhooks_V1_Controller\:\:prepare_item_for_response\(\) expects int, WC_Webhook given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version1/class-wc-rest-webhooks-v1-controller.php
+
+ -
+ message: '#^Cannot access offset ''id'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-coupons-v2-controller.php
+
+ -
+ message: '#^Cannot access offset ''key'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-coupons-v2-controller.php
+
+ -
+ message: '#^Cannot access offset ''value'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-coupons-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Coupons_V2_Controller\:\:prepare_object_for_database\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-coupons-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Coupons_V2_Controller\:\:prepare_object_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-coupons-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Coupons_V2_Controller\:\:prepare_objects_query\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-coupons-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Coupons_V2_Controller\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-coupons-v2-controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_CRUD_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 112 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-coupons-v2-controller.php
+
+ -
+ message: '#^Parameter \#1 \$key of method WC_Data\:\:update_meta_data\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-coupons-v2-controller.php
+
+ -
+ message: '#^Parameter \#2 \$value of method WC_Data\:\:update_meta_data\(\) expects array\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-coupons-v2-controller.php
+
+ -
+ message: '#^Parameter \#3 \$meta_id of method WC_Data\:\:update_meta_data\(\) expects int, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-coupons-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Customer_Downloads_V2_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-customer-downloads-v2-controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Customer_Downloads_V1_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 131 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-customer-downloads-v2-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Data\:\:get_avatar_url\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-customers-v2-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Data\:\:get_order_count\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-customers-v2-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Data\:\:get_total_spent\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-customers-v2-controller.php
+
+ -
+ message: '#^Cannot access offset ''id'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-customers-v2-controller.php
+
+ -
+ message: '#^Cannot access offset ''key'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-customers-v2-controller.php
+
+ -
+ message: '#^Cannot access offset ''value'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-customers-v2-controller.php
+
+ -
+ message: '#^Cannot call method getTimestamp\(\) on class\-string\<DateTime\>\|DateTime\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-customers-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Customers_V2_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-customers-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Customers_V2_Controller\:\:update_customer_meta_fields\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-customers-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Customers_V2_Controller\:\:update_customer_meta_fields\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-customers-v2-controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Customers_V1_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 122 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-customers-v2-controller.php
+
+ -
+ message: '#^Parameter \#1 \$key of method WC_Data\:\:update_meta_data\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-customers-v2-controller.php
+
+ -
+ message: '#^Parameter \#1 \$meta_key of function is_protected_meta expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-customers-v2-controller.php
+
+ -
+ message: '#^Parameter \#2 \$value of method WC_Data\:\:update_meta_data\(\) expects array\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-customers-v2-controller.php
+
+ -
+ message: '#^Parameter \#3 \$meta_id of method WC_Data\:\:update_meta_data\(\) expects int, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-customers-v2-controller.php
+
+ -
+ message: '#^Access to an undefined property WP_Error\|WP_REST_Response\:\:\$data\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-network-orders-v2-controller.php
+
+ -
+ message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-network-orders-v2-controller.php
+
+ -
+ message: '#^Cannot access offset ''blog'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-network-orders-v2-controller.php
+
+ -
+ message: '#^Cannot access offset ''customer'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-network-orders-v2-controller.php
+
+ -
+ message: '#^Cannot access offset ''edit_url'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-network-orders-v2-controller.php
+
+ -
+ message: '#^Cannot access offset ''formatted_total'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-network-orders-v2-controller.php
+
+ -
+ message: '#^Cannot access offset ''id'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-network-orders-v2-controller.php
+
+ -
+ message: '#^Cannot access offset ''status_name'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-network-orders-v2-controller.php
+
+ -
+ message: '#^Cannot call method get_billing_first_name\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-network-orders-v2-controller.php
+
+ -
+ message: '#^Cannot call method get_billing_last_name\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-network-orders-v2-controller.php
+
+ -
+ message: '#^Cannot call method get_formatted_order_total\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-network-orders-v2-controller.php
+
+ -
+ message: '#^Cannot call method get_id\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-network-orders-v2-controller.php
+
+ -
+ message: '#^Cannot call method get_status\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-network-orders-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Network_Orders_V2_Controller\:\:network_orders\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-network-orders-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Network_Orders_V2_Controller\:\:network_orders\(\) should return WP_REST_Response but returns WP_Error\|WP_REST_Response\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-network-orders-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Network_Orders_V2_Controller\:\:network_orders_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-network-orders-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Network_Orders_V2_Controller\:\:network_orders_permissions_check\(\) should return bool but returns bool\|WP_Error\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-network-orders-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Network_Orders_V2_Controller\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-network-orders-v2-controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Orders_V2_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 124 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-network-orders-v2-controller.php
+
+ -
+ message: '#^Parameter \#1 \$arr1 of function array_merge expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-network-orders-v2-controller.php
+
+ -
+ message: '#^Parameter \#1 \$input of function array_keys expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-network-orders-v2-controller.php
+
+ -
+ message: '#^Parameter \#1 \$main_str of function substr_compare expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-network-orders-v2-controller.php
+
+ -
+ message: '#^Parameter \#1 \$string of function strlen expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-network-orders-v2-controller.php
+
+ -
+ message: '#^Argument of an invalid type array\<int\|WP_Comment\>\|int supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-order-notes-v2-controller.php
+
+ -
+ message: '#^Cannot call method get_id\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-order-notes-v2-controller.php
+
+ -
+ message: '#^Cannot call method get_type\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-order-notes-v2-controller.php
+
+ -
+ message: '#^Function remove_filter invoked with 4 parameters, 2\-3 required\.$#'
+ identifier: arguments.count
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-order-notes-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Order_Notes_V2_Controller\:\:get_items\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-order-notes-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Order_Notes_V2_Controller\:\:get_items\(\) should return array\|WP_Error but returns WP_REST_Response\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-order-notes-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Order_Notes_V2_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-order-notes-v2-controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Order_Notes_V1_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 126 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-order-notes-v2-controller.php
+
+ -
+ message: '#^Parameter \#1 \$comment_id of function get_comment_meta expects int, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-order-notes-v2-controller.php
+
+ -
+ message: '#^Parameter \#1 \$note of method WC_REST_Order_Notes_V2_Controller\:\:prepare_item_for_response\(\) expects WP_Comment, int\|WP_Comment given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-order-notes-v2-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Data\:\:get_parent_id\(\)\.$#'
+ identifier: method.notFound
+ count: 3
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-order-refunds-v2-controller.php
+
+ -
+ message: '#^Cannot access offset ''id'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-order-refunds-v2-controller.php
+
+ -
+ message: '#^Cannot access offset ''key'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-order-refunds-v2-controller.php
+
+ -
+ message: '#^Cannot access offset ''value'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-order-refunds-v2-controller.php
+
+ -
+ message: '#^Cannot assign offset ''dp'' to WP_REST_Request\.$#'
+ identifier: offsetAssign.dimType
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-order-refunds-v2-controller.php
+
+ -
+ message: '#^Cannot call method get_id\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-order-refunds-v2-controller.php
+
+ -
+ message: '#^Dead catch \- WC_REST_Exception is already caught above\.$#'
+ identifier: catch.alreadyCaught
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-order-refunds-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Order_Refunds_V2_Controller\:\:get_object\(\) should return WC_Data but returns bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-order-refunds-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Order_Refunds_V2_Controller\:\:prepare_links\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-order-refunds-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Order_Refunds_V2_Controller\:\:prepare_object_for_database\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-order-refunds-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Order_Refunds_V2_Controller\:\:prepare_object_for_database\(\) should return WC_Data\|WP_Error but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-order-refunds-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Order_Refunds_V2_Controller\:\:prepare_object_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-order-refunds-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Order_Refunds_V2_Controller\:\:prepare_objects_query\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-order-refunds-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Order_Refunds_V2_Controller\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-order-refunds-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Order_Refunds_V2_Controller\:\:save_object\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-order-refunds-v2-controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Orders_V2_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 123 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-order-refunds-v2-controller.php
+
+ -
+ message: '#^Parameter \#1 \$key of method WC_Data\:\:update_meta_data\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-order-refunds-v2-controller.php
+
+ -
+ message: '#^Parameter \#2 \$value of method WC_Data\:\:update_meta_data\(\) expects array\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-order-refunds-v2-controller.php
+
+ -
+ message: '#^Parameter \#3 \$meta_id of method WC_Data\:\:update_meta_data\(\) expects int, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-order-refunds-v2-controller.php
+
+ -
+ message: '#^Property WC_REST_Order_Refunds_V2_Controller\:\:\$request \(array\) does not accept WP_REST_Request\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-order-refunds-v2-controller.php
+
+ -
+ message: '#^WP_REST_Request does not accept int\.$#'
+ identifier: offsetAssign.valueType
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-order-refunds-v2-controller.php
+
+ -
+ message: '#^Access to an undefined property WC_Meta_Data\:\:\$id\.$#'
+ identifier: property.notFound
+ count: 2
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
+
+ -
+ message: '#^Access to an undefined property WC_Meta_Data\:\:\$key\.$#'
+ identifier: property.notFound
+ count: 2
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
+
+ -
+ message: '#^Access to an undefined property WC_Meta_Data\:\:\$value\.$#'
+ identifier: property.notFound
+ count: 2
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Data\:\:calculate_totals\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Data\:\:get_customer_id\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Data\:\:get_parent_id\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Data\:\:needs_payment\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Data\:\:payment_complete\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Data\:\:set_created_via\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Data\:\:set_prices_include_tax\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Data\:\:set_status\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_total\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
+
+ -
+ message: '#^Call to an undefined method object\:\:get_product\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
+
+ -
+ message: '#^Call to an undefined method object\:\:set_product\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
+
+ -
+ message: '#^Call to an undefined method object\:\:set_subtotal\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
+
+ -
+ message: '#^Call to an undefined method object\:\:set_total\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
+
+ -
+ message: '#^Cannot access offset ''from'' on non\-empty\-array\|true\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
+
+ -
+ message: '#^Cannot access offset ''id'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
+
+ -
+ message: '#^Cannot access offset ''key'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
+
+ -
+ message: '#^Cannot access offset ''to'' on non\-empty\-array\|true\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
+
+ -
+ message: '#^Cannot access offset ''value'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
+
+ -
+ message: '#^Cannot access property \$max_num_pages on array\|object\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
+
+ -
+ message: '#^Cannot access property \$orders on array\|object\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
+
+ -
+ message: '#^Cannot access property \$total on array\|object\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
+
+ -
+ message: '#^Cannot assign offset ''context'' to WP_REST_Request\.$#'
+ identifier: offsetAssign.dimType
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
+
+ -
+ message: '#^Cannot assign offset ''dp'' to WP_REST_Request\.$#'
+ identifier: offsetAssign.dimType
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
+
+ -
+ message: '#^Cannot call method get_id\(\) on WC_Data\|true\.$#'
+ identifier: method.nonObject
+ count: 3
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
+
+ -
+ message: '#^Cannot call method get_title\(\) on class\-string\|object\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
+
+ -
+ message: '#^Cannot call method get_type\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
+
+ -
+ message: '#^Class WC_Order_Item referenced with incorrect case\: WC_Order_item\.$#'
+ identifier: class.nameCase
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
+
+ -
+ message: '#^Constant WC_ABSPATH not found\.$#'
+ identifier: constant.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
+
+ -
+ message: '#^Dead catch \- WC_REST_Exception is already caught above\.$#'
+ identifier: catch.alreadyCaught
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Orders_V2_Controller\:\:delete_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Orders_V2_Controller\:\:get_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Orders_V2_Controller\:\:maybe_set_item_meta_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Orders_V2_Controller\:\:maybe_set_item_prop\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Orders_V2_Controller\:\:maybe_set_item_props\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Orders_V2_Controller\:\:prepare_coupon_lines\(\) should return WC_Order_Item_Coupon but returns object\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Orders_V2_Controller\:\:prepare_fee_lines\(\) should return WC_Order_Item_Fee but returns object\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Orders_V2_Controller\:\:prepare_line_items\(\) should return WC_Order_Item_Product but returns object\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Orders_V2_Controller\:\:prepare_links\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Orders_V2_Controller\:\:prepare_object_for_database\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Orders_V2_Controller\:\:prepare_object_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Orders_V2_Controller\:\:prepare_object_for_response_core\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Orders_V2_Controller\:\:prepare_objects_query\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Orders_V2_Controller\:\:prepare_shipping_lines\(\) should return WC_Order_Item_Shipping but returns object\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Orders_V2_Controller\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Orders_V2_Controller\:\:save_object\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Orders_V2_Controller\:\:save_object\(\) should return WC_Data\|WP_Error but returns bool\|WC_Data\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Orders_V2_Controller\:\:set_item\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Orders_V2_Controller\:\:update_address\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Orders_V2_Controller\:\:update_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_CRUD_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 111 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
+
+ -
+ message: '#^Parameter \#1 \$hideprefix of method WC_Order_Item\:\:get_all_formatted_meta_data\(\) expects string, null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
+
+ -
+ message: '#^Parameter \#1 \$info of method WC_Coupon\:\:set_short_info\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
+
+ -
+ message: '#^Parameter \#1 \$item of method WC_REST_Orders_V2_Controller\:\:maybe_set_item_meta_data\(\) expects WC_Order_Item, object given\.$#'
+ identifier: argument.type
+ count: 4
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
+
+ -
+ message: '#^Parameter \#1 \$item of method WC_REST_Orders_V2_Controller\:\:maybe_set_item_props\(\) expects WC_Order_Item, object given\.$#'
+ identifier: argument.type
+ count: 4
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
+
+ -
+ message: '#^Parameter \#1 \$item_id of method WC_Abstract_Order\:\:remove_item\(\) expects int, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
+
+ -
+ message: '#^Parameter \#1 \$key of method WC_Data\:\:update_meta_data\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
+
+ -
+ message: '#^Parameter \#1 \$order of method WC_REST_Orders_V2_Controller\:\:get_formatted_item_data\(\) expects WC_Order, WC_Data given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
+
+ -
+ message: '#^Parameter \#1 \$request of method WC_REST_Controller\:\:get_fields_for_response\(\) expects WP_REST_Request, array given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
+
+ -
+ message: '#^Parameter \#1 \$request of method WC_REST_Controller\:\:get_meta_data_for_response\(\) expects WP_REST_Request, array given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
+
+ -
+ message: '#^Parameter \#1 \$value of static method Automattic\\WooCommerce\\Utilities\\StringUtil\:\:is_null_or_whitespace\(\) expects string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
+
+ -
+ message: '#^Parameter \#2 \$is_customer_note of method WC_Order\:\:add_order_note\(\) expects int, false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
+
+ -
+ message: '#^Parameter \#2 \$value of method WC_Data\:\:update_meta_data\(\) expects array\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
+
+ -
+ message: '#^Parameter \#3 \$meta_id of method WC_Data\:\:update_meta_data\(\) expects int, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
+
+ -
+ message: '#^Property WC_REST_Orders_V2_Controller\:\:\$request \(array\) does not accept WP_REST_Request\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
+
+ -
+ message: '#^WP_REST_Request does not accept int\.$#'
+ identifier: offsetAssign.valueType
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-orders-v2-controller.php
+
+ -
+ message: '#^Access to an undefined property WP_REST_Response\:\:\$description\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-payment-gateways-v2-controller.php
+
+ -
+ message: '#^Access to an undefined property WP_REST_Response\:\:\$enabled\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-payment-gateways-v2-controller.php
+
+ -
+ message: '#^Access to an undefined property WP_REST_Response\:\:\$form_fields\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-payment-gateways-v2-controller.php
+
+ -
+ message: '#^Access to an undefined property WP_REST_Response\:\:\$id\.$#'
+ identifier: property.notFound
+ count: 2
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-payment-gateways-v2-controller.php
+
+ -
+ message: '#^Access to an undefined property WP_REST_Response\:\:\$order\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-payment-gateways-v2-controller.php
+
+ -
+ message: '#^Access to an undefined property WP_REST_Response\:\:\$settings\.$#'
+ identifier: property.notFound
+ count: 2
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-payment-gateways-v2-controller.php
+
+ -
+ message: '#^Access to an undefined property WP_REST_Response\:\:\$title\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-payment-gateways-v2-controller.php
+
+ -
+ message: '#^Access to an undefined property WooCommerce\:\:\$payment_gateways\.$#'
+ identifier: property.notFound
+ count: 2
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-payment-gateways-v2-controller.php
+
+ -
+ message: '#^Call to an undefined method WP_REST_Response\:\:get_option_key\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-payment-gateways-v2-controller.php
+
+ -
+ message: '#^Call to an undefined method WP_REST_Response\:\:init_form_fields\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-payment-gateways-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Payment_Gateways_V2_Controller\:\:get_gateway\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-payment-gateways-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Payment_Gateways_V2_Controller\:\:get_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-payment-gateways-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Payment_Gateways_V2_Controller\:\:get_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-payment-gateways-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Payment_Gateways_V2_Controller\:\:get_items\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-payment-gateways-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Payment_Gateways_V2_Controller\:\:get_items_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-payment-gateways-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Payment_Gateways_V2_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-payment-gateways-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Payment_Gateways_V2_Controller\:\:prepare_links\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-payment-gateways-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Payment_Gateways_V2_Controller\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-payment-gateways-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Payment_Gateways_V2_Controller\:\:update_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-payment-gateways-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Payment_Gateways_V2_Controller\:\:update_items_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-payment-gateways-v2-controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 107 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-payment-gateways-v2-controller.php
+
+ -
+ message: '#^Parameter \#1 \$gateway of method WC_REST_Payment_Gateways_V2_Controller\:\:prepare_item_for_response\(\) expects WC_Payment_Gateway, WP_REST_Response given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-payment-gateways-v2-controller.php
+
+ -
+ message: '#^Parameter \#2 \$value of method WP_HTTP_Response\:\:header\(\) expects string, int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-payment-gateways-v2-controller.php
+
+ -
+ message: '#^Parameter \#2 \$value of method WP_HTTP_Response\:\:header\(\) expects string, int\<0, max\> given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-payment-gateways-v2-controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Product_Attribute_Terms_V1_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 150 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-attribute-terms-v2-controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Product_Attributes_V1_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 140 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-attributes-v2-controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Product_Categories_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 125 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-brands-v2-controller.php
+
+ -
+ message: '#^Cannot access property \$post_date on WP_Post\|null\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-categories-v2-controller.php
+
+ -
+ message: '#^Cannot access property \$post_date_gmt on WP_Post\|null\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-categories-v2-controller.php
+
+ -
+ message: '#^Cannot access property \$post_modified on WP_Post\|null\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-categories-v2-controller.php
+
+ -
+ message: '#^Cannot access property \$post_modified_gmt on WP_Post\|null\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-categories-v2-controller.php
+
+ -
+ message: '#^Cannot cast mixed to int\.$#'
+ identifier: cast.int
+ count: 2
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-categories-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Product_Categories_V2_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-categories-v2-controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Product_Categories_V1_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 140 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-categories-v2-controller.php
+
+ -
+ message: '#^Parameter \#1 \$attachment_id of function wp_get_attachment_url expects int, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-categories-v2-controller.php
+
+ -
+ message: '#^Parameter \#1 \$post of function get_post expects int\|WP_Post\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-categories-v2-controller.php
+
+ -
+ message: '#^Parameter \#1 \$post of function get_the_title expects int\|WP_Post, WP_Post\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-categories-v2-controller.php
+
+ -
+ message: '#^Parameter \#1 \$post_id of function get_post_meta expects int, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-categories-v2-controller.php
+
+ -
+ message: '#^Cannot cast mixed to int\.$#'
+ identifier: cast.int
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-reviews-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Product_Reviews_V2_Controller\:\:batch_items\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-reviews-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Product_Reviews_V2_Controller\:\:batch_items_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-reviews-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Product_Reviews_V2_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-reviews-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Product_Reviews_V2_Controller\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-reviews-v2-controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Product_Reviews_V1_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 134 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-reviews-v2-controller.php
+
+ -
+ message: '#^Parameter \#1 \$comment_id of function get_comment_meta expects int, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-reviews-v2-controller.php
+
+ -
+ message: '#^Parameter \#1 \$comment_id of function wc_review_is_from_verified_owner expects int, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-reviews-v2-controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Product_Shipping_Classes_V1_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 152 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-shipping-classes-v2-controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Product_Tags_V1_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 128 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-tags-v2-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Data\:\:backorders_allowed\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Data\:\:get_backorders\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Data\:\:get_date_created\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Data\:\:get_date_modified\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Data\:\:get_date_on_sale_from\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Data\:\:get_date_on_sale_to\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Data\:\:get_description\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Data\:\:get_download_expiry\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Data\:\:get_download_limit\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Data\:\:get_height\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Data\:\:get_length\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Data\:\:get_menu_order\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Data\:\:get_parent_id\(\)\.$#'
+ identifier: method.notFound
+ count: 4
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Data\:\:get_permalink\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Data\:\:get_price\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Data\:\:get_regular_price\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Data\:\:get_sale_price\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Data\:\:get_shipping_class\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Data\:\:get_shipping_class_id\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Data\:\:get_sku\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Data\:\:get_stock_quantity\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Data\:\:get_tax_class\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Data\:\:get_tax_status\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Data\:\:get_weight\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Data\:\:get_width\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Data\:\:is_downloadable\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Data\:\:is_in_stock\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Data\:\:is_on_backorder\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Data\:\:is_on_sale\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Data\:\:is_purchasable\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Data\:\:is_virtual\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Data\:\:is_visible\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Data\:\:managing_stock\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+
+ -
+ message: '#^Call to function is_array\(\) with non\-empty\-array\<mixed, mixed\> will always evaluate to true\.$#'
+ identifier: function.alreadyNarrowedType
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+
+ -
+ message: '#^Cannot access offset ''id'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+
+ -
+ message: '#^Cannot access offset ''key'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+
+ -
+ message: '#^Cannot access offset ''value'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+
+ -
+ message: '#^Cannot call method get_attributes\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+
+ -
+ message: '#^Cannot call method get_downloadable\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+
+ -
+ message: '#^Cannot call method get_parent_id\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+
+ -
+ message: '#^Cannot call method set_download_expiry\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+
+ -
+ message: '#^Cannot call method set_download_limit\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+
+ -
+ message: '#^Cannot call method set_downloadable\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+
+ -
+ message: '#^Cannot call method set_image_id\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+
+ -
+ message: '#^Cannot call method set_parent_id\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+
+ -
+ message: '#^Cannot call method set_sku\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+
+ -
+ message: '#^Cannot call method set_status\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+
+ -
+ message: '#^Cannot call method set_virtual\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Product_Variations_V2_Controller\:\:batch_items\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Product_Variations_V2_Controller\:\:clear_transients\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Product_Variations_V2_Controller\:\:delete_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Product_Variations_V2_Controller\:\:delete_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Product_Variations_V2_Controller\:\:get_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Product_Variations_V2_Controller\:\:prepare_links\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Product_Variations_V2_Controller\:\:prepare_object_for_database\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Product_Variations_V2_Controller\:\:prepare_object_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Product_Variations_V2_Controller\:\:prepare_objects_query\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Product_Variations_V2_Controller\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Product_Variations_V2_Controller\:\:update_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+
+ -
+ message: '#^Negated boolean expression is always true\.$#'
+ identifier: booleanNot.alwaysTrue
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Products_V2_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 122 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+
+ -
+ message: '#^Parameter \#1 \$amount of function wc_stock_amount expects float\|int, int\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+
+ -
+ message: '#^Parameter \#1 \$date of method WC_Product\:\:set_date_on_sale_from\(\) expects int\|string\|null, int\|false\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+
+ -
+ message: '#^Parameter \#1 \$date of method WC_Product\:\:set_date_on_sale_to\(\) expects int\|string\|null, int\|false\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+
+ -
+ message: '#^Parameter \#1 \$dimensions_unit of static method Automattic\\WooCommerce\\Utilities\\I18nUtil\:\:get_dimensions_unit_label\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+
+ -
+ message: '#^Parameter \#1 \$key of method WC_Data\:\:update_meta_data\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+
+ -
+ message: '#^Parameter \#1 \$product of method WC_REST_Products_V2_Controller\:\:get_attributes\(\) expects WC_Product, WC_Data given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+
+ -
+ message: '#^Parameter \#1 \$product of method WC_REST_Products_V2_Controller\:\:get_downloads\(\) expects WC_Product, WC_Data given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+
+ -
+ message: '#^Parameter \#1 \$product of method WC_REST_Products_V2_Controller\:\:get_images\(\) expects WC_Product, WC_Data given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+
+ -
+ message: '#^Parameter \#1 \$product of method WC_REST_Products_V2_Controller\:\:save_downloadable_files\(\) expects WC_Product, WC_Product\|false\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+
+ -
+ message: '#^Parameter \#1 \$product of method WC_REST_Products_V2_Controller\:\:save_product_shipping_data\(\) expects WC_Product, WC_Product\|false\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+
+ -
+ message: '#^Parameter \#1 \$product of method WC_REST_Products_V2_Controller\:\:set_product_images\(\) expects WC_Product, WC_Product\|false\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+
+ -
+ message: '#^Parameter \#1 \$quantity of method WC_Product\:\:set_stock_quantity\(\) expects float\|null, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+
+ -
+ message: '#^Parameter \#1 \$title of function sanitize_title expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+
+ -
+ message: '#^Parameter \#1 \$weight_unit of static method Automattic\\WooCommerce\\Utilities\\I18nUtil\:\:get_weight_unit_label\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+
+ -
+ message: '#^Parameter \#2 \$data of method WC_REST_Products_V2_Controller\:\:save_product_shipping_data\(\) expects array, WP_REST_Request given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+
+ -
+ message: '#^Parameter \#2 \$replace of function str_replace expects array\<string\>\|string, int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+
+ -
+ message: '#^Parameter \#2 \$value of function get_term_by expects int\|string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+
+ -
+ message: '#^Parameter \#2 \$value of method WC_Data\:\:update_meta_data\(\) expects array\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+
+ -
+ message: '#^Parameter \#3 \$meta_id of method WC_Data\:\:update_meta_data\(\) expects int, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+
+ -
+ message: '#^Strict comparison using \=\=\= between ''trash'' and mixed~''trash'' will always evaluate to false\.$#'
+ identifier: identical.alwaysFalse
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+
+ -
+ message: '#^Strict comparison using \=\=\= between 0 and mixed will always evaluate to false\.$#'
+ identifier: identical.alwaysFalse
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+
+ -
+ message: '#^Unreachable statement \- code above always terminates\.$#'
+ identifier: deadCode.unreachable
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+
+ -
+ message: '#^Variable \$raw_attribute_name might not be defined\.$#'
+ identifier: variable.undefined
+ count: 3
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-product-variations-v2-controller.php
+
+ -
+ message: '#^Access to an undefined property WC_REST_Products_V2_Controller\:\:\$request\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Data\:\:get_children\(\)\.$#'
+ identifier: method.notFound
+ count: 4
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Data\:\:get_parent_id\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Data\:\:get_type\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Data\:\:has_child\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Data\:\:is_type\(\)\.$#'
+ identifier: method.notFound
+ count: 3
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Product\:\:get_button_text\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Product\:\:get_product_url\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Product\:\:get_variation_attributes\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Product\:\:set_button_text\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Product\:\:set_children\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Product\:\:set_product_url\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+
+ -
+ message: '#^Call to an undefined method object\:\:get_shipping_class_id_by_slug\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+
+ -
+ message: '#^Cannot access offset ''alt'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+
+ -
+ message: '#^Cannot access offset ''id'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 3
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+
+ -
+ message: '#^Cannot access offset ''key'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+
+ -
+ message: '#^Cannot access offset ''name'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+
+ -
+ message: '#^Cannot access offset ''option'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+
+ -
+ message: '#^Cannot access offset ''position'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+
+ -
+ message: '#^Cannot access offset ''src'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+
+ -
+ message: '#^Cannot access offset ''value'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+
+ -
+ message: '#^Cannot call method get_type\(\) on object\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+
+ -
+ message: '#^Cannot call method set_catalog_visibility\(\) on object\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+
+ -
+ message: '#^Cannot call method set_description\(\) on object\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+
+ -
+ message: '#^Cannot call method set_featured\(\) on object\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+
+ -
+ message: '#^Cannot call method set_menu_order\(\) on object\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+
+ -
+ message: '#^Cannot call method set_name\(\) on object\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+
+ -
+ message: '#^Cannot call method set_purchase_note\(\) on object\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+
+ -
+ message: '#^Cannot call method set_reviews_allowed\(\) on object\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+
+ -
+ message: '#^Cannot call method set_short_description\(\) on object\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+
+ -
+ message: '#^Cannot call method set_slug\(\) on object\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+
+ -
+ message: '#^Cannot call method set_status\(\) on object\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+
+ -
+ message: '#^Cannot call method set_tax_class\(\) on object\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+
+ -
+ message: '#^Cannot call method set_tax_status\(\) on object\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+
+ -
+ message: '#^Cannot call method set_virtual\(\) on object\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+
+ -
+ message: '#^Constant WC_DELIMITER not found\.$#'
+ identifier: constant.notFound
+ count: 2
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Products_V2_Controller\:\:batch_items\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Products_V2_Controller\:\:clear_transients\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Products_V2_Controller\:\:delete_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Products_V2_Controller\:\:get_object\(\) should return WC_Data but returns WC_Product\|false\|null\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Products_V2_Controller\:\:prepare_links\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Products_V2_Controller\:\:prepare_object_for_database\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Products_V2_Controller\:\:prepare_object_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Products_V2_Controller\:\:prepare_object_for_response_core\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Products_V2_Controller\:\:prepare_objects_query\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Products_V2_Controller\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Products_V2_Controller\:\:save_default_attributes\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+
+ -
+ message: '#^Negated boolean expression is always true\.$#'
+ identifier: booleanNot.alwaysTrue
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_CRUD_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 113 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+
+ -
+ message: '#^Parameter \#1 \$amount of function wc_stock_amount expects float\|int, int\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+
+ -
+ message: '#^Parameter \#1 \$args of function wc_get_min_max_price_meta_query expects array, WP_REST_Request given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+
+ -
+ message: '#^Parameter \#1 \$classname of function class_exists expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+
+ -
+ message: '#^Parameter \#1 \$date of function wc_rest_prepare_date_response expects string\|WC_DateTime\|null, int\<1, max\> given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+
+ -
+ message: '#^Parameter \#1 \$date of function wc_rest_prepare_date_response expects string\|WC_DateTime\|null, int\|false given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+
+ -
+ message: '#^Parameter \#1 \$date of method WC_Product\:\:set_date_on_sale_from\(\) expects int\|string\|null, int\|false\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+
+ -
+ message: '#^Parameter \#1 \$date of method WC_Product\:\:set_date_on_sale_to\(\) expects int\|string\|null, int\|false\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+
+ -
+ message: '#^Parameter \#1 \$dimensions_unit of static method Automattic\\WooCommerce\\Utilities\\I18nUtil\:\:get_dimensions_unit_label\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+
+ -
+ message: '#^Parameter \#1 \$image_id of method WC_Product\:\:set_image_id\(\) expects int\|string, int\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+
+ -
+ message: '#^Parameter \#1 \$key of method WC_Data\:\:update_meta_data\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+
+ -
+ message: '#^Parameter \#1 \$manage_stock of method WC_Product\:\:set_manage_stock\(\) expects bool, string given\.$#'
+ identifier: argument.type
+ count: 3
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+
+ -
+ message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 3
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+
+ -
+ message: '#^Parameter \#1 \$postarr of function wp_update_post expects array\{ID\?\: int, post_author\?\: int, post_date\?\: string, post_date_gmt\?\: string, post_content\?\: string, post_content_filtered\?\: string, post_title\?\: string, post_excerpt\?\: string, \.\.\.\}, array\{ID\: int, post_title\: mixed\} given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+
+ -
+ message: '#^Parameter \#1 \$product of method WC_REST_Products_V2_Controller\:\:get_product_data\(\) expects WC_Product, WC_Data given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+
+ -
+ message: '#^Parameter \#1 \$product of method WC_REST_Products_V2_Controller\:\:save_product_shipping_data\(\) expects WC_Product, object\|false\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+
+ -
+ message: '#^Parameter \#1 \$quantity of method WC_Product\:\:set_stock_quantity\(\) expects float\|null, string given\.$#'
+ identifier: argument.type
+ count: 3
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+
+ -
+ message: '#^Parameter \#1 \$request of method WC_REST_Controller\:\:get_fields_for_response\(\) expects WP_REST_Request, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+
+ -
+ message: '#^Parameter \#1 \$sku of method WC_Product\:\:set_sku\(\) expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+
+ -
+ message: '#^Parameter \#1 \$str of function stripslashes expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+
+ -
+ message: '#^Parameter \#1 \$tax of function get_taxonomy_labels expects WP_Taxonomy, WP_Taxonomy\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+
+ -
+ message: '#^Parameter \#1 \$title of function sanitize_title expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+
+ -
+ message: '#^Parameter \#1 \$title of function sanitize_title expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+
+ -
+ message: '#^Parameter \#1 \$url of function esc_url_raw expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+
+ -
+ message: '#^Parameter \#1 \$value of method WC_Product_Attribute\:\:set_name\(\) expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+
+ -
+ message: '#^Parameter \#1 \$value of method WC_Product_Attribute\:\:set_options\(\) expects array, array\<mixed\>\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+
+ -
+ message: '#^Parameter \#1 \$value of method WC_Product_Attribute\:\:set_position\(\) expects int, string given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+
+ -
+ message: '#^Parameter \#1 \$value of method WC_Product_Attribute\:\:set_variation\(\) expects bool, int given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+
+ -
+ message: '#^Parameter \#1 \$value of method WC_Product_Attribute\:\:set_visible\(\) expects bool, int given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+
+ -
+ message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+
+ -
+ message: '#^Parameter \#1 \$weight_unit of static method Automattic\\WooCommerce\\Utilities\\I18nUtil\:\:get_weight_unit_label\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+
+ -
+ message: '#^Parameter \#2 \$callback of function array_filter expects \(callable\(mixed\)\: bool\)\|null, ''strlen'' given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+
+ -
+ message: '#^Parameter \#2 \$callback of function array_filter expects \(callable\(string\)\: bool\)\|null, ''strlen'' given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+
+ -
+ message: '#^Parameter \#2 \$data of method WC_REST_Products_V2_Controller\:\:save_product_shipping_data\(\) expects array, WP_REST_Request given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+
+ -
+ message: '#^Parameter \#2 \$product of method WC_REST_Products_V2_Controller\:\:get_attribute_taxonomy_name\(\) expects WC_Product, WC_Product\|false\|null given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+
+ -
+ message: '#^Parameter \#2 \$value of function get_term_by expects int\|string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+
+ -
+ message: '#^Parameter \#2 \$value of method WC_Data\:\:update_meta_data\(\) expects array\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+
+ -
+ message: '#^Parameter \#3 \$meta_id of method WC_Data\:\:update_meta_data\(\) expects int, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+
+ -
+ message: '#^Strict comparison using \=\=\= between ''trash'' and mixed~''trash'' will always evaluate to false\.$#'
+ identifier: identical.alwaysFalse
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+
+ -
+ message: '#^Strict comparison using \=\=\= between 0 and mixed will always evaluate to false\.$#'
+ identifier: identical.alwaysFalse
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+
+ -
+ message: '#^Unreachable statement \- code above always terminates\.$#'
+ identifier: deadCode.unreachable
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Report_Sales_V1_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 128 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-report-sales-v2-controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Report_Top_Sellers_V1_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 140 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-report-top-sellers-v2-controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Reports_V1_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 118 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-reports-v2-controller.php
+
+ -
+ message: '#^Cannot access offset ''option_key'' on object\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-setting-options-v2-controller.php
+
+ -
+ message: '#^Cannot access offset ''option_key'' on stdClass\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-setting-options-v2-controller.php
+
+ -
+ message: '#^Cannot access offset ''type'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-setting-options-v2-controller.php
+
+ -
+ message: '#^Cannot access offset ''type'' on stdClass\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-setting-options-v2-controller.php
+
+ -
+ message: '#^Cannot access offset ''value'' on stdClass\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-setting-options-v2-controller.php
+
+ -
+ message: '#^Cannot access offset 0 on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-setting-options-v2-controller.php
+
+ -
+ message: '#^Cannot access offset 1 on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-setting-options-v2-controller.php
+
+ -
+ message: '#^Cannot access offset mixed on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-setting-options-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Setting_Options_V2_Controller\:\:batch_items\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-setting-options-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Setting_Options_V2_Controller\:\:get_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-setting-options-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Setting_Options_V2_Controller\:\:get_items\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-setting-options-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Setting_Options_V2_Controller\:\:get_items_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-setting-options-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Setting_Options_V2_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-setting-options-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Setting_Options_V2_Controller\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-setting-options-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Setting_Options_V2_Controller\:\:update_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-setting-options-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Setting_Options_V2_Controller\:\:update_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-setting-options-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Setting_Options_V2_Controller\:\:update_items_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-setting-options-v2-controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 115 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-setting-options-v2-controller.php
+
+ -
+ message: '#^Parameter \#1 \$option of function get_option expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-setting-options-v2-controller.php
+
+ -
+ message: '#^Parameter \#1 \$option of function update_option expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-setting-options-v2-controller.php
+
+ -
+ message: '#^Parameter \#1 \$setting of method WC_REST_Setting_Options_V2_Controller\:\:filter_setting\(\) expects array, object given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-setting-options-v2-controller.php
+
+ -
+ message: '#^Parameter \#1 \$type of method WC_REST_Setting_Options_V2_Controller\:\:is_setting_type_valid\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-setting-options-v2-controller.php
+
+ -
+ message: '#^Parameter \#2 \$setting of method WC_REST_Controller\:\:validate_setting_text_field\(\) expects array, stdClass given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-setting-options-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Settings_V2_Controller\:\:get_items\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-settings-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Settings_V2_Controller\:\:get_items_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-settings-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Settings_V2_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-settings-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Settings_V2_Controller\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-settings-v2-controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 108 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-settings-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Shipping_Methods_V2_Controller\:\:get_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-methods-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Shipping_Methods_V2_Controller\:\:get_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-methods-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Shipping_Methods_V2_Controller\:\:get_items\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-methods-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Shipping_Methods_V2_Controller\:\:get_items_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-methods-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Shipping_Methods_V2_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-methods-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Shipping_Methods_V2_Controller\:\:prepare_links\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-methods-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Shipping_Methods_V2_Controller\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-methods-v2-controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 107 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-methods-v2-controller.php
+
+ -
+ message: '#^Parameter \#2 \$value of method WP_HTTP_Response\:\:header\(\) expects string, int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-methods-v2-controller.php
+
+ -
+ message: '#^Parameter \#2 \$value of method WP_HTTP_Response\:\:header\(\) expects string, int\<0, max\> given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-methods-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Shipping_Zone_Locations_V2_Controller\:\:get_items\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zone-locations-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Shipping_Zone_Locations_V2_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zone-locations-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Shipping_Zone_Locations_V2_Controller\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zone-locations-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Shipping_Zone_Locations_V2_Controller\:\:update_items\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zone-locations-v2-controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Shipping_Zones_Controller_Base\)\: Unexpected token "\\n ", expected ''\<'' at offset 132 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zone-locations-v2-controller.php
+
+ -
+ message: '#^Parameter \#2 \$value of method WP_HTTP_Response\:\:header\(\) expects string, int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zone-locations-v2-controller.php
+
+ -
+ message: '#^Parameter \#2 \$value of method WP_HTTP_Response\:\:header\(\) expects string, int\<0, max\> given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zone-locations-v2-controller.php
+
+ -
+ message: '#^Cannot access property \$enabled on array\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zone-methods-v2-controller.php
+
+ -
+ message: '#^Cannot access property \$id on array\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zone-methods-v2-controller.php
+
+ -
+ message: '#^Cannot access property \$instance_id on array\.$#'
+ identifier: property.nonObject
+ count: 3
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zone-methods-v2-controller.php
+
+ -
+ message: '#^Cannot access property \$instance_settings on array\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zone-methods-v2-controller.php
+
+ -
+ message: '#^Cannot access property \$method_description on array\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zone-methods-v2-controller.php
+
+ -
+ message: '#^Cannot access property \$method_order on array\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zone-methods-v2-controller.php
+
+ -
+ message: '#^Cannot access property \$method_title on array\.$#'
+ identifier: property.nonObject
+ count: 2
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zone-methods-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Shipping_Zone_Methods_V2_Controller\:\:create_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zone-methods-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Shipping_Zone_Methods_V2_Controller\:\:create_item\(\) return type with generic class WP_REST_Request does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zone-methods-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Shipping_Zone_Methods_V2_Controller\:\:create_item\(\) should return WP_Error\|WP_REST_Request but returns WP_REST_Response\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zone-methods-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Shipping_Zone_Methods_V2_Controller\:\:delete_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zone-methods-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Shipping_Zone_Methods_V2_Controller\:\:delete_item\(\) should return bool\|WP_Error but returns WP_REST_Response\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zone-methods-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Shipping_Zone_Methods_V2_Controller\:\:get_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zone-methods-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Shipping_Zone_Methods_V2_Controller\:\:get_items\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zone-methods-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Shipping_Zone_Methods_V2_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zone-methods-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Shipping_Zone_Methods_V2_Controller\:\:prepare_item_for_response\(\) should return WP_REST_Response but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zone-methods-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Shipping_Zone_Methods_V2_Controller\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zone-methods-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Shipping_Zone_Methods_V2_Controller\:\:update_fields\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zone-methods-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Shipping_Zone_Methods_V2_Controller\:\:update_fields\(\) should return WC_Shipping_Method but returns WP_Error\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zone-methods-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Shipping_Zone_Methods_V2_Controller\:\:update_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zone-methods-v2-controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Shipping_Zones_Controller_Base\)\: Unexpected token "\\n ", expected ''\<'' at offset 130 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zone-methods-v2-controller.php
+
+ -
+ message: '#^Parameter \#1 \$item of method WC_REST_Shipping_Zone_Methods_V2_Controller\:\:get_settings\(\) expects WC_Shipping_Method, array given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zone-methods-v2-controller.php
+
+ -
+ message: '#^Parameter \#1 \$item of method WC_REST_Shipping_Zone_Methods_V2_Controller\:\:prepare_item_for_response\(\) expects array, WC_Shipping_Method given\.$#'
+ identifier: argument.type
+ count: 3
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zone-methods-v2-controller.php
+
+ -
+ message: '#^Parameter \#2 \$value of method WP_HTTP_Response\:\:header\(\) expects string, int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zone-methods-v2-controller.php
+
+ -
+ message: '#^Parameter \#2 \$value of method WP_HTTP_Response\:\:header\(\) expects string, int\<0, max\> given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zone-methods-v2-controller.php
+
+ -
+ message: '#^Call to an undefined method WP_Error\|WP_REST_Response\:\:header\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zones-v2-controller.php
+
+ -
+ message: '#^Call to an undefined method WP_Error\|WP_REST_Response\:\:set_status\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zones-v2-controller.php
+
+ -
+ message: '#^Cannot call method get_data\(\) on bool\|WC_Shipping_Zone\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zones-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Shipping_Zones_V2_Controller\:\:create_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zones-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Shipping_Zones_V2_Controller\:\:create_item\(\) return type with generic class WP_REST_Request does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zones-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Shipping_Zones_V2_Controller\:\:create_item\(\) should return WP_Error\|WP_REST_Request but returns WP_Error\|WP_REST_Response\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zones-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Shipping_Zones_V2_Controller\:\:delete_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zones-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Shipping_Zones_V2_Controller\:\:delete_item\(\) return type with generic class WP_REST_Request does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zones-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Shipping_Zones_V2_Controller\:\:delete_item\(\) should return WP_Error\|WP_REST_Request but returns WP_Error\|WP_REST_Response\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zones-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Shipping_Zones_V2_Controller\:\:get_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zones-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Shipping_Zones_V2_Controller\:\:get_items\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zones-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Shipping_Zones_V2_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zones-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Shipping_Zones_V2_Controller\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zones-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Shipping_Zones_V2_Controller\:\:update_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zones-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Shipping_Zones_V2_Controller\:\:update_item\(\) return type with generic class WP_REST_Request does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zones-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Shipping_Zones_V2_Controller\:\:update_item\(\) should return WP_Error\|WP_REST_Request but returns WP_Error\|WP_REST_Response\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zones-v2-controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Shipping_Zones_Controller_Base\)\: Unexpected token "\\n ", expected ''\<'' at offset 123 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zones-v2-controller.php
+
+ -
+ message: '#^Parameter \#2 \$value of method WP_HTTP_Response\:\:header\(\) expects string, int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zones-v2-controller.php
+
+ -
+ message: '#^Parameter \#2 \$value of method WP_HTTP_Response\:\:header\(\) expects string, int\<1, max\> given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-shipping-zones-v2-controller.php
+
+ -
+ message: '#^Binary operation "\." between non\-falsy\-string and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-system-status-tools-v2-controller.php
+
+ -
+ message: '#^Call to function method_exists\(\) with ''WC_Cache_Helper'' and ''invalidate_cache…'' will always evaluate to true\.$#'
+ identifier: function.alreadyNarrowedType
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-system-status-tools-v2-controller.php
+
+ -
+ message: '#^Call to function method_exists\(\) with ''WC_Install'' and ''verify_base_tables'' will always evaluate to true\.$#'
+ identifier: function.alreadyNarrowedType
+ count: 2
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-system-status-tools-v2-controller.php
+
+ -
+ message: '#^Cannot call method recreate_order_address_fts_index\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-system-status-tools-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_System_Status_Tools_V2_Controller\:\:get_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-system-status-tools-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_System_Status_Tools_V2_Controller\:\:get_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-system-status-tools-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_System_Status_Tools_V2_Controller\:\:get_items\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-system-status-tools-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_System_Status_Tools_V2_Controller\:\:get_items_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-system-status-tools-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_System_Status_Tools_V2_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-system-status-tools-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_System_Status_Tools_V2_Controller\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-system-status-tools-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_System_Status_Tools_V2_Controller\:\:update_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-system-status-tools-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_System_Status_Tools_V2_Controller\:\:update_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-system-status-tools-v2-controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 104 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-system-status-tools-v2-controller.php
+
+ -
+ message: '#^Parameter \#1 \$object of function get_class expects object, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-system-status-tools-v2-controller.php
+
+ -
+ message: '#^Parameter \#1 \$object_or_string of function is_a expects object, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-system-status-tools-v2-controller.php
+
+ -
+ message: '#^Access to an undefined property WC_REST_System_Status_V2_Controller\:\:\$available_updates\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-system-status-v2-controller.php
+
+ -
+ message: '#^Access to an undefined property WP_Theme\:\:\$Author URI\.$#'
+ identifier: property.notFound
+ count: 2
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-system-status-v2-controller.php
+
+ -
+ message: '#^Argument of an invalid type array\<int, WP_Term\>\|WP_Error supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
+ count: 2
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-system-status-v2-controller.php
+
+ -
+ message: '#^Call to function is_callable\(\) with ''gzopen'' will always evaluate to true\.$#'
+ identifier: function.alreadyNarrowedType
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-system-status-v2-controller.php
+
+ -
+ message: '#^Cannot access offset ''ssl_version'' on array\|false\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-system-status-v2-controller.php
+
+ -
+ message: '#^Cannot access offset ''version'' on array\|false\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-system-status-v2-controller.php
+
+ -
+ message: '#^Cannot call method data_sync_is_enabled\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-system-status-v2-controller.php
+
+ -
+ message: '#^Cannot call method get_all_active_valid_plugins\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-system-status-v2-controller.php
+
+ -
+ message: '#^Cannot call method get_features\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-system-status-v2-controller.php
+
+ -
+ message: '#^Cannot call method get_mode\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-system-status-v2-controller.php
+
+ -
+ message: '#^Comparison operation "\<\=" between 0 and int\<0, max\> is always true\.$#'
+ identifier: smallerOrEqual.alwaysTrue
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-system-status-v2-controller.php
+
+ -
+ message: '#^Constant WP_MEMORY_LIMIT not found\.$#'
+ identifier: constant.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-system-status-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_System_Status_V2_Controller\:\:add_db_table_prefix\(\) has invalid return type stromg\.$#'
+ identifier: class.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-system-status-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_System_Status_V2_Controller\:\:add_db_table_prefix\(\) should return stromg but returns string\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-system-status-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_System_Status_V2_Controller\:\:clean_plugin_cache\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-system-status-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_System_Status_V2_Controller\:\:clean_theme_cache\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-system-status-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_System_Status_V2_Controller\:\:get_active_plugins\(\) should return array but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-system-status-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_System_Status_V2_Controller\:\:get_dropins_mu_plugins\(\) should return array but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-system-status-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_System_Status_V2_Controller\:\:get_inactive_plugins\(\) should return array but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-system-status-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_System_Status_V2_Controller\:\:get_items\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-system-status-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_System_Status_V2_Controller\:\:get_items_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-system-status-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_System_Status_V2_Controller\:\:get_theme_info\(\) should return array but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-system-status-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_System_Status_V2_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-system-status-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_System_Status_V2_Controller\:\:register_cache_clean\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-system-status-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_System_Status_V2_Controller\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-system-status-v2-controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 104 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-system-status-v2-controller.php
+
+ -
+ message: '#^Parameter \#1 \$args of function get_terms expects array\{taxonomy\?\: array\<string\>\|string, object_ids\?\: array\<int\>\|int, orderby\?\: string, order\?\: string, hide_empty\?\: bool\|int, include\?\: array\<int\>\|string, exclude\?\: array\<int\>\|string, exclude_tree\?\: array\<int\>\|string, \.\.\.\}, ''product_type'' given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-system-status-v2-controller.php
+
+ -
+ message: '#^Parameter \#1 \$args of function get_terms expects array\{taxonomy\?\: array\<string\>\|string, object_ids\?\: array\<int\>\|int, orderby\?\: string, order\?\: string, hide_empty\?\: bool\|int, include\?\: array\<int\>\|string, exclude\?\: array\<int\>\|string, exclude_tree\?\: array\<int\>\|string, \.\.\.\}, ''product_visibility'' given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-system-status-v2-controller.php
+
+ -
+ message: '#^Parameter \#1 \$input of function array_keys expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-system-status-v2-controller.php
+
+ -
+ message: '#^Parameter \#1 \$keys of function array_fill_keys expects an array of values castable to string, array\<stromg\> given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-system-status-v2-controller.php
+
+ -
+ message: '#^Parameter \#1 \$post of function get_post expects int\|WP_Post\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-system-status-v2-controller.php
+
+ -
+ message: '#^Parameter \#1 \$size of function wc_let_to_num expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-system-status-v2-controller.php
+
+ -
+ message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-system-status-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Tax_Classes_V2_Controller\:\:get_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-tax-classes-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Tax_Classes_V2_Controller\:\:get_item\(\) should return array but returns WP_Error\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-tax-classes-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Tax_Classes_V2_Controller\:\:get_item\(\) should return array but returns WP_REST_Response\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-tax-classes-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Tax_Classes_V2_Controller\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-tax-classes-v2-controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Tax_Classes_V1_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 126 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-tax-classes-v2-controller.php
+
+ -
+ message: '#^Parameter \#1 \$tax_class of method WC_REST_Tax_Classes_V1_Controller\:\:prepare_item_for_response\(\) expects array, array\|true given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-tax-classes-v2-controller.php
+
+ -
+ message: '#^Return type \(array\) of method WC_REST_Tax_Classes_V2_Controller\:\:get_item\(\) should be compatible with return type \(WP_Error\|WP_REST_Response\) of method WP_REST_Controller\:\:get_item\(\)$#'
+ identifier: method.childReturnType
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-tax-classes-v2-controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Taxes_V1_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 114 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-taxes-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Webhook_Deliveries_V2_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-webhook-deliveries-v2-controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Webhook_Deliveries_V1_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 211 on line 6$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-webhook-deliveries-v2-controller.php
+
+ -
+ message: '#^Call to function is_null\(\) with mixed will always evaluate to false\.$#'
+ identifier: function.impossibleType
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-webhooks-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Webhooks_V1_Controller\:\:prepare_links\(\) invoked with 2 parameters, 1 required\.$#'
+ identifier: arguments.count
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-webhooks-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Webhooks_V2_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-webhooks-v2-controller.php
+
+ -
+ message: '#^Method WC_REST_Webhooks_V2_Controller\:\:prepare_item_for_response\(\) should return WP_REST_Response but returns WP_Error\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-webhooks-v2-controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Webhooks_V1_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 120 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/rest-api/Controllers/Version2/class-wc-rest-webhooks-v2-controller.php
+
+ -
+ message: '#^Cannot access an offset on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-controller.php
+
+ -
+ message: '#^Method WC_REST_Controller\:\:batch_items\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-controller.php
+
+ -
+ message: '#^Method WC_REST_Controller\:\:batch_items\(\) should return array but returns WP_Error\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-controller.php
+
+ -
+ message: '#^Method WC_REST_Controller\:\:get_endpoint_args_for_item_schema\(\) should return array but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-controller.php
+
+ -
+ message: '#^Method WC_REST_Controller\:\:get_fields_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-controller.php
+
+ -
+ message: '#^Method WC_REST_Controller\:\:get_meta_data_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-controller.php
+
+ -
+ message: '#^Method WC_REST_Controller\:\:get_normalized_rest_base\(\) should return string but returns string\|null\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WP_REST_Controller\)\: Unexpected token "\\n \* ", expected ''\<'' at offset 104 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-controller.php
+
+ -
+ message: '#^Parameter \#1 \$callback of function array_map expects \(callable\(bool\|float\|int\|string\)\: mixed\)\|null, ''trim'' given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-controller.php
+
+ -
+ message: '#^Parameter \#1 \$key of function array_key_exists expects int\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-controller.php
+
+ -
+ message: '#^Parameter \#1 \$var of function intval expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-controller.php
+
+ -
+ message: '#^Parameter \#2 \$embed of method WP_REST_Server\:\:response_to_data\(\) expects array\<string\>\|bool, string given\.$#'
+ identifier: argument.type
+ count: 3
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-controller.php
+
+ -
+ message: '#^Property WC_REST_Controller\:\:\$_request with generic class WP_REST_Request does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-controller.php
+
+ -
+ message: '#^Method WC_REST_Coupons_Controller\:\:prepare_objects_query\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-coupons-controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Coupons_V2_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 118 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-coupons-controller.php
+
+ -
+ message: '#^@param WC_Data \$object does not accept actual type of parameter\: object\.$#'
+ identifier: parameter.phpDocType
+ count: 2
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-crud-controller.php
+
+ -
+ message: '#^@param WP_Post_Type \$post_type does not accept actual type of parameter\: string\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-crud-controller.php
+
+ -
+ message: '#^@param WP_REST_Response \$response does not accept actual type of parameter\: WP_Error\|WP_REST_Response\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-crud-controller.php
+
+ -
+ message: '#^Call to an undefined method WP_Error\|WP_REST_Response\:\:header\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-crud-controller.php
+
+ -
+ message: '#^Call to an undefined method WP_Error\|WP_REST_Response\:\:link_header\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-crud-controller.php
+
+ -
+ message: '#^Call to an undefined method WP_Error\|WP_REST_Response\:\:set_status\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-crud-controller.php
+
+ -
+ message: '#^Call to an undefined method object\:\:delete\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-crud-controller.php
+
+ -
+ message: '#^Call to an undefined method object\:\:get_id\(\)\.$#'
+ identifier: method.notFound
+ count: 11
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-crud-controller.php
+
+ -
+ message: '#^Dead catch \- WC_REST_Exception is already caught above\.$#'
+ identifier: catch.alreadyCaught
+ count: 3
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-crud-controller.php
+
+ -
+ message: '#^Method WC_REST_CRUD_Controller\:\:create_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-crud-controller.php
+
+ -
+ message: '#^Method WC_REST_CRUD_Controller\:\:delete_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-crud-controller.php
+
+ -
+ message: '#^Method WC_REST_CRUD_Controller\:\:delete_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-crud-controller.php
+
+ -
+ message: '#^Method WC_REST_CRUD_Controller\:\:get_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-crud-controller.php
+
+ -
+ message: '#^Method WC_REST_CRUD_Controller\:\:get_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-crud-controller.php
+
+ -
+ message: '#^Method WC_REST_CRUD_Controller\:\:get_items\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-crud-controller.php
+
+ -
+ message: '#^Method WC_REST_CRUD_Controller\:\:prepare_links\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-crud-controller.php
+
+ -
+ message: '#^Method WC_REST_CRUD_Controller\:\:prepare_object_for_database\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-crud-controller.php
+
+ -
+ message: '#^Method WC_REST_CRUD_Controller\:\:prepare_object_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-crud-controller.php
+
+ -
+ message: '#^Method WC_REST_CRUD_Controller\:\:prepare_objects_query\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-crud-controller.php
+
+ -
+ message: '#^Method WC_REST_CRUD_Controller\:\:save_object\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-crud-controller.php
+
+ -
+ message: '#^Method WC_REST_CRUD_Controller\:\:save_object\(\) should return WC_Data\|WP_Error but returns object\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-crud-controller.php
+
+ -
+ message: '#^Method WC_REST_CRUD_Controller\:\:update_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-crud-controller.php
+
+ -
+ message: '#^Method WC_REST_CRUD_Controller\:\:update_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-crud-controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Posts_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 77 on line 4$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-crud-controller.php
+
+ -
+ message: '#^Parameter \#1 \$object \(WC_Data\) of method WC_REST_CRUD_Controller\:\:prepare_links\(\) should be compatible with parameter \$post \(WP_Post\) of method WC_REST_Posts_Controller\:\:prepare_links\(\)$#'
+ identifier: method.childParameterType
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-crud-controller.php
+
+ -
+ message: '#^Parameter \#1 \$object of method WC_REST_CRUD_Controller\:\:prepare_object_for_response\(\) expects WC_Data, object given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-crud-controller.php
+
+ -
+ message: '#^Parameter \#1 \$response of method WP_REST_Controller\:\:prepare_response_for_collection\(\) expects WP_REST_Response, WP_Error\|WP_REST_Response given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-crud-controller.php
+
+ -
+ message: '#^Parameter \#2 \$value of method WP_HTTP_Response\:\:header\(\) expects string, int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-crud-controller.php
+
+ -
+ message: '#^Strict comparison using \=\=\= between ''trash'' and mixed~''trash'' will always evaluate to false\.$#'
+ identifier: identical.alwaysFalse
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-crud-controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Customer_Downloads_V2_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 131 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-customer-downloads-controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Customers_V2_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 122 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-customers-controller.php
+
+ -
+ message: '#^@param array \$item does not accept actual type of parameter\: object\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-data-continents-controller.php
+
+ -
+ message: '#^Cannot access offset ''code'' on object\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-data-continents-controller.php
+
+ -
+ message: '#^Method WC_REST_Data_Continents_Controller\:\:get_continent\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-data-continents-controller.php
+
+ -
+ message: '#^Method WC_REST_Data_Continents_Controller\:\:get_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-data-continents-controller.php
+
+ -
+ message: '#^Method WC_REST_Data_Continents_Controller\:\:get_items\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-data-continents-controller.php
+
+ -
+ message: '#^Method WC_REST_Data_Continents_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-data-continents-controller.php
+
+ -
+ message: '#^Method WC_REST_Data_Continents_Controller\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-data-continents-controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 115 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-data-continents-controller.php
+
+ -
+ message: '#^Parameter \#1 \$item of method WC_REST_Data_Continents_Controller\:\:prepare_item_for_response\(\) expects object, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-data-continents-controller.php
+
+ -
+ message: '#^Parameter \#1 \$response_data of method WP_REST_Controller\:\:add_additional_fields_to_object\(\) expects array, object given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-data-continents-controller.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$slug\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-data-controller.php
+
+ -
+ message: '#^Method WC_REST_Data_Controller\:\:get_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-data-controller.php
+
+ -
+ message: '#^Method WC_REST_Data_Controller\:\:get_items\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-data-controller.php
+
+ -
+ message: '#^Method WC_REST_Data_Controller\:\:get_items_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-data-controller.php
+
+ -
+ message: '#^Method WC_REST_Data_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-data-controller.php
+
+ -
+ message: '#^Method WC_REST_Data_Controller\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-data-controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 104 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-data-controller.php
+
+ -
+ message: '#^@param array \$data does not accept actual type of parameter\: object\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-data-countries-controller.php
+
+ -
+ message: '#^Cannot access offset ''code'' on object\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-data-countries-controller.php
+
+ -
+ message: '#^Method WC_REST_Data_Countries_Controller\:\:get_country\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-data-countries-controller.php
+
+ -
+ message: '#^Method WC_REST_Data_Countries_Controller\:\:get_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-data-countries-controller.php
+
+ -
+ message: '#^Method WC_REST_Data_Countries_Controller\:\:get_items\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-data-countries-controller.php
+
+ -
+ message: '#^Method WC_REST_Data_Countries_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-data-countries-controller.php
+
+ -
+ message: '#^Method WC_REST_Data_Countries_Controller\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-data-countries-controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 114 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-data-countries-controller.php
+
+ -
+ message: '#^Parameter \#1 \$item of method WC_REST_Data_Countries_Controller\:\:prepare_item_for_response\(\) expects object, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-data-countries-controller.php
+
+ -
+ message: '#^Parameter \#1 \$response_data of method WP_REST_Controller\:\:add_additional_fields_to_object\(\) expects array, object given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-data-countries-controller.php
+
+ -
+ message: '#^@param array \$item does not accept actual type of parameter\: object\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-data-currencies-controller.php
+
+ -
+ message: '#^Cannot access offset ''code'' on object\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-data-currencies-controller.php
+
+ -
+ message: '#^Method WC_REST_Data_Currencies_Controller\:\:get_currency\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-data-currencies-controller.php
+
+ -
+ message: '#^Method WC_REST_Data_Currencies_Controller\:\:get_current_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-data-currencies-controller.php
+
+ -
+ message: '#^Method WC_REST_Data_Currencies_Controller\:\:get_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-data-currencies-controller.php
+
+ -
+ message: '#^Method WC_REST_Data_Currencies_Controller\:\:get_items\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-data-currencies-controller.php
+
+ -
+ message: '#^Method WC_REST_Data_Currencies_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-data-currencies-controller.php
+
+ -
+ message: '#^Method WC_REST_Data_Currencies_Controller\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-data-currencies-controller.php
+
+ -
+ message: '#^Parameter \#1 \$code of method WC_REST_Data_Currencies_Controller\:\:get_currency\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-data-currencies-controller.php
+
+ -
+ message: '#^Parameter \#1 \$item of method WC_REST_Data_Currencies_Controller\:\:prepare_item_for_response\(\) expects object, mixed given\.$#'
+ identifier: argument.type
+ count: 3
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-data-currencies-controller.php
+
+ -
+ message: '#^Parameter \#1 \$response_data of method WP_REST_Controller\:\:add_additional_fields_to_object\(\) expects array, object given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-data-currencies-controller.php
+
+ -
+ message: '#^Cannot call method instantiate_layout_templates\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-layout-templates-controller.php
+
+ -
+ message: '#^Method WC_REST_Layout_Templates_Controller\:\:get_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-layout-templates-controller.php
+
+ -
+ message: '#^Method WC_REST_Layout_Templates_Controller\:\:get_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-layout-templates-controller.php
+
+ -
+ message: '#^Method WC_REST_Layout_Templates_Controller\:\:get_items\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-layout-templates-controller.php
+
+ -
+ message: '#^Method WC_REST_Layout_Templates_Controller\:\:get_items_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-layout-templates-controller.php
+
+ -
+ message: '#^Method WC_REST_Layout_Templates_Controller\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-layout-templates-controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Network_Orders_V2_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 132 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-network-orders-controller.php
+
+ -
+ message: '#^@param WP_Comment \$note does not accept actual type of parameter\: WP_Comment\|null\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-order-notes-controller.php
+
+ -
+ message: '#^Cannot call method add_order_note\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-order-notes-controller.php
+
+ -
+ message: '#^Cannot call method get_id\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-order-notes-controller.php
+
+ -
+ message: '#^Cannot call method get_type\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-order-notes-controller.php
+
+ -
+ message: '#^Method WC_REST_Order_Notes_Controller\:\:create_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-order-notes-controller.php
+
+ -
+ message: '#^Method WC_REST_Order_Notes_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-order-notes-controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Order_Notes_V2_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 126 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-order-notes-controller.php
+
+ -
+ message: '#^Parameter \#1 \$comment_id of function get_comment_meta expects int, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-order-notes-controller.php
+
+ -
+ message: '#^Parameter \#1 \$data_object of method WP_REST_Controller\:\:update_additional_fields_for_object\(\) expects object, WP_Comment\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-order-notes-controller.php
+
+ -
+ message: '#^Parameter \#1 \$note of method WC_REST_Order_Notes_Controller\:\:prepare_item_for_response\(\) expects WP_Comment, WP_Comment\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-order-notes-controller.php
+
+ -
+ message: '#^Parameter \#2 \$replace of function str_replace expects array\<string\>\|string, int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-order-notes-controller.php
+
+ -
+ message: '#^Cannot access offset ''id'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-order-refunds-controller.php
+
+ -
+ message: '#^Cannot access offset ''key'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-order-refunds-controller.php
+
+ -
+ message: '#^Cannot access offset ''value'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-order-refunds-controller.php
+
+ -
+ message: '#^Cannot call method call_function\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-order-refunds-controller.php
+
+ -
+ message: '#^Cannot call method feature_is_enabled\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-order-refunds-controller.php
+
+ -
+ message: '#^Cannot call method get_id\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-order-refunds-controller.php
+
+ -
+ message: '#^Method WC_REST_Order_Refunds_Controller\:\:prepare_object_for_database\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-order-refunds-controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Order_Refunds_V2_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 130 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-order-refunds-controller.php
+
+ -
+ message: '#^Parameter \#1 \$key of method WC_Data\:\:update_meta_data\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-order-refunds-controller.php
+
+ -
+ message: '#^Parameter \#2 \$value of method WC_Data\:\:update_meta_data\(\) expects array\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-order-refunds-controller.php
+
+ -
+ message: '#^Parameter \#3 \$meta_id of method WC_Data\:\:update_meta_data\(\) expects int, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-order-refunds-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Data\:\:calculate_totals\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-orders-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Data\:\:get_cogs_total_value\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-orders-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Data\:\:needs_payment\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-orders-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Data\:\:payment_complete\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-orders-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Data\:\:set_created_via\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-orders-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Data\:\:set_prices_include_tax\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-orders-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Data\:\:set_status\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-orders-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_code\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-orders-controller.php
+
+ -
+ message: '#^Cannot access offset ''id'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-orders-controller.php
+
+ -
+ message: '#^Cannot access offset ''key'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-orders-controller.php
+
+ -
+ message: '#^Cannot access offset ''value'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-orders-controller.php
+
+ -
+ message: '#^Cannot assign offset ''status'' to WP_REST_Request\.$#'
+ identifier: offsetAssign.dimType
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-orders-controller.php
+
+ -
+ message: '#^Cannot call method call_function\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-orders-controller.php
+
+ -
+ message: '#^Cannot call method feature_is_enabled\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-orders-controller.php
+
+ -
+ message: '#^Constant WC_ABSPATH not found\.$#'
+ identifier: constant.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-orders-controller.php
+
+ -
+ message: '#^Method WC_REST_Orders_Controller\:\:calculate_coupons\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-orders-controller.php
+
+ -
+ message: '#^Method WC_REST_Orders_Controller\:\:prepare_object_for_database\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-orders-controller.php
+
+ -
+ message: '#^Method WC_REST_Orders_Controller\:\:prepare_object_for_response_core\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-orders-controller.php
+
+ -
+ message: '#^Method WC_REST_Orders_Controller\:\:prepare_objects_query\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-orders-controller.php
+
+ -
+ message: '#^Method WC_REST_Orders_Controller\:\:save_object\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-orders-controller.php
+
+ -
+ message: '#^Method WC_REST_Orders_Controller\:\:save_object\(\) should return WC_Data\|WP_Error but returns bool\|WC_Data\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-orders-controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Orders_V2_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 116 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-orders-controller.php
+
+ -
+ message: '#^Parameter \#1 \$key of method WC_Data\:\:update_meta_data\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-orders-controller.php
+
+ -
+ message: '#^Parameter \#1 \$value of function wc_format_coupon_code expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-orders-controller.php
+
+ -
+ message: '#^Parameter \#1 \$value of static method Automattic\\WooCommerce\\Utilities\\StringUtil\:\:is_null_or_whitespace\(\) expects string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-orders-controller.php
+
+ -
+ message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-orders-controller.php
+
+ -
+ message: '#^Parameter \#2 \$order of method WC_REST_Orders_Controller\:\:calculate_coupons\(\) expects WC_Order, WC_Data given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-orders-controller.php
+
+ -
+ message: '#^Parameter \#2 \$value of method WC_Data\:\:update_meta_data\(\) expects array\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-orders-controller.php
+
+ -
+ message: '#^Parameter \#3 \$item_id of method WC_REST_Orders_Controller\:\:remove_item\(\) expects int, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-orders-controller.php
+
+ -
+ message: '#^Parameter \#3 \$meta_id of method WC_Data\:\:update_meta_data\(\) expects int, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-orders-controller.php
+
+ -
+ message: '#^Method WC_REST_Payment_Gateways_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-payment-gateways-controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Payment_Gateways_V2_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 127 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-payment-gateways-controller.php
+
+ -
+ message: '#^Cannot call method get_meta\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-paypal-buttons-controller.php
+
+ -
+ message: '#^Cannot call method get_order_key\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-paypal-buttons-controller.php
+
+ -
+ message: '#^Cannot call method get_status\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-paypal-buttons-controller.php
+
+ -
+ message: '#^Cannot call method has_status\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-paypal-buttons-controller.php
+
+ -
+ message: '#^Cannot call method save\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 3
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-paypal-buttons-controller.php
+
+ -
+ message: '#^Cannot call method set_payment_method\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-paypal-buttons-controller.php
+
+ -
+ message: '#^Cannot call method update_meta_data\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-paypal-buttons-controller.php
+
+ -
+ message: '#^Cannot call method update_status\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-paypal-buttons-controller.php
+
+ -
+ message: '#^Constant WC_ABSPATH not found\.$#'
+ identifier: constant.notFound
+ count: 2
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-paypal-buttons-controller.php
+
+ -
+ message: '#^Method WC_REST_Paypal_Buttons_Controller\:\:cancel_payment\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-paypal-buttons-controller.php
+
+ -
+ message: '#^Method WC_REST_Paypal_Buttons_Controller\:\:create_order\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-paypal-buttons-controller.php
+
+ -
+ message: '#^Method WC_REST_Paypal_Buttons_Controller\:\:validate_cancel_payment_request\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-paypal-buttons-controller.php
+
+ -
+ message: '#^Method WC_REST_Paypal_Buttons_Controller\:\:validate_cancel_payment_request\(\) should return bool but returns int\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-paypal-buttons-controller.php
+
+ -
+ message: '#^Method WC_REST_Paypal_Buttons_Controller\:\:validate_create_order_request\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-paypal-buttons-controller.php
+
+ -
+ message: '#^Method WC_REST_Paypal_Buttons_Controller\:\:validate_create_order_request\(\) should return bool but returns int\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-paypal-buttons-controller.php
+
+ -
+ message: '#^Negated boolean expression is always false\.$#'
+ identifier: booleanNot.alwaysFalse
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-paypal-buttons-controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 114 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-paypal-buttons-controller.php
+
+ -
+ message: '#^Parameter \#1 \$order of method WC_Gateway_Paypal_Request\:\:create_paypal_order\(\) expects WC_Order, WC_Order\|WC_Order_Refund\|true given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-paypal-buttons-controller.php
+
+ -
+ message: '#^Parameter \#1 \$order of method WC_Payment_Gateway\:\:get_return_url\(\) expects WC_Order\|null, WC_Order\|WC_Order_Refund\|true given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-paypal-buttons-controller.php
+
+ -
+ message: '#^Access to an undefined property WooCommerce\:\:\$checkout\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-paypal-standard-controller.php
+
+ -
+ message: '#^Binary operation "\." between non\-falsy\-string and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-paypal-standard-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_instance_id\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-paypal-standard-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_method_id\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-paypal-standard-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_product\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-paypal-standard-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_product_id\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-paypal-standard-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_variation_id\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-paypal-standard-controller.php
+
+ -
+ message: '#^Constant WC_ABSPATH not found\.$#'
+ identifier: constant.notFound
+ count: 3
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-paypal-standard-controller.php
+
+ -
+ message: '#^Method WC_REST_Paypal_Standard_Controller\:\:process_shipping_callback\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-paypal-standard-controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 115 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-paypal-standard-controller.php
+
+ -
+ message: '#^Call to function method_exists\(\) with ''Automattic\\\\Jetpack…'' and ''is_signed_with_blog…'' will always evaluate to true\.$#'
+ identifier: function.alreadyNarrowedType
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-paypal-webhooks-controller.php
+
+ -
+ message: '#^Class Automattic\\Jetpack\\Connection\\Rest_Authentication referenced with incorrect case\: Automattic\\Jetpack\\Connection\\REST_Authentication\.$#'
+ identifier: class.nameCase
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-paypal-webhooks-controller.php
+
+ -
+ message: '#^Constant WC_ABSPATH not found\.$#'
+ identifier: constant.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-paypal-webhooks-controller.php
+
+ -
+ message: '#^Method WC_REST_Paypal_Webhooks_Controller\:\:process_webhook\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-paypal-webhooks-controller.php
+
+ -
+ message: '#^Method WC_REST_Paypal_Webhooks_Controller\:\:validate_webhook\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-paypal-webhooks-controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 122 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-paypal-webhooks-controller.php
+
+ -
+ message: '#^@param WP_Post \$post does not accept actual type of parameter\: WP_Post\|null\.$#'
+ identifier: parameter.phpDocType
+ count: 2
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-posts-controller.php
+
+ -
+ message: '#^@param WP_REST_Response \$response does not accept actual type of parameter\: WP_Error\|WP_REST_Response\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-posts-controller.php
+
+ -
+ message: '#^@param string \$allowed_query_var does not accept actual type of parameter\: non\-empty\-array\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-posts-controller.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$ID\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-posts-controller.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$post_type\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-posts-controller.php
+
+ -
+ message: '#^Call to an undefined method WP_Error\|WP_REST_Response\:\:header\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-posts-controller.php
+
+ -
+ message: '#^Call to an undefined method WP_Error\|WP_REST_Response\:\:link_header\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-posts-controller.php
+
+ -
+ message: '#^Call to an undefined method WP_Error\|WP_REST_Response\:\:set_status\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-posts-controller.php
+
+ -
+ message: '#^Cannot access property \$ID on int\|WP_Post\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-posts-controller.php
+
+ -
+ message: '#^Cannot access property \$cap on WP_Post_Type\|null\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-posts-controller.php
+
+ -
+ message: '#^Method WC_REST_Posts_Controller\:\:add_post_meta_fields\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-posts-controller.php
+
+ -
+ message: '#^Method WC_REST_Posts_Controller\:\:batch_items_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-posts-controller.php
+
+ -
+ message: '#^Method WC_REST_Posts_Controller\:\:create_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-posts-controller.php
+
+ -
+ message: '#^Method WC_REST_Posts_Controller\:\:create_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-posts-controller.php
+
+ -
+ message: '#^Method WC_REST_Posts_Controller\:\:delete_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-posts-controller.php
+
+ -
+ message: '#^Method WC_REST_Posts_Controller\:\:delete_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-posts-controller.php
+
+ -
+ message: '#^Method WC_REST_Posts_Controller\:\:delete_post\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-posts-controller.php
+
+ -
+ message: '#^Method WC_REST_Posts_Controller\:\:get_allowed_query_vars\(\) should return array but returns string\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-posts-controller.php
+
+ -
+ message: '#^Method WC_REST_Posts_Controller\:\:get_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-posts-controller.php
+
+ -
+ message: '#^Method WC_REST_Posts_Controller\:\:get_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-posts-controller.php
+
+ -
+ message: '#^Method WC_REST_Posts_Controller\:\:get_items\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-posts-controller.php
+
+ -
+ message: '#^Method WC_REST_Posts_Controller\:\:get_items_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-posts-controller.php
+
+ -
+ message: '#^Method WC_REST_Posts_Controller\:\:prepare_items_query\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-posts-controller.php
+
+ -
+ message: '#^Method WC_REST_Posts_Controller\:\:prepare_links\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-posts-controller.php
+
+ -
+ message: '#^Method WC_REST_Posts_Controller\:\:update_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-posts-controller.php
+
+ -
+ message: '#^Method WC_REST_Posts_Controller\:\:update_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-posts-controller.php
+
+ -
+ message: '#^Method WC_REST_Posts_Controller\:\:update_post_meta_fields\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-posts-controller.php
+
+ -
+ message: '#^One or more @param tags has an invalid name or invalid syntax\.$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-posts-controller.php
+
+ -
+ message: '#^PHPDoc tag @param has invalid value \(array Array of allowed WP_Query query vars\.\)\: Unexpected token "Array", expected variable at offset 148 on line 6$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-posts-controller.php
+
+ -
+ message: '''
+ #^PHPDoc tag @param has invalid value \(array \{
+ Array of allowed WP_Query query vars\.\)\: Unexpected token "\{", expected variable at offset 261 on line 8$#
+ '''
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-posts-controller.php
+
+ -
+ message: '#^Parameter \#1 \$data_object of method WP_REST_Controller\:\:update_additional_fields_for_object\(\) expects object, WP_Post\|null given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-posts-controller.php
+
+ -
+ message: '#^Parameter \#1 \$post of method WC_REST_Posts_Controller\:\:add_post_meta_fields\(\) expects WP_Post, WP_Post\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-posts-controller.php
+
+ -
+ message: '#^Parameter \#1 \$post of method WC_REST_Posts_Controller\:\:delete_post\(\) expects WP_Post, WP_Post\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-posts-controller.php
+
+ -
+ message: '#^Parameter \#1 \$post of method WC_REST_Posts_Controller\:\:update_post_meta_fields\(\) expects WP_Post, WP_Post\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-posts-controller.php
+
+ -
+ message: '#^Parameter \#1 \$postarr of function wp_insert_post expects array\{ID\?\: int, post_author\?\: int, post_date\?\: string, post_date_gmt\?\: string, post_content\?\: string, post_content_filtered\?\: string, post_title\?\: string, post_excerpt\?\: string, \.\.\.\}, object given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-posts-controller.php
+
+ -
+ message: '#^Parameter \#1 \$response of method WP_REST_Controller\:\:prepare_response_for_collection\(\) expects WP_REST_Response, WP_Error\|WP_REST_Response given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-posts-controller.php
+
+ -
+ message: '#^Parameter \#2 \$value of method WP_HTTP_Response\:\:header\(\) expects string, int given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-posts-controller.php
+
+ -
+ message: '#^Property WC_REST_Posts_Controller\:\:\$public \(string\) does not accept default value of type false\.$#'
+ identifier: property.defaultValue
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-posts-controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Product_Attribute_Terms_V2_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 150 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-attribute-terms-controller.php
+
+ -
+ message: '#^@param stdObject \$attribute does not accept actual type of parameter\: stdClass\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-attributes-controller.php
+
+ -
+ message: '#^Method WC_REST_Product_Attributes_Controller\:\:create_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-attributes-controller.php
+
+ -
+ message: '#^Method WC_REST_Product_Attributes_Controller\:\:create_item\(\) return type with generic class WP_REST_Request does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-attributes-controller.php
+
+ -
+ message: '#^Method WC_REST_Product_Attributes_Controller\:\:create_item\(\) should return WP_Error\|WP_REST_Request but returns WP_REST_Response\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-attributes-controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Product_Attributes_V2_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 140 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-attributes-controller.php
+
+ -
+ message: '#^Parameter \#1 \$item of method WC_REST_Product_Attributes_V1_Controller\:\:prepare_item_for_response\(\) expects obj, stdClass given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-attributes-controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Product_Categories_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 125 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-brands-controller.php
+
+ -
+ message: '#^Cannot access property \$post_date on WP_Post\|null\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-categories-controller.php
+
+ -
+ message: '#^Cannot access property \$post_date_gmt on WP_Post\|null\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-categories-controller.php
+
+ -
+ message: '#^Cannot access property \$post_modified on WP_Post\|null\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-categories-controller.php
+
+ -
+ message: '#^Cannot access property \$post_modified_gmt on WP_Post\|null\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-categories-controller.php
+
+ -
+ message: '#^Cannot cast mixed to int\.$#'
+ identifier: cast.int
+ count: 2
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-categories-controller.php
+
+ -
+ message: '#^Method WC_REST_Product_Categories_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-categories-controller.php
+
+ -
+ message: '#^Method WC_REST_Product_Categories_Controller\:\:update_term_meta_fields\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-categories-controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Product_Categories_V2_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 140 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-categories-controller.php
+
+ -
+ message: '#^Parameter \#1 \$attachment_id of function wp_get_attachment_url expects int, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-categories-controller.php
+
+ -
+ message: '#^Parameter \#1 \$post of function get_post expects int\|WP_Post\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-categories-controller.php
+
+ -
+ message: '#^Parameter \#1 \$post of function get_the_title expects int\|WP_Post, WP_Post\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-categories-controller.php
+
+ -
+ message: '#^Parameter \#1 \$post_id of function get_post_meta expects int, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-categories-controller.php
+
+ -
+ message: '#^Parameter \#1 \$postarr of function wp_update_post expects array\{ID\?\: int, post_author\?\: int, post_date\?\: string, post_date_gmt\?\: string, post_content\?\: string, post_content_filtered\?\: string, post_title\?\: string, post_excerpt\?\: string, \.\.\.\}, array\{ID\: int\<min, \-1\>\|int\<1, max\>, post_title\: array\|string\} given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-categories-controller.php
+
+ -
+ message: '#^Method WC_REST_Product_Custom_Fields_Controller\:\:get_item_names\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-custom-fields-controller.php
+
+ -
+ message: '#^Method WC_REST_Product_Custom_Fields_Controller\:\:get_items_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-custom-fields-controller.php
+
+ -
+ message: '#^Method WC_REST_Product_Custom_Fields_Controller\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-custom-fields-controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 121 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-custom-fields-controller.php
+
+ -
+ message: '#^Parameter \#2 \$value of method WP_HTTP_Response\:\:header\(\) expects string, int given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-custom-fields-controller.php
+
+ -
+ message: '#^@param WP_Comment \$review does not accept actual type of parameter\: WP_Comment\|null\.$#'
+ identifier: parameter.phpDocType
+ count: 2
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-reviews-controller.php
+
+ -
+ message: '#^Argument of an invalid type array\|int supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-reviews-controller.php
+
+ -
+ message: '#^Cannot cast mixed to int\.$#'
+ identifier: cast.int
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-reviews-controller.php
+
+ -
+ message: '#^Method WC_REST_Product_Reviews_Controller\:\:batch_items_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-reviews-controller.php
+
+ -
+ message: '#^Method WC_REST_Product_Reviews_Controller\:\:create_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-reviews-controller.php
+
+ -
+ message: '#^Method WC_REST_Product_Reviews_Controller\:\:create_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-reviews-controller.php
+
+ -
+ message: '#^Method WC_REST_Product_Reviews_Controller\:\:delete_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-reviews-controller.php
+
+ -
+ message: '#^Method WC_REST_Product_Reviews_Controller\:\:delete_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-reviews-controller.php
+
+ -
+ message: '#^Method WC_REST_Product_Reviews_Controller\:\:get_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-reviews-controller.php
+
+ -
+ message: '#^Method WC_REST_Product_Reviews_Controller\:\:get_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-reviews-controller.php
+
+ -
+ message: '#^Method WC_REST_Product_Reviews_Controller\:\:get_items\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-reviews-controller.php
+
+ -
+ message: '#^Method WC_REST_Product_Reviews_Controller\:\:get_items\(\) should return array\|WP_Error but returns WP_REST_Response\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-reviews-controller.php
+
+ -
+ message: '#^Method WC_REST_Product_Reviews_Controller\:\:get_items_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-reviews-controller.php
+
+ -
+ message: '#^Method WC_REST_Product_Reviews_Controller\:\:prepare_item_for_database\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-reviews-controller.php
+
+ -
+ message: '#^Method WC_REST_Product_Reviews_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-reviews-controller.php
+
+ -
+ message: '#^Method WC_REST_Product_Reviews_Controller\:\:prepare_status_response\(\) should return string but returns int\|string\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-reviews-controller.php
+
+ -
+ message: '#^Method WC_REST_Product_Reviews_Controller\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-reviews-controller.php
+
+ -
+ message: '#^Method WC_REST_Product_Reviews_Controller\:\:update_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-reviews-controller.php
+
+ -
+ message: '#^Method WC_REST_Product_Reviews_Controller\:\:update_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-reviews-controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 115 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-reviews-controller.php
+
+ -
+ message: '#^Parameter \#1 \$comment_id of function get_comment_meta expects int, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-reviews-controller.php
+
+ -
+ message: '#^Parameter \#1 \$comment_id of function wc_review_is_from_verified_owner expects int, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-reviews-controller.php
+
+ -
+ message: '#^Parameter \#1 \$comment_id of function wp_delete_comment expects int\|WP_Comment, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-reviews-controller.php
+
+ -
+ message: '#^Parameter \#1 \$comment_id of function wp_trash_comment expects int\|WP_Comment, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-reviews-controller.php
+
+ -
+ message: '#^Parameter \#1 \$data_object of method WP_REST_Controller\:\:update_additional_fields_for_object\(\) expects object, WP_Comment\|null given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-reviews-controller.php
+
+ -
+ message: '#^Parameter \#1 \$ip of function rest_is_ip_address expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-reviews-controller.php
+
+ -
+ message: '#^Parameter \#1 \$review of method WC_REST_Product_Reviews_Controller\:\:prepare_item_for_response\(\) expects WP_Comment, WP_Comment\|null given\.$#'
+ identifier: argument.type
+ count: 3
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-reviews-controller.php
+
+ -
+ message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-reviews-controller.php
+
+ -
+ message: '#^Parameter \#2 \$object_id of function wc_rest_check_product_reviews_permissions expects string, int given\.$#'
+ identifier: argument.type
+ count: 3
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-reviews-controller.php
+
+ -
+ message: '#^Parameter \#2 \$value of method WP_HTTP_Response\:\:header\(\) expects string, array\|int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-reviews-controller.php
+
+ -
+ message: '#^Parameter \#2 \$value of method WP_HTTP_Response\:\:header\(\) expects string, float\|int\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-reviews-controller.php
+
+ -
+ message: '#^Parameter \#3 \$subject of function str_replace expects array\<string\>\|string, int\|string given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-reviews-controller.php
+
+ -
+ message: '#^Method WC_REST_Product_Shipping_Classes_Controller\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-shipping-classes-controller.php
+
+ -
+ message: '#^Method WC_REST_Product_Shipping_Classes_Controller\:\:suggest_slug\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-shipping-classes-controller.php
+
+ -
+ message: '#^Method WC_REST_Product_Shipping_Classes_Controller\:\:suggest_slug\(\) should return string but returns WP_REST_Response\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-shipping-classes-controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Product_Shipping_Classes_V2_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 152 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-shipping-classes-controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Product_Tags_V2_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 128 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-tags-controller.php
+
+ -
+ message: '#^Access to offset ''cost_of_goods_sold'' on an unknown class Automattic\\WooCommerce\\Internal\\CostOfGoodsSold\\WP_Rest_Request\.$#'
+ identifier: class.notFound
+ count: 2
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
+
+ -
+ message: '#^Binary operation "\." between ''attribute_'' and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 3
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Data\:\:backorders_allowed\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Data\:\:get_backorders\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Data\:\:get_date_created\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Data\:\:get_date_modified\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Data\:\:get_date_on_sale_from\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Data\:\:get_date_on_sale_to\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Data\:\:get_description\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Data\:\:get_download_expiry\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Data\:\:get_download_limit\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Data\:\:get_global_unique_id\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Data\:\:get_height\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Data\:\:get_length\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Data\:\:get_low_stock_amount\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Data\:\:get_menu_order\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Data\:\:get_parent_id\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Data\:\:get_permalink\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Data\:\:get_price\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Data\:\:get_regular_price\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Data\:\:get_sale_price\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Data\:\:get_shipping_class\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Data\:\:get_shipping_class_id\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Data\:\:get_sku\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Data\:\:get_status\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Data\:\:get_stock_quantity\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Data\:\:get_stock_status\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Data\:\:get_tax_class\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Data\:\:get_tax_status\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Data\:\:get_type\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Data\:\:get_weight\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Data\:\:get_width\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Data\:\:is_downloadable\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Data\:\:is_on_backorder\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Data\:\:is_on_sale\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Data\:\:is_purchasable\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Data\:\:is_virtual\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Data\:\:managing_stock\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
+
+ -
+ message: '#^Call to an undefined method object\:\:create_all_product_variations\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
+
+ -
+ message: '#^Call to an undefined method object\:\:sort_all_product_variations\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
+
+ -
+ message: '#^Call to method get_cogs_effective_value\(\) on an unknown class Automattic\\WooCommerce\\Internal\\CostOfGoodsSold\\WC_Product\.$#'
+ identifier: class.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
+
+ -
+ message: '#^Call to method get_cogs_total_value\(\) on an unknown class Automattic\\WooCommerce\\Internal\\CostOfGoodsSold\\WC_Product\.$#'
+ identifier: class.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
+
+ -
+ message: '#^Call to method get_cogs_value\(\) on an unknown class Automattic\\WooCommerce\\Internal\\CostOfGoodsSold\\WC_Product\.$#'
+ identifier: class.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
+
+ -
+ message: '#^Call to method get_cogs_value_is_additive\(\) on an unknown class Automattic\\WooCommerce\\Internal\\CostOfGoodsSold\\WC_Product\.$#'
+ identifier: class.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
+
+ -
+ message: '#^Call to method set_cogs_value\(\) on an unknown class Automattic\\WooCommerce\\Internal\\CostOfGoodsSold\\WC_Product\.$#'
+ identifier: class.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
+
+ -
+ message: '#^Call to method set_cogs_value_is_additive\(\) on an unknown class Automattic\\WooCommerce\\Internal\\CostOfGoodsSold\\WC_Product\.$#'
+ identifier: class.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
+
+ -
+ message: '#^Cannot access offset ''attribute'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
+
+ -
+ message: '#^Cannot access offset ''id'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
+
+ -
+ message: '#^Cannot access offset ''key'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
+
+ -
+ message: '#^Cannot access offset ''term'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
+
+ -
+ message: '#^Cannot access offset ''terms'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
+
+ -
+ message: '#^Cannot access offset ''value'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
+
+ -
+ message: '#^Cannot call method call_function\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
+
+ -
+ message: '#^Cannot call method delete\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
+
+ -
+ message: '#^Cannot call method feature_is_enabled\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
+
+ -
+ message: '#^Cannot call method get_attributes\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
+
+ -
+ message: '#^Cannot call method get_data_store\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
+
+ -
+ message: '#^Cannot call method get_downloadable\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
+
+ -
+ message: '#^Cannot call method get_id\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
+
+ -
+ message: '#^Cannot call method set_download_expiry\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
+
+ -
+ message: '#^Cannot call method set_download_limit\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
+
+ -
+ message: '#^Cannot call method set_downloadable\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
+
+ -
+ message: '#^Cannot call method set_global_unique_id\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
+
+ -
+ message: '#^Cannot call method set_image_id\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
+
+ -
+ message: '#^Cannot call method set_parent_id\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
+
+ -
+ message: '#^Cannot call method set_sku\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
+
+ -
+ message: '#^Cannot call method set_status\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
+
+ -
+ message: '#^Cannot call method set_virtual\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
+
+ -
+ message: '#^Method WC_REST_Product_Variations_Controller\:\:generate\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
+
+ -
+ message: '#^Method WC_REST_Product_Variations_Controller\:\:get_image\(\) should return array but empty return statement found\.$#'
+ identifier: return.empty
+ count: 3
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
+
+ -
+ message: '#^Method WC_REST_Product_Variations_Controller\:\:prepare_object_for_database\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
+
+ -
+ message: '#^Method WC_REST_Product_Variations_Controller\:\:prepare_object_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
+
+ -
+ message: '#^Method WC_REST_Product_Variations_Controller\:\:prepare_objects_query\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
+
+ -
+ message: '#^Method WC_REST_Product_Variations_Controller\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
+
+ -
+ message: '#^One or more @param tags has an invalid name or invalid syntax\.$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Product_Variations_V2_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 132 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
+
+ -
+ message: '#^PHPDoc tag @param has invalid value \(array Array of image to set\.\)\: Unexpected token "Array", expected variable at offset 293 on line 8$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
+
+ -
+ message: '#^PHPDoc tag @param has invalid value \(bool false If it should suppress\.\)\: Unexpected token "false", expected variable at offset 141 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
+
+ -
+ message: '#^PHPDoc tag @param has invalid value \(int id Variation id\.\)\: Unexpected token "id", expected variable at offset 250 on line 7$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
+
+ -
+ message: '#^Parameter \#1 \$amount of function wc_stock_amount expects float\|int, int\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
+
+ -
+ message: '#^Parameter \#1 \$amount of method WC_Product\:\:set_low_stock_amount\(\) expects int\|string, float\|int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
+
+ -
+ message: '#^Parameter \#1 \$args of function wc_get_min_max_price_meta_query expects array, WP_REST_Request given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
+
+ -
+ message: '#^Parameter \#1 \$attachment_id of function wp_get_attachment_image_src expects int, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
+
+ -
+ message: '#^Parameter \#1 \$date of function wc_rest_prepare_date_response expects string\|WC_DateTime\|null, int\|false given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
+
+ -
+ message: '#^Parameter \#1 \$date of method WC_Product\:\:set_date_on_sale_from\(\) expects int\|string\|null, int\|false\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
+
+ -
+ message: '#^Parameter \#1 \$date of method WC_Product\:\:set_date_on_sale_to\(\) expects int\|string\|null, int\|false\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
+
+ -
+ message: '#^Parameter \#1 \$dimensions_unit of static method Automattic\\WooCommerce\\Utilities\\I18nUtil\:\:get_dimensions_unit_label\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
+
+ -
+ message: '#^Parameter \#1 \$key of method WC_Data\:\:update_meta_data\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
+
+ -
+ message: '#^Parameter \#1 \$post of function get_post expects int\|WP_Post\|null, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
+
+ -
+ message: '#^Parameter \#1 \$post of function get_the_title expects int\|WP_Post, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
+
+ -
+ message: '#^Parameter \#1 \$post_id of function get_post_meta expects int, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
+
+ -
+ message: '#^Parameter \#1 \$product of method WC_REST_Product_Variations_Controller\:\:delete_unmatched_product_variations\(\) expects WC_Product, WC_Product\|false\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
+
+ -
+ message: '#^Parameter \#1 \$product of method WC_REST_Product_Variations_Controller\:\:get_downloads\(\) expects WC_Product_Variation, WC_Data given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
+
+ -
+ message: '#^Parameter \#1 \$product of method WC_REST_Products_V2_Controller\:\:get_attributes\(\) expects WC_Product, WC_Data given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
+
+ -
+ message: '#^Parameter \#1 \$product of method WC_REST_Products_V2_Controller\:\:save_downloadable_files\(\) expects WC_Product, WC_Product\|false\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
+
+ -
+ message: '#^Parameter \#1 \$product of method WC_REST_Products_V2_Controller\:\:save_product_shipping_data\(\) expects WC_Product, WC_Product\|false\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
+
+ -
+ message: '#^Parameter \#1 \$quantity of method WC_Product\:\:set_stock_quantity\(\) expects float\|null, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
+
+ -
+ message: '#^Parameter \#1 \$request of method WC_REST_Product_Variations_Controller\:\:set_cogs_info_in_product_object\(\) expects Automattic\\WooCommerce\\Internal\\CostOfGoodsSold\\WP_Rest_Request, WP_REST_Request given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
+
+ -
+ message: '#^Parameter \#1 \$title of function sanitize_title expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
+
+ -
+ message: '#^Parameter \#1 \$upload of function wc_rest_set_uploaded_image_as_attachment expects array, array\|WP_Error given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
+
+ -
+ message: '#^Parameter \#1 \$variation of function wc_get_formatted_variation expects array\|WC_Product_Variation, WC_Data given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
+
+ -
+ message: '#^Parameter \#1 \$variation of method WC_REST_Product_Variations_Controller\:\:get_image\(\) expects WC_Product_Variation, WC_Data given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
+
+ -
+ message: '#^Parameter \#1 \$variation of method WC_REST_Product_Variations_Controller\:\:set_variation_image\(\) expects WC_Product_Variation, WC_Product\|false\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
+
+ -
+ message: '#^Parameter \#1 \$weight_unit of static method Automattic\\WooCommerce\\Utilities\\I18nUtil\:\:get_weight_unit_label\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
+
+ -
+ message: '#^Parameter \#2 \$data of method WC_REST_Products_V2_Controller\:\:save_product_shipping_data\(\) expects array, WP_REST_Request given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
+
+ -
+ message: '#^Parameter \#2 \$product of method WC_REST_Product_Variations_Controller\:\:add_cogs_info_to_returned_product_data\(\) expects Automattic\\WooCommerce\\Internal\\CostOfGoodsSold\\WC_Product, WC_Data given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
+
+ -
+ message: '#^Parameter \#2 \$product of method WC_REST_Product_Variations_Controller\:\:set_cogs_info_in_product_object\(\) expects Automattic\\WooCommerce\\Internal\\CostOfGoodsSold\\WC_Product, WC_Product given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
+
+ -
+ message: '#^Parameter \#2 \$value of function get_term_by expects int\|string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
+
+ -
+ message: '#^Parameter \#2 \$value of method WC_Data\:\:update_meta_data\(\) expects array\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
+
+ -
+ message: '#^Parameter \#3 \$meta_id of method WC_Data\:\:update_meta_data\(\) expects int, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
+
+ -
+ message: '#^Parameter \$product of method WC_REST_Product_Variations_Controller\:\:add_cogs_info_to_returned_product_data\(\) has invalid type Automattic\\WooCommerce\\Internal\\CostOfGoodsSold\\WC_Product\.$#'
+ identifier: class.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
+
+ -
+ message: '#^Parameter \$product of method WC_REST_Product_Variations_Controller\:\:set_cogs_info_in_product_object\(\) has invalid type Automattic\\WooCommerce\\Internal\\CostOfGoodsSold\\WC_Product\.$#'
+ identifier: class.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
+
+ -
+ message: '#^Parameter \$request of method WC_REST_Product_Variations_Controller\:\:set_cogs_info_in_product_object\(\) has invalid type Automattic\\WooCommerce\\Internal\\CostOfGoodsSold\\WP_Rest_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
+
+ -
+ message: '#^Variable \$image in isset\(\) is never defined\.$#'
+ identifier: isset.variable
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-product-variations-controller.php
+
+ -
+ message: '#^Method WC_REST_Products_Catalog_Controller\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-catalog-controller.php
+
+ -
+ message: '#^Method WC_REST_Products_Catalog_Controller\:\:request_catalog\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-catalog-controller.php
+
+ -
+ message: '#^Method WC_REST_Products_Catalog_Controller\:\:request_catalog_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-catalog-controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 116 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-catalog-controller.php
+
+ -
+ message: '#^Access to offset ''cost_of_goods_sold'' on an unknown class Automattic\\WooCommerce\\Internal\\CostOfGoodsSold\\WP_Rest_Request\.$#'
+ identifier: class.notFound
+ count: 2
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_related_products\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Product\:\:set_button_text\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Product\:\:set_children\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Product\:\:set_product_url\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
+
+ -
+ message: '#^Call to method get_cogs_effective_value\(\) on an unknown class Automattic\\WooCommerce\\Internal\\CostOfGoodsSold\\WC_Product\.$#'
+ identifier: class.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
+
+ -
+ message: '#^Call to method get_cogs_total_value\(\) on an unknown class Automattic\\WooCommerce\\Internal\\CostOfGoodsSold\\WC_Product\.$#'
+ identifier: class.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
+
+ -
+ message: '#^Call to method get_cogs_value\(\) on an unknown class Automattic\\WooCommerce\\Internal\\CostOfGoodsSold\\WC_Product\.$#'
+ identifier: class.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
+
+ -
+ message: '#^Call to method get_cogs_value_is_additive\(\) on an unknown class Automattic\\WooCommerce\\Internal\\CostOfGoodsSold\\WC_Product\.$#'
+ identifier: class.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
+
+ -
+ message: '#^Call to method set_cogs_value\(\) on an unknown class Automattic\\WooCommerce\\Internal\\CostOfGoodsSold\\WC_Product\.$#'
+ identifier: class.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
+
+ -
+ message: '#^Call to method set_cogs_value_is_additive\(\) on an unknown class Automattic\\WooCommerce\\Internal\\CostOfGoodsSold\\WC_Product\.$#'
+ identifier: class.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
+
+ -
+ message: '#^Cannot access offset ''alt'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
+
+ -
+ message: '#^Cannot access offset ''id'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
+
+ -
+ message: '#^Cannot access offset ''key'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
+
+ -
+ message: '#^Cannot access offset ''name'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
+
+ -
+ message: '#^Cannot access offset ''src'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
+
+ -
+ message: '#^Cannot access offset ''value'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
+
+ -
+ message: '#^Cannot access property \$public on WP_Post_Type\|null\.$#'
+ identifier: property.nonObject
+ count: 2
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
+
+ -
+ message: '#^Cannot access property \$term_id on WP_Term\|false\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
+
+ -
+ message: '#^Cannot call method call_function\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
+
+ -
+ message: '#^Cannot call method feature_is_enabled\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
+
+ -
+ message: '#^Cannot call method get_type\(\) on object\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
+
+ -
+ message: '#^Cannot call method set_catalog_visibility\(\) on object\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
+
+ -
+ message: '#^Cannot call method set_description\(\) on object\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
+
+ -
+ message: '#^Cannot call method set_featured\(\) on object\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
+
+ -
+ message: '#^Cannot call method set_menu_order\(\) on object\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
+
+ -
+ message: '#^Cannot call method set_name\(\) on object\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
+
+ -
+ message: '#^Cannot call method set_post_password\(\) on object\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
+
+ -
+ message: '#^Cannot call method set_purchase_note\(\) on object\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
+
+ -
+ message: '#^Cannot call method set_reviews_allowed\(\) on object\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
+
+ -
+ message: '#^Cannot call method set_short_description\(\) on object\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
+
+ -
+ message: '#^Cannot call method set_slug\(\) on object\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
+
+ -
+ message: '#^Cannot call method set_status\(\) on object\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
+
+ -
+ message: '#^Cannot call method set_tax_class\(\) on object\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
+
+ -
+ message: '#^Cannot call method set_tax_status\(\) on object\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
+
+ -
+ message: '#^Cannot call method set_virtual\(\) on object\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
+
+ -
+ message: '#^Constant WC_DELIMITER not found\.$#'
+ identifier: constant.notFound
+ count: 2
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
+
+ -
+ message: '#^Method WC_Product\:\:has_options\(\) invoked with 1 parameter, 0 required\.$#'
+ identifier: arguments.count
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
+
+ -
+ message: '#^Method WC_REST_Products_Controller\:\:create_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
+
+ -
+ message: '#^Method WC_REST_Products_Controller\:\:duplicate_product\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
+
+ -
+ message: '#^Method WC_REST_Products_Controller\:\:get_suggested_products\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
+
+ -
+ message: '#^Method WC_REST_Products_Controller\:\:get_suggested_products\(\) should return object but returns array\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
+
+ -
+ message: '#^Method WC_REST_Products_Controller\:\:prepare_object_for_database\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
+
+ -
+ message: '#^Method WC_REST_Products_Controller\:\:prepare_object_for_response_core\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
+
+ -
+ message: '#^Method WC_REST_Products_Controller\:\:prepare_objects_query\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
+
+ -
+ message: '#^Method WC_REST_Products_Controller\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Products_V2_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 120 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
+
+ -
+ message: '#^Parameter \#1 \$amount of function wc_stock_amount expects float\|int, int\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
+
+ -
+ message: '#^Parameter \#1 \$amount of method WC_Product\:\:set_low_stock_amount\(\) expects int\|string, float\|int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
+
+ -
+ message: '#^Parameter \#1 \$args of function wc_get_min_max_price_meta_query expects array, WP_REST_Request given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
+
+ -
+ message: '#^Parameter \#1 \$array_arg of function current expects array\|object, list\<bool\|int\|string\>\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
+
+ -
+ message: '#^Parameter \#1 \$classname of function class_exists expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
+
+ -
+ message: '#^Parameter \#1 \$date of function wc_rest_prepare_date_response expects string\|WC_DateTime\|null, int\|false given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
+
+ -
+ message: '#^Parameter \#1 \$date of method WC_Product\:\:set_date_on_sale_from\(\) expects int\|string\|null, int\|false\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
+
+ -
+ message: '#^Parameter \#1 \$date of method WC_Product\:\:set_date_on_sale_to\(\) expects int\|string\|null, int\|false\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
+
+ -
+ message: '#^Parameter \#1 \$dimensions_unit of static method Automattic\\WooCommerce\\Utilities\\I18nUtil\:\:get_dimensions_unit_label\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
+
+ -
+ message: '#^Parameter \#1 \$global_unique_id of method WC_Product\:\:set_global_unique_id\(\) expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
+
+ -
+ message: '#^Parameter \#1 \$key of method WC_Data\:\:update_meta_data\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
+
+ -
+ message: '#^Parameter \#1 \$manage_stock of method WC_Product\:\:set_manage_stock\(\) expects bool, string given\.$#'
+ identifier: argument.type
+ count: 3
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
+
+ -
+ message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
+
+ -
+ message: '#^Parameter \#1 \$post_type of function is_post_type_viewable expects string\|WP_Post_Type, WP_Post_Type\|null given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
+
+ -
+ message: '#^Parameter \#1 \$postarr of function wp_update_post expects array\{ID\?\: int, post_author\?\: int, post_date\?\: string, post_date_gmt\?\: string, post_content\?\: string, post_content_filtered\?\: string, post_title\?\: string, post_excerpt\?\: string, \.\.\.\}, array\{ID\: int, post_title\: mixed\} given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
+
+ -
+ message: '#^Parameter \#1 \$product of method WC_Admin_Duplicate_Product\:\:product_duplicate\(\) expects WC_Product, WC_Data\|WP_Error given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
+
+ -
+ message: '#^Parameter \#1 \$product of method WC_REST_Products_V2_Controller\:\:get_product_data\(\) expects WC_Product, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
+
+ -
+ message: '#^Parameter \#1 \$product of method WC_REST_Products_V2_Controller\:\:save_product_shipping_data\(\) expects WC_Product, object\|false\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
+
+ -
+ message: '#^Parameter \#1 \$quantity of method WC_Product\:\:set_stock_quantity\(\) expects float\|null, string given\.$#'
+ identifier: argument.type
+ count: 3
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
+
+ -
+ message: '#^Parameter \#1 \$request of method WC_REST_Products_Controller\:\:set_cogs_info_in_product_object\(\) expects Automattic\\WooCommerce\\Internal\\CostOfGoodsSold\\WP_Rest_Request, WP_REST_Request given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
+
+ -
+ message: '#^Parameter \#1 \$sku of method WC_Product\:\:set_sku\(\) expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
+
+ -
+ message: '#^Parameter \#1 \$term of function term_exists expects int\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
+
+ -
+ message: '#^Parameter \#1 \$term of function wp_insert_term expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
+
+ -
+ message: '#^Parameter \#1 \$url of function esc_url_raw expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
+
+ -
+ message: '#^Parameter \#1 \$value of method WC_Product_Attribute\:\:set_name\(\) expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
+
+ -
+ message: '#^Parameter \#1 \$value of method WC_Product_Attribute\:\:set_options\(\) expects array, array\<mixed\>\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
+
+ -
+ message: '#^Parameter \#1 \$value of method WC_Product_Attribute\:\:set_position\(\) expects int, string given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
+
+ -
+ message: '#^Parameter \#1 \$value of method WC_Product_Attribute\:\:set_variation\(\) expects bool, int given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
+
+ -
+ message: '#^Parameter \#1 \$value of method WC_Product_Attribute\:\:set_visible\(\) expects bool, int given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
+
+ -
+ message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
+
+ -
+ message: '#^Parameter \#1 \$weight_unit of static method Automattic\\WooCommerce\\Utilities\\I18nUtil\:\:get_weight_unit_label\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
+
+ -
+ message: '#^Parameter \#2 \$callback of function array_filter expects \(callable\(string\)\: bool\)\|null, ''strlen'' given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
+
+ -
+ message: '#^Parameter \#2 \$data of method WC_REST_Products_V2_Controller\:\:save_product_shipping_data\(\) expects array, WP_REST_Request given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
+
+ -
+ message: '#^Parameter \#2 \$product of method WC_REST_Products_Controller\:\:add_cogs_info_to_returned_product_data\(\) expects Automattic\\WooCommerce\\Internal\\CostOfGoodsSold\\WC_Product, WC_Data given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
+
+ -
+ message: '#^Parameter \#2 \$product of method WC_REST_Products_Controller\:\:set_cogs_info_in_product_object\(\) expects Automattic\\WooCommerce\\Internal\\CostOfGoodsSold\\WC_Product, WC_Product given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
+
+ -
+ message: '#^Parameter \#2 \$value of function get_term_by expects int\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
+
+ -
+ message: '#^Parameter \#2 \$value of method WC_Data\:\:update_meta_data\(\) expects array\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
+
+ -
+ message: '#^Parameter \#3 \$meta_id of method WC_Data\:\:update_meta_data\(\) expects int, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
+
+ -
+ message: '#^Parameter \$product of method WC_REST_Products_Controller\:\:add_cogs_info_to_returned_product_data\(\) has invalid type Automattic\\WooCommerce\\Internal\\CostOfGoodsSold\\WC_Product\.$#'
+ identifier: class.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
+
+ -
+ message: '#^Parameter \$product of method WC_REST_Products_Controller\:\:set_cogs_info_in_product_object\(\) has invalid type Automattic\\WooCommerce\\Internal\\CostOfGoodsSold\\WC_Product\.$#'
+ identifier: class.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
+
+ -
+ message: '#^Parameter \$request of method WC_REST_Products_Controller\:\:set_cogs_info_in_product_object\(\) has invalid type Automattic\\WooCommerce\\Internal\\CostOfGoodsSold\\WP_Rest_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-products-controller.php
+
+ -
+ message: '#^Cannot assign offset ''dp'' to WP_REST_Request\.$#'
+ identifier: offsetAssign.dimType
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-refunds-controller.php
+
+ -
+ message: '#^Method WC_REST_Refunds_Controller\:\:prepare_links\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-refunds-controller.php
+
+ -
+ message: '#^Method WC_REST_Refunds_Controller\:\:prepare_object_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-refunds-controller.php
+
+ -
+ message: '#^Method WC_REST_Refunds_Controller\:\:prepare_objects_query\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-refunds-controller.php
+
+ -
+ message: '#^Method WC_REST_Refunds_Controller\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-refunds-controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Order_Refunds_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 127 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-refunds-controller.php
+
+ -
+ message: '#^Parameter \#2 \$replace of function str_replace expects array\<string\>\|string, int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-refunds-controller.php
+
+ -
+ message: '#^Property WC_REST_Order_Refunds_V2_Controller\:\:\$request \(array\) does not accept WP_REST_Request\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-refunds-controller.php
+
+ -
+ message: '#^WP_REST_Request does not accept int\.$#'
+ identifier: offsetAssign.valueType
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-refunds-controller.php
+
+ -
+ message: '#^Method WC_REST_Report_Coupons_Totals_Controller\:\:get_reports\(\) should return array but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-report-coupons-totals-controller.php
+
+ -
+ message: '#^Method WC_REST_Report_Coupons_Totals_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-report-coupons-totals-controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Reports_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 130 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-report-coupons-totals-controller.php
+
+ -
+ message: '#^Method WC_REST_Report_Customers_Totals_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-report-customers-totals-controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Reports_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 132 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-report-customers-totals-controller.php
+
+ -
+ message: '#^Method WC_REST_Report_Orders_Totals_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-report-orders-totals-controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Reports_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 129 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-report-orders-totals-controller.php
+
+ -
+ message: '#^Argument of an invalid type array\<int, WP_Term\>\|WP_Error supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-report-products-totals-controller.php
+
+ -
+ message: '#^Method WC_REST_Report_Products_Totals_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-report-products-totals-controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Reports_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 131 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-report-products-totals-controller.php
+
+ -
+ message: '#^Method WC_REST_Report_Reviews_Totals_Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-report-reviews-totals-controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Reports_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 130 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-report-reviews-totals-controller.php
+
+ -
+ message: '#^Parameter \#1 \$args of function get_comments expects array\{author_email\?\: string, author_url\?\: string, author__in\?\: array\<int\>, author__not_in\?\: array\<int\>, comment__in\?\: array\<int\>, comment__not_in\?\: array\<int\>, count\?\: bool, date_query\?\: array, \.\.\.\}, array\{count\: true, post_type\: ''product'', meta_key\: ''rating'', meta_value\: int\<1, 5\>\} given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-report-reviews-totals-controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Report_Sales_V2_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 128 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-report-sales-controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Report_Top_Sellers_V2_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 140 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-report-top-sellers-controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Reports_V2_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 118 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-reports-controller.php
+
+ -
+ message: '#^Argument of an invalid type array\<WP_Post\>\|false supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-setting-options-controller.php
+
+ -
+ message: '#^Cannot access offset ''group_id'' on stdClass\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-setting-options-controller.php
+
+ -
+ message: '#^Cannot access offset mixed on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-setting-options-controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Setting_Options_V2_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 134 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-setting-options-controller.php
+
+ -
+ message: '#^Parameter \#1 \$args of function get_pages expects array\{child_of\?\: int, sort_order\?\: string, sort_column\?\: string, hierarchical\?\: bool, exclude\?\: array\<int\>, include\?\: array\<int\>, meta_key\?\: string, meta_value\?\: string, \.\.\.\}, array\{sort_column\: ''menu_order'', sort_order\: ''ASC'', hierarchical\: 0\} given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-setting-options-controller.php
+
+ -
+ message: '#^Parameter \#1 \$option of function get_option expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-setting-options-controller.php
+
+ -
+ message: '#^Method WC_REST_Settings_Controller\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-settings-controller.php
+
+ -
+ message: '#^Method WC_REST_Settings_Controller\:\:update_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-settings-controller.php
+
+ -
+ message: '#^Method WC_REST_Settings_Controller\:\:update_items_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-settings-controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Settings_V2_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 120 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-settings-controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Shipping_Methods_V2_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 127 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-shipping-methods-controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Shipping_Zone_Locations_V2_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 139 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-shipping-zone-locations-controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Shipping_Zone_Methods_V2_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 135 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-shipping-zone-methods-controller.php
+
+ -
+ message: '#^Method WC_REST_Shipping_Zones_Controller_Base\:\:create_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-shipping-zones-controller-base.php
+
+ -
+ message: '#^Method WC_REST_Shipping_Zones_Controller_Base\:\:delete_items_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-shipping-zones-controller-base.php
+
+ -
+ message: '#^Method WC_REST_Shipping_Zones_Controller_Base\:\:get_items_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-shipping-zones-controller-base.php
+
+ -
+ message: '#^Method WC_REST_Shipping_Zones_Controller_Base\:\:get_zone\(\) should return WC_Shipping_Zone\|WP_Error but returns WC_Shipping_Zone\|true\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-shipping-zones-controller-base.php
+
+ -
+ message: '#^Method WC_REST_Shipping_Zones_Controller_Base\:\:update_items_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-shipping-zones-controller-base.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 108 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-shipping-zones-controller-base.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Shipping_Zones_V2_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 121 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-shipping-zones-controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_System_Status_V2_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 121 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-system-status-controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_System_Status_Tools_V2_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 127 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-system-status-tools-controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Tax_Classes_V2_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 126 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-tax-classes-controller.php
+
+ -
+ message: '#^Method WC_REST_Taxes_Controller\:\:adjust_cities_and_postcodes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-taxes-controller.php
+
+ -
+ message: '#^Method WC_REST_Taxes_Controller\:\:adjust_cities_and_postcodes\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-taxes-controller.php
+
+ -
+ message: '#^Method WC_REST_Taxes_Controller\:\:create_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-taxes-controller.php
+
+ -
+ message: '#^Method WC_REST_Taxes_Controller\:\:update_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-taxes-controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Taxes_V2_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 114 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-taxes-controller.php
+
+ -
+ message: '#^Parameter &\$request by\-ref type of method WC_REST_Taxes_Controller\:\:adjust_cities_and_postcodes\(\) expects WP_REST_Request, hasOffset\(string\) given\.$#'
+ identifier: parameterByRef.type
+ count: 2
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-taxes-controller.php
+
+ -
+ message: '#^@param WP_REST_Response \$response does not accept actual type of parameter\: WP_Error\|WP_REST_Response\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
+
+ -
+ message: '#^@param WP_Term \$term does not accept actual type of parameter\: WP_Error\|WP_Term\|null\.$#'
+ identifier: parameter.phpDocType
+ count: 3
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
+
+ -
+ message: '#^Access to an undefined property WC_REST_Terms_Controller\:\:\$sort_column\.$#'
+ identifier: property.notFound
+ count: 3
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
+
+ -
+ message: '#^Access to an undefined property WC_REST_Terms_Controller\:\:\$total_terms\.$#'
+ identifier: property.notFound
+ count: 3
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
+
+ -
+ message: '#^Access to an undefined property WP_Error\|WP_Term\:\:\$term_id\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$parent\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$taxonomy\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$term_id\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
+
+ -
+ message: '#^Argument of an invalid type array\|WP_Error supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
+
+ -
+ message: '#^Call to an undefined method WP_Error\|WP_REST_Response\:\:header\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
+
+ -
+ message: '#^Call to an undefined method WP_Error\|WP_REST_Response\:\:set_status\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
+
+ -
+ message: '#^Cannot access property \$hierarchical on WP_Taxonomy\|false\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
+
+ -
+ message: '#^Cannot access property \$taxonomy on WP_Error\|WP_Term\|null\.$#'
+ identifier: property.nonObject
+ count: 2
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
+
+ -
+ message: '#^Cannot access property \$term_id on WP_Error\|WP_Term\|null\.$#'
+ identifier: property.nonObject
+ count: 4
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
+
+ -
+ message: '#^Cannot call method schedule_action\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
+
+ -
+ message: '#^Method WC_REST_Terms_Controller\:\:batch_items_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
+
+ -
+ message: '#^Method WC_REST_Terms_Controller\:\:check_permissions\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
+
+ -
+ message: '#^Method WC_REST_Terms_Controller\:\:compare_terms\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
+
+ -
+ message: '#^Method WC_REST_Terms_Controller\:\:create_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
+
+ -
+ message: '#^Method WC_REST_Terms_Controller\:\:create_item\(\) return type with generic class WP_REST_Request does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
+
+ -
+ message: '#^Method WC_REST_Terms_Controller\:\:create_item\(\) should return WP_Error\|WP_REST_Request but returns WP_Error\|WP_REST_Response\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
+
+ -
+ message: '#^Method WC_REST_Terms_Controller\:\:create_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
+
+ -
+ message: '#^Method WC_REST_Terms_Controller\:\:delete_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
+
+ -
+ message: '#^Method WC_REST_Terms_Controller\:\:delete_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
+
+ -
+ message: '#^Method WC_REST_Terms_Controller\:\:get_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
+
+ -
+ message: '#^Method WC_REST_Terms_Controller\:\:get_item\(\) return type with generic class WP_REST_Request does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
+
+ -
+ message: '#^Method WC_REST_Terms_Controller\:\:get_item\(\) should return WP_Error\|WP_REST_Request but returns WP_Error\|WP_REST_Response\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
+
+ -
+ message: '#^Method WC_REST_Terms_Controller\:\:get_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
+
+ -
+ message: '#^Method WC_REST_Terms_Controller\:\:get_items\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
+
+ -
+ message: '#^Method WC_REST_Terms_Controller\:\:get_items_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
+
+ -
+ message: '#^Method WC_REST_Terms_Controller\:\:get_taxonomy\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
+
+ -
+ message: '#^Method WC_REST_Terms_Controller\:\:get_taxonomy\(\) should return int\|WP_Error but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
+
+ -
+ message: '#^Method WC_REST_Terms_Controller\:\:get_taxonomy\(\) should return int\|WP_Error but returns string\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
+
+ -
+ message: '#^Method WC_REST_Terms_Controller\:\:get_terms_for_product\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
+
+ -
+ message: '#^Method WC_REST_Terms_Controller\:\:prepare_links\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
+
+ -
+ message: '#^Method WC_REST_Terms_Controller\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
+
+ -
+ message: '#^Method WC_REST_Terms_Controller\:\:update_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
+
+ -
+ message: '#^Method WC_REST_Terms_Controller\:\:update_item\(\) return type with generic class WP_REST_Request does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
+
+ -
+ message: '#^Method WC_REST_Terms_Controller\:\:update_item\(\) should return WP_Error\|WP_REST_Request but returns WP_Error\|WP_REST_Response\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
+
+ -
+ message: '#^Method WC_REST_Terms_Controller\:\:update_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
+
+ -
+ message: '#^Method WC_REST_Terms_Controller\:\:update_term_meta_fields\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
+
+ -
+ message: '#^PHPDoc tag @return has invalid value \(int \<0 if left is higher "priority" than right, 0 if equal, \>0 if right is higher "priority" than left\.\)\: Unexpected token "if", expected ''\>'' at offset 226 on line 8$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
+
+ -
+ message: '#^Parameter \#1 \$args of function get_terms expects array\{taxonomy\?\: array\<string\>\|string, object_ids\?\: array\<int\>\|int, orderby\?\: string, order\?\: string, hide_empty\?\: bool\|int, include\?\: array\<int\>\|string, exclude\?\: array\<int\>\|string, exclude_tree\?\: array\<int\>\|string, \.\.\.\}, int\|WP_Error given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
+
+ -
+ message: '#^Parameter \#1 \$args of function wp_count_terms expects array\{taxonomy\?\: array\<string\>\|string, object_ids\?\: array\<int\>\|int, orderby\?\: string, order\?\: string, hide_empty\?\: bool\|int, include\?\: array\<int\>\|string, exclude\?\: array\<int\>\|string, exclude_tree\?\: array\<int\>\|string, \.\.\.\}, int\|WP_Error given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
+
+ -
+ message: '#^Parameter \#1 \$array_arg of function usort expects TArray of array\<WP_Term\>, array\<WP_Term\>\|WP_Error given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
+
+ -
+ message: '#^Parameter \#1 \$data_object of method WP_REST_Controller\:\:update_additional_fields_for_object\(\) expects object, WP_Error\|WP_Term\|null given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
+
+ -
+ message: '#^Parameter \#1 \$input of function array_reverse expects array, array\<WP_Term\>\|WP_Error given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
+
+ -
+ message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
+
+ -
+ message: '#^Parameter \#1 \$response of method WP_REST_Controller\:\:prepare_response_for_collection\(\) expects WP_REST_Response, WP_Error\|WP_REST_Response given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
+
+ -
+ message: '#^Parameter \#1 \$taxonomy of function get_taxonomy expects string, int\|WP_Error given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
+
+ -
+ message: '#^Parameter \#1 \$taxonomy of function is_taxonomy_hierarchical expects string, int\|WP_Error given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
+
+ -
+ message: '#^Parameter \#1 \$taxonomy of function taxonomy_exists expects string, int\<min, \-1\>\|int\<1, max\>\|WP_Error given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
+
+ -
+ message: '#^Parameter \#1 \$term of method WC_REST_Terms_Controller\:\:update_term_meta_fields\(\) expects WP_Term, WP_Error\|WP_Term\|null given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
+
+ -
+ message: '#^Parameter \#2 \$replace of function str_replace expects array\<string\>\|string, int given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
+
+ -
+ message: '#^Parameter \#2 \$taxonomy of function get_term expects string, int\|WP_Error given\.$#'
+ identifier: argument.type
+ count: 5
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
+
+ -
+ message: '#^Parameter \#2 \$taxonomy of function get_the_terms expects string, int\|WP_Error given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
+
+ -
+ message: '#^Parameter \#2 \$taxonomy of function wp_delete_term expects string, int\|WP_Error given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
+
+ -
+ message: '#^Parameter \#2 \$taxonomy of function wp_insert_term expects string, int\|WP_Error given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
+
+ -
+ message: '#^Parameter \#2 \$value of method WP_HTTP_Response\:\:header\(\) expects string, int given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
+
+ -
+ message: '#^Part \$taxonomy \(int\|WP_Error\) of encapsed string cannot be cast to string\.$#'
+ identifier: encapsedStringPart.nonString
+ count: 4
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
+
+ -
+ message: '#^Property WC_REST_Terms_Controller\:\:\$taxonomy \(string\) does not accept mixed\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-terms-controller.php
+
+ -
+ message: '#^Method WC_REST_Variations_Controller\:\:prepare_objects_query\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-variations-controller.php
+
+ -
+ message: '#^Method WC_REST_Variations_Controller\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-variations-controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Product_Variations_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 129 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-variations-controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Webhooks_V2_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 120 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/rest-api/Controllers/Version3/class-wc-rest-webhooks-controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Setting_Options_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 127 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/rest-api/Controllers/Version4/class-wc-rest-settings-v4-controller.php
+
+ -
+ message: '#^Method WC_REST_V4_Controller\:\:check_permissions\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/rest-api/Controllers/Version4/class-wc-rest-v4-controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WP_REST_Controller\)\: Unexpected token "\\n \* ", expected ''\<'' at offset 119 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/rest-api/Controllers/Version4/class-wc-rest-v4-controller.php
+
+ -
+ message: '#^Call to an undefined method object\:\:init\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/rest-api/Package.php
+
+ -
+ message: '#^Constant WC_VERSION not found\.$#'
+ identifier: constant.notFound
+ count: 1
+ path: includes/rest-api/Package.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\RestApi\\Package\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/rest-api/Package.php
+
+ -
+ message: '#^PHPDoc tag @var for constant Automattic\\WooCommerce\\RestApi\\Package\:\:VERSION with type string is not subtype of value mixed\.$#'
+ identifier: classConstant.phpDocType
+ count: 1
+ path: includes/rest-api/Package.php
+
+ -
+ message: '#^Cannot call method get_instance_of\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/rest-api/Server.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\RestApi\\Server\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/rest-api/Server.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\RestApi\\Server\:\:register_rest_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/rest-api/Server.php
+
+ -
+ message: '#^Unsafe usage of new static\(\)\.$#'
+ identifier: new.static
+ count: 1
+ path: includes/rest-api/Server.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\RestApi\\Utilities\\ImageAttachment\:\:update_alt_text\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/rest-api/Utilities/ImageAttachment.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\RestApi\\Utilities\\ImageAttachment\:\:update_name\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/rest-api/Utilities/ImageAttachment.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\RestApi\\Utilities\\ImageAttachment\:\:upload_image_from_src\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/rest-api/Utilities/ImageAttachment.php
+
+ -
+ message: '#^Undefined variable\: \$images$#'
+ identifier: variable.undefined
+ count: 1
+ path: includes/rest-api/Utilities/ImageAttachment.php
+
+ -
+ message: '#^Action callback returns bool but should not return anything\.$#'
+ identifier: return.void
+ count: 1
+ path: includes/shipping/flat-rate/class-wc-shipping-flat-rate.php
+
+ -
+ message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
+ count: 1
+ path: includes/shipping/flat-rate/class-wc-shipping-flat-rate.php
+
+ -
+ message: '#^Binary operation "\*" between string and float results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: includes/shipping/flat-rate/class-wc-shipping-flat-rate.php
+
+ -
+ message: '#^Cannot access offset ''contents'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/shipping/flat-rate/class-wc-shipping-flat-rate.php
+
+ -
+ message: '#^Cannot access offset ''data'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: includes/shipping/flat-rate/class-wc-shipping-flat-rate.php
+
+ -
+ message: '#^Cannot call method get_shipping_class\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/shipping/flat-rate/class-wc-shipping-flat-rate.php
+
+ -
+ message: '#^Cannot call method needs_shipping\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/shipping/flat-rate/class-wc-shipping-flat-rate.php
+
+ -
+ message: '#^Function remove_shortcode invoked with 2 parameters, 1 required\.$#'
+ identifier: arguments.count
+ count: 1
+ path: includes/shipping/flat-rate/class-wc-shipping-flat-rate.php
+
+ -
+ message: '#^Method WC_Shipping_Flat_Rate\:\:calculate_shipping\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/shipping/flat-rate/class-wc-shipping-flat-rate.php
+
+ -
+ message: '#^Method WC_Shipping_Flat_Rate\:\:evaluate_cost\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/shipping/flat-rate/class-wc-shipping-flat-rate.php
+
+ -
+ message: '#^Method WC_Shipping_Flat_Rate\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/shipping/flat-rate/class-wc-shipping-flat-rate.php
+
+ -
+ message: '#^Parameter \#1 \$sum of method WC_Shipping_Flat_Rate\:\:evaluate_cost\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/shipping/flat-rate/class-wc-shipping-flat-rate.php
+
+ -
+ message: '#^Parameter \#3 \$subject of function str_replace expects array\<string\>\|string, string\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/shipping/flat-rate/class-wc-shipping-flat-rate.php
+
+ -
+ message: '#^Possibly invalid array key type mixed\.$#'
+ identifier: offsetAccess.invalidOffset
+ count: 1
+ path: includes/shipping/flat-rate/class-wc-shipping-flat-rate.php
+
+ -
+ message: '#^Property WC_Shipping_Flat_Rate\:\:\$cost \(string\) does not accept mixed\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: includes/shipping/flat-rate/class-wc-shipping-flat-rate.php
+
+ -
+ message: '#^Property WC_Shipping_Flat_Rate\:\:\$type \(string\) does not accept mixed\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: includes/shipping/flat-rate/class-wc-shipping-flat-rate.php
+
+ -
+ message: '#^Property WC_Shipping_Method\:\:\$tax_status \(string\) does not accept mixed\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: includes/shipping/flat-rate/class-wc-shipping-flat-rate.php
+
+ -
+ message: '#^Property WC_Shipping_Method\:\:\$title \(string\) does not accept mixed\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: includes/shipping/flat-rate/class-wc-shipping-flat-rate.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$name\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/shipping/flat-rate/includes/settings-flat-rate.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$slug\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/shipping/flat-rate/includes/settings-flat-rate.php
+
+ -
+ message: '#^Variable \$this might not be defined\.$#'
+ identifier: variable.undefined
+ count: 4
+ path: includes/shipping/flat-rate/includes/settings-flat-rate.php
+
+ -
+ message: '#^Action callback returns bool but should not return anything\.$#'
+ identifier: return.void
+ count: 1
+ path: includes/shipping/free-shipping/class-wc-shipping-free-shipping.php
+
+ -
+ message: '#^Binary operation "\-" between string and float results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: includes/shipping/free-shipping/class-wc-shipping-free-shipping.php
+
+ -
+ message: '#^Constant WC_VERSION not found\.$#'
+ identifier: constant.notFound
+ count: 1
+ path: includes/shipping/free-shipping/class-wc-shipping-free-shipping.php
+
+ -
+ message: '#^Method WC_Shipping_Free_Shipping\:\:calculate_shipping\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/shipping/free-shipping/class-wc-shipping-free-shipping.php
+
+ -
+ message: '#^Method WC_Shipping_Free_Shipping\:\:enqueue_admin_js\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/shipping/free-shipping/class-wc-shipping-free-shipping.php
+
+ -
+ message: '#^Method WC_Shipping_Free_Shipping\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/shipping/free-shipping/class-wc-shipping-free-shipping.php
+
+ -
+ message: '#^Method WC_Shipping_Free_Shipping\:\:init_form_fields\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/shipping/free-shipping/class-wc-shipping-free-shipping.php
+
+ -
+ message: '#^Parameter \#1 \$value of function wc_format_localized_price expects string, int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/shipping/free-shipping/class-wc-shipping-free-shipping.php
+
+ -
+ message: '#^Property WC_Shipping_Free_Shipping\:\:\$ignore_discounts \(string\) does not accept mixed\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: includes/shipping/free-shipping/class-wc-shipping-free-shipping.php
+
+ -
+ message: '#^Property WC_Shipping_Free_Shipping\:\:\$min_amount \(int\) does not accept mixed\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: includes/shipping/free-shipping/class-wc-shipping-free-shipping.php
+
+ -
+ message: '#^Property WC_Shipping_Free_Shipping\:\:\$requires \(string\) does not accept mixed\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: includes/shipping/free-shipping/class-wc-shipping-free-shipping.php
+
+ -
+ message: '#^Property WC_Shipping_Method\:\:\$title \(string\) does not accept mixed\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: includes/shipping/free-shipping/class-wc-shipping-free-shipping.php
+
+ -
+ message: '#^Action callback returns bool but should not return anything\.$#'
+ identifier: return.void
+ count: 1
+ path: includes/shipping/legacy-flat-rate/class-wc-shipping-legacy-flat-rate.php
+
+ -
+ message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
+ count: 1
+ path: includes/shipping/legacy-flat-rate/class-wc-shipping-legacy-flat-rate.php
+
+ -
+ message: '#^Binary operation "\*" between string and float results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: includes/shipping/legacy-flat-rate/class-wc-shipping-legacy-flat-rate.php
+
+ -
+ message: '#^Binary operation "\*" between string and int results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: includes/shipping/legacy-flat-rate/class-wc-shipping-legacy-flat-rate.php
+
+ -
+ message: '#^Binary operation "\*" between string and int\<0, max\> results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: includes/shipping/legacy-flat-rate/class-wc-shipping-legacy-flat-rate.php
+
+ -
+ message: '#^Binary operation "\+" between mixed and float results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: includes/shipping/legacy-flat-rate/class-wc-shipping-legacy-flat-rate.php
+
+ -
+ message: '#^Binary operation "/" between non\-empty\-string and 100 results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: includes/shipping/legacy-flat-rate/class-wc-shipping-legacy-flat-rate.php
+
+ -
+ message: '#^Cannot access offset ''contents'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/shipping/legacy-flat-rate/class-wc-shipping-legacy-flat-rate.php
+
+ -
+ message: '#^Cannot access offset ''data'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: includes/shipping/legacy-flat-rate/class-wc-shipping-legacy-flat-rate.php
+
+ -
+ message: '#^Cannot call method get_shipping_class\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/shipping/legacy-flat-rate/class-wc-shipping-legacy-flat-rate.php
+
+ -
+ message: '#^Cannot call method needs_shipping\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/shipping/legacy-flat-rate/class-wc-shipping-legacy-flat-rate.php
+
+ -
+ message: '#^Constant WC_DELIMITER not found\.$#'
+ identifier: constant.notFound
+ count: 1
+ path: includes/shipping/legacy-flat-rate/class-wc-shipping-legacy-flat-rate.php
+
+ -
+ message: '#^Function remove_shortcode invoked with 2 parameters, 1 required\.$#'
+ identifier: arguments.count
+ count: 1
+ path: includes/shipping/legacy-flat-rate/class-wc-shipping-legacy-flat-rate.php
+
+ -
+ message: '#^Method WC_Shipping_Legacy_Flat_Rate\:\:calculate_extra_shipping\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/shipping/legacy-flat-rate/class-wc-shipping-legacy-flat-rate.php
+
+ -
+ message: '#^Method WC_Shipping_Legacy_Flat_Rate\:\:calculate_shipping\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/shipping/legacy-flat-rate/class-wc-shipping-legacy-flat-rate.php
+
+ -
+ message: '#^Method WC_Shipping_Legacy_Flat_Rate\:\:evaluate_cost\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/shipping/legacy-flat-rate/class-wc-shipping-legacy-flat-rate.php
+
+ -
+ message: '#^Method WC_Shipping_Legacy_Flat_Rate\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/shipping/legacy-flat-rate/class-wc-shipping-legacy-flat-rate.php
+
+ -
+ message: '#^Method WC_Shipping_Legacy_Flat_Rate\:\:init_form_fields\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/shipping/legacy-flat-rate/class-wc-shipping-legacy-flat-rate.php
+
+ -
+ message: '#^Method WC_Shipping_Legacy_Flat_Rate\:\:process_admin_options\(\) should return bool but return statement is missing\.$#'
+ identifier: return.missing
+ count: 1
+ path: includes/shipping/legacy-flat-rate/class-wc-shipping-legacy-flat-rate.php
+
+ -
+ message: '#^Parameter \#1 \$sum of method WC_Shipping_Legacy_Flat_Rate\:\:evaluate_cost\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/shipping/legacy-flat-rate/class-wc-shipping-legacy-flat-rate.php
+
+ -
+ message: '#^Parameter \#3 \$subject of function str_replace expects array\<string\>\|string, string\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/shipping/legacy-flat-rate/class-wc-shipping-legacy-flat-rate.php
+
+ -
+ message: '#^Possibly invalid array key type mixed\.$#'
+ identifier: offsetAccess.invalidOffset
+ count: 1
+ path: includes/shipping/legacy-flat-rate/class-wc-shipping-legacy-flat-rate.php
+
+ -
+ message: '#^Property WC_Shipping_Legacy_Flat_Rate\:\:\$cost \(string\) does not accept mixed\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: includes/shipping/legacy-flat-rate/class-wc-shipping-legacy-flat-rate.php
+
+ -
+ message: '#^Property WC_Shipping_Legacy_Flat_Rate\:\:\$options \(string\) does not accept mixed\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: includes/shipping/legacy-flat-rate/class-wc-shipping-legacy-flat-rate.php
+
+ -
+ message: '#^Property WC_Shipping_Legacy_Flat_Rate\:\:\$type \(string\) does not accept mixed\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: includes/shipping/legacy-flat-rate/class-wc-shipping-legacy-flat-rate.php
+
+ -
+ message: '#^Property WC_Shipping_Method\:\:\$availability \(string\) does not accept mixed\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: includes/shipping/legacy-flat-rate/class-wc-shipping-legacy-flat-rate.php
+
+ -
+ message: '#^Property WC_Shipping_Method\:\:\$countries \(array\) does not accept mixed\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: includes/shipping/legacy-flat-rate/class-wc-shipping-legacy-flat-rate.php
+
+ -
+ message: '#^Property WC_Shipping_Method\:\:\$tax_status \(string\) does not accept mixed\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: includes/shipping/legacy-flat-rate/class-wc-shipping-legacy-flat-rate.php
+
+ -
+ message: '#^Property WC_Shipping_Method\:\:\$title \(string\) does not accept mixed\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: includes/shipping/legacy-flat-rate/class-wc-shipping-legacy-flat-rate.php
+
+ -
+ message: '#^Variable \$cost_operator might not be defined\.$#'
+ identifier: variable.undefined
+ count: 3
+ path: includes/shipping/legacy-flat-rate/class-wc-shipping-legacy-flat-rate.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$name\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/shipping/legacy-flat-rate/includes/settings-flat-rate.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$slug\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/shipping/legacy-flat-rate/includes/settings-flat-rate.php
+
+ -
+ message: '#^Variable \$this might not be defined\.$#'
+ identifier: variable.undefined
+ count: 2
+ path: includes/shipping/legacy-flat-rate/includes/settings-flat-rate.php
+
+ -
+ message: '#^Action callback returns bool but should not return anything\.$#'
+ identifier: return.void
+ count: 1
+ path: includes/shipping/legacy-free-shipping/class-wc-shipping-legacy-free-shipping.php
+
+ -
+ message: '#^Binary operation "\-" between string and float results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 2
+ path: includes/shipping/legacy-free-shipping/class-wc-shipping-legacy-free-shipping.php
+
+ -
+ message: '#^Method WC_Shipping_Legacy_Free_Shipping\:\:calculate_shipping\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/shipping/legacy-free-shipping/class-wc-shipping-legacy-free-shipping.php
+
+ -
+ message: '#^Method WC_Shipping_Legacy_Free_Shipping\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/shipping/legacy-free-shipping/class-wc-shipping-legacy-free-shipping.php
+
+ -
+ message: '#^Method WC_Shipping_Legacy_Free_Shipping\:\:init_form_fields\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/shipping/legacy-free-shipping/class-wc-shipping-legacy-free-shipping.php
+
+ -
+ message: '#^Method WC_Shipping_Legacy_Free_Shipping\:\:process_admin_options\(\) should return bool but return statement is missing\.$#'
+ identifier: return.missing
+ count: 1
+ path: includes/shipping/legacy-free-shipping/class-wc-shipping-legacy-free-shipping.php
+
+ -
+ message: '#^Parameter \#1 \$value of function wc_format_localized_price expects string, int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/shipping/legacy-free-shipping/class-wc-shipping-legacy-free-shipping.php
+
+ -
+ message: '#^Property WC_Shipping_Legacy_Free_Shipping\:\:\$min_amount \(float\) does not accept mixed\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: includes/shipping/legacy-free-shipping/class-wc-shipping-legacy-free-shipping.php
+
+ -
+ message: '#^Property WC_Shipping_Legacy_Free_Shipping\:\:\$requires \(string\) does not accept mixed\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: includes/shipping/legacy-free-shipping/class-wc-shipping-legacy-free-shipping.php
+
+ -
+ message: '#^Property WC_Shipping_Method\:\:\$availability \(string\) does not accept mixed\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: includes/shipping/legacy-free-shipping/class-wc-shipping-legacy-free-shipping.php
+
+ -
+ message: '#^Property WC_Shipping_Method\:\:\$countries \(array\) does not accept mixed\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: includes/shipping/legacy-free-shipping/class-wc-shipping-legacy-free-shipping.php
+
+ -
+ message: '#^Property WC_Shipping_Method\:\:\$enabled \(string\) does not accept mixed\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: includes/shipping/legacy-free-shipping/class-wc-shipping-legacy-free-shipping.php
+
+ -
+ message: '#^Property WC_Shipping_Method\:\:\$title \(string\) does not accept mixed\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: includes/shipping/legacy-free-shipping/class-wc-shipping-legacy-free-shipping.php
+
+ -
+ message: '#^Action callback returns bool but should not return anything\.$#'
+ identifier: return.void
+ count: 1
+ path: includes/shipping/legacy-international-delivery/class-wc-shipping-legacy-international-delivery.php
+
+ -
+ message: '#^Method WC_Shipping_Legacy_International_Delivery\:\:init_form_fields\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/shipping/legacy-international-delivery/class-wc-shipping-legacy-international-delivery.php
+
+ -
+ message: '#^Action callback returns bool but should not return anything\.$#'
+ identifier: return.void
+ count: 1
+ path: includes/shipping/legacy-local-delivery/class-wc-shipping-legacy-local-delivery.php
+
+ -
+ message: '#^Binary operation "/" between string and 100 results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: includes/shipping/legacy-local-delivery/class-wc-shipping-legacy-local-delivery.php
+
+ -
+ message: '#^Method WC_Shipping_Legacy_Local_Delivery\:\:calculate_shipping\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/shipping/legacy-local-delivery/class-wc-shipping-legacy-local-delivery.php
+
+ -
+ message: '#^Method WC_Shipping_Legacy_Local_Delivery\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/shipping/legacy-local-delivery/class-wc-shipping-legacy-local-delivery.php
+
+ -
+ message: '#^Method WC_Shipping_Legacy_Local_Delivery\:\:init_form_fields\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/shipping/legacy-local-delivery/class-wc-shipping-legacy-local-delivery.php
+
+ -
+ message: '#^Method WC_Shipping_Legacy_Local_Delivery\:\:process_admin_options\(\) should return bool but return statement is missing\.$#'
+ identifier: return.missing
+ count: 1
+ path: includes/shipping/legacy-local-delivery/class-wc-shipping-legacy-local-delivery.php
+
+ -
+ message: '#^Parameter \#1 \$value of function wc_format_localized_price expects string, int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/shipping/legacy-local-delivery/class-wc-shipping-legacy-local-delivery.php
+
+ -
+ message: '#^Property WC_Shipping_Legacy_Local_Delivery\:\:\$codes \(string\) does not accept mixed\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: includes/shipping/legacy-local-delivery/class-wc-shipping-legacy-local-delivery.php
+
+ -
+ message: '#^Property WC_Shipping_Legacy_Local_Delivery\:\:\$type \(string\) does not accept mixed\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: includes/shipping/legacy-local-delivery/class-wc-shipping-legacy-local-delivery.php
+
+ -
+ message: '#^Property WC_Shipping_Method\:\:\$availability \(string\) does not accept mixed\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: includes/shipping/legacy-local-delivery/class-wc-shipping-legacy-local-delivery.php
+
+ -
+ message: '#^Property WC_Shipping_Method\:\:\$countries \(array\) does not accept mixed\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: includes/shipping/legacy-local-delivery/class-wc-shipping-legacy-local-delivery.php
+
+ -
+ message: '#^Property WC_Shipping_Method\:\:\$fee \(string\) does not accept mixed\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: includes/shipping/legacy-local-delivery/class-wc-shipping-legacy-local-delivery.php
+
+ -
+ message: '#^Property WC_Shipping_Method\:\:\$title \(string\) does not accept mixed\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: includes/shipping/legacy-local-delivery/class-wc-shipping-legacy-local-delivery.php
+
+ -
+ message: '#^Action callback returns bool but should not return anything\.$#'
+ identifier: return.void
+ count: 1
+ path: includes/shipping/legacy-local-pickup/class-wc-shipping-legacy-local-pickup.php
+
+ -
+ message: '#^Method WC_Shipping_Legacy_Local_Pickup\:\:calculate_shipping\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/shipping/legacy-local-pickup/class-wc-shipping-legacy-local-pickup.php
+
+ -
+ message: '#^Method WC_Shipping_Legacy_Local_Pickup\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/shipping/legacy-local-pickup/class-wc-shipping-legacy-local-pickup.php
+
+ -
+ message: '#^Method WC_Shipping_Legacy_Local_Pickup\:\:init_form_fields\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/shipping/legacy-local-pickup/class-wc-shipping-legacy-local-pickup.php
+
+ -
+ message: '#^Method WC_Shipping_Legacy_Local_Pickup\:\:process_admin_options\(\) should return bool but return statement is missing\.$#'
+ identifier: return.missing
+ count: 1
+ path: includes/shipping/legacy-local-pickup/class-wc-shipping-legacy-local-pickup.php
+
+ -
+ message: '#^Parameter \#1 \$haystack of function strstr expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/shipping/legacy-local-pickup/class-wc-shipping-legacy-local-pickup.php
+
+ -
+ message: '#^Parameter \#1 \$title of function sanitize_title expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/shipping/legacy-local-pickup/class-wc-shipping-legacy-local-pickup.php
+
+ -
+ message: '#^Property WC_Shipping_Legacy_Local_Pickup\:\:\$codes \(string\) does not accept mixed\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: includes/shipping/legacy-local-pickup/class-wc-shipping-legacy-local-pickup.php
+
+ -
+ message: '#^Property WC_Shipping_Method\:\:\$availability \(string\) does not accept mixed\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: includes/shipping/legacy-local-pickup/class-wc-shipping-legacy-local-pickup.php
+
+ -
+ message: '#^Property WC_Shipping_Method\:\:\$countries \(array\) does not accept mixed\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: includes/shipping/legacy-local-pickup/class-wc-shipping-legacy-local-pickup.php
+
+ -
+ message: '#^Property WC_Shipping_Method\:\:\$enabled \(string\) does not accept mixed\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: includes/shipping/legacy-local-pickup/class-wc-shipping-legacy-local-pickup.php
+
+ -
+ message: '#^Property WC_Shipping_Method\:\:\$title \(string\) does not accept mixed\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: includes/shipping/legacy-local-pickup/class-wc-shipping-legacy-local-pickup.php
+
+ -
+ message: '#^Action callback returns bool but should not return anything\.$#'
+ identifier: return.void
+ count: 1
+ path: includes/shipping/local-pickup/class-wc-shipping-local-pickup.php
+
+ -
+ message: '#^Method WC_Shipping_Local_Pickup\:\:calculate_shipping\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/shipping/local-pickup/class-wc-shipping-local-pickup.php
+
+ -
+ message: '#^Method WC_Shipping_Local_Pickup\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/shipping/local-pickup/class-wc-shipping-local-pickup.php
+
+ -
+ message: '#^Method WC_Shipping_Local_Pickup\:\:init_form_fields\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/shipping/local-pickup/class-wc-shipping-local-pickup.php
+
+ -
+ message: '#^Parameter \#1 \$value of function wc_format_localized_price expects string, int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/shipping/local-pickup/class-wc-shipping-local-pickup.php
+
+ -
+ message: '#^Property WC_Shipping_Local_Pickup\:\:\$cost \(string\) does not accept mixed\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: includes/shipping/local-pickup/class-wc-shipping-local-pickup.php
+
+ -
+ message: '#^Property WC_Shipping_Method\:\:\$tax_status \(string\) does not accept mixed\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: includes/shipping/local-pickup/class-wc-shipping-local-pickup.php
+
+ -
+ message: '#^Property WC_Shipping_Method\:\:\$title \(string\) does not accept mixed\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: includes/shipping/local-pickup/class-wc-shipping-local-pickup.php
+
+ -
+ message: '#^Method WC_Shortcode_Cart\:\:calculate_shipping\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/shortcodes/class-wc-shortcode-cart.php
+
+ -
+ message: '#^Method WC_Shortcode_Cart\:\:output\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/shortcodes/class-wc-shortcode-cart.php
+
+ -
+ message: '#^Parameter \#1 \$nonce of function wp_verify_nonce expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/shortcodes/class-wc-shortcode-cart.php
+
+ -
+ message: '#^Parameter \#1 \$postcode of function wc_format_postcode expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/shortcodes/class-wc-shortcode-cart.php
+
+ -
+ message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 4
+ path: includes/shortcodes/class-wc-shortcode-cart.php
+
+ -
+ message: '#^Parameter \#2 \$country of function wc_format_postcode expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/shortcodes/class-wc-shortcode-cart.php
+
+ -
+ message: '#^Parameter \#2 \$default of function wc_get_var expects string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/shortcodes/class-wc-shortcode-cart.php
+
+ -
+ message: '#^Variable \$e in empty\(\) always exists and is not falsy\.$#'
+ identifier: empty.variable
+ count: 1
+ path: includes/shortcodes/class-wc-shortcode-cart.php
+
+ -
+ message: '#^@param WC_Order \$order does not accept actual type of parameter\: WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: includes/shortcodes/class-wc-shortcode-checkout.php
+
+ -
+ message: '#^Call to an undefined method object\:\:get_stock_reduced\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/shortcodes/class-wc-shortcode-checkout.php
+
+ -
+ message: '#^Cannot call method get_billing_country\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: includes/shortcodes/class-wc-shortcode-checkout.php
+
+ -
+ message: '#^Cannot call method get_billing_email\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/shortcodes/class-wc-shortcode-checkout.php
+
+ -
+ message: '#^Cannot call method get_billing_postcode\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: includes/shortcodes/class-wc-shortcode-checkout.php
+
+ -
+ message: '#^Cannot call method get_billing_state\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: includes/shortcodes/class-wc-shortcode-checkout.php
+
+ -
+ message: '#^Cannot call method get_checkout_payment_url\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: includes/shortcodes/class-wc-shortcode-checkout.php
+
+ -
+ message: '#^Cannot call method get_data_store\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/shortcodes/class-wc-shortcode-checkout.php
+
+ -
+ message: '#^Cannot call method get_id\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 4
+ path: includes/shortcodes/class-wc-shortcode-checkout.php
+
+ -
+ message: '#^Cannot call method get_items\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: includes/shortcodes/class-wc-shortcode-checkout.php
+
+ -
+ message: '#^Cannot call method get_order_key\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: includes/shortcodes/class-wc-shortcode-checkout.php
+
+ -
+ message: '#^Cannot call method get_status\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: includes/shortcodes/class-wc-shortcode-checkout.php
+
+ -
+ message: '#^Cannot call method get_user_id\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/shortcodes/class-wc-shortcode-checkout.php
+
+ -
+ message: '#^Cannot call method has_status\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: includes/shortcodes/class-wc-shortcode-checkout.php
+
+ -
+ message: '#^Cannot call method needs_payment\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: includes/shortcodes/class-wc-shortcode-checkout.php
+
+ -
+ message: '#^Method WC_Shortcode_Checkout\:\:checkout\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/shortcodes/class-wc-shortcode-checkout.php
+
+ -
+ message: '#^Method WC_Shortcode_Checkout\:\:order_pay\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/shortcodes/class-wc-shortcode-checkout.php
+
+ -
+ message: '#^Method WC_Shortcode_Checkout\:\:order_received\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/shortcodes/class-wc-shortcode-checkout.php
+
+ -
+ message: '#^Method WC_Shortcode_Checkout\:\:output\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/shortcodes/class-wc-shortcode-checkout.php
+
+ -
+ message: '#^Parameter \#1 \$email of function sanitize_email expects string, string\|false\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/shortcodes/class-wc-shortcode-checkout.php
+
+ -
+ message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 3
+ path: includes/shortcodes/class-wc-shortcode-checkout.php
+
+ -
+ message: '#^Parameter \#1 \$nonce of function wp_verify_nonce expects string, string\|false\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/shortcodes/class-wc-shortcode-checkout.php
+
+ -
+ message: '#^Parameter \#1 \$order of static method WC_Shortcode_Checkout\:\:guest_should_verify_email\(\) expects WC_Order, WC_Order\|WC_Order_Refund\|true given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/shortcodes/class-wc-shortcode-checkout.php
+
+ -
+ message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 3
+ path: includes/shortcodes/class-wc-shortcode-checkout.php
+
+ -
+ message: '#^Parameter \#2 \$user_string of function hash_equals expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/shortcodes/class-wc-shortcode-checkout.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$ID\.$#'
+ identifier: property.notFound
+ count: 3
+ path: includes/shortcodes/class-wc-shortcode-my-account.php
+
+ -
+ message: '#^Cannot call method get_id\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/shortcodes/class-wc-shortcode-my-account.php
+
+ -
+ message: '#^Cannot call method get_status\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/shortcodes/class-wc-shortcode-my-account.php
+
+ -
+ message: '#^Constant COOKIEHASH not found\.$#'
+ identifier: constant.notFound
+ count: 4
+ path: includes/shortcodes/class-wc-shortcode-my-account.php
+
+ -
+ message: '#^Function wc_add_notice invoked with 4 parameters, 1\-3 required\.$#'
+ identifier: arguments.count
+ count: 1
+ path: includes/shortcodes/class-wc-shortcode-my-account.php
+
+ -
+ message: '#^Method WC_Shortcode_My_Account\:\:add_payment_method\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/shortcodes/class-wc-shortcode-my-account.php
+
+ -
+ message: '#^Method WC_Shortcode_My_Account\:\:edit_account\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/shortcodes/class-wc-shortcode-my-account.php
+
+ -
+ message: '#^Method WC_Shortcode_My_Account\:\:edit_address\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/shortcodes/class-wc-shortcode-my-account.php
+
+ -
+ message: '#^Method WC_Shortcode_My_Account\:\:lost_password\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/shortcodes/class-wc-shortcode-my-account.php
+
+ -
+ message: '#^Method WC_Shortcode_My_Account\:\:my_account\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/shortcodes/class-wc-shortcode-my-account.php
+
+ -
+ message: '#^Method WC_Shortcode_My_Account\:\:my_account_add_notices\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/shortcodes/class-wc-shortcode-my-account.php
+
+ -
+ message: '#^Method WC_Shortcode_My_Account\:\:output\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/shortcodes/class-wc-shortcode-my-account.php
+
+ -
+ message: '#^Method WC_Shortcode_My_Account\:\:reset_password\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/shortcodes/class-wc-shortcode-my-account.php
+
+ -
+ message: '#^Method WC_Shortcode_My_Account\:\:set_reset_password_cookie\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/shortcodes/class-wc-shortcode-my-account.php
+
+ -
+ message: '#^Method WC_Shortcode_My_Account\:\:view_order\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/shortcodes/class-wc-shortcode-my-account.php
+
+ -
+ message: '#^Parameter \#1 \$haystack of function strpos expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/shortcodes/class-wc-shortcode-my-account.php
+
+ -
+ message: '#^Parameter \#1 \$key of function array_key_exists expects int\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/shortcodes/class-wc-shortcode-my-account.php
+
+ -
+ message: '#^Parameter \#1 \$key of static method WC_Shortcode_My_Account\:\:check_password_reset_key\(\) expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/shortcodes/class-wc-shortcode-my-account.php
+
+ -
+ message: '#^Parameter \#1 \$text of function wp_specialchars_decode expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/shortcodes/class-wc-shortcode-my-account.php
+
+ -
+ message: '#^Parameter \#1 \$user of function wp_password_change_notification expects WP_User, object given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/shortcodes/class-wc-shortcode-my-account.php
+
+ -
+ message: '#^Parameter \#1 \$username of function sanitize_user expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/shortcodes/class-wc-shortcode-my-account.php
+
+ -
+ message: '#^Parameter \#2 \$str of function explode expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/shortcodes/class-wc-shortcode-my-account.php
+
+ -
+ message: '#^Cannot call method get_id\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/shortcodes/class-wc-shortcode-order-tracking.php
+
+ -
+ message: '#^Method WC_Shortcode_Order_Tracking\:\:output\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/shortcodes/class-wc-shortcode-order-tracking.php
+
+ -
+ message: '#^Parameter \#1 \$nonce of function wp_verify_nonce expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/shortcodes/class-wc-shortcode-order-tracking.php
+
+ -
+ message: '#^Parameter \#1 \$object_or_string of function is_a expects object, WC_Order\|WC_Order_Refund\|true given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/shortcodes/class-wc-shortcode-order-tracking.php
+
+ -
+ message: '#^Parameter \#1 \$str of function ltrim expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/shortcodes/class-wc-shortcode-order-tracking.php
+
+ -
+ message: '#^Parameter \#2 \$default of function wc_get_var expects string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/shortcodes/class-wc-shortcode-order-tracking.php
+
+ -
+ message: '#^@param tag must not be named \$this\. Choose a descriptive alias, for example \$instance\.$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/shortcodes/class-wc-shortcode-products.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$current_page\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/shortcodes/class-wc-shortcode-products.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$ids\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/shortcodes/class-wc-shortcode-products.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$per_page\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/shortcodes/class-wc-shortcode-products.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$total\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/shortcodes/class-wc-shortcode-products.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$total_pages\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/shortcodes/class-wc-shortcode-products.php
+
+ -
+ message: '#^Action callback returns bool but should not return anything\.$#'
+ identifier: return.void
+ count: 1
+ path: includes/shortcodes/class-wc-shortcode-products.php
+
+ -
+ message: '#^Call to function is_callable\(\) with ''_prime_post_caches'' will always evaluate to true\.$#'
+ identifier: function.alreadyNarrowedType
+ count: 1
+ path: includes/shortcodes/class-wc-shortcode-products.php
+
+ -
+ message: '#^Cannot access offset ''value'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/shortcodes/class-wc-shortcode-products.php
+
+ -
+ message: '#^Cannot access offset ''version'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/shortcodes/class-wc-shortcode-products.php
+
+ -
+ message: '#^Cannot cast mixed to int\.$#'
+ identifier: cast.int
+ count: 2
+ path: includes/shortcodes/class-wc-shortcode-products.php
+
+ -
+ message: '#^Method WC_Shortcode_Products\:\:set_attributes_query_args\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/shortcodes/class-wc-shortcode-products.php
+
+ -
+ message: '#^Method WC_Shortcode_Products\:\:set_best_selling_products_query_args\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/shortcodes/class-wc-shortcode-products.php
+
+ -
+ message: '#^Method WC_Shortcode_Products\:\:set_categories_query_args\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/shortcodes/class-wc-shortcode-products.php
+
+ -
+ message: '#^Method WC_Shortcode_Products\:\:set_ids_query_args\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/shortcodes/class-wc-shortcode-products.php
+
+ -
+ message: '#^Method WC_Shortcode_Products\:\:set_sale_products_query_args\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/shortcodes/class-wc-shortcode-products.php
+
+ -
+ message: '#^Method WC_Shortcode_Products\:\:set_skus_query_args\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/shortcodes/class-wc-shortcode-products.php
+
+ -
+ message: '#^Method WC_Shortcode_Products\:\:set_tags_query_args\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/shortcodes/class-wc-shortcode-products.php
+
+ -
+ message: '#^Method WC_Shortcode_Products\:\:set_top_rated_products_query_args\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/shortcodes/class-wc-shortcode-products.php
+
+ -
+ message: '#^Method WC_Shortcode_Products\:\:set_visibility_catalog_query_args\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/shortcodes/class-wc-shortcode-products.php
+
+ -
+ message: '#^Method WC_Shortcode_Products\:\:set_visibility_featured_query_args\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/shortcodes/class-wc-shortcode-products.php
+
+ -
+ message: '#^Method WC_Shortcode_Products\:\:set_visibility_hidden_query_args\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/shortcodes/class-wc-shortcode-products.php
+
+ -
+ message: '#^Method WC_Shortcode_Products\:\:set_visibility_query_args\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/shortcodes/class-wc-shortcode-products.php
+
+ -
+ message: '#^Method WC_Shortcode_Products\:\:set_visibility_search_query_args\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/shortcodes/class-wc-shortcode-products.php
+
+ -
+ message: '#^PHPDoc tag @param has invalid value \(WC_Shortcode_Products \$this WC_Shortcode_Products instance\.\)\: Unexpected token "\$this", expected variable at offset 152 on line 6$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/shortcodes/class-wc-shortcode-products.php
+
+ -
+ message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/shortcodes/class-wc-shortcode-products.php
+
+ -
+ message: '#^Parameter \#1 \$post of function setup_postdata expects int\|object, WP_Post\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/shortcodes/class-wc-shortcode-products.php
+
+ -
+ message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/shortcodes/class-wc-shortcode-products.php
+
+ -
+ message: '#^Method WC_Twenty_Eleven\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/theme-support/class-wc-twenty-eleven.php
+
+ -
+ message: '#^Method WC_Twenty_Eleven\:\:output_content_wrapper\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/theme-support/class-wc-twenty-eleven.php
+
+ -
+ message: '#^Method WC_Twenty_Eleven\:\:output_content_wrapper_end\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/theme-support/class-wc-twenty-eleven.php
+
+ -
+ message: '#^Method WC_Twenty_Fifteen\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/theme-support/class-wc-twenty-fifteen.php
+
+ -
+ message: '#^Method WC_Twenty_Fifteen\:\:output_content_wrapper\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/theme-support/class-wc-twenty-fifteen.php
+
+ -
+ message: '#^Method WC_Twenty_Fifteen\:\:output_content_wrapper_end\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/theme-support/class-wc-twenty-fifteen.php
+
+ -
+ message: '#^Method WC_Twenty_Fourteen\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/theme-support/class-wc-twenty-fourteen.php
+
+ -
+ message: '#^Method WC_Twenty_Fourteen\:\:output_content_wrapper\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/theme-support/class-wc-twenty-fourteen.php
+
+ -
+ message: '#^Method WC_Twenty_Fourteen\:\:output_content_wrapper_end\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/theme-support/class-wc-twenty-fourteen.php
+
+ -
+ message: '#^Method WC_Twenty_Nineteen\:\:custom_colors_css\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/theme-support/class-wc-twenty-nineteen.php
+
+ -
+ message: '#^Method WC_Twenty_Nineteen\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/theme-support/class-wc-twenty-nineteen.php
+
+ -
+ message: '#^Method WC_Twenty_Nineteen\:\:output_content_wrapper\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/theme-support/class-wc-twenty-nineteen.php
+
+ -
+ message: '#^Method WC_Twenty_Nineteen\:\:output_content_wrapper_end\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/theme-support/class-wc-twenty-nineteen.php
+
+ -
+ message: '#^Method WC_Twenty_Nineteen\:\:tweak_theme_features\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/theme-support/class-wc-twenty-nineteen.php
+
+ -
+ message: '#^Method WC_Twenty_Seventeen\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/theme-support/class-wc-twenty-seventeen.php
+
+ -
+ message: '#^Method WC_Twenty_Seventeen\:\:output_content_wrapper\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/theme-support/class-wc-twenty-seventeen.php
+
+ -
+ message: '#^Method WC_Twenty_Seventeen\:\:output_content_wrapper_end\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/theme-support/class-wc-twenty-seventeen.php
+
+ -
+ message: '#^Method WC_Twenty_Sixteen\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/theme-support/class-wc-twenty-sixteen.php
+
+ -
+ message: '#^Method WC_Twenty_Sixteen\:\:output_content_wrapper\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/theme-support/class-wc-twenty-sixteen.php
+
+ -
+ message: '#^Method WC_Twenty_Sixteen\:\:output_content_wrapper_end\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/theme-support/class-wc-twenty-sixteen.php
+
+ -
+ message: '#^Method WC_Twenty_Ten\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/theme-support/class-wc-twenty-ten.php
+
+ -
+ message: '#^Method WC_Twenty_Ten\:\:output_content_wrapper\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/theme-support/class-wc-twenty-ten.php
+
+ -
+ message: '#^Method WC_Twenty_Ten\:\:output_content_wrapper_end\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/theme-support/class-wc-twenty-ten.php
+
+ -
+ message: '#^Method WC_Twenty_Thirteen\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/theme-support/class-wc-twenty-thirteen.php
+
+ -
+ message: '#^Method WC_Twenty_Thirteen\:\:output_content_wrapper\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/theme-support/class-wc-twenty-thirteen.php
+
+ -
+ message: '#^Method WC_Twenty_Thirteen\:\:output_content_wrapper_end\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/theme-support/class-wc-twenty-thirteen.php
+
+ -
+ message: '#^Method WC_Twenty_Twelve\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/theme-support/class-wc-twenty-twelve.php
+
+ -
+ message: '#^Method WC_Twenty_Twelve\:\:output_content_wrapper\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/theme-support/class-wc-twenty-twelve.php
+
+ -
+ message: '#^Method WC_Twenty_Twelve\:\:output_content_wrapper_end\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/theme-support/class-wc-twenty-twelve.php
+
+ -
+ message: '#^Method WC_Twenty_Twenty_One\:\:enqueue_admin_styles\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/theme-support/class-wc-twenty-twenty-one.php
+
+ -
+ message: '#^Method WC_Twenty_Twenty_One\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/theme-support/class-wc-twenty-twenty-one.php
+
+ -
+ message: '#^Parameter \#3 \$deps of function wp_enqueue_style expects array\<string\>, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/theme-support/class-wc-twenty-twenty-one.php
+
+ -
+ message: '#^Parameter \#4 \$ver of function wp_enqueue_style expects bool\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/theme-support/class-wc-twenty-twenty-one.php
+
+ -
+ message: '#^Method WC_Twenty_Twenty_Three\:\:after_order_review\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/theme-support/class-wc-twenty-twenty-three.php
+
+ -
+ message: '#^Method WC_Twenty_Twenty_Three\:\:before_order_review\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/theme-support/class-wc-twenty-twenty-three.php
+
+ -
+ message: '#^Method WC_Twenty_Twenty_Three\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/theme-support/class-wc-twenty-twenty-three.php
+
+ -
+ message: '#^Method WC_Twenty_Twenty_Two\:\:after_order_review\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/theme-support/class-wc-twenty-twenty-two.php
+
+ -
+ message: '#^Method WC_Twenty_Twenty_Two\:\:before_order_review\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/theme-support/class-wc-twenty-twenty-two.php
+
+ -
+ message: '#^Method WC_Twenty_Twenty_Two\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/theme-support/class-wc-twenty-twenty-two.php
+
+ -
+ message: '#^Method WC_Twenty_Twenty\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/theme-support/class-wc-twenty-twenty.php
+
+ -
+ message: '#^Method WC_Twenty_Twenty\:\:output_content_wrapper\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/theme-support/class-wc-twenty-twenty.php
+
+ -
+ message: '#^Method WC_Twenty_Twenty\:\:output_content_wrapper_end\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/theme-support/class-wc-twenty-twenty.php
+
+ -
+ message: '#^Method WC_Twenty_Twenty\:\:set_white_background\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/theme-support/class-wc-twenty-twenty.php
+
+ -
+ message: '#^Parameter \#1 \$color of function sanitize_hex_color_no_hash expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/theme-support/class-wc-twenty-twenty.php
+
+ -
+ message: '#^Call to function is_callable\(\) with array\{WC_Coupon_Tracking\|WC_Coupons_Tracking\|WC_Extensions_Tracking\|WC_Importer_Tracking\|WC_Order_Tracking\|WC_Orders_Tracking\|WC_Product_Collection_Block_Tracking\|WC_Products_Tracking\|WC_Settings_Tracking\|WC_Status_Tracking\|WC_Theme_Tracking, ''init''\} will always evaluate to true\.$#'
+ identifier: function.alreadyNarrowedType
+ count: 1
+ path: includes/tracks/class-wc-site-tracking.php
+
+ -
+ message: '#^Constant WC_ABSPATH not found\.$#'
+ identifier: constant.notFound
+ count: 12
+ path: includes/tracks/class-wc-site-tracking.php
+
+ -
+ message: '#^Method WC_Site_Tracking\:\:add_enable_tracking_function\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/tracks/class-wc-site-tracking.php
+
+ -
+ message: '#^Method WC_Site_Tracking\:\:add_tracking_function\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/tracks/class-wc-site-tracking.php
+
+ -
+ message: '#^Method WC_Site_Tracking\:\:enqueue_scripts\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/tracks/class-wc-site-tracking.php
+
+ -
+ message: '#^Method WC_Site_Tracking\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/tracks/class-wc-site-tracking.php
+
+ -
+ message: '#^Method WC_Site_Tracking\:\:register_scripts\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/tracks/class-wc-site-tracking.php
+
+ -
+ message: '#^Parameter \#1 \$str of function sanitize_text_field expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/tracks/class-wc-site-tracking.php
+
+ -
+ message: '#^Call to function is_wp_error\(\) with WC_Tracks_Event will always evaluate to false\.$#'
+ identifier: function.impossibleType
+ count: 1
+ path: includes/tracks/class-wc-tracks-client.php
+
+ -
+ message: '#^Function jetpack_require_lib_dir not found\.$#'
+ identifier: function.notFound
+ count: 2
+ path: includes/tracks/class-wc-tracks-client.php
+
+ -
+ message: '#^Method WC_Tracks_Client\:\:maybe_set_identity_cookie\(\) with return type void returns false but should not return anything\.$#'
+ identifier: return.void
+ count: 1
+ path: includes/tracks/class-wc-tracks-client.php
+
+ -
+ message: '#^Method WC_Tracks_Event\:\:build_pixel_url\(\) invoked with 1 parameter, 0 required\.$#'
+ identifier: arguments.count
+ count: 1
+ path: includes/tracks/class-wc-tracks-client.php
+
+ -
+ message: '#^Parameter \#1 \$str of function sanitize_text_field expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/tracks/class-wc-tracks-client.php
+
+ -
+ message: '#^Parameter \#1 \$version1 of function version_compare expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/tracks/class-wc-tracks-client.php
+
+ -
+ message: '#^Parameter \#2 \$cookie_value of static method WC_Site_Tracking\:\:set_tracking_cookie\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/tracks/class-wc-tracks-client.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$_en\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/tracks/class-wc-tracks-event.php
+
+ -
+ message: '#^Argument of an invalid type object supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
+ count: 1
+ path: includes/tracks/class-wc-tracks-event.php
+
+ -
+ message: '#^Method WC_Tracks_Event\:\:record\(\) should return bool but returns bool\|WP_Error\.$#'
+ identifier: return.type
+ count: 2
+ path: includes/tracks/class-wc-tracks-event.php
+
+ -
+ message: '#^Method WC_Tracks_Event\:\:scrutinize_event_names\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/tracks/class-wc-tracks-event.php
+
+ -
+ message: '#^Method WC_Tracks_Event\:\:validate_and_sanitize\(\) should return object but returns array\|object\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/tracks/class-wc-tracks-event.php
+
+ -
+ message: '#^Parameter \#1 \$callback of function array_map expects \(callable\(mixed\)\: mixed\)\|null, ''strval'' given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/tracks/class-wc-tracks-event.php
+
+ -
+ message: '#^Parameter \#1 \$event of static method WC_Tracks_Client\:\:record_event\(\) expects array, \$this\(WC_Tracks_Event\) given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/tracks/class-wc-tracks-event.php
+
+ -
+ message: '#^Parameter \#1 \$event of static method WC_Tracks_Footer_Pixel\:\:record_event\(\) expects array, \$this\(WC_Tracks_Event\) given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/tracks/class-wc-tracks-event.php
+
+ -
+ message: '#^Call to function is_wp_error\(\) with WC_Tracks_Event will always evaluate to false\.$#'
+ identifier: function.impossibleType
+ count: 1
+ path: includes/tracks/class-wc-tracks-footer-pixel.php
+
+ -
+ message: '#^Method WC_Tracks_Footer_Pixel\:\:add_event\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/tracks/class-wc-tracks-footer-pixel.php
+
+ -
+ message: '#^Method WC_Tracks_Footer_Pixel\:\:clear_events\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/tracks/class-wc-tracks-footer-pixel.php
+
+ -
+ message: '#^Method WC_Tracks_Footer_Pixel\:\:get_events\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/tracks/class-wc-tracks-footer-pixel.php
+
+ -
+ message: '#^Method WC_Tracks_Footer_Pixel\:\:render_tracking_pixels\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/tracks/class-wc-tracks-footer-pixel.php
+
+ -
+ message: '#^Method WC_Tracks_Footer_Pixel\:\:send_tracks_requests\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/tracks/class-wc-tracks-footer-pixel.php
+
+ -
+ message: '#^Binary operation "\." between array\|string and ''\://'' results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: includes/tracks/class-wc-tracks.php
+
+ -
+ message: '#^Constant WC_ABSPATH not found\.$#'
+ identifier: constant.notFound
+ count: 1
+ path: includes/tracks/class-wc-tracks.php
+
+ -
+ message: '#^Method WC_Tracks\:\:get_blog_details\(\) should return array but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/tracks/class-wc-tracks.php
+
+ -
+ message: '#^Method WC_Tracks\:\:track_woocommerce_allow_tracking_toggled\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/tracks/class-wc-tracks.php
+
+ -
+ message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 7
+ path: includes/tracks/class-wc-tracks.php
+
+ -
+ message: '#^Method WC_Admin_Setup_Wizard_Tracking\:\:add_footer_scripts\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/tracks/events/class-wc-admin-setup-wizard-tracking.php
+
+ -
+ message: '#^Method WC_Admin_Setup_Wizard_Tracking\:\:add_step_save_events\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/tracks/events/class-wc-admin-setup-wizard-tracking.php
+
+ -
+ message: '#^Method WC_Admin_Setup_Wizard_Tracking\:\:dequeue_non_allowed_scripts\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/tracks/events/class-wc-admin-setup-wizard-tracking.php
+
+ -
+ message: '#^Method WC_Admin_Setup_Wizard_Tracking\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/tracks/events/class-wc-admin-setup-wizard-tracking.php
+
+ -
+ message: '#^Method WC_Admin_Setup_Wizard_Tracking\:\:set_obw_steps\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/tracks/events/class-wc-admin-setup-wizard-tracking.php
+
+ -
+ message: '#^Method WC_Admin_Setup_Wizard_Tracking\:\:track_jetpack_activate\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/tracks/events/class-wc-admin-setup-wizard-tracking.php
+
+ -
+ message: '#^Method WC_Admin_Setup_Wizard_Tracking\:\:track_next_steps\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/tracks/events/class-wc-admin-setup-wizard-tracking.php
+
+ -
+ message: '#^Method WC_Admin_Setup_Wizard_Tracking\:\:track_payments\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/tracks/events/class-wc-admin-setup-wizard-tracking.php
+
+ -
+ message: '#^Method WC_Admin_Setup_Wizard_Tracking\:\:track_ready_next_steps\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/tracks/events/class-wc-admin-setup-wizard-tracking.php
+
+ -
+ message: '#^Method WC_Admin_Setup_Wizard_Tracking\:\:track_recommended\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/tracks/events/class-wc-admin-setup-wizard-tracking.php
+
+ -
+ message: '#^Method WC_Admin_Setup_Wizard_Tracking\:\:track_shipping\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/tracks/events/class-wc-admin-setup-wizard-tracking.php
+
+ -
+ message: '#^Method WC_Admin_Setup_Wizard_Tracking\:\:track_skip_step\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/tracks/events/class-wc-admin-setup-wizard-tracking.php
+
+ -
+ message: '#^Method WC_Admin_Setup_Wizard_Tracking\:\:track_start\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/tracks/events/class-wc-admin-setup-wizard-tracking.php
+
+ -
+ message: '#^Method WC_Admin_Setup_Wizard_Tracking\:\:track_store_setup\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/tracks/events/class-wc-admin-setup-wizard-tracking.php
+
+ -
+ message: '#^Parameter \#1 \$key of function sanitize_key expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/tracks/events/class-wc-admin-setup-wizard-tracking.php
+
+ -
+ message: '#^Property WC_Admin_Setup_Wizard_Tracking\:\:\$steps is never read, only written\.$#'
+ identifier: property.onlyWritten
+ count: 1
+ path: includes/tracks/events/class-wc-admin-setup-wizard-tracking.php
+
+ -
+ message: '#^Method WC_Coupon_Tracking\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/tracks/events/class-wc-coupon-tracking.php
+
+ -
+ message: '#^Method WC_Coupon_Tracking\:\:track_coupon_updated\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/tracks/events/class-wc-coupon-tracking.php
+
+ -
+ message: '#^Constant WC_VERSION not found\.$#'
+ identifier: constant.notFound
+ count: 1
+ path: includes/tracks/events/class-wc-coupons-tracking.php
+
+ -
+ message: '#^Method WC_Coupons_Tracking\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/tracks/events/class-wc-coupons-tracking.php
+
+ -
+ message: '#^Method WC_Coupons_Tracking\:\:tracks_coupons_events\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/tracks/events/class-wc-coupons-tracking.php
+
+ -
+ message: '#^Method WC_Extensions_Tracking\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/tracks/events/class-wc-extensions-tracking.php
+
+ -
+ message: '#^Method WC_Extensions_Tracking\:\:track_addon_install\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/tracks/events/class-wc-extensions-tracking.php
+
+ -
+ message: '#^Method WC_Extensions_Tracking\:\:track_extensions_page\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/tracks/events/class-wc-extensions-tracking.php
+
+ -
+ message: '#^Method WC_Extensions_Tracking\:\:track_extensions_page_connection_error\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/tracks/events/class-wc-extensions-tracking.php
+
+ -
+ message: '#^Method WC_Extensions_Tracking\:\:track_helper_connection_cancelled\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/tracks/events/class-wc-extensions-tracking.php
+
+ -
+ message: '#^Method WC_Extensions_Tracking\:\:track_helper_connection_complete\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/tracks/events/class-wc-extensions-tracking.php
+
+ -
+ message: '#^Method WC_Extensions_Tracking\:\:track_helper_connection_start\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/tracks/events/class-wc-extensions-tracking.php
+
+ -
+ message: '#^Method WC_Extensions_Tracking\:\:track_helper_disconnected\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/tracks/events/class-wc-extensions-tracking.php
+
+ -
+ message: '#^Method WC_Extensions_Tracking\:\:track_helper_subscriptions_refresh\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/tracks/events/class-wc-extensions-tracking.php
+
+ -
+ message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 6
+ path: includes/tracks/events/class-wc-extensions-tracking.php
+
+ -
+ message: '#^Method WC_Importer_Tracking\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/tracks/events/class-wc-importer-tracking.php
+
+ -
+ message: '#^Method WC_Importer_Tracking\:\:track_product_importer\(\) with return type void returns null but should not return anything\.$#'
+ identifier: return.void
+ count: 2
+ path: includes/tracks/events/class-wc-importer-tracking.php
+
+ -
+ message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 5
+ path: includes/tracks/events/class-wc-importer-tracking.php
+
+ -
+ message: '#^Result of method WC_Importer_Tracking\:\:track_product_importer_complete\(\) \(void\) is used\.$#'
+ identifier: method.void
+ count: 1
+ path: includes/tracks/events/class-wc-importer-tracking.php
+
+ -
+ message: '#^Result of method WC_Importer_Tracking\:\:track_product_importer_start\(\) \(void\) is used\.$#'
+ identifier: method.void
+ count: 1
+ path: includes/tracks/events/class-wc-importer-tracking.php
+
+ -
+ message: '#^Method WC_Order_Tracking\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/tracks/events/class-wc-order-tracking.php
+
+ -
+ message: '#^Method WC_Order_Tracking\:\:track_order_viewed\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/tracks/events/class-wc-order-tracking.php
+
+ -
+ message: '#^Cannot access offset ''path'' on array\{scheme\?\: string, host\?\: string, port\?\: int\<0, 65535\>, user\?\: string, pass\?\: string, path\?\: string, query\?\: string, fragment\?\: string\}\|false\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/tracks/events/class-wc-orders-tracking.php
+
+ -
+ message: '#^Cannot access property \$id on WP_Screen\|null\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/tracks/events/class-wc-orders-tracking.php
+
+ -
+ message: '#^Cannot call method get_date_created\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: includes/tracks/events/class-wc-orders-tracking.php
+
+ -
+ message: '#^Cannot call method get_date_created\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: includes/tracks/events/class-wc-orders-tracking.php
+
+ -
+ message: '#^Cannot call method get_payment_method\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/tracks/events/class-wc-orders-tracking.php
+
+ -
+ message: '#^Cannot call method get_status\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: includes/tracks/events/class-wc-orders-tracking.php
+
+ -
+ message: '#^Cannot call method get_status\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/tracks/events/class-wc-orders-tracking.php
+
+ -
+ message: '#^Cannot call method get_total\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/tracks/events/class-wc-orders-tracking.php
+
+ -
+ message: '#^Method WC_Orders_Tracking\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/tracks/events/class-wc-orders-tracking.php
+
+ -
+ message: '#^Method WC_Orders_Tracking\:\:possibly_add_order_tracking_scripts\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/tracks/events/class-wc-orders-tracking.php
+
+ -
+ message: '#^Method WC_Orders_Tracking\:\:track_add_order_from_edit\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/tracks/events/class-wc-orders-tracking.php
+
+ -
+ message: '#^Method WC_Orders_Tracking\:\:track_created_date_change\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/tracks/events/class-wc-orders-tracking.php
+
+ -
+ message: '#^Method WC_Orders_Tracking\:\:track_order_action\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/tracks/events/class-wc-orders-tracking.php
+
+ -
+ message: '#^Method WC_Orders_Tracking\:\:track_order_search\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/tracks/events/class-wc-orders-tracking.php
+
+ -
+ message: '#^Method WC_Orders_Tracking\:\:track_order_status_change\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/tracks/events/class-wc-orders-tracking.php
+
+ -
+ message: '#^Method WC_Orders_Tracking\:\:track_orders_view\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/tracks/events/class-wc-orders-tracking.php
+
+ -
+ message: '#^Method WC_Orders_Tracking\:\:track_search_in_orders_list\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/tracks/events/class-wc-orders-tracking.php
+
+ -
+ message: '#^Offset ''path'' might not exist on array\{scheme\?\: string, host\?\: string, port\?\: int\<0, 65535\>, user\?\: string, pass\?\: string, path\?\: string, query\: non\-falsy\-string, fragment\?\: string\}\.$#'
+ identifier: offsetAccess.notFound
+ count: 1
+ path: includes/tracks/events/class-wc-orders-tracking.php
+
+ -
+ message: '#^Parameter \#1 \$order_id of static method Automattic\\WooCommerce\\Utilities\\OrderUtil\:\:get_order_type\(\) expects int\|WC_Order\|WP_Post, array\<mixed\>\|int\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/tracks/events/class-wc-orders-tracking.php
+
+ -
+ message: '#^Parameter \#1 \$str of function sanitize_text_field expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/tracks/events/class-wc-orders-tracking.php
+
+ -
+ message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 5
+ path: includes/tracks/events/class-wc-orders-tracking.php
+
+ -
+ message: '#^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/tracks/events/class-wc-orders-tracking.php
+
+ -
+ message: '#^Parameter \#3 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/tracks/events/class-wc-orders-tracking.php
+
+ -
+ message: '#^Parameter \#4 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/tracks/events/class-wc-orders-tracking.php
+
+ -
+ message: '#^Parameter \#5 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/tracks/events/class-wc-orders-tracking.php
+
+ -
+ message: '#^Binary operation "\." between mixed and ''//'' results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: includes/tracks/events/class-wc-product-collection-block-tracking.php
+
+ -
+ message: '#^Binary operation "\." between non\-falsy\-string and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: includes/tracks/events/class-wc-product-collection-block-tracking.php
+
+ -
+ message: '#^Cannot access offset ''attrs'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 4
+ path: includes/tracks/events/class-wc-product-collection-block-tracking.php
+
+ -
+ message: '#^Cannot access offset ''blockName'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/tracks/events/class-wc-product-collection-block-tracking.php
+
+ -
+ message: '#^Cannot access offset ''collection'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/tracks/events/class-wc-product-collection-block-tracking.php
+
+ -
+ message: '#^Cannot access offset ''innerBlocks'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/tracks/events/class-wc-product-collection-block-tracking.php
+
+ -
+ message: '#^Cannot access offset ''ref'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/tracks/events/class-wc-product-collection-block-tracking.php
+
+ -
+ message: '#^Cannot access offset ''slug'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/tracks/events/class-wc-product-collection-block-tracking.php
+
+ -
+ message: '#^Cannot access offset ''theme'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/tracks/events/class-wc-product-collection-block-tracking.php
+
+ -
+ message: '#^Method WC_Product_Collection_Block_Tracking\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/tracks/events/class-wc-product-collection-block-tracking.php
+
+ -
+ message: '#^Parameter \#1 \$block of method WC_Product_Collection_Block_Tracking\:\:get_query_filters_usage_data\(\) expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/tracks/events/class-wc-product-collection-block-tracking.php
+
+ -
+ message: '#^Parameter \#1 \$blocks of method WC_Product_Collection_Block_Tracking\:\:parse_blocks_track_data\(\) expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/tracks/events/class-wc-product-collection-block-tracking.php
+
+ -
+ message: '#^Parameter \#1 \$post of function get_post expects int\|WP_Post\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/tracks/events/class-wc-product-collection-block-tracking.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$post_type\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/tracks/events/class-wc-products-tracking.php
+
+ -
+ message: '#^Callback expects 0 parameters, \$accepted_args is set to 2\.$#'
+ identifier: arguments.count
+ count: 1
+ path: includes/tracks/events/class-wc-products-tracking.php
+
+ -
+ message: '#^Cannot access offset 0 on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/tracks/events/class-wc-products-tracking.php
+
+ -
+ message: '#^Cannot access offset mixed on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/tracks/events/class-wc-products-tracking.php
+
+ -
+ message: '#^Cannot access property \$name on WP_Error\|WP_Term\|null\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/tracks/events/class-wc-products-tracking.php
+
+ -
+ message: '#^Cannot access property \$parent on WP_Error\|WP_Term\|null\.$#'
+ identifier: property.nonObject
+ count: 3
+ path: includes/tracks/events/class-wc-products-tracking.php
+
+ -
+ message: '#^Cannot call method get_attributes\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/tracks/events/class-wc-products-tracking.php
+
+ -
+ message: '#^Cannot call method get_category_ids\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/tracks/events/class-wc-products-tracking.php
+
+ -
+ message: '#^Cannot call method get_cross_sell_ids\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/tracks/events/class-wc-products-tracking.php
+
+ -
+ message: '#^Cannot call method get_description\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/tracks/events/class-wc-products-tracking.php
+
+ -
+ message: '#^Cannot call method get_dimensions\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/tracks/events/class-wc-products-tracking.php
+
+ -
+ message: '#^Cannot call method get_gallery_image_ids\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/tracks/events/class-wc-products-tracking.php
+
+ -
+ message: '#^Cannot call method get_global_unique_id\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/tracks/events/class-wc-products-tracking.php
+
+ -
+ message: '#^Cannot call method get_image_id\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/tracks/events/class-wc-products-tracking.php
+
+ -
+ message: '#^Cannot call method get_manage_stock\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/tracks/events/class-wc-products-tracking.php
+
+ -
+ message: '#^Cannot call method get_menu_order\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/tracks/events/class-wc-products-tracking.php
+
+ -
+ message: '#^Cannot call method get_purchase_note\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/tracks/events/class-wc-products-tracking.php
+
+ -
+ message: '#^Cannot call method get_reviews_allowed\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/tracks/events/class-wc-products-tracking.php
+
+ -
+ message: '#^Cannot call method get_sale_price\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/tracks/events/class-wc-products-tracking.php
+
+ -
+ message: '#^Cannot call method get_short_description\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/tracks/events/class-wc-products-tracking.php
+
+ -
+ message: '#^Cannot call method get_tag_ids\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/tracks/events/class-wc-products-tracking.php
+
+ -
+ message: '#^Cannot call method get_type\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/tracks/events/class-wc-products-tracking.php
+
+ -
+ message: '#^Cannot call method get_upsell_ids\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/tracks/events/class-wc-products-tracking.php
+
+ -
+ message: '#^Cannot call method get_weight\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/tracks/events/class-wc-products-tracking.php
+
+ -
+ message: '#^Cannot call method is_downloadable\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/tracks/events/class-wc-products-tracking.php
+
+ -
+ message: '#^Cannot call method is_virtual\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/tracks/events/class-wc-products-tracking.php
+
+ -
+ message: '#^Constant WC_ABSPATH not found\.$#'
+ identifier: constant.notFound
+ count: 1
+ path: includes/tracks/events/class-wc-products-tracking.php
+
+ -
+ message: '#^Constant WC_VERSION not found\.$#'
+ identifier: constant.notFound
+ count: 1
+ path: includes/tracks/events/class-wc-products-tracking.php
+
+ -
+ message: '#^Method WC_Products_Tracking\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/tracks/events/class-wc-products-tracking.php
+
+ -
+ message: '#^Method WC_Products_Tracking\:\:possibly_add_attribute_tracking_scripts\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/tracks/events/class-wc-products-tracking.php
+
+ -
+ message: '#^Method WC_Products_Tracking\:\:possibly_add_product_import_scripts\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/tracks/events/class-wc-products-tracking.php
+
+ -
+ message: '#^Method WC_Products_Tracking\:\:possibly_add_product_tracking_scripts\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/tracks/events/class-wc-products-tracking.php
+
+ -
+ message: '#^Method WC_Products_Tracking\:\:possibly_add_tag_tracking_scripts\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/tracks/events/class-wc-products-tracking.php
+
+ -
+ message: '#^Method WC_Products_Tracking\:\:track_categories_and_tags_view\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/tracks/events/class-wc-products-tracking.php
+
+ -
+ message: '#^Method WC_Products_Tracking\:\:track_product_category_created\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/tracks/events/class-wc-products-tracking.php
+
+ -
+ message: '#^Method WC_Products_Tracking\:\:track_product_category_updated\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/tracks/events/class-wc-products-tracking.php
+
+ -
+ message: '#^Method WC_Products_Tracking\:\:track_product_published\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/tracks/events/class-wc-products-tracking.php
+
+ -
+ message: '#^Method WC_Products_Tracking\:\:track_product_updated\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/tracks/events/class-wc-products-tracking.php
+
+ -
+ message: '#^Method WC_Products_Tracking\:\:track_product_updated_client_side\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/tracks/events/class-wc-products-tracking.php
+
+ -
+ message: '#^Method WC_Products_Tracking\:\:track_products_view\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/tracks/events/class-wc-products-tracking.php
+
+ -
+ message: '#^Parameter \#1 \$dimensions of function wc_format_dimensions expects array, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/tracks/events/class-wc-products-tracking.php
+
+ -
+ message: '#^Parameter \#1 \$var of function intval expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/tracks/events/class-wc-products-tracking.php
+
+ -
+ message: '#^Method WC_Settings_Tracking\:\:add_option_to_list\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/tracks/events/class-wc-settings-tracking.php
+
+ -
+ message: '#^Method WC_Settings_Tracking\:\:add_option_to_list_and_track_setting_change\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/tracks/events/class-wc-settings-tracking.php
+
+ -
+ message: '#^Method WC_Settings_Tracking\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/tracks/events/class-wc-settings-tracking.php
+
+ -
+ message: '#^Method WC_Settings_Tracking\:\:possibly_add_settings_tracking_scripts\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/tracks/events/class-wc-settings-tracking.php
+
+ -
+ message: '#^Method WC_Settings_Tracking\:\:send_settings_change_event\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/tracks/events/class-wc-settings-tracking.php
+
+ -
+ message: '#^Method WC_Settings_Tracking\:\:track_setting_change\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/tracks/events/class-wc-settings-tracking.php
+
+ -
+ message: '#^Method WC_Settings_Tracking\:\:track_settings_page_view\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/tracks/events/class-wc-settings-tracking.php
+
+ -
+ message: '#^Constant WC_VERSION not found\.$#'
+ identifier: constant.notFound
+ count: 1
+ path: includes/tracks/events/class-wc-status-tracking.php
+
+ -
+ message: '#^Method WC_Status_Tracking\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/tracks/events/class-wc-status-tracking.php
+
+ -
+ message: '#^Method WC_Status_Tracking\:\:track_status_view\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/tracks/events/class-wc-status-tracking.php
+
+ -
+ message: '#^Parameter \#1 \$str of function sanitize_text_field expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/tracks/events/class-wc-status-tracking.php
+
+ -
+ message: '#^Method WC_Theme_Tracking\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/tracks/events/class-wc-theme-tracking.php
+
+ -
+ message: '#^Method WC_Theme_Tracking\:\:track_activated_theme\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/tracks/events/class-wc-theme-tracking.php
+
+ -
+ message: '#^Method WC_Theme_Tracking\:\:track_initial_theme\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/tracks/events/class-wc-theme-tracking.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$count\.$#'
+ identifier: property.notFound
+ count: 2
+ path: includes/walkers/class-wc-product-cat-dropdown-walker.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$name\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/walkers/class-wc-product-cat-dropdown-walker.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$slug\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/walkers/class-wc-product-cat-dropdown-walker.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$term_id\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/walkers/class-wc-product-cat-dropdown-walker.php
+
+ -
+ message: '#^Method WC_Product_Cat_Dropdown_Walker\:\:display_element\(\) should return null but empty return statement found\.$#'
+ identifier: return.empty
+ count: 1
+ path: includes/walkers/class-wc-product-cat-dropdown-walker.php
+
+ -
+ message: '#^Method WC_Product_Cat_Dropdown_Walker\:\:display_element\(\) should return null but return statement is missing\.$#'
+ identifier: return.missing
+ count: 1
+ path: includes/walkers/class-wc-product-cat-dropdown-walker.php
+
+ -
+ message: '#^Method WC_Product_Cat_Dropdown_Walker\:\:start_el\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/walkers/class-wc-product-cat-dropdown-walker.php
+
+ -
+ message: '#^PHPDoc type array of property WC_Product_Cat_Dropdown_Walker\:\:\$db_fields is not covariant with PHPDoc type array\<string\> of overridden property Walker\:\:\$db_fields\.$#'
+ identifier: property.phpDocType
+ count: 1
+ path: includes/walkers/class-wc-product-cat-dropdown-walker.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$count\.$#'
+ identifier: property.notFound
+ count: 2
+ path: includes/walkers/class-wc-product-cat-list-walker.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$name\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/walkers/class-wc-product-cat-list-walker.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$term_id\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/walkers/class-wc-product-cat-list-walker.php
+
+ -
+ message: '#^Binary operation "\." between ''"\>\<a href\="'' and string\|WP_Error results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: includes/walkers/class-wc-product-cat-list-walker.php
+
+ -
+ message: '#^Method WC_Product_Cat_List_Walker\:\:display_element\(\) should return null but empty return statement found\.$#'
+ identifier: return.empty
+ count: 1
+ path: includes/walkers/class-wc-product-cat-list-walker.php
+
+ -
+ message: '#^Method WC_Product_Cat_List_Walker\:\:display_element\(\) should return null but return statement is missing\.$#'
+ identifier: return.missing
+ count: 1
+ path: includes/walkers/class-wc-product-cat-list-walker.php
+
+ -
+ message: '#^Method WC_Product_Cat_List_Walker\:\:end_el\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/walkers/class-wc-product-cat-list-walker.php
+
+ -
+ message: '#^Method WC_Product_Cat_List_Walker\:\:end_lvl\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/walkers/class-wc-product-cat-list-walker.php
+
+ -
+ message: '#^Method WC_Product_Cat_List_Walker\:\:start_el\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/walkers/class-wc-product-cat-list-walker.php
+
+ -
+ message: '#^Method WC_Product_Cat_List_Walker\:\:start_lvl\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/walkers/class-wc-product-cat-list-walker.php
+
+ -
+ message: '#^PHPDoc type array of property WC_Product_Cat_List_Walker\:\:\$db_fields is not covariant with PHPDoc type array\<string\> of overridden property Walker\:\:\$db_fields\.$#'
+ identifier: property.phpDocType
+ count: 1
+ path: includes/walkers/class-wc-product-cat-list-walker.php
+
+ -
+ message: '#^@param WC_Order \$order does not accept actual type of parameter\: bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: includes/wc-account-functions.php
+
+ -
+ message: '#^Access to an undefined property WooCommerce\:\:\$payment_gateways\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/wc-account-functions.php
+
+ -
+ message: '#^Call to an undefined method WC_Payment_Token\:\:get_card_type\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/wc-account-functions.php
+
+ -
+ message: '#^Call to an undefined method WC_Payment_Token\:\:get_expiry_month\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/wc-account-functions.php
+
+ -
+ message: '#^Call to an undefined method WC_Payment_Token\:\:get_expiry_year\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/wc-account-functions.php
+
+ -
+ message: '#^Call to an undefined method WC_Payment_Token\:\:get_last4\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/wc-account-functions.php
+
+ -
+ message: '#^Cannot call method get_cancel_order_url\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/wc-account-functions.php
+
+ -
+ message: '#^Cannot call method get_checkout_payment_url\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/wc-account-functions.php
+
+ -
+ message: '#^Cannot call method get_order_number\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 3
+ path: includes/wc-account-functions.php
+
+ -
+ message: '#^Cannot call method get_status\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/wc-account-functions.php
+
+ -
+ message: '#^Cannot call method get_view_order_url\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/wc-account-functions.php
+
+ -
+ message: '#^Cannot call method needs_payment\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/wc-account-functions.php
+
+ -
+ message: '#^Parameter \#1 \$endpoint of function wc_get_endpoint_url expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-account-functions.php
+
+ -
+ message: '#^Parameter \#1 \$haystack of function strpos expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-account-functions.php
+
+ -
+ message: '#^Parameter \#2 \$value of function wc_get_endpoint_url expects string, int given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/wc-account-functions.php
+
+ -
+ message: '#^@param string \$old_slug does not accept actual type of parameter\: string\|null\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: includes/wc-attribute-functions.php
+
+ -
+ message: '#^Argument of an invalid type array\<int, WP_Term\>\|WP_Error supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
+ count: 1
+ path: includes/wc-attribute-functions.php
+
+ -
+ message: '#^Cannot access property \$has_archives on stdClass\|null\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/wc-attribute-functions.php
+
+ -
+ message: '#^Cannot access property \$name on stdClass\|null\.$#'
+ identifier: property.nonObject
+ count: 2
+ path: includes/wc-attribute-functions.php
+
+ -
+ message: '#^Cannot access property \$order_by on stdClass\|null\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/wc-attribute-functions.php
+
+ -
+ message: '#^Cannot access property \$slug on stdClass\|null\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/wc-attribute-functions.php
+
+ -
+ message: '#^Cannot access property \$type on stdClass\|null\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/wc-attribute-functions.php
+
+ -
+ message: '#^Cannot call method get_attributes\(\) on WC_Product\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/wc-attribute-functions.php
+
+ -
+ message: '#^Constant WC_DELIMITER not found\.$#'
+ identifier: constant.notFound
+ count: 2
+ path: includes/wc-attribute-functions.php
+
+ -
+ message: '#^Default value of the parameter \#2 \$product \(string\) of function wc_attribute_label\(\) is incompatible with type WC_Product\.$#'
+ identifier: parameter.defaultValue
+ count: 1
+ path: includes/wc-attribute-functions.php
+
+ -
+ message: '#^Function wc_attribute_taxonomy_slug\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/wc-attribute-functions.php
+
+ -
+ message: '#^Function wc_get_attribute_taxonomies\(\) should return array but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/wc-attribute-functions.php
+
+ -
+ message: '#^Function wc_get_attribute_taxonomy_ids\(\) should return array but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/wc-attribute-functions.php
+
+ -
+ message: '#^Function wc_get_attribute_taxonomy_labels\(\) should return array but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/wc-attribute-functions.php
+
+ -
+ message: '#^Parameter \#1 \$args of function get_terms expects array\{taxonomy\?\: array\<string\>\|string, object_ids\?\: array\<int\>\|int, orderby\?\: string, order\?\: string, hide_empty\?\: bool\|int, include\?\: array\<int\>\|string, exclude\?\: array\<int\>\|string, exclude_tree\?\: array\<int\>\|string, \.\.\.\}, non\-falsy\-string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-attribute-functions.php
+
+ -
+ message: '#^Parameter \#1 \$attribute_name of function wc_attribute_taxonomy_name expects string, string\|null given\.$#'
+ identifier: argument.type
+ count: 3
+ path: includes/wc-attribute-functions.php
+
+ -
+ message: '#^Parameter \#1 \$attribute_name of function wc_check_if_attribute_name_is_reserved expects string, string\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-attribute-functions.php
+
+ -
+ message: '#^Parameter \#1 \$string of function strlen expects string, string\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-attribute-functions.php
+
+ -
+ message: '#^Parameter \#1 \$title of function sanitize_title expects string, string\|null given\.$#'
+ identifier: argument.type
+ count: 3
+ path: includes/wc-attribute-functions.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$name\.$#'
+ identifier: property.notFound
+ count: 2
+ path: includes/wc-brands-functions.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$term_id\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/wc-brands-functions.php
+
+ -
+ message: '#^Cannot access offset 0 on array\{string, int, int, bool\}\|false\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/wc-brands-functions.php
+
+ -
+ message: '#^Function wc_get_brand_thumbnail_url\(\) should return string but returns bool\|int\|string\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/wc-brands-functions.php
+
+ -
+ message: '#^Function wc_get_brands\(\) should return array but returns string\|WP_Error\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/wc-brands-functions.php
+
+ -
+ message: '#^Parameter \#1 \$attachment_id of function wp_get_attachment_image_sizes expects int, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-brands-functions.php
+
+ -
+ message: '#^Parameter \#1 \$attachment_id of function wp_get_attachment_image_src expects int, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/wc-brands-functions.php
+
+ -
+ message: '#^Parameter \#1 \$attachment_id of function wp_get_attachment_image_srcset expects int, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-brands-functions.php
+
+ -
+ message: '#^@param string \$default does not accept actual type of parameter\: int\|string\|false\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: includes/wc-cart-functions.php
+
+ -
+ message: '#^Access to an undefined property WC_Cart\:\:\$display_cart_ex_tax\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/wc-cart-functions.php
+
+ -
+ message: '#^Access to an undefined property WC_Countries\:\:\$countries\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/wc-cart-functions.php
+
+ -
+ message: '#^Access to an undefined property WC_Session\:\:\$order_awaiting_payment\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/wc-cart-functions.php
+
+ -
+ message: '#^Access to an undefined property WC_Shipping_Rate\:\:\$cost\.$#'
+ identifier: property.notFound
+ count: 3
+ path: includes/wc-cart-functions.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$tax\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/wc-cart-functions.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$total\.$#'
+ identifier: property.notFound
+ count: 2
+ path: includes/wc-cart-functions.php
+
+ -
+ message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
+ count: 1
+ path: includes/wc-cart-functions.php
+
+ -
+ message: '#^Call to an undefined method WC_Product\:\:get_variation_attributes\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/wc-cart-functions.php
+
+ -
+ message: '#^Cannot access offset int on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 6
+ path: includes/wc-cart-functions.php
+
+ -
+ message: '#^Function wc_cart_totals_coupon_html\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-cart-functions.php
+
+ -
+ message: '#^Function wc_cart_totals_coupon_label\(\) should return string but return statement is missing\.$#'
+ identifier: return.missing
+ count: 1
+ path: includes/wc-cart-functions.php
+
+ -
+ message: '#^Function wc_cart_totals_fee_html\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-cart-functions.php
+
+ -
+ message: '#^Function wc_cart_totals_order_total_html\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-cart-functions.php
+
+ -
+ message: '#^Function wc_cart_totals_shipping_html\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-cart-functions.php
+
+ -
+ message: '#^Function wc_cart_totals_subtotal_html\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-cart-functions.php
+
+ -
+ message: '#^Function wc_cart_totals_taxes_total_html\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-cart-functions.php
+
+ -
+ message: '#^Function wc_clear_cart_after_payment\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-cart-functions.php
+
+ -
+ message: '#^Function wc_empty_cart\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-cart-functions.php
+
+ -
+ message: '#^Function wc_get_chosen_shipping_method_for_package\(\) should return bool\|string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/wc-cart-functions.php
+
+ -
+ message: '#^Function wc_get_raw_referer\(\) should return string\|false but returns mixed\.$#'
+ identifier: return.type
+ count: 2
+ path: includes/wc-cart-functions.php
+
+ -
+ message: '#^Parameter \#1 \$haystack of function stripos expects string, int\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-cart-functions.php
+
+ -
+ message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-cart-functions.php
+
+ -
+ message: '#^Parameter \#1 \$str of function md5 expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-cart-functions.php
+
+ -
+ message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-cart-functions.php
+
+ -
+ message: '#^Parameter \#2 \$fallback_url of function wp_validate_redirect expects string, false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-cart-functions.php
+
+ -
+ message: '#^Parameter \#2 \$str of function explode expects string, int\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-cart-functions.php
+
+ -
+ message: '#^Parameter \#2 \$user_string of function hash_equals expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-cart-functions.php
+
+ -
+ message: '#^Parameter \#3 \$chosen_method of function wc_get_default_shipping_method_for_package expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-cart-functions.php
+
+ -
+ message: '#^Possibly invalid array key type mixed\.$#'
+ identifier: offsetAccess.invalidOffset
+ count: 1
+ path: includes/wc-cart-functions.php
+
+ -
+ message: '#^Property WooCommerce\:\:\$cart \(WC_Cart\) in isset\(\) is not nullable\.$#'
+ identifier: isset.property
+ count: 1
+ path: includes/wc-cart-functions.php
+
+ -
+ message: '#^Parameter \#1 \$haystack of function strstr expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-conditional-functions.php
+
+ -
+ message: '#^Parameter \#2 \$search of function array_key_exists expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-conditional-functions.php
+
+ -
+ message: '#^@param string \$cart_url does not accept actual type of parameter\: string\|false\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: includes/wc-core-functions.php
+
+ -
+ message: '#^@param string \$default_location_string does not accept actual type of parameter\: mixed\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: includes/wc-core-functions.php
+
+ -
+ message: '#^Action callback returns int but should not return anything\.$#'
+ identifier: return.void
+ count: 1
+ path: includes/wc-core-functions.php
+
+ -
+ message: '#^Binary operation "\+" between mixed and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: includes/wc-core-functions.php
+
+ -
+ message: '#^Binary operation "\+\=" between mixed and mixed results in an error\.$#'
+ identifier: assignOp.invalid
+ count: 1
+ path: includes/wc-core-functions.php
+
+ -
+ message: '#^Binary operation "\." between ''_transient_'' and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: includes/wc-core-functions.php
+
+ -
+ message: '#^Binary operation "\." between ''_transient_timeout_'' and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: includes/wc-core-functions.php
+
+ -
+ message: '#^Call to an undefined method object\:\:get_var\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/wc-core-functions.php
+
+ -
+ message: '#^Cannot access offset ''disabled'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: includes/wc-core-functions.php
+
+ -
+ message: '#^Cannot access offset ''enabled'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 3
+ path: includes/wc-core-functions.php
+
+ -
+ message: '#^Cannot access offset ''legacy'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: includes/wc-core-functions.php
+
+ -
+ message: '#^Cannot access offset ''version'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/wc-core-functions.php
+
+ -
+ message: '#^Cannot access offset string on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/wc-core-functions.php
+
+ -
+ message: '#^Cannot access property \$method_order on array\.$#'
+ identifier: property.nonObject
+ count: 2
+ path: includes/wc-core-functions.php
+
+ -
+ message: '#^Cannot cast mixed to float\.$#'
+ identifier: cast.double
+ count: 2
+ path: includes/wc-core-functions.php
+
+ -
+ message: '#^Cannot cast mixed to string\.$#'
+ identifier: cast.string
+ count: 2
+ path: includes/wc-core-functions.php
+
+ -
+ message: '#^Constant COOKIEPATH not found\.$#'
+ identifier: constant.notFound
+ count: 1
+ path: includes/wc-core-functions.php
+
+ -
+ message: '#^Constant WC_ABSPATH not found\.$#'
+ identifier: constant.notFound
+ count: 19
+ path: includes/wc-core-functions.php
+
+ -
+ message: '#^Constant WC_DISCOUNT_ROUNDING_MODE not found\.$#'
+ identifier: constant.notFound
+ count: 1
+ path: includes/wc-core-functions.php
+
+ -
+ message: '#^Constant WC_ROUNDING_PRECISION not found\.$#'
+ identifier: constant.notFound
+ count: 2
+ path: includes/wc-core-functions.php
+
+ -
+ message: '#^Constant WC_TAX_ROUNDING_MODE not found\.$#'
+ identifier: constant.notFound
+ count: 1
+ path: includes/wc-core-functions.php
+
+ -
+ message: '#^Constant WC_TEMPLATE_DEBUG_MODE not found\.$#'
+ identifier: constant.notFound
+ count: 3
+ path: includes/wc-core-functions.php
+
+ -
+ message: '#^Function flush_rewrite_rules_on_shop_page_save\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-core-functions.php
+
+ -
+ message: '#^Function wc_add_number_precision\(\) never returns int so it can be removed from the return type\.$#'
+ identifier: return.unusedType
+ count: 1
+ path: includes/wc-core-functions.php
+
+ -
+ message: '#^Function wc_add_number_precision_deep\(\) should return array\|int but returns float\|int\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/wc-core-functions.php
+
+ -
+ message: '#^Function wc_back_header\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-core-functions.php
+
+ -
+ message: '#^Function wc_back_link\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-core-functions.php
+
+ -
+ message: '#^Function wc_cache_get_multiple\(\) never returns bool so it can be removed from the return type\.$#'
+ identifier: return.unusedType
+ count: 1
+ path: includes/wc-core-functions.php
+
+ -
+ message: '#^Function wc_cleanup_logs\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-core-functions.php
+
+ -
+ message: '#^Function wc_cleanup_session_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-core-functions.php
+
+ -
+ message: '#^Function wc_clear_system_status_theme_info_cache\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-core-functions.php
+
+ -
+ message: '#^Function wc_clear_template_cache\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-core-functions.php
+
+ -
+ message: '#^Function wc_enqueue_js\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-core-functions.php
+
+ -
+ message: '#^Function wc_get_image_size\(\) should return array but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/wc-core-functions.php
+
+ -
+ message: '#^Function wc_get_logger\(\) should return WC_Logger_Interface but returns object\.$#'
+ identifier: return.type
+ count: 2
+ path: includes/wc-core-functions.php
+
+ -
+ message: '#^Function wc_get_shipping_method_count\(\) should return int but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/wc-core-functions.php
+
+ -
+ message: '#^Function wc_get_template\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-core-functions.php
+
+ -
+ message: '#^Function wc_get_template_html\(\) should return string but returns string\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/wc-core-functions.php
+
+ -
+ message: '#^Function wc_get_template_part\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-core-functions.php
+
+ -
+ message: '#^Function wc_get_user_agent\(\) should return string but returns array\|string\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/wc-core-functions.php
+
+ -
+ message: '#^Function wc_maybe_define_constant\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-core-functions.php
+
+ -
+ message: '#^Function wc_nocache_headers\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-core-functions.php
+
+ -
+ message: '#^Function wc_print_js\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-core-functions.php
+
+ -
+ message: '#^Function wc_remove_number_precision_deep\(\) never returns int so it can be removed from the return type\.$#'
+ identifier: return.unusedType
+ count: 1
+ path: includes/wc-core-functions.php
+
+ -
+ message: '#^Function wc_remove_number_precision_deep\(\) should return array\|int but returns float\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/wc-core-functions.php
+
+ -
+ message: '#^Function wc_restore_locale\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-core-functions.php
+
+ -
+ message: '#^Function wc_set_template_cache\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-core-functions.php
+
+ -
+ message: '#^Function wc_set_time_limit\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-core-functions.php
+
+ -
+ message: '#^Function wc_setcookie\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-core-functions.php
+
+ -
+ message: '#^Function wc_switch_to_site_locale\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-core-functions.php
+
+ -
+ message: '#^Function wc_transaction_query\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-core-functions.php
+
+ -
+ message: '#^Function woocommerce_register_shipping_method\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-core-functions.php
+
+ -
+ message: '#^One or more @param tags has an invalid name or invalid syntax\.$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/wc-core-functions.php
+
+ -
+ message: '#^Parameter \#1 \$haystack of function strpos expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-core-functions.php
+
+ -
+ message: '#^Parameter \#1 \$key of function wp_cache_delete expects int\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-core-functions.php
+
+ -
+ message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 3
+ path: includes/wc-core-functions.php
+
+ -
+ message: '#^Parameter \#1 \$message of function wp_fast_hash expects string, int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-core-functions.php
+
+ -
+ message: '#^Parameter \#1 \$new_version of method WC_Plugin_Updates\:\:get_untested_plugins\(\) expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-core-functions.php
+
+ -
+ message: '#^Parameter \#1 \$post of function get_post_type expects int\|WP_Post\|null, int\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-core-functions.php
+
+ -
+ message: '#^Parameter \#1 \$str of function sha1 expects string, int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-core-functions.php
+
+ -
+ message: '#^Parameter \#1 \$str of function trim expects string, string\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-core-functions.php
+
+ -
+ message: '#^Parameter \#1 \$transient of function delete_transient expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-core-functions.php
+
+ -
+ message: '#^Parameter \#1 \$value of function untrailingslashit expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-core-functions.php
+
+ -
+ message: '#^Parameter \#1 \$value of function wc_add_number_precision_deep expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-core-functions.php
+
+ -
+ message: '#^Parameter \#1 \$value of function wc_remove_number_precision_deep expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-core-functions.php
+
+ -
+ message: '#^Parameter \#1 \$var of function intval expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-core-functions.php
+
+ -
+ message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/wc-core-functions.php
+
+ -
+ message: '#^Parameter \#2 \$callback of function add_filter expects callable\(\)\: mixed, array\{mixed, ''run_shortcode''\} given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-core-functions.php
+
+ -
+ message: '#^Parameter \#2 \$str of function explode expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-core-functions.php
+
+ -
+ message: '#^Parameter \#3 \$subject of function str_replace expects array\<string\>\|string, string\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-core-functions.php
+
+ -
+ message: '#^Part \$slug \(mixed\) of encapsed string cannot be cast to string\.$#'
+ identifier: encapsedStringPart.nonString
+ count: 5
+ path: includes/wc-core-functions.php
+
+ -
+ message: '#^Property WC_Shipping_Method\:\:\$enabled \(string\) in isset\(\) is not nullable\.$#'
+ identifier: isset.property
+ count: 1
+ path: includes/wc-core-functions.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_code_by_id\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/wc-coupon-functions.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_ids_by_code\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/wc-coupon-functions.php
+
+ -
+ message: '#^Access to an undefined property WC_Session\:\:\$cart\.$#'
+ identifier: property.notFound
+ count: 2
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Cannot access offset ''cart'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Cannot call method get_default_handler\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Default value of the parameter \#3 \$sale_price \(string\) of function _wc_save_product_price\(\) is incompatible with type float\.$#'
+ identifier: parameter.defaultValue
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function _wc_save_product_price\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function _woocommerce_term_recount\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function _woocommerce_term_recount\(\) has parameter \$callback with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function _woocommerce_term_recount\(\) has parameter \$taxonomy with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function _woocommerce_term_recount\(\) has parameter \$terms with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function _woocommerce_term_recount\(\) has parameter \$terms_are_term_taxonomy_ids with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function add_woocommerce_term_meta\(\) should return bool but returns int\|WP_Error\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function get_product\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function get_product\(\) has parameter \$args with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function get_product\(\) has parameter \$the_product with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function update_woocommerce_term_meta\(\) should return bool but returns bool\|int\|WP_Error\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function wc_caught_exception\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function wc_deprecated_argument\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function wc_deprecated_argument\(\) has parameter \$message with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function wc_deprecated_function\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function wc_deprecated_hook\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function wc_do_deprecated_action\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function wc_doing_it_wrong\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function wc_get_customer_avatar_url\(\) should return string but returns string\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function wc_load_persistent_cart\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function wc_product_dropdown_categories invoked with 4 parameters, 0\-1 required\.$#'
+ identifier: arguments.count
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function wc_products_rss_feed\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function wc_taxonomy_metadata_update_content_for_split_terms\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function wc_taxonomy_metadata_wpdbfix\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_add_order_item\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_add_order_item\(\) has parameter \$item with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_add_order_item\(\) has parameter \$order_id with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_add_order_item_meta\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_add_order_item_meta\(\) has parameter \$item_id with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_add_order_item_meta\(\) has parameter \$meta_key with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_add_order_item_meta\(\) has parameter \$meta_value with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_add_order_item_meta\(\) has parameter \$unique with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_add_to_cart_message\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_add_to_cart_message\(\) has parameter \$product_id with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_admin_scripts\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_array_overlay\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_array_overlay\(\) has parameter \$a1 with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_array_overlay\(\) has parameter \$a2 with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_calc_shipping_backwards_compatibility\(\) has parameter \$value with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_cancel_unpaid_orders\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_cart_totals_coupon_html\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_cart_totals_coupon_html\(\) has parameter \$coupon with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_cart_totals_fee_html\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_cart_totals_fee_html\(\) has parameter \$fee with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_cart_totals_order_total_html\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_cart_totals_shipping_html\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_cart_totals_shipping_method_label\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_cart_totals_shipping_method_label\(\) has parameter \$method with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_cart_totals_subtotal_html\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_change_term_counts\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_change_term_counts\(\) has parameter \$args with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_change_term_counts\(\) has parameter \$taxonomies with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_change_term_counts\(\) has parameter \$terms with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_clean\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_clean\(\) has parameter \$var with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_clear_cart_after_payment\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_compile_less_styles\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_create_new_customer\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_create_new_customer\(\) has parameter \$email with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_create_new_customer\(\) has parameter \$password with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_create_new_customer\(\) has parameter \$username with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_create_page\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_create_page\(\) has parameter \$option with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_create_page\(\) has parameter \$page_content with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_create_page\(\) has parameter \$page_title with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_create_page\(\) has parameter \$post_parent with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_create_page\(\) has parameter \$slug with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_customer_bought_product\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_customer_bought_product\(\) has parameter \$customer_email with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_customer_bought_product\(\) has parameter \$product_id with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_customer_bought_product\(\) has parameter \$user_id with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_customer_edit_account_url\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_customer_has_capability\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_customer_has_capability\(\) has parameter \$allcaps with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_customer_has_capability\(\) has parameter \$args with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_customer_has_capability\(\) has parameter \$caps with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_date_format\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_datepicker_js\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_delete_order_item\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_delete_order_item\(\) has parameter \$item_id with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_delete_order_item_meta\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_delete_order_item_meta\(\) has parameter \$delete_all with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_delete_order_item_meta\(\) has parameter \$item_id with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_delete_order_item_meta\(\) has parameter \$meta_key with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_delete_order_item_meta\(\) has parameter \$meta_value with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_disable_admin_bar\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_disable_admin_bar\(\) has parameter \$show_admin_bar with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_downloadable_file_permission\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_downloadable_file_permission\(\) has parameter \$download_id with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_downloadable_file_permission\(\) has parameter \$order with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_downloadable_file_permission\(\) has parameter \$product_id with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_downloadable_product_permissions\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_downloadable_product_permissions\(\) has parameter \$order_id with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_empty_cart\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_format_decimal\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_format_decimal\(\) has parameter \$dp with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_format_decimal\(\) has parameter \$number with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_format_decimal\(\) has parameter \$trim_zeros with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_format_hex\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_format_hex\(\) has parameter \$hex with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_get_attachment_image_attributes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_get_attachment_image_attributes\(\) has parameter \$attr with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_get_dimension\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_get_dimension\(\) has parameter \$dim with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_get_dimension\(\) has parameter \$to_unit with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_get_endpoint_url\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_get_endpoint_url\(\) has parameter \$endpoint with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_get_endpoint_url\(\) has parameter \$permalink with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_get_endpoint_url\(\) has parameter \$value with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_get_featured_product_ids\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_get_filename_from_url\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_get_filename_from_url\(\) has parameter \$file_url with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_get_formatted_variation\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_get_formatted_variation\(\) has parameter \$flat with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_get_formatted_variation\(\) has parameter \$variation with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_get_order_id_by_order_key\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_get_order_id_by_order_key\(\) has parameter \$order_key with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_get_order_item_meta\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_get_order_item_meta\(\) has parameter \$item_id with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_get_order_item_meta\(\) has parameter \$key with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_get_order_item_meta\(\) has parameter \$single with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_get_page_id\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_get_page_id\(\) has parameter \$page with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_get_product_ids_on_sale\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_get_product_terms\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_get_product_terms\(\) has parameter \$fields with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_get_product_terms\(\) has parameter \$object_id with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_get_product_terms\(\) has parameter \$taxonomy with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_get_template\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_get_template\(\) has parameter \$args with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_get_template\(\) has parameter \$default_path with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_get_template\(\) has parameter \$template_name with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_get_template\(\) has parameter \$template_path with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_get_template_part\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_get_template_part\(\) has parameter \$name with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_get_template_part\(\) has parameter \$slug with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_get_weight\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_get_weight\(\) has parameter \$to_unit with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_get_weight\(\) has parameter \$weight with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_hex_darker\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_hex_darker\(\) has parameter \$color with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_hex_darker\(\) has parameter \$factor with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_hex_lighter\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_hex_lighter\(\) has parameter \$color with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_hex_lighter\(\) has parameter \$factor with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_legacy_paypal_ipn\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_let_to_num\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_let_to_num\(\) has parameter \$size with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_light_or_dark\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_light_or_dark\(\) has parameter \$color with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_light_or_dark\(\) has parameter \$dark with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_light_or_dark\(\) has parameter \$light with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_list_pages\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_list_pages\(\) has parameter \$pages with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_load_persistent_cart\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_load_persistent_cart\(\) has parameter \$user with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_load_persistent_cart\(\) has parameter \$user_login with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_locate_template\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_locate_template\(\) has parameter \$default_path with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_locate_template\(\) has parameter \$template_name with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_locate_template\(\) has parameter \$template_path with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_lostpassword_url\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_lostpassword_url\(\) has parameter \$url with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_mail\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_mail\(\) has parameter \$attachments with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_mail\(\) has parameter \$headers with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_mail\(\) has parameter \$message with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_mail\(\) has parameter \$subject with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_mail\(\) has parameter \$to with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_nav_menu_item_classes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_nav_menu_item_classes\(\) has parameter \$args with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_nav_menu_item_classes\(\) has parameter \$menu_items with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_nav_menu_items\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_nav_menu_items\(\) has parameter \$args with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_nav_menu_items\(\) has parameter \$items with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_order_terms\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_order_terms\(\) has parameter \$index with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_order_terms\(\) has parameter \$next_id with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_order_terms\(\) has parameter \$taxonomy with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_order_terms\(\) has parameter \$terms with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_order_terms\(\) has parameter \$the_term with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_paying_customer\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_paying_customer\(\) has parameter \$order_id with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_placeholder_img\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_placeholder_img\(\) has parameter \$size with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_placeholder_img_src\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_prepare_attachment_for_js\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_prepare_attachment_for_js\(\) has parameter \$response with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_price\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_price\(\) has parameter \$args with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_price\(\) has parameter \$price with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_processing_order_count\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_product_dropdown_categories\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_product_dropdown_categories\(\) has parameter \$args with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_product_dropdown_categories\(\) has parameter \$deprecated_hierarchical with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_product_dropdown_categories\(\) has parameter \$deprecated_orderby with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_product_dropdown_categories\(\) has parameter \$deprecated_show_uncategorized with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_product_post_type_link\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_product_post_type_link\(\) has parameter \$permalink with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_product_post_type_link\(\) has parameter \$post with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_product_reviews_tab\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_product_subcategories\(\) never returns null so it can be removed from the return type\.$#'
+ identifier: return.unusedType
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_protected_product_add_to_cart\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_protected_product_add_to_cart\(\) has parameter \$passed with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_protected_product_add_to_cart\(\) has parameter \$product_id with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_readfile_chunked\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_readfile_chunked\(\) has parameter \$file with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_readfile_chunked\(\) has parameter \$retbytes with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_recount_after_stock_change\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_recount_after_stock_change\(\) has parameter \$product_id with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_reset_loop\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_rgb_from_hex\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_rgb_from_hex\(\) has parameter \$color with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_round_tax_total\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_round_tax_total\(\) has parameter \$tax with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_sanitize_taxonomy_name\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_sanitize_taxonomy_name\(\) has parameter \$taxonomy with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_scheduled_sales\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_set_customer_auth_cookie\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_set_customer_auth_cookie\(\) has parameter \$customer_id with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_set_term_order\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_set_term_order\(\) has parameter \$index with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_set_term_order\(\) has parameter \$recursive with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_set_term_order\(\) has parameter \$taxonomy with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_set_term_order\(\) has parameter \$term_id with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_show_messages\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_taxonomy_metadata_wpdbfix\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_terms_clauses\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_terms_clauses\(\) has parameter \$args with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_terms_clauses\(\) has parameter \$clauses with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_terms_clauses\(\) has parameter \$taxonomies with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_time_format\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_timezone_string\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_tooltip_js\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_track_product_view\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_trim_zeros\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_trim_zeros\(\) has parameter \$price with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_update_new_customer_past_orders\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_update_new_customer_past_orders\(\) has parameter \$customer_id with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_update_order_item_meta\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_update_order_item_meta\(\) has parameter \$item_id with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_update_order_item_meta\(\) has parameter \$meta_key with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_update_order_item_meta\(\) has parameter \$meta_value with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_update_order_item_meta\(\) has parameter \$prev_value with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_walk_category_dropdown_tree\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_walk_category_dropdown_tree\(\) has parameter \$a1 with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_walk_category_dropdown_tree\(\) has parameter \$a2 with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_walk_category_dropdown_tree\(\) has parameter \$a3 with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Function woocommerce_weekend_area_js\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^PHPDoc tag @param references unknown parameter\: \$replacement$#'
+ identifier: parameter.notFound
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Parameter \#1 \$number of function wc_format_decimal expects float\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Parameter \#1 \$time of function strtotime expects string, array\|int\<min, \-1\>\|int\<1, max\>\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Parameter \#1 \$time of function strtotime expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 3
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Parameter \#3 \$replacement of function _deprecated_function expects string, string\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Parameter \#3 \$replacement of function _deprecated_hook expects string, string\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^Parameter \#4 \$message of function _deprecated_hook expects string, string\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-deprecated-functions.php
+
+ -
+ message: '#^@param float \$formatted_price does not accept actual type of parameter\: string\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: includes/wc-formatting-functions.php
+
+ -
+ message: '#^@param string \$price does not accept actual type of parameter\: float\|string\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: includes/wc-formatting-functions.php
+
+ -
+ message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
+ count: 2
+ path: includes/wc-formatting-functions.php
+
+ -
+ message: '#^Call to function is_numeric\(\) with float will always evaluate to true\.$#'
+ identifier: function.alreadyNarrowedType
+ count: 1
+ path: includes/wc-formatting-functions.php
+
+ -
+ message: '#^Cannot access offset mixed on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 7
+ path: includes/wc-formatting-functions.php
+
+ -
+ message: '#^Constant WC_TAX_ROUNDING_MODE not found\.$#'
+ identifier: constant.notFound
+ count: 1
+ path: includes/wc-formatting-functions.php
+
+ -
+ message: '#^Function wc_array_merge_recursive_numeric\(\) should return array but returns mixed\.$#'
+ identifier: return.type
+ count: 2
+ path: includes/wc-formatting-functions.php
+
+ -
+ message: '#^Function wc_format_decimal\(\) should return string but returns array\<string\>\|string\|null\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/wc-formatting-functions.php
+
+ -
+ message: '#^Function wc_format_option_hold_stock_minutes\(\) should return string but returns int\<0, max\>\|string\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/wc-formatting-functions.php
+
+ -
+ message: '#^Function wc_format_option_price_num_decimals\(\) should return string but returns int\<0, max\>\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/wc-formatting-functions.php
+
+ -
+ message: '#^Function wc_format_phone_number\(\) should return string but returns string\|null\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/wc-formatting-functions.php
+
+ -
+ message: '#^Function wc_get_filename_from_url\(\) should return string but return statement is missing\.$#'
+ identifier: return.missing
+ count: 1
+ path: includes/wc-formatting-functions.php
+
+ -
+ message: '#^Function wc_normalize_postcode\(\) should return string but returns string\|null\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/wc-formatting-functions.php
+
+ -
+ message: '#^Function wc_sanitize_phone_number\(\) should return string but returns string\|null\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/wc-formatting-functions.php
+
+ -
+ message: '#^Function wc_stock_amount\(\) should return float\|int but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/wc-formatting-functions.php
+
+ -
+ message: '#^Function wc_string_to_timestamp\(\) should return int but returns int\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/wc-formatting-functions.php
+
+ -
+ message: '#^Function wc_timezone_string\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/wc-formatting-functions.php
+
+ -
+ message: '#^Function wc_trim_zeros\(\) should return string but returns string\|null\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/wc-formatting-functions.php
+
+ -
+ message: '#^Offset 0 might not exist on array\<string\>\|string\|null\.$#'
+ identifier: offsetAccess.notFound
+ count: 1
+ path: includes/wc-formatting-functions.php
+
+ -
+ message: '#^Offset 1 might not exist on array\<string\>\|string\|null\.$#'
+ identifier: offsetAccess.notFound
+ count: 1
+ path: includes/wc-formatting-functions.php
+
+ -
+ message: '#^Offset 2 might not exist on array\<string\>\|string\|null\.$#'
+ identifier: offsetAccess.notFound
+ count: 1
+ path: includes/wc-formatting-functions.php
+
+ -
+ message: '#^Offset 3 might not exist on array\<string\>\|string\|null\.$#'
+ identifier: offsetAccess.notFound
+ count: 1
+ path: includes/wc-formatting-functions.php
+
+ -
+ message: '#^Offset 4 might not exist on array\<string\>\|string\|null\.$#'
+ identifier: offsetAccess.notFound
+ count: 1
+ path: includes/wc-formatting-functions.php
+
+ -
+ message: '#^Offset 5 might not exist on array\<string\>\|string\|null\.$#'
+ identifier: offsetAccess.notFound
+ count: 1
+ path: includes/wc-formatting-functions.php
+
+ -
+ message: '#^Offset 7 on list\{0\: non\-falsy\-string, 1\: non\-falsy\-string&numeric\-string, 2\: non\-falsy\-string&numeric\-string, 3\: non\-falsy\-string&numeric\-string, 4\: non\-falsy\-string&numeric\-string, 5\: non\-falsy\-string&numeric\-string, 6\: non\-falsy\-string&numeric\-string, 7\: non\-falsy\-string, \.\.\.\} in empty\(\) always exists and is not falsy\.$#'
+ identifier: empty.offset
+ count: 1
+ path: includes/wc-formatting-functions.php
+
+ -
+ message: '#^Parameter \#1 \$content of function wp_kses expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-formatting-functions.php
+
+ -
+ message: '#^Parameter \#1 \$dimensions_unit of static method Automattic\\WooCommerce\\Utilities\\I18nUtil\:\:get_dimensions_unit_label\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-formatting-functions.php
+
+ -
+ message: '#^Parameter \#1 \$haystack of function strstr expects string, array\<string\>\|string\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-formatting-functions.php
+
+ -
+ message: '#^Parameter \#1 \$hour of function gmmktime expects int, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-formatting-functions.php
+
+ -
+ message: '#^Parameter \#1 \$input of function array_filter expects array, list\<string\>\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-formatting-functions.php
+
+ -
+ message: '#^Parameter \#1 \$input of function str_pad expects string, int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-formatting-functions.php
+
+ -
+ message: '#^Parameter \#1 \$num of function dechex expects int, float given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/wc-formatting-functions.php
+
+ -
+ message: '#^Parameter \#1 \$offset of method WC_DateTime\:\:set_utc_offset\(\) expects int, float given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-formatting-functions.php
+
+ -
+ message: '#^Parameter \#1 \$price of function wc_price expects float, string given\.$#'
+ identifier: argument.type
+ count: 6
+ path: includes/wc-formatting-functions.php
+
+ -
+ message: '#^Parameter \#1 \$stock_quantity of function wc_format_stock_quantity_for_display expects int, int\|null given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/wc-formatting-functions.php
+
+ -
+ message: '#^Parameter \#1 \$str of function rtrim expects string, array\<string\>\|string\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-formatting-functions.php
+
+ -
+ message: '#^Parameter \#1 \$str of function strtolower expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/wc-formatting-functions.php
+
+ -
+ message: '#^Parameter \#1 \$str of function substr_replace expects array\|string, string\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-formatting-functions.php
+
+ -
+ message: '#^Parameter \#1 \$str of function trim expects string, string\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-formatting-functions.php
+
+ -
+ message: '#^Parameter \#1 \$timezone of class DateTimeZone constructor expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-formatting-functions.php
+
+ -
+ message: '#^Parameter \#1 \$value of function wc_format_localized_decimal expects string, float given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-formatting-functions.php
+
+ -
+ message: '#^Parameter \#1 \$var of function floatval expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/wc-formatting-functions.php
+
+ -
+ message: '#^Parameter \#1 \$var of function intval expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-formatting-functions.php
+
+ -
+ message: '#^Parameter \#1 \$weight_unit of static method Automattic\\WooCommerce\\Utilities\\I18nUtil\:\:get_weight_unit_label\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-formatting-functions.php
+
+ -
+ message: '#^Parameter \#2 \$array of function implode expects array\<string\>, list\<array\|string\> given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-formatting-functions.php
+
+ -
+ message: '#^Parameter \#2 \$min of function gmmktime expects int, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-formatting-functions.php
+
+ -
+ message: '#^Parameter \#3 \$sec of function gmmktime expects int, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-formatting-functions.php
+
+ -
+ message: '#^Parameter \#3 \$subject of function preg_replace expects array\<float\|int\|string\>\|string, float\|int\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-formatting-functions.php
+
+ -
+ message: '#^Parameter \#3 \$subject of function preg_replace expects array\<float\|int\|string\>\|string, string\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-formatting-functions.php
+
+ -
+ message: '#^Parameter \#3 \$subject of function str_replace expects array\<string\>\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/wc-formatting-functions.php
+
+ -
+ message: '#^Parameter \#4 \$mon of function gmmktime expects int, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-formatting-functions.php
+
+ -
+ message: '#^Parameter \#5 \$day of function gmmktime expects int, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-formatting-functions.php
+
+ -
+ message: '#^Parameter \#6 \$year of function gmmktime expects int, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-formatting-functions.php
+
+ -
+ message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
+ count: 2
+ path: includes/wc-notice-functions.php
+
+ -
+ message: '#^Cannot access an offset on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/wc-notice-functions.php
+
+ -
+ message: '#^Cannot access offset ''notice'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/wc-notice-functions.php
+
+ -
+ message: '#^Cannot access offset mixed on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/wc-notice-functions.php
+
+ -
+ message: '#^Cannot access offset non\-falsy\-string on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/wc-notice-functions.php
+
+ -
+ message: '#^Cannot access offset string on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 3
+ path: includes/wc-notice-functions.php
+
+ -
+ message: '#^Function wc_add_notice\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-notice-functions.php
+
+ -
+ message: '#^Function wc_add_wp_error_notices\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-notice-functions.php
+
+ -
+ message: '#^Function wc_clear_notices\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-notice-functions.php
+
+ -
+ message: '#^Function wc_get_notice_data_attr\(\) should return string but empty return statement found\.$#'
+ identifier: return.empty
+ count: 1
+ path: includes/wc-notice-functions.php
+
+ -
+ message: '#^Function wc_get_notices\(\) should return array\<array\> but empty return statement found\.$#'
+ identifier: return.empty
+ count: 1
+ path: includes/wc-notice-functions.php
+
+ -
+ message: '#^Function wc_get_notices\(\) should return array\<array\> but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/wc-notice-functions.php
+
+ -
+ message: '#^Function wc_notice_count\(\) should return int but empty return statement found\.$#'
+ identifier: return.empty
+ count: 1
+ path: includes/wc-notice-functions.php
+
+ -
+ message: '#^Function wc_print_notice\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-notice-functions.php
+
+ -
+ message: '#^Function wc_set_notices\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-notice-functions.php
+
+ -
+ message: '#^Parameter \#1 \$input of function array_filter expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-notice-functions.php
+
+ -
+ message: '#^Parameter \#1 \$input_list of function wp_list_pluck expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-notice-functions.php
+
+ -
+ message: '#^Parameter \#1 \$message of function wc_kses_notice expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/wc-notice-functions.php
+
+ -
+ message: '#^Binary operation "\*" between mixed and \-1 results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: includes/wc-order-functions.php
+
+ -
+ message: '#^Binary operation "\+\=" between \(float\|int\) and mixed results in an error\.$#'
+ identifier: assignOp.invalid
+ count: 1
+ path: includes/wc-order-functions.php
+
+ -
+ message: '#^Binary operation "\-" between float and string results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: includes/wc-order-functions.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:delete_by_id\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/wc-order-functions.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_downloads\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/wc-order-functions.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_order_id_by_order_key\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/wc-order-functions.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_unpaid_orders\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/wc-order-functions.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:search_orders\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/wc-order-functions.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:update_product_sales\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/wc-order-functions.php
+
+ -
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_product\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/wc-order-functions.php
+
+ -
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_product_id\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/wc-order-functions.php
+
+ -
+ message: '#^Call to an undefined method WC_Order_Item\:\:set_taxes\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/wc-order-functions.php
+
+ -
+ message: '#^Call to an undefined method WC_Order_Item\:\:set_total\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/wc-order-functions.php
+
+ -
+ message: '#^Call to an undefined method object\:\:get_download_permissions_granted\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/wc-order-functions.php
+
+ -
+ message: '#^Call to an undefined method object\:\:get_recorded_coupon_usage_counts\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/wc-order-functions.php
+
+ -
+ message: '#^Call to an undefined method object\:\:get_recorded_sales\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/wc-order-functions.php
+
+ -
+ message: '#^Call to an undefined method object\:\:set_download_permissions_granted\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/wc-order-functions.php
+
+ -
+ message: '#^Call to an undefined method object\:\:set_recorded_coupon_usage_counts\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/wc-order-functions.php
+
+ -
+ message: '#^Call to an undefined method object\:\:set_recorded_sales\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/wc-order-functions.php
+
+ -
+ message: '#^Call to function is_a\(\) with WC_Order_Refund and ''WC_Order_Refund'' will always evaluate to true\.$#'
+ identifier: function.alreadyNarrowedType
+ count: 1
+ path: includes/wc-order-functions.php
+
+ -
+ message: '#^Cannot access offset ''add_order_meta_boxes'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/wc-order-functions.php
+
+ -
+ message: '#^Cannot access offset ''exclude_from_order_count'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/wc-order-functions.php
+
+ -
+ message: '#^Cannot access offset ''exclude_from_order_reports'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/wc-order-functions.php
+
+ -
+ message: '#^Cannot access offset ''exclude_from_order_sales_reports'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/wc-order-functions.php
+
+ -
+ message: '#^Cannot access offset ''exclude_from_order_views'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/wc-order-functions.php
+
+ -
+ message: '#^Cannot access offset ''exclude_from_order_webhooks'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/wc-order-functions.php
+
+ -
+ message: '#^Cannot access offset ''qty'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/wc-order-functions.php
+
+ -
+ message: '#^Cannot access offset ''refund_tax'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: includes/wc-order-functions.php
+
+ -
+ message: '#^Cannot access offset ''refund_total'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/wc-order-functions.php
+
+ -
+ message: '#^Cannot call method add_order_note\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/wc-order-functions.php
+
+ -
+ message: '#^Cannot call method add_order_note\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/wc-order-functions.php
+
+ -
+ message: '#^Cannot call method calculate_cogs_total_value\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/wc-order-functions.php
+
+ -
+ message: '#^Cannot call method feature_is_enabled\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/wc-order-functions.php
+
+ -
+ message: '#^Cannot call method get_billing_email\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/wc-order-functions.php
+
+ -
+ message: '#^Cannot call method get_coupon_codes\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: includes/wc-order-functions.php
+
+ -
+ message: '#^Cannot call method get_created_via\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/wc-order-functions.php
+
+ -
+ message: '#^Cannot call method get_currency\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/wc-order-functions.php
+
+ -
+ message: '#^Cannot call method get_data_store\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 8
+ path: includes/wc-order-functions.php
+
+ -
+ message: '#^Cannot call method get_download_expiry\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/wc-order-functions.php
+
+ -
+ message: '#^Cannot call method get_download_limit\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: includes/wc-order-functions.php
+
+ -
+ message: '#^Cannot call method get_id\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 6
+ path: includes/wc-order-functions.php
+
+ -
+ message: '#^Cannot call method get_id\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/wc-order-functions.php
+
+ -
+ message: '#^Cannot call method get_items\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 5
+ path: includes/wc-order-functions.php
+
+ -
+ message: '#^Cannot call method get_prices_include_tax\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/wc-order-functions.php
+
+ -
+ message: '#^Cannot call method get_remaining_refund_amount\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/wc-order-functions.php
+
+ -
+ message: '#^Cannot call method get_remaining_refund_items\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/wc-order-functions.php
+
+ -
+ message: '#^Cannot call method get_status\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/wc-order-functions.php
+
+ -
+ message: '#^Cannot call method get_total\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/wc-order-functions.php
+
+ -
+ message: '#^Cannot call method get_total_refunded\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/wc-order-functions.php
+
+ -
+ message: '#^Cannot call method get_user_id\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/wc-order-functions.php
+
+ -
+ message: '#^Cannot call method has_cogs\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/wc-order-functions.php
+
+ -
+ message: '#^Cannot call method has_free_item\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/wc-order-functions.php
+
+ -
+ message: '#^Cannot call method has_status\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 4
+ path: includes/wc-order-functions.php
+
+ -
+ message: '#^Cannot call method save\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/wc-order-functions.php
+
+ -
+ message: '#^Cannot call method set_date_modified\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/wc-order-functions.php
+
+ -
+ message: '#^Cannot call method update_status\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/wc-order-functions.php
+
+ -
+ message: '#^Cannot call method update_status\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/wc-order-functions.php
+
+ -
+ message: '#^Cannot cast mixed to int\.$#'
+ identifier: cast.int
+ count: 1
+ path: includes/wc-order-functions.php
+
+ -
+ message: '#^Function remove_filter invoked with 4 parameters, 2\-3 required\.$#'
+ identifier: arguments.count
+ count: 1
+ path: includes/wc-order-functions.php
+
+ -
+ message: '#^Function wc_cancel_unpaid_orders\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-order-functions.php
+
+ -
+ message: '#^Function wc_delete_shop_order_transients\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-order-functions.php
+
+ -
+ message: '#^Function wc_downloadable_product_permissions\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-order-functions.php
+
+ -
+ message: '#^Function wc_get_order\(\) never returns WC_Order_Refund so it can be removed from the return type\.$#'
+ identifier: return.unusedType
+ count: 1
+ path: includes/wc-order-functions.php
+
+ -
+ message: '#^Function wc_get_orders\(\) should return array\<WC_Order\>\|stdClass but returns array\|object\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/wc-order-functions.php
+
+ -
+ message: '#^Function wc_order_fully_refunded\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-order-functions.php
+
+ -
+ message: '#^Function wc_restock_refunded_items\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-order-functions.php
+
+ -
+ message: '#^Function wc_sanitize_order_id\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-order-functions.php
+
+ -
+ message: '#^Function wc_update_coupon_usage_counts\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-order-functions.php
+
+ -
+ message: '#^Function wc_update_total_sales_counts\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-order-functions.php
+
+ -
+ message: '#^Parameter \#1 \$amount of function wc_format_refund_total expects float, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/wc-order-functions.php
+
+ -
+ message: '#^Parameter \#1 \$callback of function array_map expects \(callable\(mixed\)\: mixed\)\|null, ''wc_format_refund…'' given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/wc-order-functions.php
+
+ -
+ message: '#^Parameter \#1 \$comment_id of function get_comment_meta expects int, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-order-functions.php
+
+ -
+ message: '#^Parameter \#1 \$date of method WC_Customer_Download\:\:set_access_expires\(\) expects int\|string\|null, int\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-order-functions.php
+
+ -
+ message: '#^Parameter \#1 \$download_id of function wc_downloadable_file_permission expects string, int\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-order-functions.php
+
+ -
+ message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/wc-order-functions.php
+
+ -
+ message: '#^Parameter \#1 \$object_or_string of function is_a expects object, WP_Comment\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-order-functions.php
+
+ -
+ message: '#^Parameter \#1 \$object_or_string of function is_a expects object, bool\|WC_Order\|WC_Order_Refund given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/wc-order-functions.php
+
+ -
+ message: '#^Parameter \#1 \$order of function wc_refund_payment expects WC_Order, WC_Order\|WC_Order_Refund\|true given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-order-functions.php
+
+ -
+ message: '#^Parameter \#1 \$order of function wc_release_coupons_for_order expects int\|WC_Order, WC_Order\|WC_Order_Refund\|true given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/wc-order-functions.php
+
+ -
+ message: '#^Parameter \#1 \$order of function wc_restock_refunded_items expects WC_Order, WC_Order\|WC_Order_Refund\|true given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-order-functions.php
+
+ -
+ message: '#^Parameter \#1 \$post_type of function register_post_type expects lowercase\-string&non\-empty\-string, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-order-functions.php
+
+ -
+ message: '#^Parameter \#1 \$used_by of method WC_Coupon\:\:decrease_usage_count\(\) expects string, int\<min, \-1\>\|int\<1, max\>\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-order-functions.php
+
+ -
+ message: '#^Parameter \#1 \$used_by of method WC_Coupon\:\:increase_usage_count\(\) expects string, int\<min, \-1\>\|int\<1, max\>\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-order-functions.php
+
+ -
+ message: '#^Parameter \#1 \$value of method WC_Abstract_Order\:\:set_total\(\) expects string, \(float\|int\) given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-order-functions.php
+
+ -
+ message: '#^Parameter \#1 \$value of method WC_Customer_Download\:\:set_user_email\(\) expects int, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-order-functions.php
+
+ -
+ message: '#^Parameter \#2 \$amount of function wc_refund_payment expects string, float\|int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-order-functions.php
+
+ -
+ message: '#^Parameter \#2 \$array of function array_map expects array, array\<int\|WP_Comment\>\|int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-order-functions.php
+
+ -
+ message: '#^Parameter \#2 \$is_customer_note of method WC_Order\:\:add_order_note\(\) expects int, false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-order-functions.php
+
+ -
+ message: '#^Parameter \#2 \$order of method WC_Coupon\:\:increase_usage_count\(\) expects WC_Order\|null, WC_Order\|WC_Order_Refund\|true given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-order-functions.php
+
+ -
+ message: '#^Parameter \#2 \$value of method WC_Data\:\:update_meta_data\(\) expects array\|string, \(float\|int\) given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/wc-order-functions.php
+
+ -
+ message: '#^Parameter \#3 \$order of function wc_downloadable_file_permission expects WC_Order, WC_Order\|WC_Order_Refund\|true given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-order-functions.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:add_metadata\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/wc-order-item-functions.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:add_order_item\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/wc-order-item-functions.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:delete_metadata\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/wc-order-item-functions.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:delete_order_item\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/wc-order-item-functions.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_metadata\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/wc-order-item-functions.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_order_id_by_order_item_id\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/wc-order-item-functions.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:update_metadata\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/wc-order-item-functions.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:update_order_item\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/wc-order-item-functions.php
+
+ -
+ message: '#^Call to an undefined method WC_Logger_Interface\:\:clear\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/wc-order-step-logger-functions.php
+
+ -
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_product_id\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/wc-order-step-logger-functions.php
+
+ -
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_variation_id\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/wc-order-step-logger-functions.php
+
+ -
+ message: '#^Cannot call method enqueue_processor\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/wc-order-step-logger-functions.php
+
+ -
+ message: '#^Function extract_order_safe_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-order-step-logger-functions.php
+
+ -
+ message: '#^Cannot access property \$classes on mixed\.$#'
+ identifier: property.nonObject
+ count: 2
+ path: includes/wc-page-functions.php
+
+ -
+ message: '#^Cannot access property \$current on mixed\.$#'
+ identifier: property.nonObject
+ count: 2
+ path: includes/wc-page-functions.php
+
+ -
+ message: '#^Cannot access property \$object on mixed\.$#'
+ identifier: property.nonObject
+ count: 2
+ path: includes/wc-page-functions.php
+
+ -
+ message: '#^Cannot access property \$object_id on mixed\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/wc-page-functions.php
+
+ -
+ message: '#^Cannot access property \$parsed_block on mixed\.$#'
+ identifier: property.nonObject
+ count: 3
+ path: includes/wc-page-functions.php
+
+ -
+ message: '#^Cannot access property \$url on mixed\.$#'
+ identifier: property.nonObject
+ count: 2
+ path: includes/wc-page-functions.php
+
+ -
+ message: '#^Cannot cast mixed to int\.$#'
+ identifier: cast.int
+ count: 1
+ path: includes/wc-page-functions.php
+
+ -
+ message: '#^Class WP_Block_List referenced with incorrect case\: WP_Block_list\.$#'
+ identifier: class.nameCase
+ count: 2
+ path: includes/wc-page-functions.php
+
+ -
+ message: '#^Parameter \#1 \$haystack of function strstr expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 5
+ path: includes/wc-page-functions.php
+
+ -
+ message: '#^Parameter \#1 \$str of function sanitize_text_field expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/wc-page-functions.php
+
+ -
+ message: '#^Parameter \#1 \$url of function user_trailingslashit expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-page-functions.php
+
+ -
+ message: '#^Parameter \#1 \$url of function wp_parse_url expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-page-functions.php
+
+ -
+ message: '#^Parameter \#1 \$value of function trailingslashit expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-page-functions.php
+
+ -
+ message: '#^Parameter \#1 \$value of function trailingslashit expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-page-functions.php
+
+ -
+ message: '#^Parameter \#2 \$str of function explode expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-page-functions.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_ending_sales\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/wc-product-functions.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_featured_product_ids\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/wc-product-functions.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_on_sale_products\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/wc-product-functions.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_product_id_by_global_unique_id\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/wc-product-functions.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_product_id_by_sku\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/wc-product-functions.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_related_products\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/wc-product-functions.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_starting_sales\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/wc-product-functions.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:is_existing_global_unique_id\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/wc-product-functions.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:is_existing_sku\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/wc-product-functions.php
+
+ -
+ message: '#^Call to function is_array\(\) with array\<mixed\> will always evaluate to true\.$#'
+ identifier: function.alreadyNarrowedType
+ count: 1
+ path: includes/wc-product-functions.php
+
+ -
+ message: '#^Call to function is_string\(\) with string will always evaluate to true\.$#'
+ identifier: function.alreadyNarrowedType
+ count: 1
+ path: includes/wc-product-functions.php
+
+ -
+ message: '#^Cannot access offset ''is_variation'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/wc-product-functions.php
+
+ -
+ message: '#^Cannot access offset ''meta_value'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/wc-product-functions.php
+
+ -
+ message: '#^Cannot access offset ''name'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/wc-product-functions.php
+
+ -
+ message: '#^Cannot access offset ''post_id'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/wc-product-functions.php
+
+ -
+ message: '#^Cannot access offset ''value'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/wc-product-functions.php
+
+ -
+ message: '#^Cannot access offset 0 on array\{string, int, int, bool\}\|false\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 4
+ path: includes/wc-product-functions.php
+
+ -
+ message: '#^Cannot access offset 0 on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 3
+ path: includes/wc-product-functions.php
+
+ -
+ message: '#^Cannot access offset 1 on array\{string, int, int, bool\}\|false\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 4
+ path: includes/wc-product-functions.php
+
+ -
+ message: '#^Cannot access offset 2 on array\{string, int, int, bool\}\|false\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 4
+ path: includes/wc-product-functions.php
+
+ -
+ message: '#^Cannot access property \$slug on WP_Error\|WP_Term\|null\.$#'
+ identifier: property.nonObject
+ count: 2
+ path: includes/wc-product-functions.php
+
+ -
+ message: '#^Cannot call method delete_product_specific_transients\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 3
+ path: includes/wc-product-functions.php
+
+ -
+ message: '#^Cannot call method get_customer_id\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/wc-product-functions.php
+
+ -
+ message: '#^Cannot call method get_instance_of\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/wc-product-functions.php
+
+ -
+ message: '#^Cannot call method get_permalink\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/wc-product-functions.php
+
+ -
+ message: '#^Cannot call method is_enabled\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/wc-product-functions.php
+
+ -
+ message: '#^Cannot call method save\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/wc-product-functions.php
+
+ -
+ message: '#^Cannot call method set_sku\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/wc-product-functions.php
+
+ -
+ message: '#^Default value of the parameter \#1 \$offset \(int\) of function wc_update_product_lookup_tables_rating_count_batch\(\) is incompatible with type array\.$#'
+ identifier: parameter.defaultValue
+ count: 1
+ path: includes/wc-product-functions.php
+
+ -
+ message: '#^Default value of the parameter \#2 \$limit \(int\) of function wc_update_product_lookup_tables_rating_count_batch\(\) is incompatible with type array\.$#'
+ identifier: parameter.defaultValue
+ count: 1
+ path: includes/wc-product-functions.php
+
+ -
+ message: '#^Function wc_deferred_product_sync\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-product-functions.php
+
+ -
+ message: '#^Function wc_delete_product_transients\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-product-functions.php
+
+ -
+ message: '#^Function wc_delete_related_product_transients\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-product-functions.php
+
+ -
+ message: '#^Function wc_get_featured_product_ids\(\) should return array but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/wc-product-functions.php
+
+ -
+ message: '#^Function wc_get_price_to_display\(\) should return float but returns float\|string\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/wc-product-functions.php
+
+ -
+ message: '#^Function wc_get_product\(\) never returns null so it can be removed from the return type\.$#'
+ identifier: return.unusedType
+ count: 1
+ path: includes/wc-product-functions.php
+
+ -
+ message: '#^Function wc_get_product\(\) should return WC_Product\|false\|null but returns bool\|WC_Product\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/wc-product-functions.php
+
+ -
+ message: '#^Function wc_get_product_category_list\(\) should return string but returns string\|WP_Error\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/wc-product-functions.php
+
+ -
+ message: '#^Function wc_get_product_ids_on_sale\(\) should return array but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/wc-product-functions.php
+
+ -
+ message: '#^Function wc_get_product_object\(\) should return WC_Product but returns object\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/wc-product-functions.php
+
+ -
+ message: '#^Function wc_get_product_tag_list\(\) should return string but returns string\|WP_Error\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/wc-product-functions.php
+
+ -
+ message: '#^Function wc_get_products\(\) should return array\|stdClass but returns array\|object\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/wc-product-functions.php
+
+ -
+ message: '#^Function wc_product_force_unique_sku\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-product-functions.php
+
+ -
+ message: '#^Function wc_scheduled_sales\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-product-functions.php
+
+ -
+ message: '#^Function wc_track_product_view\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-product-functions.php
+
+ -
+ message: '#^Function wc_update_product_lookup_tables\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-product-functions.php
+
+ -
+ message: '#^Function wc_update_product_lookup_tables_column\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-product-functions.php
+
+ -
+ message: '#^Function wc_update_product_lookup_tables_rating_count\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-product-functions.php
+
+ -
+ message: '#^Function wc_update_product_lookup_tables_rating_count_batch\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-product-functions.php
+
+ -
+ message: '#^Parameter \#1 \$arr1 of function array_merge expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-product-functions.php
+
+ -
+ message: '#^Parameter \#1 \$attachment_id of function wp_get_attachment_image expects int, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-product-functions.php
+
+ -
+ message: '#^Parameter \#1 \$attachment_id of function wp_get_attachment_image_sizes expects int, int\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-product-functions.php
+
+ -
+ message: '#^Parameter \#1 \$attachment_id of function wp_get_attachment_image_src expects int, float\|int\<min, \-1\>\|int\<1, max\>\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-product-functions.php
+
+ -
+ message: '#^Parameter \#1 \$attachment_id of function wp_get_attachment_image_src expects int, int\|null given\.$#'
+ identifier: argument.type
+ count: 4
+ path: includes/wc-product-functions.php
+
+ -
+ message: '#^Parameter \#1 \$attachment_id of function wp_get_attachment_image_srcset expects int, int\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-product-functions.php
+
+ -
+ message: '#^Parameter \#1 \$attachment_id of function wp_get_attachment_url expects int, int\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-product-functions.php
+
+ -
+ message: '#^Parameter \#1 \$attribute of function wc_is_attribute_in_product_name expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-product-functions.php
+
+ -
+ message: '#^Parameter \#1 \$data of function maybe_unserialize expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-product-functions.php
+
+ -
+ message: '#^Parameter \#1 \$input_list of function wp_list_sort expects array, array\<WP_Term\>\|WP_Error given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-product-functions.php
+
+ -
+ message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-product-functions.php
+
+ -
+ message: '#^Parameter \#1 \$object_or_string of function is_a expects object, array\|WC_Product_Variation given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-product-functions.php
+
+ -
+ message: '#^Parameter \#1 \$post of function get_post expects int\|WP_Post\|null, int\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-product-functions.php
+
+ -
+ message: '#^Parameter \#1 \$post of function wp_attachment_is_image expects int\|WP_Post\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-product-functions.php
+
+ -
+ message: '#^Parameter \#1 \$post_id of function get_post_meta expects int, int\|false given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/wc-product-functions.php
+
+ -
+ message: '#^Parameter \#1 \$post_id of function get_post_meta expects int, int\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-product-functions.php
+
+ -
+ message: '#^Parameter \#1 \$raw_attributes of function wc_get_text_attributes expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-product-functions.php
+
+ -
+ message: '#^Parameter \#1 \$str of function rawurldecode expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 4
+ path: includes/wc-product-functions.php
+
+ -
+ message: '#^Parameter \#1 \$str of function urldecode expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-product-functions.php
+
+ -
+ message: '#^Parameter \#1 \$text of function wp_strip_all_tags expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-product-functions.php
+
+ -
+ message: '#^Parameter \#1 \$title of function sanitize_title expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/wc-product-functions.php
+
+ -
+ message: '#^Parameter \#1 \$var of function count expects array\|Countable, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-product-functions.php
+
+ -
+ message: '#^Parameter \#1 \$version1 of function version_compare expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-product-functions.php
+
+ -
+ message: '#^Parameter \#2 \$post of function wc_product_post_type_link expects WP_Post, WP_Post\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-product-functions.php
+
+ -
+ message: '#^Parameter \#2 \$product of function wc_attribute_label expects WC_Product, WC_Product_Variation\|false given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/wc-product-functions.php
+
+ -
+ message: '#^Parameter \#2 \$replace of function str_replace expects array\<string\>\|string, array\<int, mixed\> given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-product-functions.php
+
+ -
+ message: '#^Parameter \#2 \$str of function explode expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-product-functions.php
+
+ -
+ message: '#^Parameter \#2 \$value of function get_term_by expects int\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-product-functions.php
+
+ -
+ message: '#^Property WooCommerce\:\:\$customer \(WC_Customer\) in empty\(\) is not falsy\.$#'
+ identifier: empty.property
+ count: 2
+ path: includes/wc-product-functions.php
+
+ -
+ message: '#^Variable \$_GET in isset\(\) always exists and is not nullable\.$#'
+ identifier: isset.variable
+ count: 1
+ path: includes/wc-product-functions.php
+
+ -
+ message: '#^Variable \$global_unique_id_found might not be defined\.$#'
+ identifier: variable.undefined
+ count: 1
+ path: includes/wc-product-functions.php
+
+ -
+ message: '#^Cannot access property \$cap on WP_Taxonomy\|false\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/wc-rest-functions.php
+
+ -
+ message: '#^Cannot access property \$query_vars on mixed\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/wc-rest-functions.php
+
+ -
+ message: '#^Default value of the parameter \#2 \$object_id \(int\) of function wc_rest_check_product_reviews_permissions\(\) is incompatible with type string\.$#'
+ identifier: parameter.defaultValue
+ count: 1
+ path: includes/wc-rest-functions.php
+
+ -
+ message: '#^Function wc_rest_validate_reports_request_arg\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/wc-rest-functions.php
+
+ -
+ message: '#^Offset ''tmp_name'' might not exist on array\{name\?\: string, type\?\: string, tmp_name\?\: string, size\?\: int, error\?\: int\}\.$#'
+ identifier: offsetAccess.notFound
+ count: 1
+ path: includes/wc-rest-functions.php
+
+ -
+ message: '#^Parameter \#1 \$object_or_string of function is_a expects object, WC_DateTime\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-rest-functions.php
+
+ -
+ message: '#^Parameter \#1 \$object_or_string of function is_a expects object, WP_Comment\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-rest-functions.php
+
+ -
+ message: '#^Parameter \#2 \$subject of function preg_match expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-rest-functions.php
+
+ -
+ message: '#^@param WC_Order \$order does not accept actual type of parameter\: WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: parameter.phpDocType
+ count: 3
+ path: includes/wc-stock-functions.php
+
+ -
+ message: '#^@param WC_Order_Item_Product \$item does not accept actual type of parameter\: WC_Order_Item\.$#'
+ identifier: parameter.phpDocType
+ count: 3
+ path: includes/wc-stock-functions.php
+
+ -
+ message: '#^@param int \$new_stock does not accept actual type of parameter\: bool\|int\|null\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: includes/wc-stock-functions.php
+
+ -
+ message: '#^@param int \$product does not accept actual type of parameter\: WC_Product\|false\|null\.$#'
+ identifier: parameter.phpDocType
+ count: 2
+ path: includes/wc-stock-functions.php
+
+ -
+ message: '#^Binary operation "\-" between bool\|int\|null and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: includes/wc-stock-functions.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:read_stock_quantity\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/wc-stock-functions.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:update_product_stock\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/wc-stock-functions.php
+
+ -
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_product\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/wc-stock-functions.php
+
+ -
+ message: '#^Call to an undefined method object\:\:get_stock_reduced\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/wc-stock-functions.php
+
+ -
+ message: '#^Call to an undefined method object\:\:release_held_coupons\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/wc-stock-functions.php
+
+ -
+ message: '#^Call to an undefined method object\:\:set_stock_reduced\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: includes/wc-stock-functions.php
+
+ -
+ message: '#^Cannot call method add_order_note\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 3
+ path: includes/wc-stock-functions.php
+
+ -
+ message: '#^Cannot call method get_data_store\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 5
+ path: includes/wc-stock-functions.php
+
+ -
+ message: '#^Cannot call method get_items\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: includes/wc-stock-functions.php
+
+ -
+ message: '#^Cannot call method get_low_stock_amount\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/wc-stock-functions.php
+
+ -
+ message: '#^Cannot call method get_stock_quantity\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/wc-stock-functions.php
+
+ -
+ message: '#^Cannot call method is_type\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: includes/wc-stock-functions.php
+
+ -
+ message: '#^Cannot call method save\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/wc-stock-functions.php
+
+ -
+ message: '#^Cannot cast mixed to int\.$#'
+ identifier: cast.int
+ count: 1
+ path: includes/wc-stock-functions.php
+
+ -
+ message: '#^Function wc_get_held_stock_quantity\(\) should return int but returns float\|int\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/wc-stock-functions.php
+
+ -
+ message: '#^Function wc_increase_stock_levels\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-stock-functions.php
+
+ -
+ message: '#^Function wc_maybe_increase_stock_levels\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-stock-functions.php
+
+ -
+ message: '#^Function wc_maybe_reduce_stock_levels\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-stock-functions.php
+
+ -
+ message: '#^Function wc_reduce_stock_levels\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-stock-functions.php
+
+ -
+ message: '#^Function wc_release_coupons_for_order\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-stock-functions.php
+
+ -
+ message: '#^Function wc_release_stock_for_order\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-stock-functions.php
+
+ -
+ message: '#^Function wc_reserve_stock_for_order\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-stock-functions.php
+
+ -
+ message: '#^Function wc_trigger_stock_change_notifications\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-stock-functions.php
+
+ -
+ message: '#^Function wc_update_product_stock_status\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-stock-functions.php
+
+ -
+ message: '#^PHPDoc tag @throws with type ReserveStockException is not subtype of Throwable$#'
+ identifier: throws.notThrowable
+ count: 1
+ path: includes/wc-stock-functions.php
+
+ -
+ message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/wc-stock-functions.php
+
+ -
+ message: '#^Parameter \#1 \$object_or_string of function is_a expects object, int\|WC_Order given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/wc-stock-functions.php
+
+ -
+ message: '#^Parameter \#1 \$object_or_string of function is_a expects object, int\|WC_Product given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-stock-functions.php
+
+ -
+ message: '#^Parameter \#1 \$order of function wc_trigger_stock_change_notifications expects WC_Order, WC_Order\|WC_Order_Refund\|true given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-stock-functions.php
+
+ -
+ message: '#^Parameter \#1 \$order of method Automattic\\WooCommerce\\Checkout\\Helpers\\ReserveStock\:\:release_stock_for_order\(\) expects WC_Order, WC_Order\|WC_Order_Refund\|true given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-stock-functions.php
+
+ -
+ message: '#^Parameter \#1 \$order of method Automattic\\WooCommerce\\Checkout\\Helpers\\ReserveStock\:\:reserve_stock_for_order\(\) expects WC_Order, WC_Order\|WC_Order_Refund\|true given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-stock-functions.php
+
+ -
+ message: '#^Parameter \#1 \$order_id of function wc_increase_stock_levels expects int\|WC_Order, WC_Order\|WC_Order_Refund\|true given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-stock-functions.php
+
+ -
+ message: '#^Parameter \#1 \$order_id of function wc_reduce_stock_levels expects int\|WC_Order, WC_Order\|WC_Order_Refund\|true given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-stock-functions.php
+
+ -
+ message: '#^Parameter \#1 \$product of function wc_get_low_stock_amount expects WC_Product, WC_Product\|false\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-stock-functions.php
+
+ -
+ message: '#^Parameter \#1 \$string of function wc_string_to_bool expects bool\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 3
+ path: includes/wc-stock-functions.php
+
+ -
+ message: '#^Parameter \#2 \$is_customer_note of method WC_Order\:\:add_order_note\(\) expects int, false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-stock-functions.php
+
+ -
+ message: '#^Parameter \#2 \$stock_quantity of function wc_update_product_stock expects int\|null, float\|int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-stock-functions.php
+
+ -
+ message: '#^Parameter \#2 \$stock_quantity of function wc_update_product_stock expects int\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-stock-functions.php
+
+ -
+ message: '#^Parameter \#2 \$value of method WC_Data\:\:add_meta_data\(\) expects array\|string, float\|int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-stock-functions.php
+
+ -
+ message: '#^@param WC_Order \$order does not accept actual type of parameter\: WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^@param WP_Term \$term does not accept actual type of parameter\: WP_Post\|WP_Post_Type\|WP_Term\|WP_User\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^@param string \$default_orderby does not accept actual type of parameter\: mixed\.$#'
+ identifier: parameter.phpDocType
+ count: 2
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^@param string \$html does not accept actual type of parameter\: string\|false\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Access to an undefined property WP_Error\|WP_Term\:\:\$term_id\.$#'
+ identifier: property.notFound
+ count: 3
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Access to an undefined property WP_Post\|WP_Post_Type\|WP_Term\|WP_User\:\:\$description\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Access to an undefined property WooCommerce\:\:\$checkout\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$count\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$name\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Action callback returns WC_Product but should not return anything\.$#'
+ identifier: return.void
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_item_downloads\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Call to an undefined method WC_Product\:\:get_available_variations\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Call to an undefined method WC_Product\:\:get_variation_attributes\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Call to an undefined method WC_Product\:\:get_variation_default_attribute\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Call to an undefined method object\:\:get_id\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Call to an undefined method object\:\:has_status\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Cannot access offset ''default_columns'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Cannot access offset ''default_rows'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Cannot access offset ''display'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 3
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Cannot access offset ''hidden'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Cannot access offset ''key'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 3
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Cannot access offset ''max_columns'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Cannot access offset ''max_rows'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Cannot access offset ''min_columns'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Cannot access offset ''min_rows'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Cannot access offset ''name'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Cannot access offset ''value'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Cannot access offset 0 on array\{string, int, int, bool\}\|false\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Cannot access offset string on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Cannot access property \$found_posts on mixed\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Cannot access property \$max_num_pages on mixed\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Cannot access property \$name on mixed\.$#'
+ identifier: property.nonObject
+ count: 2
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Cannot access property \$post_excerpt on mixed\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Cannot access property \$post_type on mixed\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Cannot access property \$term_id on mixed\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Cannot access property \$total on array\<WC_Order\>\|stdClass\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Cannot call method get\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 3
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Cannot call method has_downloadable_item\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Cannot call method is_download_permitted\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Cannot call method is_search\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Cannot call method read_fulfillments\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Cannot call method styled_post_content\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Cannot use \+\+ on mixed\.$#'
+ identifier: preInc.type
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Expected 2 @param tags, found 1\.$#'
+ identifier: paramTag.count
+ count: 2
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Expected 4 @param tags, found 1\.$#'
+ identifier: paramTag.count
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function _sort_priority_callback\(\) should return bool but returns int\.$#'
+ identifier: return.type
+ count: 2
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function get_product_search_form\(\) should return string but return statement is missing\.$#'
+ identifier: return.missing
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function remove_action invoked with 4 parameters, 2\-3 required\.$#'
+ identifier: arguments.count
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function wc_checkout_privacy_policy_text\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function wc_display_product_attributes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function wc_dropdown_variation_attribute_options\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function wc_empty_cart_message\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function wc_gallery_noscript\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function wc_get_formatted_cart_item_data\(\) should return string but returns string\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function wc_get_loop_product_visibility\(\) should return bool\|null but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function wc_get_pay_buttons\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function wc_no_js\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function wc_no_products_found\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function wc_page_noindex\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function wc_prevent_adjacent_posts_rel_link_wp_head\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function wc_prevent_endpoint_indexing\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function wc_privacy_policy_text\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function wc_product_cat_class\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function wc_product_class\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function wc_query_string_form_fields\(\) should return string but return statement is missing\.$#'
+ identifier: return.missing
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function wc_registration_privacy_policy_text\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function wc_reset_loop\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function wc_reset_product_grid_settings\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function wc_send_frame_options_header\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function wc_set_loop_product_visibility\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function wc_set_loop_prop\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function wc_setup_loop\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function wc_setup_product_data\(\) should return WC_Product but empty return statement found\.$#'
+ identifier: return.empty
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function wc_setup_product_data\(\) should return WC_Product but returns WC_Product\|false\|null\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function wc_template_redirect\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function wc_terms_and_conditions_checkbox_text\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function wc_terms_and_conditions_page_content\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function woocommerce_account_add_payment_method\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function woocommerce_account_content\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function woocommerce_account_downloads\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function woocommerce_account_edit_account\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function woocommerce_account_edit_address\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function woocommerce_account_navigation\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function woocommerce_account_orders\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function woocommerce_account_payment_methods\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function woocommerce_account_view_order\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function woocommerce_breadcrumb\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function woocommerce_button_proceed_to_checkout\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function woocommerce_cart_totals\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function woocommerce_catalog_ordering\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function woocommerce_checkout_coupon_form\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function woocommerce_checkout_login_form\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function woocommerce_checkout_payment\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function woocommerce_comments\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function woocommerce_content\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function woocommerce_cross_sell_display\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function woocommerce_demo_store\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function woocommerce_external_add_to_cart\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function woocommerce_form_field\(\) should return string but return statement is missing\.$#'
+ identifier: return.missing
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function woocommerce_get_product_subcategories\(\) should return array but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function woocommerce_get_sidebar\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function woocommerce_grouped_add_to_cart\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function woocommerce_login_form\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function woocommerce_mini_cart\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function woocommerce_order_again_button\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function woocommerce_order_details_table\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function woocommerce_order_downloads_table\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function woocommerce_order_review\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function woocommerce_output_all_notices\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function woocommerce_output_auth_footer\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function woocommerce_output_auth_header\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function woocommerce_output_content_wrapper\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function woocommerce_output_content_wrapper_end\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function woocommerce_output_product_data_tabs\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function woocommerce_output_related_products\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function woocommerce_page_title\(\) should return string but return statement is missing\.$#'
+ identifier: return.missing
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function woocommerce_pagination\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function woocommerce_photoswipe\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function woocommerce_product_additional_information_tab\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function woocommerce_product_archive_description\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function woocommerce_product_description_tab\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function woocommerce_product_loop_end\(\) should return string but return statement is missing\.$#'
+ identifier: return.missing
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function woocommerce_product_loop_start\(\) should return string but return statement is missing\.$#'
+ identifier: return.missing
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function woocommerce_product_taxonomy_archive_header\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function woocommerce_quantity_input\(\) should return string but return statement is missing\.$#'
+ identifier: return.missing
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function woocommerce_quantity_input\(\) should return string but returns string\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function woocommerce_related_products\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function woocommerce_result_count\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function woocommerce_review_display_comment_text\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function woocommerce_shipping_calculator\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function woocommerce_show_product_images\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function woocommerce_show_product_loop_sale_flash\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function woocommerce_show_product_sale_flash\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function woocommerce_show_product_thumbnails\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function woocommerce_simple_add_to_cart\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function woocommerce_single_variation\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function woocommerce_single_variation_add_to_cart_button\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function woocommerce_subcategory_thumbnail\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function woocommerce_taxonomy_archive_description\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function woocommerce_template_loop_add_to_cart\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function woocommerce_template_loop_category_link_close\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function woocommerce_template_loop_category_link_open\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function woocommerce_template_loop_category_title\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function woocommerce_template_loop_price\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function woocommerce_template_loop_product_link_close\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function woocommerce_template_loop_product_link_open\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function woocommerce_template_loop_product_thumbnail\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function woocommerce_template_loop_product_title\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function woocommerce_template_loop_rating\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function woocommerce_template_single_add_to_cart\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function woocommerce_template_single_excerpt\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function woocommerce_template_single_meta\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function woocommerce_template_single_price\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function woocommerce_template_single_rating\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function woocommerce_template_single_sharing\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function woocommerce_template_single_title\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function woocommerce_upsell_display\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function woocommerce_variable_add_to_cart\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function woocommerce_widget_shopping_cart_button_view_cart\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function woocommerce_widget_shopping_cart_proceed_to_checkout\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Function woocommerce_widget_shopping_cart_subtotal\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ 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: includes/wc-template-functions.php
+
+ -
+ message: '#^Parameter \#1 \$args of function wp_parse_args expects array\|object\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Parameter \#1 \$attachment_id of function wp_get_attachment_image_sizes expects int, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Parameter \#1 \$attachment_id of function wp_get_attachment_image_src expects int, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Parameter \#1 \$attachment_id of function wp_get_attachment_image_srcset expects int, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Parameter \#1 \$data of function wp_kses_post expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Parameter \#1 \$dimensions of function wc_format_dimensions expects array, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Parameter \#1 \$input_list of function wp_list_filter expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Parameter \#1 \$key of function sanitize_key expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Parameter \#1 \$location of function wp_safe_redirect expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 13
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Parameter \#1 \$object_or_string of function is_a expects object, mixed given\.$#'
+ identifier: argument.type
+ count: 4
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Parameter \#1 \$search of function str_replace expects array\<string\>\|string, int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Parameter \#1 \$str of function md5 expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Parameter \#1 \$string of function wc_string_to_bool expects bool\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Parameter \#1 \$term of function get_term expects int\|object, int\|object\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Parameter \#1 \$term of function get_term_link expects int\|string\|WP_Term, int\|object\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_attr expects string, int given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_attr expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 3
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_attr expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_html expects string, float given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_html expects string, int\<1, max\> given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_html expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Parameter \#1 \$text of function wp_strip_all_tags expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Parameter \#1 \$url of function esc_url expects string, string\|WP_Error given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Parameter \#1 \$url of function esc_url expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 3
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Parameter \#1 \$weight of function wc_format_weight expects float, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Parameter \#2 \$array of function array_map expects array, array\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Parameter \#2 \$callback of function array_filter expects \(callable\(WC_Product\|false\|null\)\: bool\)\|null, ''wc_products_array…'' given\.$#'
+ identifier: argument.type
+ count: 4
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Parameter \#2 \$callback of function array_filter expects \(callable\(mixed\)\: bool\)\|null, ''strlen'' given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Parameter \#2 \$callback of function uasort expects callable\(mixed, mixed\)\: int, ''_sort_priority…'' given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Parameter \#2 \$default of function wc_get_loop_prop expects string, int given\.$#'
+ identifier: argument.type
+ count: 3
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Parameter \#2 \$default of function wc_get_loop_prop expects string, null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Parameter \#2 \$fallback of function sanitize_html_class expects string, int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Parameter \#2 \$post of function get_post_field expects int\|WP_Post\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Parameter \#2 \$product of function wc_get_quantity_input_args expects WC_Product\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Parameter \#2 \$value of function get_term_by expects int\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Parameter \#2 \$value of function wc_set_loop_prop expects string, \(float\|int\) given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Parameter \#2 \$value of function wc_set_loop_prop expects string, bool given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Parameter \#2 \$value of function wc_set_loop_prop expects string, int given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Parameter \#2 \.\.\.\$args of function array_merge expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Parameter \#3 \$subject of function str_replace expects array\<string\>\|string, array\<mixed\>\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Parameter \#3 \$subject of function str_replace expects array\<string\>\|string, int\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Property WooCommerce\:\:\$cart \(WC_Cart\) in isset\(\) is not nullable\.$#'
+ identifier: isset.property
+ count: 1
+ path: includes/wc-template-functions.php
+
+ -
+ message: '#^Access to an undefined property WP_Post\:\:\$name\.$#'
+ identifier: property.notFound
+ count: 2
+ path: includes/wc-term-functions.php
+
+ -
+ message: '#^Access to an undefined property WP_Post\:\:\$parent\.$#'
+ identifier: property.notFound
+ count: 4
+ path: includes/wc-term-functions.php
+
+ -
+ message: '#^Argument of an invalid type array\<WP_Term\>\|WP_Error supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
+ count: 2
+ path: includes/wc-term-functions.php
+
+ -
+ message: '#^Argument of an invalid type array\<int, WP_Term\>\|WP_Error supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
+ count: 1
+ path: includes/wc-term-functions.php
+
+ -
+ message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
+ count: 1
+ path: includes/wc-term-functions.php
+
+ -
+ message: '#^Cannot access offset ''walker'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/wc-term-functions.php
+
+ -
+ message: '#^Cannot access offset non\-falsy\-string on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: includes/wc-term-functions.php
+
+ -
+ message: '#^Cannot access property \$term_id on int\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/wc-term-functions.php
+
+ -
+ message: '#^Cannot access property \$term_id on mixed\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/wc-term-functions.php
+
+ -
+ message: '#^Cannot cast mixed to string\.$#'
+ identifier: cast.string
+ count: 1
+ path: includes/wc-term-functions.php
+
+ -
+ message: '#^Default value of the parameter \#1 \$product_id \(string\) of function _wc_recount_terms_by_product\(\) is incompatible with type int\.$#'
+ identifier: parameter.defaultValue
+ count: 1
+ path: includes/wc-term-functions.php
+
+ -
+ message: '#^Function _wc_get_cached_product_terms\(\) should return array but returns array\<int, int\|string\|WP_Term\>\|string\|WP_Error\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/wc-term-functions.php
+
+ -
+ message: '#^Function _wc_get_cached_product_terms\(\) should return array but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/wc-term-functions.php
+
+ -
+ message: '#^Function _wc_term_recount\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-term-functions.php
+
+ -
+ message: '#^Function wc_change_pre_get_terms\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-term-functions.php
+
+ -
+ message: '#^Function wc_clear_term_product_ids\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-term-functions.php
+
+ -
+ message: '#^Function wc_get_term_product_ids\(\) should return array but returns array\<mixed\>\|WP_Error\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/wc-term-functions.php
+
+ -
+ message: '#^Function wc_product_dropdown_categories\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-term-functions.php
+
+ -
+ message: '#^Function wc_recount_after_stock_change\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-term-functions.php
+
+ -
+ message: '#^Function wc_taxonomy_metadata_migrate_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-term-functions.php
+
+ -
+ message: '#^One or more @param tags has an invalid name or invalid syntax\.$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/wc-term-functions.php
+
+ -
+ message: '#^PHPDoc tag @param has invalid value \(bool\)\: Unexpected token "\\n\\t ", expected variable at offset 345 on line 8$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/wc-term-functions.php
+
+ -
+ message: '#^Parameter \#1 \$args of function get_terms expects array\{taxonomy\?\: array\<string\>\|string, object_ids\?\: array\<int\>\|int, orderby\?\: string, order\?\: string, hide_empty\?\: bool\|int, include\?\: array\<int\>\|string, exclude\?\: array\<int\>\|string, exclude_tree\?\: array\<int\>\|string, \.\.\.\}, string given\.$#'
+ identifier: argument.type
+ count: 3
+ path: includes/wc-term-functions.php
+
+ -
+ message: '#^Parameter \#1 \$elements of method Walker\:\:walk\(\) expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-term-functions.php
+
+ -
+ message: '#^Parameter \#1 \$input_list of function wp_list_pluck expects array, array\<int, WP_Term\>\|WP_Error given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-term-functions.php
+
+ -
+ message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-term-functions.php
+
+ -
+ message: '#^Parameter \#1 \$object_id of function get_ancestors expects int, int\<min, \-1\>\|int\<1, max\>\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-term-functions.php
+
+ -
+ message: '#^Parameter \#1 \$object_or_string of function is_a expects object, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-term-functions.php
+
+ -
+ message: '#^Parameter \#1 \$str of function md5 expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-term-functions.php
+
+ -
+ message: '#^Parameter \#1 \$term_id of function get_term_children expects int, int\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-term-functions.php
+
+ -
+ message: '#^Parameter \#1 \$term_id of function update_term_meta expects int, int\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-term-functions.php
+
+ -
+ message: '#^Parameter \#1 \$terms of function _wc_term_recount expects array, array\<int, int\>\|WP_Error given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/wc-term-functions.php
+
+ -
+ message: '#^Parameter \#2 \$taxonomy of function _wc_term_recount expects WP_Taxonomy, WP_Taxonomy\|false given\.$#'
+ identifier: argument.type
+ count: 4
+ path: includes/wc-term-functions.php
+
+ -
+ message: '#^Property WP_Term\:\:\$count \(int\) does not accept mixed\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: includes/wc-term-functions.php
+
+ -
+ message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
+ count: 7
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Binary operation "\*" between mixed and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 2
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Binary operation "\." between non\-falsy\-string and array\|string results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 4
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Binary operation "\." between non\-falsy\-string and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 2
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Binary operation "\." between string and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 2
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Binary operation "\.\=" between mixed and '' \) \* \[qty\]'' results in an error\.$#'
+ identifier: assignOp.invalid
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Binary operation "/" between mixed and 100 results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Call to function is_callable\(\) with ''WC_Comments\:\:delete…'' will always evaluate to true\.$#'
+ identifier: function.alreadyNarrowedType
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Call to function method_exists\(\) with ''ActionScheduler…'' and ''mark_migration…'' will always evaluate to false\.$#'
+ identifier: function.impossibleType
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Cannot access offset ''api_password''\|''api_signature''\|''api_username'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Cannot access offset ''cart_tax'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Cannot access offset ''class'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Cannot access offset ''compound'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 3
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Cannot access offset ''cost'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 4
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Cannot access offset ''countries'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Cannot access offset ''country'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Cannot access offset ''crop'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Cannot access offset ''fee'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 4
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Cannot access offset ''height'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Cannot access offset ''id'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Cannot access offset ''item_meta'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Cannot access offset ''label'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 3
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Cannot access offset ''line_subtotal'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 3
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Cannot access offset ''line_subtotal_tax'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 4
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Cannot access offset ''line_tax'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 5
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Cannot access offset ''line_total'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 6
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Cannot access offset ''location_type'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Cannot access offset ''locations'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Cannot access offset ''name'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Cannot access offset ''qty'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 3
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Cannot access offset ''rate'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Cannot access offset ''sandbox_api_password''\|''sandbox_api_signature''\|''sandbox_api_username'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Cannot access offset ''shipping'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Cannot access offset ''shipping_tax'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Cannot access offset ''state'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Cannot access offset ''tax_class'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Cannot access offset ''taxrate'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Cannot access offset ''testmode'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Cannot access offset ''variation_id'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Cannot access offset ''width'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Cannot access offset 0 on non\-empty\-array\|true\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Cannot access offset 1 on non\-empty\-array\|true\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Cannot access offset mixed on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Cannot access property \$ID on WP_User\|false\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Cannot access property \$woocommerce_api_consumer_key on WP_User\|false\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Cannot access property \$woocommerce_api_consumer_secret on WP_User\|false\.$#'
+ identifier: property.nonObject
+ count: 2
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Cannot access property \$woocommerce_api_key_permissions on WP_User\|false\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Cannot call method check_lookup_table_exists\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Cannot call method create_table_primary_index\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Cannot call method feature_is_enabled\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Cannot call method get_items\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Cannot call method get_table\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Cannot call method get_table_exists\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Cannot call method in_progress\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Cannot call method init_feature\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Cannot call method init_hooks\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Cannot call method initiate_regeneration\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Cannot call method lookup_table_has_data\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Cannot call method maybe_assign_default_product_cat\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Cannot call method recreate_order_address_fts_index\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Cannot call method regeneration_is_in_progress\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Cannot call method remove_cap\(\) on WP_Role\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Cannot call method save_meta_data\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Cannot call method update_meta_data\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Cannot cast mixed to int\.$#'
+ identifier: cast.int
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Function as_unschedule_all_actions not found\.$#'
+ identifier: function.notFound
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Function filter_created_pages\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Function wc_update_1020_add_old_refunded_order_items_to_product_lookup_table\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Function wc_update_1050_migrate_brand_permalink_setting\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Function wc_update_300_comment_type_index\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Function wc_update_300_db_version\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Function wc_update_300_product_visibility\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Function wc_update_310_db_version\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Function wc_update_310_downloadable_products\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Function wc_update_310_old_comments\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Function wc_update_312_db_version\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Function wc_update_312_shop_manager_capabilities\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Function wc_update_320_db_version\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Function wc_update_320_mexican_states\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Function wc_update_330_clear_transients\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Function wc_update_330_db_version\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Function wc_update_330_image_options\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Function wc_update_330_product_stock_status\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Function wc_update_330_set_default_product_cat\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Function wc_update_330_set_paypal_sandbox_credentials\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Function wc_update_330_webhooks\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Function wc_update_340_db_version\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Function wc_update_340_last_active\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Function wc_update_340_states\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Function wc_update_350_db_version\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Function wc_update_350_reviews_comment_type\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Function wc_update_354_db_version\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Function wc_update_354_modify_shop_manager_caps\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Function wc_update_360_db_version\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Function wc_update_360_product_lookup_tables\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Function wc_update_360_term_meta\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Function wc_update_370_db_version\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Function wc_update_390_change_geolocation_database_update_cron\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Function wc_update_390_db_version\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Function wc_update_390_move_maxmind_database\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Function wc_update_400_db_version\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Function wc_update_400_increase_size_of_column\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Function wc_update_400_reset_action_scheduler_migration_status\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Function wc_update_440_db_version\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Function wc_update_450_db_version\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Function wc_update_500_db_version\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Function wc_update_500_fix_product_review_count\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Function wc_update_560_create_refund_returns_page\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Function wc_update_560_db_version\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Function wc_update_600_db_version\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Function wc_update_600_migrate_rate_limit_options\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Function wc_update_630_db_version\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Function wc_update_640_db_version\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Function wc_update_650_approved_download_directories\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Function wc_update_651_approved_download_directories\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Function wc_update_670_purge_comments_count_cache\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Function wc_update_700_remove_recommended_marketing_plugins_transient\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Function wc_update_721_adjust_new_zealand_states\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Function wc_update_721_adjust_ukraine_states\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Function wc_update_722_adjust_new_zealand_states\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Function wc_update_722_adjust_ukraine_states\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Function wc_update_750_add_columns_to_order_stats_table\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Function wc_update_770_remove_multichannel_marketing_feature_options\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Function wc_update_790_blockified_product_grid_block\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Function wc_update_830_rename_cart_template\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Function wc_update_830_rename_checkout_template\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Function wc_update_860_remove_recommended_marketing_plugins_transient\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Function wc_update_870_prevent_listing_of_transient_files_directory\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Function wc_update_890_update_connect_to_woocommerce_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Function wc_update_890_update_paypal_standard_load_eligibility\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Function wc_update_891_create_plugin_autoinstall_history_option\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Function wc_update_910_add_launch_your_store_tour_option\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Function wc_update_920_add_wc_hooked_blocks_version_option\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Function wc_update_930_add_woocommerce_coming_soon_option\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Function wc_update_930_migrate_user_meta_for_launch_your_store_tour\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Function wc_update_950_tracking_option_autoload\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Function wc_update_961_migrate_default_email_base_color\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Function wc_update_980_remove_order_attribution_install_banner_dismissed_option\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Function wc_update_985_enable_new_payments_settings_page_feature\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Function wc_update_990_remove_wc_count_comments_transient\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ 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: includes/wc-update-functions.php
+
+ -
+ message: '#^Parameter \#1 \$callback of function array_map expects \(callable\(mixed\)\: mixed\)\|null, ''trim'' given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Parameter \#1 \$data of function esc_sql expects array\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 3
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Parameter \#1 \$file_url of function wc_get_filename_from_url expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Parameter \#1 \$haystack of function strstr expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Parameter \#1 \$input of function array_reverse expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Parameter \#1 \$item_id of function wc_add_order_item_meta expects int, int\<min, \-1\>\|int\<1, max\>\|true given\.$#'
+ identifier: argument.type
+ count: 11
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 5
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Parameter \#1 \$number of function wc_format_decimal expects float\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 4
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Parameter \#1 \$object_or_string of function is_a expects object, Automattic\\WooCommerce\\Admin\\Notes\\Note\|bool given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Parameter \#1 \$post_id of function wp_trash_post expects int, mixed given\.$#'
+ identifier: argument.type
+ count: 6
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Parameter \#1 \$secret of method WC_Webhook\:\:set_secret\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Parameter \#1 \$str of function strtoupper expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_attr expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Parameter \#1 \$topic of method WC_Webhook\:\:set_topic\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Parameter \#1 \$url of method WC_Webhook\:\:set_delivery_url\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Parameter \#1 \$user_id of method WC_Webhook\:\:set_user_id\(\) expects int, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Parameter \#1 \$value of function trailingslashit expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Parameter \#1 \$value of function trailingslashit expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Parameter \#1 \$version of method WC_Webhook\:\:set_api_version\(\) expects int\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Parameter \#1 \$version1 of function version_compare expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Parameter \#2 \$callback of function add_filter expects callable\(\)\: mixed, ''filter_created_pages'' given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Parameter \#2 \$str of function explode expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Parameter \#3 \$subject of function str_replace expects array\<string\>\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Parameter \#4 \$autoload of function add_option expects bool\|null, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^Possibly invalid array key type mixed\.$#'
+ identifier: offsetAccess.invalidOffset
+ count: 2
+ path: includes/wc-update-functions.php
+
+ -
+ message: '#^@param string \$password_generated does not accept actual type of parameter\: bool\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: includes/wc-user-functions.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$ID\.$#'
+ identifier: property.notFound
+ count: 2
+ path: includes/wc-user-functions.php
+
+ -
+ message: '#^Argument of an invalid type array\<WC_Order\>\|stdClass supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
+ count: 1
+ path: includes/wc-user-functions.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:delete_by_order_id\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/wc-user-functions.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_downloads_for_customer\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/wc-user-functions.php
+
+ -
+ message: '#^Cannot access offset ''name'' on array\|false\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/wc-user-functions.php
+
+ -
+ message: '#^Cannot access offset ''value'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/wc-user-functions.php
+
+ -
+ message: '#^Cannot access offset ''version'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/wc-user-functions.php
+
+ -
+ message: '#^Cannot access property \$ID on WP_User\|false\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/wc-user-functions.php
+
+ -
+ message: '#^Cannot access property \$user_email on WP_User\|false\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/wc-user-functions.php
+
+ -
+ message: '#^Cannot call method get_customer_id\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/wc-user-functions.php
+
+ -
+ message: '#^Cannot call method get_enabled\(\) on array\|false\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/wc-user-functions.php
+
+ -
+ message: '#^Cannot call method get_file\(\) on array\|false\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/wc-user-functions.php
+
+ -
+ message: '#^Cannot call method get_id\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 4
+ path: includes/wc-user-functions.php
+
+ -
+ message: '#^Cannot call method get_name\(\) on array\|false\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/wc-user-functions.php
+
+ -
+ message: '#^Cannot call method get_order_key\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/wc-user-functions.php
+
+ -
+ message: '#^Cannot call method get_status\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/wc-user-functions.php
+
+ -
+ message: '#^Cannot call method get_type\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/wc-user-functions.php
+
+ -
+ message: '#^Cannot call method get_user_id\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 5
+ path: includes/wc-user-functions.php
+
+ -
+ message: '#^Cannot call method has_downloadable_item\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/wc-user-functions.php
+
+ -
+ message: '#^Cannot call method is_download_permitted\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/wc-user-functions.php
+
+ -
+ message: '#^Cannot call method save\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/wc-user-functions.php
+
+ -
+ message: '#^Cannot call method set_customer_id\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/wc-user-functions.php
+
+ -
+ message: '#^Cannot call static method get_orders_table_name\(\) on mixed\.$#'
+ identifier: staticMethod.nonObject
+ count: 1
+ path: includes/wc-user-functions.php
+
+ -
+ message: '#^Function wc_current_user_is_active\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-user-functions.php
+
+ -
+ message: '#^Function wc_delete_user_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-user-functions.php
+
+ -
+ message: '#^Function wc_disable_author_archives_for_customers\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-user-functions.php
+
+ -
+ message: '#^Function wc_get_customer_total_spent\(\) should return string but returns float\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/wc-user-functions.php
+
+ -
+ message: '#^Function wc_maybe_store_user_agent\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-user-functions.php
+
+ -
+ message: '#^Function wc_meta_update_last_update_time\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-user-functions.php
+
+ -
+ message: '#^Function wc_paying_customer\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-user-functions.php
+
+ -
+ message: '#^Function wc_reset_order_customer_id_on_deleted_user\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-user-functions.php
+
+ -
+ message: '#^Function wc_set_customer_auth_cookie\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-user-functions.php
+
+ -
+ message: '#^Function wc_set_user_last_update_time\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-user-functions.php
+
+ -
+ message: '#^Function wc_update_profile_last_update_time\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-user-functions.php
+
+ -
+ message: '#^Function wc_update_user_last_active\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-user-functions.php
+
+ -
+ message: '#^Function wc_user_logged_in\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-user-functions.php
+
+ -
+ message: '#^Parameter \#1 \$callback of function array_map expects \(callable\(int\<min, \-1\>\|int\<1, max\>\|non\-falsy\-string\)\: mixed\)\|null, ''esc_sql'' given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-user-functions.php
+
+ -
+ message: '#^Parameter \#1 \$object_or_class of function property_exists expects object\|string, WP_User\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-user-functions.php
+
+ -
+ message: '#^Parameter \#1 \$user of function user_can expects int\|WP_User, WP_User\|false given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/wc-user-functions.php
+
+ -
+ message: '#^Parameter \#1 \$user of function user_can expects int\|WP_User, int\|object given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-user-functions.php
+
+ -
+ message: '#^Parameter \#2 \$array of function implode expects array\<string\>, array\<array\|string\> given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/wc-user-functions.php
+
+ -
+ message: '#^Parameter \#2 \$haystack of function in_array expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wc-user-functions.php
+
+ -
+ message: '#^Part \$status \(array\|string\) of encapsed string cannot be cast to string\.$#'
+ identifier: encapsedStringPart.nonString
+ count: 1
+ path: includes/wc-user-functions.php
+
+ -
+ message: '#^Binary operation "\+" between 600 and string results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: includes/wc-webhook-functions.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_webhooks_ids\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/wc-webhook-functions.php
+
+ -
+ message: '#^Function wc_deliver_webhook_async\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-webhook-functions.php
+
+ -
+ message: '#^Function wc_webhook_execute_queue\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-webhook-functions.php
+
+ -
+ message: '#^Function wc_webhook_process_delivery\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-webhook-functions.php
+
+ -
+ message: '#^Function wc_register_widgets\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wc-widget-functions.php
+
+ -
+ message: '#^Static property WC_WCCOM_Site_Installer\:\:\$wp_upgrader \(WP_Upgrader\) in empty\(\) is not falsy\.$#'
+ identifier: empty.property
+ count: 1
+ path: includes/wccom-site/class-wc-wccom-site-installer.php
+
+ -
+ message: '#^Static property WC_WCCOM_Site_Installer\:\:\$wp_upgrader is never written, only read\.$#'
+ identifier: property.onlyRead
+ count: 1
+ path: includes/wccom-site/class-wc-wccom-site-installer.php
+
+ -
+ message: '#^Unreachable statement \- code above always terminates\.$#'
+ identifier: deadCode.unreachable
+ count: 1
+ path: includes/wccom-site/class-wc-wccom-site-installer.php
+
+ -
+ message: '#^Action callback returns array but should not return anything\.$#'
+ identifier: return.void
+ count: 1
+ path: includes/wccom-site/class-wc-wccom-site.php
+
+ -
+ message: '#^Cannot access offset ''access_token'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/wccom-site/class-wc-wccom-site.php
+
+ -
+ message: '#^Cannot access offset ''access_token_secret'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/wccom-site/class-wc-wccom-site.php
+
+ -
+ message: '#^Cannot access offset ''user_id'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/wccom-site/class-wc-wccom-site.php
+
+ -
+ message: '#^Constant WC_ABSPATH not found\.$#'
+ identifier: constant.notFound
+ count: 19
+ path: includes/wccom-site/class-wc-wccom-site.php
+
+ -
+ message: '#^Method WC_WCCOM_Site\:\:authenticate_wccom\(\) should return int\|false but returns WP_User\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/wccom-site/class-wc-wccom-site.php
+
+ -
+ message: '#^Method WC_WCCOM_Site\:\:get_authorization_header\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/wccom-site/class-wc-wccom-site.php
+
+ -
+ message: '#^Method WC_WCCOM_Site\:\:includes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wccom-site/class-wc-wccom-site.php
+
+ -
+ message: '#^Method WC_WCCOM_Site\:\:load\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wccom-site/class-wc-wccom-site.php
+
+ -
+ message: '#^Parameter \#1 \$haystack of function strpos expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wccom-site/class-wc-wccom-site.php
+
+ -
+ message: '#^Parameter \#1 \$str of function strtoupper expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wccom-site/class-wc-wccom-site.php
+
+ -
+ message: '#^Parameter \#1 \$str of function trim expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wccom-site/class-wc-wccom-site.php
+
+ -
+ message: '#^Parameter \#2 \$callback of function add_action expects callable\(\)\: mixed, array\{''WC_WCCOM_Site…'', ''install''\} given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wccom-site/class-wc-wccom-site.php
+
+ -
+ message: '#^Parameter \#2 \$data of function hash_hmac expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wccom-site/class-wc-wccom-site.php
+
+ -
+ message: '#^Parameter \#2 \$query of function remove_query_arg expects string\|false, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wccom-site/class-wc-wccom-site.php
+
+ -
+ message: '#^Parameter \#2 \$user_string of function hash_equals expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wccom-site/class-wc-wccom-site.php
+
+ -
+ message: '#^Parameter \#2 \$value of function get_user_by expects int\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wccom-site/class-wc-wccom-site.php
+
+ -
+ message: '#^Parameter \#3 \$access_token_secret of static method WC_WCCOM_Site\:\:verify_wccom_request\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wccom-site/class-wc-wccom-site.php
+
+ -
+ message: '#^Call to an undefined method object\:\:run\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/wccom-site/installation/class-wc-wccom-site-installation-manager.php
+
+ -
+ message: '#^Parameter \#1 \$product_id of static method WC_WCCOM_Site_Installation_State\:\:initiate_new\(\) expects init, int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wccom-site/installation/class-wc-wccom-site-installation-manager.php
+
+ -
+ message: '#^Parameter \#2 \$offset of function array_slice expects int, int\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wccom-site/installation/class-wc-wccom-site-installation-manager.php
+
+ -
+ message: '#^Parameter \#1 \$product_id of static method WC_WCCOM_Site_Installation_State_Storage\:\:get_storage_key\(\) expects int, string given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/wccom-site/installation/class-wc-wccom-site-installation-state-storage.php
+
+ -
+ message: '#^Parameter \#1 \$product_type of method WC_WCCOM_Site_Installation_State\:\:set_product_type\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wccom-site/installation/class-wc-wccom-site-installation-state-storage.php
+
+ -
+ message: '#^Parameter \#2 \$idempotency_key of static method WC_WCCOM_Site_Installation_State\:\:initiate_existing\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wccom-site/installation/class-wc-wccom-site-installation-state-storage.php
+
+ -
+ message: '#^Parameter \#3 \$last_step_name of static method WC_WCCOM_Site_Installation_State\:\:initiate_existing\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wccom-site/installation/class-wc-wccom-site-installation-state-storage.php
+
+ -
+ message: '#^Parameter \#4 \$last_step_status of static method WC_WCCOM_Site_Installation_State\:\:initiate_existing\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wccom-site/installation/class-wc-wccom-site-installation-state-storage.php
+
+ -
+ message: '#^Parameter \#5 \$last_step_error of static method WC_WCCOM_Site_Installation_State\:\:initiate_existing\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wccom-site/installation/class-wc-wccom-site-installation-state-storage.php
+
+ -
+ message: '#^Parameter \#6 \$started_date of static method WC_WCCOM_Site_Installation_State\:\:initiate_existing\(\) expects int, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wccom-site/installation/class-wc-wccom-site-installation-state-storage.php
+
+ -
+ message: '#^Method WC_WCCOM_Site_Installation_State\:\:capture_failure\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wccom-site/installation/class-wc-wccom-site-installation-state.php
+
+ -
+ message: '#^Method WC_WCCOM_Site_Installation_State\:\:complete_step\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wccom-site/installation/class-wc-wccom-site-installation-state.php
+
+ -
+ message: '#^Method WC_WCCOM_Site_Installation_State\:\:get_last_step_error\(\) should return int but returns string\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/wccom-site/installation/class-wc-wccom-site-installation-state.php
+
+ -
+ message: '#^Method WC_WCCOM_Site_Installation_State\:\:get_last_step_name\(\) should return int but returns string\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/wccom-site/installation/class-wc-wccom-site-installation-state.php
+
+ -
+ message: '#^Method WC_WCCOM_Site_Installation_State\:\:set_already_installed_plugin_info\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wccom-site/installation/class-wc-wccom-site-installation-state.php
+
+ -
+ message: '#^Method WC_WCCOM_Site_Installation_State\:\:set_download_path\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wccom-site/installation/class-wc-wccom-site-installation-state.php
+
+ -
+ message: '#^Method WC_WCCOM_Site_Installation_State\:\:set_download_url\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wccom-site/installation/class-wc-wccom-site-installation-state.php
+
+ -
+ message: '#^Method WC_WCCOM_Site_Installation_State\:\:set_installed_path\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wccom-site/installation/class-wc-wccom-site-installation-state.php
+
+ -
+ message: '#^Method WC_WCCOM_Site_Installation_State\:\:set_product_name\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wccom-site/installation/class-wc-wccom-site-installation-state.php
+
+ -
+ message: '#^Method WC_WCCOM_Site_Installation_State\:\:set_product_type\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wccom-site/installation/class-wc-wccom-site-installation-state.php
+
+ -
+ message: '#^Method WC_WCCOM_Site_Installation_State\:\:set_unpacked_path\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wccom-site/installation/class-wc-wccom-site-installation-state.php
+
+ -
+ message: '#^Parameter \#1 \$product_id of class WC_WCCOM_Site_Installation_State constructor expects string, init given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wccom-site/installation/class-wc-wccom-site-installation-state.php
+
+ -
+ message: '#^Parameter \#1 \$product_id of class WC_WCCOM_Site_Installation_State constructor expects string, int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wccom-site/installation/class-wc-wccom-site-installation-state.php
+
+ -
+ message: '#^Parameter \$product_id of method WC_WCCOM_Site_Installation_State\:\:initiate_new\(\) has invalid type init\.$#'
+ identifier: class.notFound
+ count: 1
+ path: includes/wccom-site/installation/class-wc-wccom-site-installation-state.php
+
+ -
+ message: '#^Method WC_WCCOM_Site_Installation_Step_Activate_Product\:\:run\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wccom-site/installation/installation-steps/class-wc-wccom-site-installation-step-activate-product.php
+
+ -
+ message: '#^Parameter \#1 \$filename of static method WC_Helper\:\:activated_plugin\(\) expects string, int\<min, \-1\>\|int\<1, max\>\|string\|true given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wccom-site/installation/installation-steps/class-wc-wccom-site-installation-step-activate-product.php
+
+ -
+ message: '#^Parameter \#1 \$plugin of function activate_plugin expects string, int\<min, \-1\>\|int\<1, max\>\|string\|true given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wccom-site/installation/installation-steps/class-wc-wccom-site-installation-step-activate-product.php
+
+ -
+ message: '#^Parameter \#1 \$plugin of function is_plugin_active expects string, int\<min, \-1\>\|int\<1, max\>\|string\|true given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wccom-site/installation/installation-steps/class-wc-wccom-site-installation-step-activate-product.php
+
+ -
+ message: '#^Parameter \#1 \$product_id of method WC_WCCOM_Site_Installation_Step_Activate_Product\:\:activate_plugin\(\) expects int, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wccom-site/installation/installation-steps/class-wc-wccom-site-installation-step-activate-product.php
+
+ -
+ message: '#^Parameter \#1 \$product_id of method WC_WCCOM_Site_Installation_Step_Activate_Product\:\:activate_theme\(\) expects int, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wccom-site/installation/installation-steps/class-wc-wccom-site-installation-step-activate-product.php
+
+ -
+ message: '#^Property WC_WCCOM_Site_Installation_Step_Activate_Product\:\:\$state \(WC_WCCOM_Site_Installation_State\) does not accept array\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: includes/wccom-site/installation/installation-steps/class-wc-wccom-site-installation-step-activate-product.php
+
+ -
+ message: '#^Method WC_WCCOM_Site_Installation_Step_Download_Product\:\:run\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wccom-site/installation/installation-steps/class-wc-wccom-site-installation-step-download-product.php
+
+ -
+ message: '#^Property WC_WCCOM_Site_Installation_Step_Download_Product\:\:\$state \(WC_WCCOM_Site_Installation_State\) does not accept array\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: includes/wccom-site/installation/installation-steps/class-wc-wccom-site-installation-step-download-product.php
+
+ -
+ message: '#^Cannot access offset ''_product_type'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/wccom-site/installation/installation-steps/class-wc-wccom-site-installation-step-get-product-info.php
+
+ -
+ message: '#^Cannot access offset ''_wporg_product'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/wccom-site/installation/installation-steps/class-wc-wccom-site-installation-step-get-product-info.php
+
+ -
+ message: '#^Cannot access offset ''name'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/wccom-site/installation/installation-steps/class-wc-wccom-site-installation-step-get-product-info.php
+
+ -
+ message: '#^Method WC_WCCOM_Site_Installation_Step_Get_Product_Info\:\:run\(\) should return array but returns WC_WCCOM_Site_Installation_State\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/wccom-site/installation/installation-steps/class-wc-wccom-site-installation-step-get-product-info.php
+
+ -
+ message: '#^Parameter \#1 \$data of method WC_WCCOM_Site_Installation_Step_Get_Product_Info\:\:get_wporg_download_url\(\) expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wccom-site/installation/installation-steps/class-wc-wccom-site-installation-step-get-product-info.php
+
+ -
+ message: '#^Parameter \#1 \$download_url of method WC_WCCOM_Site_Installation_State\:\:set_download_url\(\) expects string, string\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wccom-site/installation/installation-steps/class-wc-wccom-site-installation-step-get-product-info.php
+
+ -
+ message: '#^Parameter \#1 \$product_id of method WC_WCCOM_Site_Installation_Step_Get_Product_Info\:\:get_wccom_download_url\(\) expects int, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wccom-site/installation/installation-steps/class-wc-wccom-site-installation-step-get-product-info.php
+
+ -
+ message: '#^Parameter \#1 \$product_name of method WC_WCCOM_Site_Installation_State\:\:set_product_name\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wccom-site/installation/installation-steps/class-wc-wccom-site-installation-step-get-product-info.php
+
+ -
+ message: '#^Parameter \#1 \$product_type of method WC_WCCOM_Site_Installation_State\:\:set_product_type\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wccom-site/installation/installation-steps/class-wc-wccom-site-installation-step-get-product-info.php
+
+ -
+ message: '#^Property WC_WCCOM_Site_Installation_Step_Get_Product_Info\:\:\$state \(WC_WCCOM_Site_Installation_State\) does not accept array\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: includes/wccom-site/installation/installation-steps/class-wc-wccom-site-installation-step-get-product-info.php
+
+ -
+ message: '#^Cannot access offset ''destination'' on array\|WP_Error\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/wccom-site/installation/installation-steps/class-wc-wccom-site-installation-step-move-product.php
+
+ -
+ message: '#^Method WC_WCCOM_Site_Installation_Step_Move_Product\:\:run\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wccom-site/installation/installation-steps/class-wc-wccom-site-installation-step-move-product.php
+
+ -
+ message: '#^Parameter \#1 \$plugin_info of method WC_WCCOM_Site_Installation_State\:\:set_already_installed_plugin_info\(\) expects array, array\|bool given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wccom-site/installation/installation-steps/class-wc-wccom-site-installation-step-move-product.php
+
+ -
+ message: '#^Property WC_WCCOM_Site_Installation_Step_Move_Product\:\:\$state \(WC_WCCOM_Site_Installation_State\) does not accept array\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: includes/wccom-site/installation/installation-steps/class-wc-wccom-site-installation-step-move-product.php
+
+ -
+ message: '#^Parameter \#1 \$unpacked_path of method WC_WCCOM_Site_Installation_State\:\:set_unpacked_path\(\) expects string, string\|WP_Error given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/wccom-site/installation/installation-steps/class-wc-wccom-site-installation-step-unpack-product.php
+
+ -
+ message: '#^Property WC_WCCOM_Site_Installation_Step_Unpack_Product\:\:\$state \(WC_WCCOM_Site_Installation_State\) does not accept array\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: includes/wccom-site/installation/installation-steps/class-wc-wccom-site-installation-step-unpack-product.php
+
+ -
+ message: '#^Method WC_WCCOM_Site_Installation_Step\:\:run\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wccom-site/installation/installation-steps/interface-installaton-step.php
+
+ -
+ message: '#^Access to an undefined property WC_REST_WCCOM_Site_Installer_Error\:\:\$error_code\.$#'
+ identifier: property.notFound
+ count: 2
+ path: includes/wccom-site/rest-api/class-wc-rest-wccom-site-installer-error.php
+
+ -
+ message: '#^Access to an undefined property WC_REST_WCCOM_Site_Installer_Error\:\:\$error_message\.$#'
+ identifier: property.notFound
+ count: 2
+ path: includes/wccom-site/rest-api/class-wc-rest-wccom-site-installer-error.php
+
+ -
+ message: '#^Access to an undefined property WC_REST_WCCOM_Site_Installer_Error\:\:\$http_code\.$#'
+ identifier: property.notFound
+ count: 2
+ path: includes/wccom-site/rest-api/class-wc-rest-wccom-site-installer-error.php
+
+ -
+ message: '#^Method WC_REST_WCCOM_Site_Installer_Error\:\:get_error_code\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wccom-site/rest-api/class-wc-rest-wccom-site-installer-error.php
+
+ -
+ message: '#^Method WC_REST_WCCOM_Site_Installer_Error\:\:get_error_message\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wccom-site/rest-api/class-wc-rest-wccom-site-installer-error.php
+
+ -
+ message: '#^Method WC_REST_WCCOM_Site_Installer_Error\:\:get_http_code\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wccom-site/rest-api/class-wc-rest-wccom-site-installer-error.php
+
+ -
+ message: '#^Class WP_User referenced with incorrect case\: WP_USER\.$#'
+ identifier: class.nameCase
+ count: 1
+ path: includes/wccom-site/rest-api/endpoints/abstract-wc-rest-wccom-site-controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 100 on line 4$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/wccom-site/rest-api/endpoints/abstract-wc-rest-wccom-site-controller.php
+
+ -
+ message: '#^Cannot access offset ''access_token'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/wccom-site/rest-api/endpoints/class-wc-rest-wccom-site-connection-controller.php
+
+ -
+ message: '#^Cannot access offset ''access_token_secret'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/wccom-site/rest-api/endpoints/class-wc-rest-wccom-site-connection-controller.php
+
+ -
+ message: '#^Class WP_User referenced with incorrect case\: WP_USER\.$#'
+ identifier: class.nameCase
+ count: 1
+ path: includes/wccom-site/rest-api/endpoints/class-wc-rest-wccom-site-connection-controller.php
+
+ -
+ message: '#^Method WC_REST_WCCOM_Site_Connection_Controller\:\:handle_disconnect_request\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/wccom-site/rest-api/endpoints/class-wc-rest-wccom-site-connection-controller.php
+
+ -
+ message: '#^Method WC_REST_WCCOM_Site_Connection_Controller\:\:handle_disconnect_request\(\) should return WP_REST_Response but returns WP_Error\|WP_REST_Response\.$#'
+ identifier: return.type
+ count: 2
+ path: includes/wccom-site/rest-api/endpoints/class-wc-rest-wccom-site-connection-controller.php
+
+ -
+ message: '#^Method WC_REST_WCCOM_Site_Connection_Controller\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wccom-site/rest-api/endpoints/class-wc-rest-wccom-site-connection-controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_WCCOM_Site_Status_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 115 on line 4$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/wccom-site/rest-api/endpoints/class-wc-rest-wccom-site-connection-controller.php
+
+ -
+ message: '#^Class WP_User referenced with incorrect case\: WP_USER\.$#'
+ identifier: class.nameCase
+ count: 1
+ path: includes/wccom-site/rest-api/endpoints/class-wc-rest-wccom-site-installer-controller.php
+
+ -
+ message: '#^Method WC_REST_WCCOM_Site_Installer_Controller\:\:get_product_install_state\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/wccom-site/rest-api/endpoints/class-wc-rest-wccom-site-installer-controller.php
+
+ -
+ message: '#^Method WC_REST_WCCOM_Site_Installer_Controller\:\:get_product_install_state\(\) should return bool\|WP_Error but returns WP_Error\|WP_REST_Response\.$#'
+ identifier: return.type
+ count: 2
+ path: includes/wccom-site/rest-api/endpoints/class-wc-rest-wccom-site-installer-controller.php
+
+ -
+ message: '#^Method WC_REST_WCCOM_Site_Installer_Controller\:\:install\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/wccom-site/rest-api/endpoints/class-wc-rest-wccom-site-installer-controller.php
+
+ -
+ message: '#^Method WC_REST_WCCOM_Site_Installer_Controller\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wccom-site/rest-api/endpoints/class-wc-rest-wccom-site-installer-controller.php
+
+ -
+ message: '#^Method WC_REST_WCCOM_Site_Installer_Controller\:\:reset_install\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/wccom-site/rest-api/endpoints/class-wc-rest-wccom-site-installer-controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_WCCOM_Site_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 99 on line 4$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/wccom-site/rest-api/endpoints/class-wc-rest-wccom-site-installer-controller.php
+
+ -
+ message: '#^Call to an undefined method WP_Error\|WP_REST_Response\:\:get_data\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: includes/wccom-site/rest-api/endpoints/class-wc-rest-wccom-site-ssr-controller.php
+
+ -
+ message: '#^Class WP_User referenced with incorrect case\: WP_USER\.$#'
+ identifier: class.nameCase
+ count: 1
+ path: includes/wccom-site/rest-api/endpoints/class-wc-rest-wccom-site-ssr-controller.php
+
+ -
+ message: '#^Method WC_REST_WCCOM_Site_SSR_Controller\:\:handle_ssr_request\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/wccom-site/rest-api/endpoints/class-wc-rest-wccom-site-ssr-controller.php
+
+ -
+ message: '#^Method WC_REST_WCCOM_Site_SSR_Controller\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wccom-site/rest-api/endpoints/class-wc-rest-wccom-site-ssr-controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_WCCOM_Site_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 105 on line 4$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/wccom-site/rest-api/endpoints/class-wc-rest-wccom-site-ssr-controller.php
+
+ -
+ message: '#^Class WP_User referenced with incorrect case\: WP_USER\.$#'
+ identifier: class.nameCase
+ count: 1
+ path: includes/wccom-site/rest-api/endpoints/class-wc-rest-wccom-site-status-controller.php
+
+ -
+ message: '#^Method WC_REST_WCCOM_Site_Status_Controller\:\:handle_status_request\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/wccom-site/rest-api/endpoints/class-wc-rest-wccom-site-status-controller.php
+
+ -
+ message: '#^Method WC_REST_WCCOM_Site_Status_Controller\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/wccom-site/rest-api/endpoints/class-wc-rest-wccom-site-status-controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_WCCOM_Site_Status_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 103 on line 4$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/wccom-site/rest-api/endpoints/class-wc-rest-wccom-site-status-controller.php
+
+ -
+ message: '#^Cannot access property \$name on WP_Term\|false\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/widgets/class-wc-widget-brand-description.php
+
+ -
+ message: '#^Cannot access property \$term_id on WP_Term\|false\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/widgets/class-wc-widget-brand-description.php
+
+ -
+ message: '#^Class WC_Widget_Brand_Description extends generic class WP_Widget but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/widgets/class-wc-widget-brand-description.php
+
+ -
+ message: '#^Method WC_Widget_Brand_Description\:\:widget\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/widgets/class-wc-widget-brand-description.php
+
+ -
+ message: '#^Parameter \#2 \$value of function get_term_by expects int\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/widgets/class-wc-widget-brand-description.php
+
+ -
+ message: '#^Variable \$after_title might not be defined\.$#'
+ identifier: variable.undefined
+ count: 1
+ path: includes/widgets/class-wc-widget-brand-description.php
+
+ -
+ message: '#^Variable \$after_widget might not be defined\.$#'
+ identifier: variable.undefined
+ count: 1
+ path: includes/widgets/class-wc-widget-brand-description.php
+
+ -
+ message: '#^Variable \$before_title might not be defined\.$#'
+ identifier: variable.undefined
+ count: 1
+ path: includes/widgets/class-wc-widget-brand-description.php
+
+ -
+ message: '#^Variable \$before_widget might not be defined\.$#'
+ identifier: variable.undefined
+ count: 1
+ path: includes/widgets/class-wc-widget-brand-description.php
+
+ -
+ message: '#^@param string \$woo_widget_idbase does not accept actual type of parameter\: mixed\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: includes/widgets/class-wc-widget-brand-nav.php
+
+ -
+ message: '#^Access to an undefined property WP_Post\|WP_Post_Type\|WP_Term\|WP_User\:\:\$taxonomy\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/widgets/class-wc-widget-brand-nav.php
+
+ -
+ message: '#^Access to an undefined property WP_Post\|WP_Post_Type\|WP_Term\|WP_User\:\:\$term_id\.$#'
+ identifier: property.notFound
+ count: 1
+ path: includes/widgets/class-wc-widget-brand-nav.php
+
+ -
+ message: '#^Cannot access offset ''join'' on array\{join\: string, where\: string\}\|false\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/widgets/class-wc-widget-brand-nav.php
+
+ -
+ message: '#^Cannot access offset ''where'' on array\{join\: string, where\: string\}\|false\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/widgets/class-wc-widget-brand-nav.php
+
+ -
+ message: '#^Cannot access property \$slug on WP_Post\|WP_Post_Type\|WP_Term\|WP_User\|null\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/widgets/class-wc-widget-brand-nav.php
+
+ -
+ message: '#^Cannot access property \$taxonomy on WP_Post\|WP_Post_Type\|WP_Term\|WP_User\|null\.$#'
+ identifier: property.nonObject
+ count: 2
+ path: includes/widgets/class-wc-widget-brand-nav.php
+
+ -
+ message: '#^Cannot access property \$term_id on WP_Post\|WP_Post_Type\|WP_Term\|WP_User\|null\.$#'
+ identifier: property.nonObject
+ count: 2
+ path: includes/widgets/class-wc-widget-brand-nav.php
+
+ -
+ message: '#^Constant WC_VERSION not found\.$#'
+ identifier: constant.notFound
+ count: 1
+ path: includes/widgets/class-wc-widget-brand-nav.php
+
+ -
+ message: '#^Method WC_Widget_Brand_Nav\:\:filter_out_cats\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/widgets/class-wc-widget-brand-nav.php
+
+ -
+ message: '#^Method WC_Widget_Brand_Nav\:\:get_page_base_url\(\) should return string but returns string\|WP_Error\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/widgets/class-wc-widget-brand-nav.php
+
+ -
+ message: '#^Method WC_Widget_Brand_Nav\:\:layered_nav_dropdown\(\) should return bool but returns bool\|int\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/widgets/class-wc-widget-brand-nav.php
+
+ -
+ message: '#^Method WC_Widget_Brand_Nav\:\:layered_nav_list\(\) should return bool but returns bool\|int\.$#'
+ identifier: return.type
+ count: 1
+ path: includes/widgets/class-wc-widget-brand-nav.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WP_Widget\)\: Unexpected token "\\n ", expected ''\<'' at offset 227 on line 8$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/widgets/class-wc-widget-brand-nav.php
+
+ -
+ message: '#^Parameter \#1 \$callback of function array_map expects \(callable\(mixed\)\: mixed\)\|null, ''absint'' given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/widgets/class-wc-widget-brand-nav.php
+
+ -
+ message: '#^Parameter \#1 \$term of function get_term_link expects int\|string\|WP_Term, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/widgets/class-wc-widget-brand-nav.php
+
+ -
+ message: '#^Parameter \#1 \$terms of method WC_Widget_Brand_Nav\:\:layered_nav_dropdown\(\) expects array, array\<int, WP_Term\>\|WP_Error given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/widgets/class-wc-widget-brand-nav.php
+
+ -
+ message: '#^Parameter \#1 \$terms of method WC_Widget_Brand_Nav\:\:layered_nav_list\(\) expects array, array\<int, WP_Term\>\|WP_Error given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/widgets/class-wc-widget-brand-nav.php
+
+ -
+ message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 7
+ path: includes/widgets/class-wc-widget-brand-nav.php
+
+ -
+ message: '#^Parameter \#2 \$str of function explode expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/widgets/class-wc-widget-brand-nav.php
+
+ -
+ message: '#^Class WC_Widget_Brand_Thumbnails extends generic class WP_Widget but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: includes/widgets/class-wc-widget-brand-thumbnails.php
+
+ -
+ message: '#^Method WC_Widget_Brand_Thumbnails\:\:widget\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/widgets/class-wc-widget-brand-thumbnails.php
+
+ -
+ message: '#^Method WC_Widget_Cart\:\:widget\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/widgets/class-wc-widget-cart.php
+
+ -
+ message: '#^Method WC_Widget_Layered_Nav_Filters\:\:widget\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/widgets/class-wc-widget-layered-nav-filters.php
+
+ -
+ message: '#^Parameter \#1 \$price of function wc_price expects float, array\|string given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/widgets/class-wc-widget-layered-nav-filters.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_html expects string, int\<1, max\> given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/widgets/class-wc-widget-layered-nav-filters.php
+
+ -
+ message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 3
+ path: includes/widgets/class-wc-widget-layered-nav-filters.php
+
+ -
+ message: '#^Parameter \#2 \$str of function explode expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/widgets/class-wc-widget-layered-nav-filters.php
+
+ -
+ message: '#^Parameter \#2 \$str of function explode expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/widgets/class-wc-widget-layered-nav-filters.php
+
+ -
+ message: '#^Cannot access property \$slug on WP_Post\|WP_Post_Type\|WP_Term\|WP_User\|null\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/widgets/class-wc-widget-layered-nav.php
+
+ -
+ message: '#^Cannot access property \$taxonomy on WP_Post\|WP_Post_Type\|WP_Term\|WP_User\|null\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/widgets/class-wc-widget-layered-nav.php
+
+ -
+ message: '#^Cannot access property \$term_id on WP_Post\|WP_Post_Type\|WP_Term\|WP_User\|null\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/widgets/class-wc-widget-layered-nav.php
+
+ -
+ message: '#^Cannot call method get_filtered_term_product_counts\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: includes/widgets/class-wc-widget-layered-nav.php
+
+ -
+ message: '#^Constant WC_VERSION not found\.$#'
+ identifier: constant.notFound
+ count: 1
+ path: includes/widgets/class-wc-widget-layered-nav.php
+
+ -
+ message: '#^Method WC_Widget_Layered_Nav\:\:init_settings\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/widgets/class-wc-widget-layered-nav.php
+
+ -
+ message: '#^Method WC_Widget_Layered_Nav\:\:widget\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/widgets/class-wc-widget-layered-nav.php
+
+ -
+ message: '#^Parameter \#1 \$args of function get_terms expects array\{taxonomy\?\: array\<string\>\|string, object_ids\?\: array\<int\>\|int, orderby\?\: string, order\?\: string, hide_empty\?\: bool\|int, include\?\: array\<int\>\|string, exclude\?\: array\<int\>\|string, exclude_tree\?\: array\<int\>\|string, \.\.\.\}, non\-falsy\-string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/widgets/class-wc-widget-layered-nav.php
+
+ -
+ message: '#^Parameter \#1 \$terms of method WC_Widget_Layered_Nav\:\:layered_nav_dropdown\(\) expects array, array\<int, WP_Term\>\|WP_Error given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/widgets/class-wc-widget-layered-nav.php
+
+ -
+ message: '#^Parameter \#1 \$terms of method WC_Widget_Layered_Nav\:\:layered_nav_list\(\) expects array, array\<int, WP_Term\>\|WP_Error given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/widgets/class-wc-widget-layered-nav.php
+
+ -
+ message: '#^Parameter \#1 \$url of function esc_url expects string, string\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/widgets/class-wc-widget-layered-nav.php
+
+ -
+ message: '#^Parameter \#1 \$var of function count expects array\|Countable, array\<int, WP_Term\>\|WP_Error given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/widgets/class-wc-widget-layered-nav.php
+
+ -
+ message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/widgets/class-wc-widget-layered-nav.php
+
+ -
+ message: '#^Parameter \#2 \$str of function explode expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/widgets/class-wc-widget-layered-nav.php
+
+ -
+ message: '#^Cannot access offset ''join'' on array\{join\: string, where\: string\}\|false\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/widgets/class-wc-widget-price-filter.php
+
+ -
+ message: '#^Cannot access offset ''where'' on array\{join\: string, where\: string\}\|false\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/widgets/class-wc-widget-price-filter.php
+
+ -
+ message: '#^Cannot access property \$max_price on int\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/widgets/class-wc-widget-price-filter.php
+
+ -
+ message: '#^Cannot access property \$min_price on int\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/widgets/class-wc-widget-price-filter.php
+
+ -
+ message: '#^Method WC_Widget_Price_Filter\:\:widget\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/widgets/class-wc-widget-price-filter.php
+
+ -
+ message: '#^Parameter \#1 \$var of function floatval expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/widgets/class-wc-widget-price-filter.php
+
+ -
+ message: '#^Parameter \#1 \$version1 of function version_compare expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/widgets/class-wc-widget-price-filter.php
+
+ -
+ message: '#^Parameter \#2 \$array of function implode expects array\<string\>, array\<array\|string\> given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/widgets/class-wc-widget-price-filter.php
+
+ -
+ message: '#^Parameter \#4 \$ver of function wp_register_script expects bool\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: includes/widgets/class-wc-widget-price-filter.php
+
+ -
+ message: '#^Constant WC_VERSION not found\.$#'
+ identifier: constant.notFound
+ count: 1
+ path: includes/widgets/class-wc-widget-product-categories.php
+
+ -
+ message: '#^Method WC_Widget_Product_Categories\:\:widget\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/widgets/class-wc-widget-product-categories.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_Widget\)\: Unexpected token "\\n ", expected ''\<'' at offset 64 on line 4$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: includes/widgets/class-wc-widget-product-categories.php
+
+ -
+ message: '#^Parameter \#1 \$args of function get_terms expects array\{taxonomy\?\: array\<string\>\|string, object_ids\?\: array\<int\>\|int, orderby\?\: string, order\?\: string, hide_empty\?\: bool\|int, include\?\: array\<int\>\|string, exclude\?\: array\<int\>\|string, exclude_tree\?\: array\<int\>\|string, \.\.\.\}, ''product_cat'' given\.$#'
+ identifier: argument.type
+ count: 4
+ path: includes/widgets/class-wc-widget-product-categories.php
+
+ -
+ message: '#^Parameter \#2 \$pieces of function implode expects array, array\|WP_Error given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/widgets/class-wc-widget-product-categories.php
+
+ -
+ message: '#^Parameter \#2 \.\.\.\$args of function array_merge expects array, array\<int, WP_Term\>\|WP_Error given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/widgets/class-wc-widget-product-categories.php
+
+ -
+ message: '#^Parameter \#3 \.\.\.\$args of function array_merge expects array, array\<int, WP_Term\>\|WP_Error given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/widgets/class-wc-widget-product-categories.php
+
+ -
+ message: '#^Parameter \#4 \.\.\.\$args of function array_merge expects array, array\<int, WP_Term\>\|WP_Error given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/widgets/class-wc-widget-product-categories.php
+
+ -
+ message: '#^Method WC_Widget_Product_Search\:\:widget\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/widgets/class-wc-widget-product-search.php
+
+ -
+ message: '#^Cannot access property \$labels on WP_Taxonomy\|false\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/widgets/class-wc-widget-product-tag-cloud.php
+
+ -
+ message: '#^Method WC_Widget_Product_Tag_Cloud\:\:widget\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/widgets/class-wc-widget-product-tag-cloud.php
+
+ -
+ message: '#^Parameter \#1 \$instance of method WC_Widget_Product_Tag_Cloud\:\:get_current_taxonomy\(\) expects object, array given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/widgets/class-wc-widget-product-tag-cloud.php
+
+ -
+ message: '#^Method WC_Widget_Products\:\:widget\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/widgets/class-wc-widget-products.php
+
+ -
+ message: '#^Parameter \#2 \$content of method WC_Widget\:\:cache_widget\(\) expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/widgets/class-wc-widget-products.php
+
+ -
+ message: '#^Cannot access offset ''join'' on array\{join\: string, where\: string\}\|false\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/widgets/class-wc-widget-rating-filter.php
+
+ -
+ message: '#^Cannot access offset ''where'' on array\{join\: string, where\: string\}\|false\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: includes/widgets/class-wc-widget-rating-filter.php
+
+ -
+ message: '#^Method WC_Widget_Rating_Filter\:\:widget\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/widgets/class-wc-widget-rating-filter.php
+
+ -
+ message: '#^Parameter \#2 \$str of function explode expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/widgets/class-wc-widget-rating-filter.php
+
+ -
+ message: '#^Cannot access property \$comment_post_ID on int\|WP_Comment\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: includes/widgets/class-wc-widget-recent-reviews.php
+
+ -
+ message: '#^Method WC_Widget_Recent_Reviews\:\:widget\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/widgets/class-wc-widget-recent-reviews.php
+
+ -
+ message: '#^Parameter \#2 \$content of method WC_Widget\:\:cache_widget\(\) expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/widgets/class-wc-widget-recent-reviews.php
+
+ -
+ message: '#^Method WC_Widget_Recently_Viewed\:\:widget\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/widgets/class-wc-widget-recently-viewed.php
+
+ -
+ message: '#^Parameter \#2 \$str of function explode expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/widgets/class-wc-widget-recently-viewed.php
+
+ -
+ message: '#^Method WC_Widget_Top_Rated_Products\:\:widget\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: includes/widgets/class-wc-widget-top-rated-products.php
+
+ -
+ message: '#^Parameter \#2 \$content of method WC_Widget\:\:cache_widget\(\) expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: includes/widgets/class-wc-widget-top-rated-products.php
+
+ -
+ message: '#^Access to offset ''search'' on an unknown class Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 2
+ path: src/Admin/API/Coupons.php
+
+ -
+ message: '#^Call to an undefined method object\:\:get\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Admin/API/Coupons.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Coupons\:\:get_items\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Coupons.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Coupons\:\:get_items\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Response\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Coupons.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Coupons\:\:get_items\(\) should return Automattic\\WooCommerce\\Admin\\API\\WP_Error\|Automattic\\WooCommerce\\Admin\\API\\WP_REST_Response but returns WP_Error\|WP_REST_Response\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/Coupons.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Coupons_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 81 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Admin/API/Coupons.php
+
+ -
+ message: '#^Parameter \#1 \$request of method WC_REST_CRUD_Controller\:\:get_items\(\) expects WP_REST_Request, Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Coupons.php
+
+ -
+ message: '#^Parameter \#1 \$request of method WC_REST_Coupons_Controller\:\:prepare_objects_query\(\) expects WP_REST_Request, Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Coupons.php
+
+ -
+ message: '#^Parameter \$request of method Automattic\\WooCommerce\\Admin\\API\\Coupons\:\:get_items\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Coupons.php
+
+ -
+ message: '#^Parameter \$request of method Automattic\\WooCommerce\\Admin\\API\\Coupons\:\:prepare_objects_query\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Coupons.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Customers\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Customers.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(\\Automattic\\WooCommerce\\Admin\\API\\Reports\\Customers\\Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 119 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Admin/API/Customers.php
+
+ -
+ message: '#^Access to an undefined property WP_Error\|WP_REST_Response\:\:\$data\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/Admin/API/Data.php
+
+ -
+ message: '#^Cannot access an offset on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Admin/API/Data.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Data\:\:get_items\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Data.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Data\:\:get_items\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Response\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Data.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Data\:\:get_items\(\) should return Automattic\\WooCommerce\\Admin\\API\\WP_Error\|Automattic\\WooCommerce\\Admin\\API\\WP_REST_Response but returns WP_Error\|WP_REST_Response\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/Data.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Data_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 75 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Admin/API/Data.php
+
+ -
+ message: '#^Parameter \#1 \$request of method WC_REST_Data_Controller\:\:get_items\(\) expects WP_REST_Request, Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Data.php
+
+ -
+ message: '#^Parameter \#2 \$request of method WC_REST_Data_Controller\:\:prepare_item_for_response\(\) expects WP_REST_Request, Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Data.php
+
+ -
+ message: '#^Parameter \$request of method Automattic\\WooCommerce\\Admin\\API\\Data\:\:get_items\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Data.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\DataCountries\:\:get_locales\(\) should return array but returns WP_REST_Response\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/DataCountries.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\DataCountries\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/DataCountries.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Data_Countries_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 110 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Admin/API/DataCountries.php
+
+ -
+ message: '#^@param Automattic\\WooCommerce\\Admin\\API\\WP_REST_Response \$response does not accept actual type of parameter\: WP_REST_Response\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: src/Admin/API/DataDownloadIPs.php
+
+ -
+ message: '#^@param array \$item does not accept actual type of parameter\: object\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: src/Admin/API/DataDownloadIPs.php
+
+ -
+ message: '#^Access to offset ''match'' on an unknown class Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 2
+ path: src/Admin/API/DataDownloadIPs.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\DataDownloadIPs\:\:get_items\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/DataDownloadIPs.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\DataDownloadIPs\:\:get_items\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Response\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/DataDownloadIPs.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\DataDownloadIPs\:\:get_items\(\) should return Automattic\\WooCommerce\\Admin\\API\\WP_Error\|Automattic\\WooCommerce\\Admin\\API\\WP_REST_Response but returns WP_Error\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/DataDownloadIPs.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\DataDownloadIPs\:\:get_items\(\) should return Automattic\\WooCommerce\\Admin\\API\\WP_Error\|Automattic\\WooCommerce\\Admin\\API\\WP_REST_Response but returns WP_REST_Response\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/DataDownloadIPs.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\DataDownloadIPs\:\:prepare_item_for_response\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Response\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/DataDownloadIPs.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\DataDownloadIPs\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/DataDownloadIPs.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Data_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 87 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Admin/API/DataDownloadIPs.php
+
+ -
+ message: '#^Parameter \#1 \$response of method WP_REST_Controller\:\:prepare_response_for_collection\(\) expects WP_REST_Response, Automattic\\WooCommerce\\Admin\\API\\WP_REST_Response given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/DataDownloadIPs.php
+
+ -
+ message: '#^Parameter \#1 \$response_data of method WP_REST_Controller\:\:add_additional_fields_to_object\(\) expects array, object given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/DataDownloadIPs.php
+
+ -
+ message: '#^Parameter \#2 \$request of method WP_REST_Controller\:\:add_additional_fields_to_object\(\) expects WP_REST_Request, Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/DataDownloadIPs.php
+
+ -
+ message: '#^Parameter \$request of method Automattic\\WooCommerce\\Admin\\API\\DataDownloadIPs\:\:get_items\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/DataDownloadIPs.php
+
+ -
+ message: '#^Parameter \$request of method Automattic\\WooCommerce\\Admin\\API\\DataDownloadIPs\:\:prepare_item_for_response\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/DataDownloadIPs.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Experiments\:\:get_assignment\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Admin/API/Experiments.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Experiments\:\:get_assignment\(\) should return WP_Error\|WP_REST_Response but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/Experiments.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Experiments\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Experiments.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Data_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 62 on line 4$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Admin/API/Experiments.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Features\:\:get_features\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Admin/API/Features.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Features\:\:get_features\(\) should return WP_Error\|WP_REST_Response but returns array\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/Features.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Features\:\:get_items_permissions_check\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Features.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Features\:\:get_items_permissions_check\(\) should return Automattic\\WooCommerce\\Admin\\API\\WP_Error\|bool but returns WP_Error\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/Features.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Features\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Features.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Data_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 79 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Admin/API/Features.php
+
+ -
+ message: '#^Parameter \$request of method Automattic\\WooCommerce\\Admin\\API\\Features\:\:get_items_permissions_check\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Features.php
+
+ -
+ message: '#^Access to an undefined property Automattic\\WooCommerce\\Admin\\API\\Init\:\:\$Automattic\\WooCommerce\\Admin\\API\\LaunchYourStore\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/Admin/API/Init.php
+
+ -
+ message: '#^Call to an undefined method object\:\:register_routes\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: src/Admin/API/Init.php
+
+ -
+ message: '#^Call to method get_data\(\) on an unknown class Automattic\\WooCommerce\\Admin\\API\\WP_REST_Response\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Init.php
+
+ -
+ message: '#^Call to method set_data\(\) on an unknown class Automattic\\WooCommerce\\Admin\\API\\WP_REST_Response\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Init.php
+
+ -
+ message: '#^Cannot call method lazy_load_namespace\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Admin/API/Init.php
+
+ -
+ message: '#^Constant WC_ABSPATH not found\.$#'
+ identifier: constant.notFound
+ count: 1
+ path: src/Admin/API/Init.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Init\:\:add_currency_symbol_to_order_response\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Init.php
+
+ -
+ message: '#^Parameter \$response of method Automattic\\WooCommerce\\Admin\\API\\Init\:\:add_currency_symbol_to_order_response\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Response\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Init.php
+
+ -
+ message: '#^Unsafe usage of new static\(\)\.$#'
+ identifier: new.static
+ count: 1
+ path: src/Admin/API/Init.php
+
+ -
+ message: '#^Argument of an invalid type array\<WC_Order\>\|stdClass supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
+ count: 1
+ path: src/Admin/API/LaunchYourStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\LaunchYourStore\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/LaunchYourStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\LaunchYourStore\:\:update_survey_status\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Admin/API/LaunchYourStore.php
+
+ -
+ message: '#^Parameter \#1 \$var of function count expects array\|Countable, array\<WC_Order\>\|stdClass given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/LaunchYourStore.php
+
+ -
+ message: '#^@param Automattic\\WooCommerce\\Admin\\API\\WP_REST_Response \$response does not accept actual type of parameter\: WP_REST_Response\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: src/Admin/API/Leaderboards.php
+
+ -
+ message: '#^@param array \$item does not accept actual type of parameter\: object\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: src/Admin/API/Leaderboards.php
+
+ -
+ message: '#^Access to offset ''after'' on an unknown class Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 5
+ path: src/Admin/API/Leaderboards.php
+
+ -
+ message: '#^Access to offset ''before'' on an unknown class Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 5
+ path: src/Admin/API/Leaderboards.php
+
+ -
+ message: '#^Access to offset ''leaderboard'' on an unknown class Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Leaderboards.php
+
+ -
+ message: '#^Access to offset ''per_page'' on an unknown class Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 5
+ path: src/Admin/API/Leaderboards.php
+
+ -
+ message: '#^Access to offset ''persisted_query'' on an unknown class Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Leaderboards.php
+
+ -
+ message: '#^Access to property \$data on an unknown class Automattic\\WooCommerce\\Admin\\API\\Reports\\Products\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Leaderboards.php
+
+ -
+ message: '#^Access to property \$data on an unknown class Automattic\\WooCommerce\\Admin\\API\\Reports\\Products\\stdClass\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Leaderboards.php
+
+ -
+ message: '#^Access to property \$data on an unknown class Automattic\\WooCommerce\\Admin\\API\\Reports\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 3
+ path: src/Admin/API/Leaderboards.php
+
+ -
+ message: '#^Access to property \$data on an unknown class Automattic\\WooCommerce\\Admin\\API\\Reports\\stdClass\.$#'
+ identifier: class.notFound
+ count: 3
+ path: src/Admin/API/Leaderboards.php
+
+ -
+ message: '#^Call to method get_query_params\(\) on an unknown class Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Leaderboards.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Leaderboards\:\:get_allowed_items\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Leaderboards.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Leaderboards\:\:get_allowed_items\(\) should return array\|Automattic\\WooCommerce\\Admin\\API\\WP_Error but returns WP_REST_Response\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/Leaderboards.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Leaderboards\:\:get_categories_leaderboard\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Leaderboards.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Leaderboards\:\:get_coupons_leaderboard\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Leaderboards.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Leaderboards\:\:get_customers_leaderboard\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Leaderboards.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Leaderboards\:\:get_items\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Leaderboards.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Leaderboards\:\:get_items\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Response\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Leaderboards.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Leaderboards\:\:get_items\(\) should return Automattic\\WooCommerce\\Admin\\API\\WP_Error\|Automattic\\WooCommerce\\Admin\\API\\WP_REST_Response but returns WP_REST_Response\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/Leaderboards.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Leaderboards\:\:get_products_leaderboard\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Leaderboards.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Leaderboards\:\:prepare_item_for_response\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Response\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Leaderboards.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Leaderboards\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Leaderboards.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Data_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 83 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Admin/API/Leaderboards.php
+
+ -
+ message: '#^Parameter \#1 \$response of method WP_REST_Controller\:\:prepare_response_for_collection\(\) expects WP_REST_Response, Automattic\\WooCommerce\\Admin\\API\\WP_REST_Response given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Admin/API/Leaderboards.php
+
+ -
+ message: '#^Parameter \#1 \$response_data of method WP_REST_Controller\:\:add_additional_fields_to_object\(\) expects array, object given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Leaderboards.php
+
+ -
+ message: '#^Parameter \#2 \$after of method Automattic\\WooCommerce\\Admin\\API\\Leaderboards\:\:get_leaderboards\(\) expects string, null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Leaderboards.php
+
+ -
+ message: '#^Parameter \#2 \$defaults of function wp_parse_args expects array, string given\.$#'
+ identifier: argument.type
+ count: 4
+ path: src/Admin/API/Leaderboards.php
+
+ -
+ message: '#^Parameter \#2 \$request of method WP_REST_Controller\:\:add_additional_fields_to_object\(\) expects WP_REST_Request, Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Leaderboards.php
+
+ -
+ message: '#^Parameter \#2 \$value of method WP_HTTP_Response\:\:header\(\) expects string, int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Leaderboards.php
+
+ -
+ message: '#^Parameter \#2 \$value of method WP_HTTP_Response\:\:header\(\) expects string, int\<0, max\> given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Leaderboards.php
+
+ -
+ message: '#^Parameter \#3 \$before of method Automattic\\WooCommerce\\Admin\\API\\Leaderboards\:\:get_leaderboards\(\) expects string, null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Leaderboards.php
+
+ -
+ message: '#^Parameter \#4 \$persisted_query of method Automattic\\WooCommerce\\Admin\\API\\Leaderboards\:\:get_categories_leaderboard\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Leaderboards.php
+
+ -
+ message: '#^Parameter \#4 \$persisted_query of method Automattic\\WooCommerce\\Admin\\API\\Leaderboards\:\:get_coupons_leaderboard\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Leaderboards.php
+
+ -
+ message: '#^Parameter \#4 \$persisted_query of method Automattic\\WooCommerce\\Admin\\API\\Leaderboards\:\:get_customers_leaderboard\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Leaderboards.php
+
+ -
+ message: '#^Parameter \#4 \$persisted_query of method Automattic\\WooCommerce\\Admin\\API\\Leaderboards\:\:get_leaderboards\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Leaderboards.php
+
+ -
+ message: '#^Parameter \#4 \$persisted_query of method Automattic\\WooCommerce\\Admin\\API\\Leaderboards\:\:get_leaderboards\(\) expects string, null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Leaderboards.php
+
+ -
+ message: '#^Parameter \#4 \$persisted_query of method Automattic\\WooCommerce\\Admin\\API\\Leaderboards\:\:get_products_leaderboard\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Leaderboards.php
+
+ -
+ message: '#^Parameter \$request of method Automattic\\WooCommerce\\Admin\\API\\Leaderboards\:\:get_allowed_items\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Leaderboards.php
+
+ -
+ message: '#^Parameter \$request of method Automattic\\WooCommerce\\Admin\\API\\Leaderboards\:\:get_items\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Leaderboards.php
+
+ -
+ message: '#^Parameter \$request of method Automattic\\WooCommerce\\Admin\\API\\Leaderboards\:\:prepare_item_for_response\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Leaderboards.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Marketing\:\:get_knowledge_base_posts\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Admin/API/Marketing.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Marketing\:\:get_misc_recommendations\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Admin/API/Marketing.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Marketing\:\:get_recommended_plugins\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Admin/API/Marketing.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Marketing\:\:get_recommended_plugins_permissions_check\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Marketing.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Marketing\:\:get_recommended_plugins_permissions_check\(\) should return Automattic\\WooCommerce\\Admin\\API\\WP_Error\|bool but returns WP_Error\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/Marketing.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Marketing\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Marketing.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Data_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 80 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Admin/API/Marketing.php
+
+ -
+ message: '#^Parameter \$request of method Automattic\\WooCommerce\\Admin\\API\\Marketing\:\:get_recommended_plugins_permissions_check\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Marketing.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\MarketingCampaignTypes\:\:get_items\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Admin/API/MarketingCampaignTypes.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\MarketingCampaignTypes\:\:get_items_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Admin/API/MarketingCampaignTypes.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\MarketingCampaignTypes\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Admin/API/MarketingCampaignTypes.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\MarketingCampaignTypes\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/MarketingCampaignTypes.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Controller\)\: Unexpected token "\\n \* ", expected ''\<'' at offset 88 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Admin/API/MarketingCampaignTypes.php
+
+ -
+ message: '#^Parameter \#1 \$response of method WP_REST_Controller\:\:prepare_response_for_collection\(\) expects WP_REST_Response, WP_Error\|WP_REST_Response given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/MarketingCampaignTypes.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\MarketingCampaigns\:\:get_items\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Admin/API/MarketingCampaigns.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\MarketingCampaigns\:\:get_items_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Admin/API/MarketingCampaigns.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\MarketingCampaigns\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Admin/API/MarketingCampaigns.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\MarketingCampaigns\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/MarketingCampaigns.php
+
+ -
+ message: '#^Offset int\<0, max\>\|false might not exist on list\.$#'
+ identifier: offsetAccess.notFound
+ count: 1
+ path: src/Admin/API/MarketingCampaigns.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Controller\)\: Unexpected token "\\n \* ", expected ''\<'' at offset 84 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Admin/API/MarketingCampaigns.php
+
+ -
+ message: '#^Parameter \#1 \$price of function wc_price expects float, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/MarketingCampaigns.php
+
+ -
+ message: '#^Parameter \#1 \$response of method WP_REST_Controller\:\:prepare_response_for_collection\(\) expects WP_REST_Response, WP_Error\|WP_REST_Response given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/MarketingCampaigns.php
+
+ -
+ message: '#^Parameter \#2 \$value of method WP_HTTP_Response\:\:header\(\) expects string, int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/MarketingCampaigns.php
+
+ -
+ message: '#^Parameter \#2 \$value of method WP_HTTP_Response\:\:header\(\) expects string, int\<0, max\> given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/MarketingCampaigns.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\MarketingChannels\:\:get_items\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Admin/API/MarketingChannels.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\MarketingChannels\:\:get_items_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Admin/API/MarketingChannels.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\MarketingChannels\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Admin/API/MarketingChannels.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\MarketingChannels\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/MarketingChannels.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Controller\)\: Unexpected token "\\n \* ", expected ''\<'' at offset 83 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Admin/API/MarketingChannels.php
+
+ -
+ message: '#^Parameter \#1 \$response of method WP_REST_Controller\:\:prepare_response_for_collection\(\) expects WP_REST_Response, WP_Error\|WP_REST_Response given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/MarketingChannels.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\MarketingOverview\:\:activate_plugin\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Admin/API/MarketingOverview.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\MarketingOverview\:\:get_installed_plugins\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Admin/API/MarketingOverview.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\MarketingOverview\:\:install_plugins_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Admin/API/MarketingOverview.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\MarketingOverview\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/MarketingOverview.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Data_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 89 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Admin/API/MarketingOverview.php
+
+ -
+ message: '#^Parameter \#1 \$plugin of function activate_plugin expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/MarketingOverview.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\MarketingRecommendations\:\:get_items\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Admin/API/MarketingRecommendations.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\MarketingRecommendations\:\:get_items_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Admin/API/MarketingRecommendations.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\MarketingRecommendations\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Admin/API/MarketingRecommendations.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\MarketingRecommendations\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/MarketingRecommendations.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Controller\)\: Unexpected token "\\n \* ", expected ''\<'' at offset 90 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Admin/API/MarketingRecommendations.php
+
+ -
+ message: '#^Parameter \#1 \$response of method WP_REST_Controller\:\:prepare_response_for_collection\(\) expects WP_REST_Response, WP_Error\|WP_REST_Response given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/MarketingRecommendations.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\MobileAppMagicLink\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/MobileAppMagicLink.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Data_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 100 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Admin/API/MobileAppMagicLink.php
+
+ -
+ message: '#^Call to method get_param\(\) on an unknown class Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 2
+ path: src/Admin/API/NoteActions.php
+
+ -
+ message: '#^Cannot call method get_data\(\) on Automattic\\WooCommerce\\Admin\\Notes\\Note\|bool\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Admin/API/NoteActions.php
+
+ -
+ message: '#^Cannot call method save\(\) on Automattic\\WooCommerce\\Admin\\Notes\\Note\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Admin/API/NoteActions.php
+
+ -
+ message: '#^Cannot call method set_is_read\(\) on Automattic\\WooCommerce\\Admin\\Notes\\Note\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Admin/API/NoteActions.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\NoteActions\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/NoteActions.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\NoteActions\:\:trigger_note_action\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/NoteActions.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\NoteActions\:\:trigger_note_action\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/NoteActions.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\NoteActions\:\:trigger_note_action\(\) should return Automattic\\WooCommerce\\Admin\\API\\WP_Error\|Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request but returns WP_Error\.$#'
+ identifier: return.type
+ count: 2
+ path: src/Admin/API/NoteActions.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\NoteActions\:\:trigger_note_action\(\) should return Automattic\\WooCommerce\\Admin\\API\\WP_Error\|Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request but returns WP_Error\|WP_REST_Response\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/NoteActions.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_CRUD_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 103 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Admin/API/NoteActions.php
+
+ -
+ message: '#^Parameter \#1 \$note of static method Automattic\\WooCommerce\\Admin\\Notes\\Notes\:\:get_action_by_id\(\) expects Automattic\\WooCommerce\\Admin\\Notes\\Note, Automattic\\WooCommerce\\Admin\\Notes\\Note\|true given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/NoteActions.php
+
+ -
+ message: '#^Parameter \#1 \$note of static method Automattic\\WooCommerce\\Admin\\Notes\\Notes\:\:trigger_note_action\(\) expects Automattic\\WooCommerce\\Admin\\Notes\\Note, Automattic\\WooCommerce\\Admin\\Notes\\Note\|true given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/NoteActions.php
+
+ -
+ message: '#^Parameter \#1 \$response of method WP_REST_Controller\:\:prepare_response_for_collection\(\) expects WP_REST_Response, Automattic\\WooCommerce\\Admin\\API\\WP_REST_Response given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/NoteActions.php
+
+ -
+ message: '#^Parameter \#2 \$triggered_action of static method Automattic\\WooCommerce\\Admin\\Notes\\Notes\:\:trigger_note_action\(\) expects object, object\|true given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/NoteActions.php
+
+ -
+ message: '#^Parameter \$request of method Automattic\\WooCommerce\\Admin\\API\\NoteActions\:\:trigger_note_action\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/NoteActions.php
+
+ -
+ message: '#^@param Automattic\\WooCommerce\\Admin\\API\\WP_REST_Response \$response does not accept actual type of parameter\: WP_REST_Response\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: src/Admin/API/Notes.php
+
+ -
+ message: '#^Access to offset ''context'' on an unknown class Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 2
+ path: src/Admin/API/Notes.php
+
+ -
+ message: '#^Access to offset ''is_read'' on an unknown class Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 2
+ path: src/Admin/API/Notes.php
+
+ -
+ message: '#^Access to offset ''order'' on an unknown class Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Notes.php
+
+ -
+ message: '#^Access to offset ''orderby'' on an unknown class Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Notes.php
+
+ -
+ message: '#^Access to offset ''page'' on an unknown class Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Notes.php
+
+ -
+ message: '#^Access to offset ''per_page'' on an unknown class Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Notes.php
+
+ -
+ message: '#^Access to offset ''source'' on an unknown class Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 2
+ path: src/Admin/API/Notes.php
+
+ -
+ message: '#^Access to offset ''status'' on an unknown class Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 4
+ path: src/Admin/API/Notes.php
+
+ -
+ message: '#^Access to offset ''type'' on an unknown class Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 2
+ path: src/Admin/API/Notes.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_notes_with_name\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Admin/API/Notes.php
+
+ -
+ message: '#^Call to method get_param\(\) on an unknown class Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 15
+ path: src/Admin/API/Notes.php
+
+ -
+ message: '#^Cannot call method get_name\(\) on Automattic\\WooCommerce\\Admin\\Notes\\Note\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Admin/API/Notes.php
+
+ -
+ message: '#^Cannot cast mixed to int\.$#'
+ identifier: cast.int
+ count: 1
+ path: src/Admin/API/Notes.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Notes\:\:activate_promo_note\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Notes.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Notes\:\:activate_promo_note\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Notes.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Notes\:\:activate_promo_note\(\) should return Automattic\\WooCommerce\\Admin\\API\\WP_Error\|Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request but returns WP_Error\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/Notes.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Notes\:\:activate_promo_note\(\) should return Automattic\\WooCommerce\\Admin\\API\\WP_Error\|Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request but returns WP_REST_Response\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/Notes.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Notes\:\:batch_update_items\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Notes.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Notes\:\:batch_update_items\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Notes.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Notes\:\:batch_update_items\(\) should return Automattic\\WooCommerce\\Admin\\API\\WP_Error\|Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request but returns WP_Error\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/Notes.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Notes\:\:batch_update_items\(\) should return Automattic\\WooCommerce\\Admin\\API\\WP_Error\|Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request but returns WP_REST_Response\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/Notes.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Notes\:\:delete_all_items\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Notes.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Notes\:\:delete_all_items\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Notes.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Notes\:\:delete_all_items\(\) should return Automattic\\WooCommerce\\Admin\\API\\WP_Error\|Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request but returns WP_REST_Response\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/Notes.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Notes\:\:delete_item\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Notes.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Notes\:\:delete_item\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Notes.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Notes\:\:delete_item\(\) should return Automattic\\WooCommerce\\Admin\\API\\WP_Error\|Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request but returns WP_Error\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/Notes.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Notes\:\:delete_item\(\) should return Automattic\\WooCommerce\\Admin\\API\\WP_Error\|Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request but returns WP_Error\|WP_REST_Response\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/Notes.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Notes\:\:get_item\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Notes.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Notes\:\:get_item\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Response\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Notes.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Notes\:\:get_item\(\) should return Automattic\\WooCommerce\\Admin\\API\\WP_Error\|Automattic\\WooCommerce\\Admin\\API\\WP_REST_Response but returns WP_Error\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/Notes.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Notes\:\:get_item\(\) should return Automattic\\WooCommerce\\Admin\\API\\WP_Error\|Automattic\\WooCommerce\\Admin\\API\\WP_REST_Response but returns WP_Error\|WP_REST_Response\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/Notes.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Notes\:\:get_item_permissions_check\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Notes.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Notes\:\:get_item_permissions_check\(\) should return Automattic\\WooCommerce\\Admin\\API\\WP_Error\|bool but returns WP_Error\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/Notes.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Notes\:\:get_items\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Response\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Notes.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Notes\:\:get_items\(\) should return Automattic\\WooCommerce\\Admin\\API\\WP_REST_Response but returns WP_REST_Response\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/Notes.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Notes\:\:get_items_permissions_check\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Notes.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Notes\:\:get_items_permissions_check\(\) should return Automattic\\WooCommerce\\Admin\\API\\WP_Error\|bool but returns WP_Error\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/Notes.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Notes\:\:is_tasklist_experiment_assigned_treatment\(\) is unused\.$#'
+ identifier: method.unused
+ count: 1
+ path: src/Admin/API/Notes.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Notes\:\:prepare_item_for_response\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Response\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Notes.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Notes\:\:prepare_note_data_for_response\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Response\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Notes.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Notes\:\:prepare_note_data_for_response\(\) should return Automattic\\WooCommerce\\Admin\\API\\WP_REST_Response but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/Notes.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Notes\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Notes.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Notes\:\:track_opened_email\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Notes.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Notes\:\:update_item\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Notes.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Notes\:\:update_item\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Notes.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Notes\:\:update_item\(\) should return Automattic\\WooCommerce\\Admin\\API\\WP_Error\|Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request but returns Automattic\\WooCommerce\\Admin\\API\\WP_Error\|Automattic\\WooCommerce\\Admin\\API\\WP_REST_Response\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/Notes.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Notes\:\:update_item\(\) should return Automattic\\WooCommerce\\Admin\\API\\WP_Error\|Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request but returns WP_Error\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/Notes.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Notes\:\:update_items_permissions_check\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Notes.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Notes\:\:update_items_permissions_check\(\) should return Automattic\\WooCommerce\\Admin\\API\\WP_Error\|bool but returns WP_Error\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/Notes.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_CRUD_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 97 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Admin/API/Notes.php
+
+ -
+ message: '#^Parameter \#1 \$note of method Automattic\\WooCommerce\\Admin\\API\\Notes\:\:prepare_note_data_for_response\(\) expects Automattic\\WooCommerce\\Admin\\Notes\\Note, Automattic\\WooCommerce\\Admin\\Notes\\Note\|true given\.$#'
+ identifier: argument.type
+ count: 3
+ path: src/Admin/API/Notes.php
+
+ -
+ message: '#^Parameter \#1 \$note of static method Automattic\\WooCommerce\\Admin\\Notes\\Notes\:\:delete_note\(\) expects Automattic\\WooCommerce\\Admin\\Notes\\Note, Automattic\\WooCommerce\\Admin\\Notes\\Note\|true given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Notes.php
+
+ -
+ message: '#^Parameter \#1 \$note of static method Automattic\\WooCommerce\\Admin\\Notes\\Notes\:\:update_note\(\) expects Automattic\\WooCommerce\\Admin\\Notes\\Note, Automattic\\WooCommerce\\Admin\\Notes\\Note\|bool given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Notes.php
+
+ -
+ message: '#^Parameter \#1 \$note of static method Automattic\\WooCommerce\\Admin\\Notes\\Notes\:\:update_note\(\) expects Automattic\\WooCommerce\\Admin\\Notes\\Note, Automattic\\WooCommerce\\Admin\\Notes\\Note\|true given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Admin/API/Notes.php
+
+ -
+ message: '#^Parameter \#1 \$response of method WP_REST_Controller\:\:prepare_response_for_collection\(\) expects WP_REST_Response, Automattic\\WooCommerce\\Admin\\API\\WP_REST_Response given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Admin/API/Notes.php
+
+ -
+ message: '#^Parameter \#1 \$str of function sanitize_text_field expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Notes.php
+
+ -
+ message: '#^Parameter \#1 \$type of static method Automattic\\WooCommerce\\Admin\\Notes\\Notes\:\:get_notes_count\(\) expects string, array\<int, string\> given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Admin/API/Notes.php
+
+ -
+ message: '#^Parameter \#2 \$request of method WP_REST_Controller\:\:add_additional_fields_to_object\(\) expects WP_REST_Request, Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Notes.php
+
+ -
+ message: '#^Parameter \#2 \$status of static method Automattic\\WooCommerce\\Admin\\Notes\\Notes\:\:get_notes_count\(\) expects string, array given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Admin/API/Notes.php
+
+ -
+ message: '#^Parameter \#2 \$value of method WP_HTTP_Response\:\:header\(\) expects string, int given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Admin/API/Notes.php
+
+ -
+ message: '#^Parameter \#2 \$value of method WP_HTTP_Response\:\:header\(\) expects string, int\<0, max\> given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Notes.php
+
+ -
+ message: '#^Parameter \$request of method Automattic\\WooCommerce\\Admin\\API\\Notes\:\:activate_promo_note\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Notes.php
+
+ -
+ message: '#^Parameter \$request of method Automattic\\WooCommerce\\Admin\\API\\Notes\:\:batch_update_items\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Notes.php
+
+ -
+ message: '#^Parameter \$request of method Automattic\\WooCommerce\\Admin\\API\\Notes\:\:delete_all_items\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Notes.php
+
+ -
+ message: '#^Parameter \$request of method Automattic\\WooCommerce\\Admin\\API\\Notes\:\:delete_item\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Notes.php
+
+ -
+ message: '#^Parameter \$request of method Automattic\\WooCommerce\\Admin\\API\\Notes\:\:get_item\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Notes.php
+
+ -
+ message: '#^Parameter \$request of method Automattic\\WooCommerce\\Admin\\API\\Notes\:\:get_item_permissions_check\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Notes.php
+
+ -
+ message: '#^Parameter \$request of method Automattic\\WooCommerce\\Admin\\API\\Notes\:\:get_items\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Notes.php
+
+ -
+ message: '#^Parameter \$request of method Automattic\\WooCommerce\\Admin\\API\\Notes\:\:get_items_permissions_check\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Notes.php
+
+ -
+ message: '#^Parameter \$request of method Automattic\\WooCommerce\\Admin\\API\\Notes\:\:get_requested_updates\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Notes.php
+
+ -
+ message: '#^Parameter \$request of method Automattic\\WooCommerce\\Admin\\API\\Notes\:\:prepare_item_for_response\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Notes.php
+
+ -
+ message: '#^Parameter \$request of method Automattic\\WooCommerce\\Admin\\API\\Notes\:\:prepare_note_data_for_response\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Notes.php
+
+ -
+ message: '#^Parameter \$request of method Automattic\\WooCommerce\\Admin\\API\\Notes\:\:prepare_objects_query\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Notes.php
+
+ -
+ message: '#^Parameter \$request of method Automattic\\WooCommerce\\Admin\\API\\Notes\:\:track_opened_email\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Notes.php
+
+ -
+ message: '#^Parameter \$request of method Automattic\\WooCommerce\\Admin\\API\\Notes\:\:update_item\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Notes.php
+
+ -
+ message: '#^Parameter \$request of method Automattic\\WooCommerce\\Admin\\API\\Notes\:\:update_items_permissions_check\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Notes.php
+
+ -
+ message: '#^Access to offset ''dismiss_notice_nonce'' on an unknown class Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 2
+ path: src/Admin/API/Notice.php
+
+ -
+ message: '#^Access to offset ''notice_id'' on an unknown class Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 2
+ path: src/Admin/API/Notice.php
+
+ -
+ message: '#^Instantiated class Automattic\\WooCommerce\\Admin\\API\\WP_Error not found\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Notice.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Notice\:\:dissmiss_notice\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Notice.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Notice\:\:dissmiss_notice\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Response\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Notice.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Notice\:\:dissmiss_notice\(\) should return Automattic\\WooCommerce\\Admin\\API\\WP_Error\|Automattic\\WooCommerce\\Admin\\API\\WP_REST_Response but returns WP_REST_Response\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/Notice.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Notice\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Notice.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Data_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 77 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Admin/API/Notice.php
+
+ -
+ message: '#^Parameter \$request of method Automattic\\WooCommerce\\Admin\\API\\Notice\:\:dissmiss_notice\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Notice.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\OnboardingFreeExtensions\:\:get_available_extensions\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Admin/API/OnboardingFreeExtensions.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\OnboardingFreeExtensions\:\:get_items_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Admin/API/OnboardingFreeExtensions.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\OnboardingFreeExtensions\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/OnboardingFreeExtensions.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Data_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 90 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Admin/API/OnboardingFreeExtensions.php
+
+ -
+ message: '#^Cannot access offset ''plugins'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Admin/API/OnboardingPlugins.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\OnboardingPlugins\:\:get_jetpack_authorization_url\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Admin/API/OnboardingPlugins.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\OnboardingPlugins\:\:get_scheduled_installs\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Admin/API/OnboardingPlugins.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\OnboardingPlugins\:\:install_and_activate\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Admin/API/OnboardingPlugins.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\OnboardingPlugins\:\:install_and_activate_async\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Admin/API/OnboardingPlugins.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\OnboardingPlugins\:\:log_plugins_install_api_error\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/OnboardingPlugins.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\OnboardingPlugins\:\:log_plugins_install_api_error\(\) has parameter \$api with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: src/Admin/API/OnboardingPlugins.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\OnboardingPlugins\:\:log_plugins_install_api_error\(\) has parameter \$slug with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: src/Admin/API/OnboardingPlugins.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\OnboardingPlugins\:\:log_plugins_install_error\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/OnboardingPlugins.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\OnboardingPlugins\:\:log_plugins_install_error\(\) has parameter \$api with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: src/Admin/API/OnboardingPlugins.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\OnboardingPlugins\:\:log_plugins_install_error\(\) has parameter \$result with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: src/Admin/API/OnboardingPlugins.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\OnboardingPlugins\:\:log_plugins_install_error\(\) has parameter \$slug with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: src/Admin/API/OnboardingPlugins.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\OnboardingPlugins\:\:log_plugins_install_error\(\) has parameter \$upgrader with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: src/Admin/API/OnboardingPlugins.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\OnboardingPlugins\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/OnboardingPlugins.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Data_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 89 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Admin/API/OnboardingPlugins.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\OnboardingProductTypes\:\:get_items_permissions_check\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/OnboardingProductTypes.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\OnboardingProductTypes\:\:get_items_permissions_check\(\) should return Automattic\\WooCommerce\\Admin\\API\\WP_Error\|bool but returns WP_Error\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/OnboardingProductTypes.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\OnboardingProductTypes\:\:get_product_types\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Admin/API/OnboardingProductTypes.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\OnboardingProductTypes\:\:get_product_types\(\) should return WP_Error\|WP_REST_Response but returns array\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/OnboardingProductTypes.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\OnboardingProductTypes\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/OnboardingProductTypes.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Data_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 95 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Admin/API/OnboardingProductTypes.php
+
+ -
+ message: '#^Parameter \$request of method Automattic\\WooCommerce\\Admin\\API\\OnboardingProductTypes\:\:get_items_permissions_check\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/OnboardingProductTypes.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\OnboardingProducts\:\:create_products\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/OnboardingProducts.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\OnboardingProducts\:\:create_products\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Response\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/OnboardingProducts.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\OnboardingProducts\:\:create_products\(\) should return Automattic\\WooCommerce\\Admin\\API\\WP_Error\|Automattic\\WooCommerce\\Admin\\API\\WP_REST_Response but returns WP_REST_Response\.$#'
+ identifier: return.type
+ count: 2
+ path: src/Admin/API/OnboardingProducts.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\OnboardingProducts\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/OnboardingProducts.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\OnboardingProducts\:\:update_item_permissions_check\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/OnboardingProducts.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\OnboardingProducts\:\:update_item_permissions_check\(\) should return Automattic\\WooCommerce\\Admin\\API\\WP_Error\|bool but returns WP_Error\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/OnboardingProducts.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Data_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 88 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Admin/API/OnboardingProducts.php
+
+ -
+ message: '#^Parameter \$request of method Automattic\\WooCommerce\\Admin\\API\\OnboardingProducts\:\:create_products\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/OnboardingProducts.php
+
+ -
+ message: '#^Parameter \$request of method Automattic\\WooCommerce\\Admin\\API\\OnboardingProducts\:\:update_item_permissions_check\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/OnboardingProducts.php
+
+ -
+ message: '#^@param array \$item does not accept actual type of parameter\: object\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: src/Admin/API/OnboardingProfile.php
+
+ -
+ message: '#^Cannot access offset ''access_token'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Admin/API/OnboardingProfile.php
+
+ -
+ message: '#^Cannot access offset ''email'' on array\|bool\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Admin/API/OnboardingProfile.php
+
+ -
+ message: '#^Cannot access offset ''industry'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: src/Admin/API/OnboardingProfile.php
+
+ -
+ message: '#^Cannot access offset mixed on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: src/Admin/API/OnboardingProfile.php
+
+ -
+ message: '#^Constant WC_ABSPATH not found\.$#'
+ identifier: constant.notFound
+ count: 1
+ path: src/Admin/API/OnboardingProfile.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\OnboardingProfile\:\:core_profiler_step_complete\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Admin/API/OnboardingProfile.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\OnboardingProfile\:\:get_email_prefill\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Admin/API/OnboardingProfile.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\OnboardingProfile\:\:get_items\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Admin/API/OnboardingProfile.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\OnboardingProfile\:\:get_items_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Admin/API/OnboardingProfile.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\OnboardingProfile\:\:get_profile_progress\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Admin/API/OnboardingProfile.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\OnboardingProfile\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Admin/API/OnboardingProfile.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\OnboardingProfile\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/OnboardingProfile.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\OnboardingProfile\:\:rest_validate_marketing_email\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Admin/API/OnboardingProfile.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\OnboardingProfile\:\:update_items\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Admin/API/OnboardingProfile.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\OnboardingProfile\:\:update_items_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Admin/API/OnboardingProfile.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\OnboardingProfile\:\:update_store_currency_and_measurement_units\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Admin/API/OnboardingProfile.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Data_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 89 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Admin/API/OnboardingProfile.php
+
+ -
+ message: '#^Parameter \#1 \$email of function is_email expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/OnboardingProfile.php
+
+ -
+ message: '#^Parameter \#1 \$industries of method Automattic\\WooCommerce\\Admin\\API\\OnboardingProfile\:\:filter_industries\(\) expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/OnboardingProfile.php
+
+ -
+ message: '#^Parameter \#1 \$item of method Automattic\\WooCommerce\\Admin\\API\\OnboardingProfile\:\:prepare_item_for_response\(\) expects object, array given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/OnboardingProfile.php
+
+ -
+ message: '#^Parameter \#1 \$item of method Automattic\\WooCommerce\\Admin\\API\\OnboardingProfile\:\:prepare_item_for_response\(\) expects object, array\<string, string\> given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/OnboardingProfile.php
+
+ -
+ message: '#^Parameter \#1 \$response_data of method WP_REST_Controller\:\:add_additional_fields_to_object\(\) expects array, object given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/OnboardingProfile.php
+
+ -
+ message: '#^Access to offset ''imported'' on an unknown class Automattic\\WooCommerce\\Admin\\API\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 3
+ path: src/Admin/API/OnboardingTasks.php
+
+ -
+ message: '#^Access to offset ''imported'' on an unknown class Automattic\\WooCommerce\\Admin\\API\\WP_REST_Response\.$#'
+ identifier: class.notFound
+ count: 3
+ path: src/Admin/API/OnboardingTasks.php
+
+ -
+ message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
+ count: 1
+ path: src/Admin/API/OnboardingTasks.php
+
+ -
+ message: '#^Call to an undefined method object\:\:dismiss\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Admin/API/OnboardingTasks.php
+
+ -
+ message: '#^Call to an undefined method object\:\:get_json\(\)\.$#'
+ identifier: method.notFound
+ count: 5
+ path: src/Admin/API/OnboardingTasks.php
+
+ -
+ message: '#^Call to an undefined method object\:\:get_raw_keys\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Admin/API/OnboardingTasks.php
+
+ -
+ message: '#^Call to an undefined method object\:\:import\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Admin/API/OnboardingTasks.php
+
+ -
+ message: '#^Call to an undefined method object\:\:is_dismissable\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: src/Admin/API/OnboardingTasks.php
+
+ -
+ message: '#^Call to an undefined method object\:\:is_snoozeable\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: src/Admin/API/OnboardingTasks.php
+
+ -
+ message: '#^Call to an undefined method object\:\:mark_actioned\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Admin/API/OnboardingTasks.php
+
+ -
+ message: '#^Call to an undefined method object\:\:snooze\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Admin/API/OnboardingTasks.php
+
+ -
+ message: '#^Call to an undefined method object\:\:undo_dismiss\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Admin/API/OnboardingTasks.php
+
+ -
+ message: '#^Call to an undefined method object\:\:undo_snooze\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Admin/API/OnboardingTasks.php
+
+ -
+ message: '#^Call to method get_param\(\) on an unknown class Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 12
+ path: src/Admin/API/OnboardingTasks.php
+
+ -
+ message: '#^Cannot access offset ''industry'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Admin/API/OnboardingTasks.php
+
+ -
+ message: '#^Cannot call method get_id\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Admin/API/OnboardingTasks.php
+
+ -
+ message: '#^Cannot call method save\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Admin/API/OnboardingTasks.php
+
+ -
+ message: '#^Cannot call method set_status\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Admin/API/OnboardingTasks.php
+
+ -
+ message: '#^Constant WC_ABSPATH not found\.$#'
+ identifier: constant.notFound
+ count: 4
+ path: src/Admin/API/OnboardingTasks.php
+
+ -
+ message: '#^Constant WC_ADMIN_IMAGES_FOLDER_URL not found\.$#'
+ identifier: constant.notFound
+ count: 1
+ path: src/Admin/API/OnboardingTasks.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\OnboardingTasks\:\:action_task\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/OnboardingTasks.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\OnboardingTasks\:\:action_task\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/OnboardingTasks.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\OnboardingTasks\:\:action_task\(\) should return Automattic\\WooCommerce\\Admin\\API\\WP_Error\|Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request but returns WP_Error\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/OnboardingTasks.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\OnboardingTasks\:\:action_task\(\) should return Automattic\\WooCommerce\\Admin\\API\\WP_Error\|Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request but returns WP_Error\|WP_REST_Response\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/OnboardingTasks.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\OnboardingTasks\:\:create_homepage\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/OnboardingTasks.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\OnboardingTasks\:\:create_homepage\(\) should return array\|Automattic\\WooCommerce\\Admin\\API\\WP_Error but returns int\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/OnboardingTasks.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\OnboardingTasks\:\:create_pages_permission_check\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/OnboardingTasks.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\OnboardingTasks\:\:create_pages_permission_check\(\) should return Automattic\\WooCommerce\\Admin\\API\\WP_Error\|bool but returns WP_Error\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/OnboardingTasks.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\OnboardingTasks\:\:create_product_from_template\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/OnboardingTasks.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\OnboardingTasks\:\:create_product_from_template\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Response\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/OnboardingTasks.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\OnboardingTasks\:\:create_product_from_template\(\) should return Automattic\\WooCommerce\\Admin\\API\\WP_Error\|Automattic\\WooCommerce\\Admin\\API\\WP_REST_Response but returns WP_Error\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/OnboardingTasks.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\OnboardingTasks\:\:create_product_from_template\(\) should return Automattic\\WooCommerce\\Admin\\API\\WP_Error\|Automattic\\WooCommerce\\Admin\\API\\WP_REST_Response but returns WP_REST_Response\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/OnboardingTasks.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\OnboardingTasks\:\:create_products_permission_check\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/OnboardingTasks.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\OnboardingTasks\:\:create_products_permission_check\(\) should return Automattic\\WooCommerce\\Admin\\API\\WP_Error\|bool but returns WP_Error\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/OnboardingTasks.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\OnboardingTasks\:\:dismiss_task\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/OnboardingTasks.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\OnboardingTasks\:\:dismiss_task\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/OnboardingTasks.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\OnboardingTasks\:\:dismiss_task\(\) should return Automattic\\WooCommerce\\Admin\\API\\WP_Error\|Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request but returns WP_Error\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/OnboardingTasks.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\OnboardingTasks\:\:dismiss_task\(\) should return Automattic\\WooCommerce\\Admin\\API\\WP_Error\|Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request but returns WP_Error\|WP_REST_Response\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/OnboardingTasks.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\OnboardingTasks\:\:get_tasks\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/OnboardingTasks.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\OnboardingTasks\:\:get_tasks\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Response\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/OnboardingTasks.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\OnboardingTasks\:\:get_tasks\(\) should return Automattic\\WooCommerce\\Admin\\API\\WP_Error\|Automattic\\WooCommerce\\Admin\\API\\WP_REST_Response but returns WP_REST_Response\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/OnboardingTasks.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\OnboardingTasks\:\:get_tasks_permission_check\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/OnboardingTasks.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\OnboardingTasks\:\:get_tasks_permission_check\(\) should return Automattic\\WooCommerce\\Admin\\API\\WP_Error\|bool but returns WP_Error\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/OnboardingTasks.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\OnboardingTasks\:\:hide_task_list\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/OnboardingTasks.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\OnboardingTasks\:\:hide_task_list\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Response\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/OnboardingTasks.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\OnboardingTasks\:\:hide_task_list\(\) should return Automattic\\WooCommerce\\Admin\\API\\WP_Error\|Automattic\\WooCommerce\\Admin\\API\\WP_REST_Response but returns WP_Error\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/OnboardingTasks.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\OnboardingTasks\:\:hide_task_list\(\) should return Automattic\\WooCommerce\\Admin\\API\\WP_Error\|Automattic\\WooCommerce\\Admin\\API\\WP_REST_Response but returns WP_REST_Response\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/OnboardingTasks.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\OnboardingTasks\:\:hide_task_list_permission_check\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/OnboardingTasks.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\OnboardingTasks\:\:hide_task_list_permission_check\(\) should return Automattic\\WooCommerce\\Admin\\API\\WP_Error\|bool but returns WP_Error\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/OnboardingTasks.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\OnboardingTasks\:\:import_sample_products\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/OnboardingTasks.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\OnboardingTasks\:\:import_sample_products\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Response\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/OnboardingTasks.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\OnboardingTasks\:\:import_sample_products\(\) should return Automattic\\WooCommerce\\Admin\\API\\WP_Error\|Automattic\\WooCommerce\\Admin\\API\\WP_REST_Response but returns WP_Error\|WP_REST_Response\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/OnboardingTasks.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\OnboardingTasks\:\:import_sample_products_from_csv\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/OnboardingTasks.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\OnboardingTasks\:\:import_sample_products_from_csv\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Response\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/OnboardingTasks.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\OnboardingTasks\:\:import_sample_products_from_csv\(\) should return Automattic\\WooCommerce\\Admin\\API\\WP_Error\|Automattic\\WooCommerce\\Admin\\API\\WP_REST_Response but returns WP_Error\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/OnboardingTasks.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\OnboardingTasks\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/OnboardingTasks.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\OnboardingTasks\:\:snooze_task\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/OnboardingTasks.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\OnboardingTasks\:\:snooze_task\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Response\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/OnboardingTasks.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\OnboardingTasks\:\:snooze_task\(\) should return Automattic\\WooCommerce\\Admin\\API\\WP_Error\|Automattic\\WooCommerce\\Admin\\API\\WP_REST_Response but returns WP_Error\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/OnboardingTasks.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\OnboardingTasks\:\:snooze_task\(\) should return Automattic\\WooCommerce\\Admin\\API\\WP_Error\|Automattic\\WooCommerce\\Admin\\API\\WP_REST_Response but returns WP_Error\|WP_REST_Response\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/OnboardingTasks.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\OnboardingTasks\:\:snooze_task_permissions_check\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/OnboardingTasks.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\OnboardingTasks\:\:snooze_task_permissions_check\(\) should return Automattic\\WooCommerce\\Admin\\API\\WP_Error\|bool but returns WP_Error\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/OnboardingTasks.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\OnboardingTasks\:\:undo_dismiss_task\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/OnboardingTasks.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\OnboardingTasks\:\:undo_dismiss_task\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/OnboardingTasks.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\OnboardingTasks\:\:undo_dismiss_task\(\) should return Automattic\\WooCommerce\\Admin\\API\\WP_Error\|Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request but returns WP_Error\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/OnboardingTasks.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\OnboardingTasks\:\:undo_dismiss_task\(\) should return Automattic\\WooCommerce\\Admin\\API\\WP_Error\|Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request but returns WP_Error\|WP_REST_Response\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/OnboardingTasks.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\OnboardingTasks\:\:undo_snooze_task\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/OnboardingTasks.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\OnboardingTasks\:\:undo_snooze_task\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/OnboardingTasks.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\OnboardingTasks\:\:undo_snooze_task\(\) should return Automattic\\WooCommerce\\Admin\\API\\WP_Error\|Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request but returns WP_Error\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/OnboardingTasks.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\OnboardingTasks\:\:undo_snooze_task\(\) should return Automattic\\WooCommerce\\Admin\\API\\WP_Error\|Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request but returns WP_Error\|WP_REST_Response\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/OnboardingTasks.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\OnboardingTasks\:\:unhide_task_list\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/OnboardingTasks.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\OnboardingTasks\:\:unhide_task_list\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Response\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/OnboardingTasks.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\OnboardingTasks\:\:unhide_task_list\(\) should return Automattic\\WooCommerce\\Admin\\API\\WP_Error\|Automattic\\WooCommerce\\Admin\\API\\WP_REST_Response but returns WP_Error\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/OnboardingTasks.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\OnboardingTasks\:\:unhide_task_list\(\) should return Automattic\\WooCommerce\\Admin\\API\\WP_Error\|Automattic\\WooCommerce\\Admin\\API\\WP_REST_Response but returns WP_REST_Response\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/OnboardingTasks.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Data_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 87 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Admin/API/OnboardingTasks.php
+
+ -
+ message: '#^Parameter \#1 \$attachment_id of function wp_get_attachment_url expects int, int\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/OnboardingTasks.php
+
+ -
+ message: '#^Parameter \#1 \$string of function htmlspecialchars_decode expects string, string\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/OnboardingTasks.php
+
+ -
+ message: '#^Parameter \#1 \$task_list of class Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\DeprecatedExtendedTask constructor expects Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\TaskList, null given\.$#'
+ identifier: argument.type
+ count: 5
+ path: src/Admin/API/OnboardingTasks.php
+
+ -
+ message: '#^Parameter \$request of method Automattic\\WooCommerce\\Admin\\API\\OnboardingTasks\:\:action_task\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/OnboardingTasks.php
+
+ -
+ message: '#^Parameter \$request of method Automattic\\WooCommerce\\Admin\\API\\OnboardingTasks\:\:create_pages_permission_check\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/OnboardingTasks.php
+
+ -
+ message: '#^Parameter \$request of method Automattic\\WooCommerce\\Admin\\API\\OnboardingTasks\:\:create_product_from_template\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/OnboardingTasks.php
+
+ -
+ message: '#^Parameter \$request of method Automattic\\WooCommerce\\Admin\\API\\OnboardingTasks\:\:create_products_permission_check\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/OnboardingTasks.php
+
+ -
+ message: '#^Parameter \$request of method Automattic\\WooCommerce\\Admin\\API\\OnboardingTasks\:\:dismiss_task\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/OnboardingTasks.php
+
+ -
+ message: '#^Parameter \$request of method Automattic\\WooCommerce\\Admin\\API\\OnboardingTasks\:\:get_tasks\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/OnboardingTasks.php
+
+ -
+ message: '#^Parameter \$request of method Automattic\\WooCommerce\\Admin\\API\\OnboardingTasks\:\:get_tasks_permission_check\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/OnboardingTasks.php
+
+ -
+ message: '#^Parameter \$request of method Automattic\\WooCommerce\\Admin\\API\\OnboardingTasks\:\:hide_task_list\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/OnboardingTasks.php
+
+ -
+ message: '#^Parameter \$request of method Automattic\\WooCommerce\\Admin\\API\\OnboardingTasks\:\:hide_task_list_permission_check\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/OnboardingTasks.php
+
+ -
+ message: '#^Parameter \$request of method Automattic\\WooCommerce\\Admin\\API\\OnboardingTasks\:\:snooze_task\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/OnboardingTasks.php
+
+ -
+ message: '#^Parameter \$request of method Automattic\\WooCommerce\\Admin\\API\\OnboardingTasks\:\:snooze_task_permissions_check\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/OnboardingTasks.php
+
+ -
+ message: '#^Parameter \$request of method Automattic\\WooCommerce\\Admin\\API\\OnboardingTasks\:\:undo_dismiss_task\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/OnboardingTasks.php
+
+ -
+ message: '#^Parameter \$request of method Automattic\\WooCommerce\\Admin\\API\\OnboardingTasks\:\:undo_snooze_task\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/OnboardingTasks.php
+
+ -
+ message: '#^Parameter \$request of method Automattic\\WooCommerce\\Admin\\API\\OnboardingTasks\:\:unhide_task_list\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/OnboardingTasks.php
+
+ -
+ message: '#^Possibly invalid array key type mixed\.$#'
+ identifier: offsetAccess.invalidOffset
+ count: 2
+ path: src/Admin/API/OnboardingTasks.php
+
+ -
+ message: '#^Access to offset ''theme'' on an unknown class Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 2
+ path: src/Admin/API/OnboardingThemes.php
+
+ -
+ message: '#^Cannot access property \$download_link on array\|object\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: src/Admin/API/OnboardingThemes.php
+
+ -
+ message: '#^Cannot access property \$name on array\|object\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: src/Admin/API/OnboardingThemes.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\OnboardingThemes\:\:activate_theme\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/OnboardingThemes.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\OnboardingThemes\:\:activate_theme\(\) should return array\|Automattic\\WooCommerce\\Admin\\API\\WP_Error but returns WP_Error\.$#'
+ identifier: return.type
+ count: 2
+ path: src/Admin/API/OnboardingThemes.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\OnboardingThemes\:\:install_theme\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/OnboardingThemes.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\OnboardingThemes\:\:install_theme\(\) should return array\|Automattic\\WooCommerce\\Admin\\API\\WP_Error but returns WP_Error\.$#'
+ identifier: return.type
+ count: 2
+ path: src/Admin/API/OnboardingThemes.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\OnboardingThemes\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/OnboardingThemes.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\OnboardingThemes\:\:update_item_permissions_check\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/OnboardingThemes.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\OnboardingThemes\:\:update_item_permissions_check\(\) should return Automattic\\WooCommerce\\Admin\\API\\WP_Error\|bool but returns WP_Error\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/OnboardingThemes.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Data_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 88 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Admin/API/OnboardingThemes.php
+
+ -
+ message: '#^Parameter \$request of method Automattic\\WooCommerce\\Admin\\API\\OnboardingThemes\:\:activate_theme\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/OnboardingThemes.php
+
+ -
+ message: '#^Parameter \$request of method Automattic\\WooCommerce\\Admin\\API\\OnboardingThemes\:\:install_theme\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/OnboardingThemes.php
+
+ -
+ message: '#^Parameter \$request of method Automattic\\WooCommerce\\Admin\\API\\OnboardingThemes\:\:update_item_permissions_check\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/OnboardingThemes.php
+
+ -
+ message: '#^Access to offset ''options'' on an unknown class Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 6
+ path: src/Admin/API/Options.php
+
+ -
+ message: '#^Call to method get_json_params\(\) on an unknown class Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 2
+ path: src/Admin/API/Options.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Options\:\:get_item_permissions_check\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Options.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Options\:\:get_item_permissions_check\(\) should return Automattic\\WooCommerce\\Admin\\API\\WP_Error\|bool but returns WP_Error\.$#'
+ identifier: return.type
+ count: 2
+ path: src/Admin/API/Options.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Options\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Options.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Options\:\:update_item_permissions_check\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Options.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Options\:\:update_item_permissions_check\(\) should return Automattic\\WooCommerce\\Admin\\API\\WP_Error\|bool but returns WP_Error\.$#'
+ identifier: return.type
+ count: 2
+ path: src/Admin/API/Options.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Data_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 95 on line 6$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Admin/API/Options.php
+
+ -
+ message: '#^Parameter \$request of method Automattic\\WooCommerce\\Admin\\API\\Options\:\:get_item_permissions_check\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Options.php
+
+ -
+ message: '#^Parameter \$request of method Automattic\\WooCommerce\\Admin\\API\\Options\:\:get_option_permissions\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Options.php
+
+ -
+ message: '#^Parameter \$request of method Automattic\\WooCommerce\\Admin\\API\\Options\:\:get_options\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Options.php
+
+ -
+ message: '#^Parameter \$request of method Automattic\\WooCommerce\\Admin\\API\\Options\:\:update_item_permissions_check\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Options.php
+
+ -
+ message: '#^Parameter \$request of method Automattic\\WooCommerce\\Admin\\API\\Options\:\:update_options\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Options.php
+
+ -
+ message: '#^Parameter \$request of method Automattic\\WooCommerce\\Admin\\API\\Options\:\:user_has_permission\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Options.php
+
+ -
+ message: '#^Access to offset ''number'' on an unknown class Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 2
+ path: src/Admin/API/Orders.php
+
+ -
+ message: '#^Call to method get_data\(\) on an unknown class Automattic\\WooCommerce\\Admin\\API\\WC_Data\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Orders.php
+
+ -
+ message: '#^Call to method get_data_without_line_items\(\) on an unknown class Automattic\\WooCommerce\\Admin\\API\\WC_Data\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Orders.php
+
+ -
+ message: '#^Call to method get_formatted_order_total\(\) on an unknown class Automattic\\WooCommerce\\Admin\\API\\WC_Data\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Orders.php
+
+ -
+ message: '#^Call to method get_id\(\) on an unknown class Automattic\\WooCommerce\\Admin\\API\\WC_Data\.$#'
+ identifier: class.notFound
+ count: 2
+ path: src/Admin/API/Orders.php
+
+ -
+ message: '#^Call to method get_line_item_data\(\) on an unknown class Automattic\\WooCommerce\\Admin\\API\\WC_Data\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Orders.php
+
+ -
+ message: '#^Call to method get_refunds\(\) on an unknown class Automattic\\WooCommerce\\Admin\\API\\WC_Data\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Orders.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Orders_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 79 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Admin/API/Orders.php
+
+ -
+ message: '#^Parameter \#1 \$callback of function array_map expects \(callable\(bool\|float\|int\|string\)\: mixed\)\|null, ''trim'' given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Orders.php
+
+ -
+ message: '#^Parameter \#1 \$request of method WC_REST_Orders_Controller\:\:prepare_objects_query\(\) expects WP_REST_Request, Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Orders.php
+
+ -
+ message: '#^Parameter \#1 \$str of function trim expects string, int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Orders.php
+
+ -
+ message: '#^Parameter \$object of method Automattic\\WooCommerce\\Admin\\API\\Orders\:\:get_formatted_item_data\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\WC_Data\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Orders.php
+
+ -
+ message: '#^Parameter \$request of method Automattic\\WooCommerce\\Admin\\API\\Orders\:\:prepare_objects_query\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Orders.php
+
+ -
+ message: '#^Call to method get_param\(\) on an unknown class Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/PaymentGatewaySuggestions.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\PaymentGatewaySuggestions\:\:get_permission_check\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/PaymentGatewaySuggestions.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\PaymentGatewaySuggestions\:\:get_permission_check\(\) should return Automattic\\WooCommerce\\Admin\\API\\WP_Error\|bool but returns WP_Error\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/PaymentGatewaySuggestions.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\PaymentGatewaySuggestions\:\:get_suggestions\(\) should return WP_Error\|WP_HTTP_Response but returns array\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/PaymentGatewaySuggestions.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\PaymentGatewaySuggestions\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/PaymentGatewaySuggestions.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Data_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 96 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Admin/API/PaymentGatewaySuggestions.php
+
+ -
+ message: '#^Parameter \$request of method Automattic\\WooCommerce\\Admin\\API\\PaymentGatewaySuggestions\:\:get_permission_check\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/PaymentGatewaySuggestions.php
+
+ -
+ message: '#^Parameter \$request of method Automattic\\WooCommerce\\Admin\\API\\PaymentGatewaySuggestions\:\:get_suggestions\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/PaymentGatewaySuggestions.php
+
+ -
+ message: '#^Cannot access offset ''access_token'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Admin/API/Plugins.php
+
+ -
+ message: '#^Cannot access offset ''access_token_secret'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Admin/API/Plugins.php
+
+ -
+ message: '#^Cannot access offset ''activated'' on array\|WP_Error\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Admin/API/Plugins.php
+
+ -
+ message: '#^Cannot access offset ''industry'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Admin/API/Plugins.php
+
+ -
+ message: '#^Cannot access offset ''request_token'' on object\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Admin/API/Plugins.php
+
+ -
+ message: '#^Cannot access offset ''site_id'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Admin/API/Plugins.php
+
+ -
+ message: '#^Cannot assign offset ''plugins'' to WP_REST_Request\.$#'
+ identifier: offsetAssign.dimType
+ count: 1
+ path: src/Admin/API/Plugins.php
+
+ -
+ message: '#^Constant WC_ABSPATH not found\.$#'
+ identifier: constant.notFound
+ count: 5
+ path: src/Admin/API/Plugins.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Plugins\:\:activate_plugins\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Admin/API/Plugins.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Plugins\:\:connect_jetpack\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Admin/API/Plugins.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Plugins\:\:get_activation_status\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Admin/API/Plugins.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Plugins\:\:get_installation_status\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Admin/API/Plugins.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Plugins\:\:get_job_activation_status\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Admin/API/Plugins.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Plugins\:\:get_job_installation_status\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Admin/API/Plugins.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Plugins\:\:install_plugin\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Admin/API/Plugins.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Plugins\:\:install_plugins\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Admin/API/Plugins.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Plugins\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Plugins.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Plugins\:\:update_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Admin/API/Plugins.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(\\WC_REST_Data_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 79 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Admin/API/Plugins.php
+
+ -
+ message: '#^Parameter \#1 \$array of function array_column expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Plugins.php
+
+ -
+ message: '#^Parameter \#1 \$plugin of static method Automattic\\WooCommerce\\Admin\\PluginsHelper\:\:get_plugin_data\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Admin/API/Plugins.php
+
+ -
+ message: '#^Parameter \#1 \$str of function rawurlencode expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Plugins.php
+
+ -
+ message: '#^Possibly invalid array key type mixed\.$#'
+ identifier: offsetAccess.invalidOffset
+ count: 2
+ path: src/Admin/API/Plugins.php
+
+ -
+ message: '#^Access to offset ''slug'' on an unknown class Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/ProductAttributeTerms.php
+
+ -
+ message: '#^Binary operation "\." between non\-falsy\-string and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: src/Admin/API/ProductAttributeTerms.php
+
+ -
+ message: '#^Cannot access offset non\-falsy\-string on object\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Admin/API/ProductAttributeTerms.php
+
+ -
+ message: '#^Constant WC_DELIMITER not found\.$#'
+ identifier: constant.notFound
+ count: 1
+ path: src/Admin/API/ProductAttributeTerms.php
+
+ -
+ message: '#^Instantiated class Automattic\\WooCommerce\\Admin\\API\\WP_Error not found\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/ProductAttributeTerms.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\ProductAttributeTerms\:\:get_custom_attribute_by_slug\(\) should return object but returns array\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/ProductAttributeTerms.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\ProductAttributeTerms\:\:get_custom_attribute_permissions_check\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/ProductAttributeTerms.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\ProductAttributeTerms\:\:get_custom_attribute_values\(\) should return array but returns WP_Error\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/ProductAttributeTerms.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\ProductAttributeTerms\:\:get_item_by_slug\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/ProductAttributeTerms.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\ProductAttributeTerms\:\:get_item_by_slug\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/ProductAttributeTerms.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\ProductAttributeTerms\:\:get_item_by_slug\(\) should return Automattic\\WooCommerce\\Admin\\API\\WP_Error\|Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request but returns array\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/ProductAttributeTerms.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\ProductAttributeTerms\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/ProductAttributeTerms.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Product_Attribute_Terms_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 113 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Admin/API/ProductAttributeTerms.php
+
+ -
+ message: '#^Parameter \#1 \$args of method Automattic\\WooCommerce\\Admin\\API\\ProductAttributeTerms\:\:get_custom_attributes\(\) expects string, array\<string, string\> given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/ProductAttributeTerms.php
+
+ -
+ message: '#^Parameter \#1 \$haystack of function stripos expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/ProductAttributeTerms.php
+
+ -
+ message: '#^Parameter \$request of method Automattic\\WooCommerce\\Admin\\API\\ProductAttributeTerms\:\:get_custom_attribute_permissions_check\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/ProductAttributeTerms.php
+
+ -
+ message: '#^Parameter \$request of method Automattic\\WooCommerce\\Admin\\API\\ProductAttributeTerms\:\:get_item_by_slug\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/ProductAttributeTerms.php
+
+ -
+ message: '#^Access to offset ''search'' on an unknown class Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 2
+ path: src/Admin/API/ProductAttributes.php
+
+ -
+ message: '#^Access to offset ''slug'' on an unknown class Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 2
+ path: src/Admin/API/ProductAttributes.php
+
+ -
+ message: '#^Binary operation "\." between non\-falsy\-string and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: src/Admin/API/ProductAttributes.php
+
+ -
+ message: '#^Constant WC_DELIMITER not found\.$#'
+ identifier: constant.notFound
+ count: 1
+ path: src/Admin/API/ProductAttributes.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\ProductAttributes\:\:get_custom_attribute_by_slug\(\) should return object but returns array\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/ProductAttributes.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\ProductAttributes\:\:get_item_by_slug\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Response\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/ProductAttributes.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\ProductAttributes\:\:get_item_by_slug\(\) should return Automattic\\WooCommerce\\Admin\\API\\WP_REST_Response but returns WP_Error\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/ProductAttributes.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\ProductAttributes\:\:get_item_by_slug\(\) should return Automattic\\WooCommerce\\Admin\\API\\WP_REST_Response but returns array\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/ProductAttributes.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\ProductAttributes\:\:get_items\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Response\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/ProductAttributes.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\ProductAttributes\:\:get_items\(\) should return Automattic\\WooCommerce\\Admin\\API\\WP_REST_Response but returns WP_REST_Response\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/ProductAttributes.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\ProductAttributes\:\:get_items\(\) should return Automattic\\WooCommerce\\Admin\\API\\WP_REST_Response but returns array\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/ProductAttributes.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\ProductAttributes\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/ProductAttributes.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Product_Attributes_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 103 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Admin/API/ProductAttributes.php
+
+ -
+ message: '#^Parameter \#1 \$args of method Automattic\\WooCommerce\\Admin\\API\\ProductAttributes\:\:get_custom_attributes\(\) expects string, array\<string, mixed\> given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/ProductAttributes.php
+
+ -
+ message: '#^Parameter \#1 \$args of method Automattic\\WooCommerce\\Admin\\API\\ProductAttributes\:\:get_custom_attributes\(\) expects string, array\<string, string\> given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/ProductAttributes.php
+
+ -
+ message: '#^Parameter \#1 \$custom_attributes of method Automattic\\WooCommerce\\Admin\\API\\ProductAttributes\:\:format_custom_attribute_items_for_response\(\) expects array, object given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/ProductAttributes.php
+
+ -
+ message: '#^Parameter \#1 \$haystack of function stripos expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/ProductAttributes.php
+
+ -
+ message: '#^Parameter \#1 \$request of method WC_REST_Product_Attributes_V1_Controller\:\:get_items\(\) expects WP_REST_Request, Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/ProductAttributes.php
+
+ -
+ message: '#^Parameter \#2 \$request of method WC_REST_Product_Attributes_V1_Controller\:\:prepare_item_for_response\(\) expects WP_REST_Request, Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/ProductAttributes.php
+
+ -
+ message: '#^Parameter \#2 \$value of method WP_HTTP_Response\:\:header\(\) expects string, int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/ProductAttributes.php
+
+ -
+ message: '#^Parameter \#2 \$value of method WP_HTTP_Response\:\:header\(\) expects string, int\<0, max\> given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/ProductAttributes.php
+
+ -
+ message: '#^Parameter \$request of method Automattic\\WooCommerce\\Admin\\API\\ProductAttributes\:\:get_item_by_slug\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/ProductAttributes.php
+
+ -
+ message: '#^Parameter \$request of method Automattic\\WooCommerce\\Admin\\API\\ProductAttributes\:\:get_items\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/ProductAttributes.php
+
+ -
+ message: '#^Return type \(Automattic\\WooCommerce\\Admin\\API\\WP_REST_Response\) of method Automattic\\WooCommerce\\Admin\\API\\ProductAttributes\:\:get_items\(\) should be compatible with return type \(array\) of method WC_REST_Product_Attributes_V1_Controller\:\:get_items\(\)$#'
+ identifier: method.childReturnType
+ count: 1
+ path: src/Admin/API/ProductAttributes.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Product_Categories_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 103 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Admin/API/ProductCategories.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\ProductForm\:\:get_fields\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/ProductForm.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\ProductForm\:\:get_fields\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Response\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/ProductForm.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\ProductForm\:\:get_fields\(\) should return Automattic\\WooCommerce\\Admin\\API\\WP_Error\|Automattic\\WooCommerce\\Admin\\API\\WP_REST_Response but returns WP_REST_Response\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/ProductForm.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\ProductForm\:\:get_form_config\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/ProductForm.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\ProductForm\:\:get_form_config\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Response\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/ProductForm.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\ProductForm\:\:get_form_config\(\) should return Automattic\\WooCommerce\\Admin\\API\\WP_Error\|Automattic\\WooCommerce\\Admin\\API\\WP_REST_Response but returns WP_REST_Response\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/ProductForm.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\ProductForm\:\:get_product_form_permission_check\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/ProductForm.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\ProductForm\:\:get_product_form_permission_check\(\) should return Automattic\\WooCommerce\\Admin\\API\\WP_Error\|bool but returns WP_Error\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/ProductForm.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\ProductForm\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/ProductForm.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Data_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 82 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Admin/API/ProductForm.php
+
+ -
+ message: '#^Parameter \$request of method Automattic\\WooCommerce\\Admin\\API\\ProductForm\:\:get_fields\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/ProductForm.php
+
+ -
+ message: '#^Parameter \$request of method Automattic\\WooCommerce\\Admin\\API\\ProductForm\:\:get_form_config\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/ProductForm.php
+
+ -
+ message: '#^Parameter \$request of method Automattic\\WooCommerce\\Admin\\API\\ProductForm\:\:get_product_form_permission_check\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/ProductForm.php
+
+ -
+ message: '#^Access to property \$comment_ID on an unknown class Automattic\\WooCommerce\\Admin\\API\\WP_Comment\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/ProductReviews.php
+
+ -
+ message: '#^Access to property \$comment_post_ID on an unknown class Automattic\\WooCommerce\\Admin\\API\\WP_Comment\.$#'
+ identifier: class.notFound
+ count: 2
+ path: src/Admin/API/ProductReviews.php
+
+ -
+ message: '#^Access to property \$user_id on an unknown class Automattic\\WooCommerce\\Admin\\API\\WP_Comment\.$#'
+ identifier: class.notFound
+ count: 2
+ path: src/Admin/API/ProductReviews.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Product_Reviews_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 97 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Admin/API/ProductReviews.php
+
+ -
+ message: '#^Parameter \$review of method Automattic\\WooCommerce\\Admin\\API\\ProductReviews\:\:prepare_links\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\WP_Comment\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/ProductReviews.php
+
+ -
+ message: '#^Access to offset ''context'' on an unknown class Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 2
+ path: src/Admin/API/ProductVariations.php
+
+ -
+ message: '#^Access to offset ''search'' on an unknown class Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 2
+ path: src/Admin/API/ProductVariations.php
+
+ -
+ message: '#^Call to an undefined method object\:\:get\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: src/Admin/API/ProductVariations.php
+
+ -
+ message: '#^Call to method get_name\(\) on an unknown class Automattic\\WooCommerce\\Admin\\API\\WC_Data\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/ProductVariations.php
+
+ -
+ message: '#^Call to method get_parent_id\(\) on an unknown class Automattic\\WooCommerce\\Admin\\API\\WC_Data\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/ProductVariations.php
+
+ -
+ message: '#^Call to method get_route\(\) on an unknown class Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/ProductVariations.php
+
+ -
+ message: '#^Call to method get_type\(\) on an unknown class Automattic\\WooCommerce\\Admin\\API\\WC_Data\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/ProductVariations.php
+
+ -
+ message: '#^Cannot access offset ''name'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Admin/API/ProductVariations.php
+
+ -
+ message: '#^Cannot access offset ''parent_id'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Admin/API/ProductVariations.php
+
+ -
+ message: '#^Cannot access offset ''type'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Admin/API/ProductVariations.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\ProductVariations\:\:get_items\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/ProductVariations.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\ProductVariations\:\:get_items\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Response\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/ProductVariations.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\ProductVariations\:\:get_items\(\) should return Automattic\\WooCommerce\\Admin\\API\\WP_Error\|Automattic\\WooCommerce\\Admin\\API\\WP_REST_Response but returns WP_Error\|WP_REST_Response\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/ProductVariations.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\ProductVariations\:\:prepare_object_for_response\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Response\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/ProductVariations.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\ProductVariations\:\:prepare_object_for_response\(\) should return Automattic\\WooCommerce\\Admin\\API\\WP_REST_Response but returns WP_REST_Response\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/ProductVariations.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\ProductVariations\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/ProductVariations.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Product_Variations_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 103 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Admin/API/ProductVariations.php
+
+ -
+ message: '#^Parameter \#1 \$object of method WC_REST_Product_Variations_Controller\:\:prepare_object_for_response\(\) expects WC_Data, Automattic\\WooCommerce\\Admin\\API\\WC_Data given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/ProductVariations.php
+
+ -
+ message: '#^Parameter \#1 \$request of method WC_REST_CRUD_Controller\:\:get_items\(\) expects WP_REST_Request, Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/ProductVariations.php
+
+ -
+ message: '#^Parameter \#1 \$request of method WC_REST_Product_Variations_Controller\:\:prepare_objects_query\(\) expects WP_REST_Request, Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/ProductVariations.php
+
+ -
+ message: '#^Parameter \#2 \$request of method WC_REST_Product_Variations_Controller\:\:prepare_object_for_response\(\) expects WP_REST_Request, Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/ProductVariations.php
+
+ -
+ message: '#^Parameter \$object of method Automattic\\WooCommerce\\Admin\\API\\ProductVariations\:\:prepare_object_for_response\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\WC_Data\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/ProductVariations.php
+
+ -
+ message: '#^Parameter \$request of method Automattic\\WooCommerce\\Admin\\API\\ProductVariations\:\:get_items\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/ProductVariations.php
+
+ -
+ message: '#^Parameter \$request of method Automattic\\WooCommerce\\Admin\\API\\ProductVariations\:\:prepare_object_for_response\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/ProductVariations.php
+
+ -
+ message: '#^Parameter \$request of method Automattic\\WooCommerce\\Admin\\API\\ProductVariations\:\:prepare_objects_query\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/ProductVariations.php
+
+ -
+ message: '#^Access to offset ''low_in_stock'' on an unknown class Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 2
+ path: src/Admin/API/Products.php
+
+ -
+ message: '#^Access to offset ''search'' on an unknown class Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 2
+ path: src/Admin/API/Products.php
+
+ -
+ message: '#^Access to property \$ID on an unknown class Automattic\\WooCommerce\\Admin\\API\\stdClass\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Products.php
+
+ -
+ message: '#^Access to property \$last_order_date on an unknown class Automattic\\WooCommerce\\Admin\\API\\stdClass\.$#'
+ identifier: class.notFound
+ count: 2
+ path: src/Admin/API/Products.php
+
+ -
+ message: '#^Call to an undefined method WP_Error\|WP_REST_Response\:\:header\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Admin/API/Products.php
+
+ -
+ message: '#^Call to an undefined method object\:\:get\(\)\.$#'
+ identifier: method.notFound
+ count: 7
+ path: src/Admin/API/Products.php
+
+ -
+ message: '#^Call to method get_data\(\) on an unknown class Automattic\\WooCommerce\\Admin\\API\\WC_Data\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Products.php
+
+ -
+ message: '#^Call to method get_param\(\) on an unknown class Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Products.php
+
+ -
+ message: '#^Cannot access offset ''last_order_date'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Admin/API/Products.php
+
+ -
+ message: '#^Cannot access offset ''low_stock_amount'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Admin/API/Products.php
+
+ -
+ message: '#^Cannot access offset ''name'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Admin/API/Products.php
+
+ -
+ message: '#^Cannot call method get_param\(\) on string\.$#'
+ identifier: method.nonObject
+ count: 5
+ path: src/Admin/API/Products.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Products\:\:get_items\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Products.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Products\:\:get_items\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Response\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Products.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Products\:\:get_items\(\) should return Automattic\\WooCommerce\\Admin\\API\\WP_Error\|Automattic\\WooCommerce\\Admin\\API\\WP_REST_Response but returns WP_Error\|WP_REST_Response\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/Products.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Products\:\:get_object\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\WC_Data\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Products.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Products\:\:get_object\(\) should return Automattic\\WooCommerce\\Admin\\API\\WC_Data but returns WC_Data\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/Products.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Products\:\:prepare_object_for_response\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Response\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Products.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Products\:\:prepare_object_for_response\(\) should return Automattic\\WooCommerce\\Admin\\API\\WP_REST_Response but returns WP_REST_Response\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/Products.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Products_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 83 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Admin/API/Products.php
+
+ -
+ message: '#^Parameter \#1 \$id of method WC_REST_Products_V2_Controller\:\:get_object\(\) expects int, Automattic\\WooCommerce\\Admin\\API\\stdClass given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Products.php
+
+ -
+ message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Products.php
+
+ -
+ message: '#^Parameter \#1 \$object of method WC_REST_Products_V2_Controller\:\:prepare_object_for_response\(\) expects WC_Data, Automattic\\WooCommerce\\Admin\\API\\WC_Data given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Products.php
+
+ -
+ message: '#^Parameter \#1 \$object_data \(Automattic\\WooCommerce\\Admin\\API\\stdClass\) of method Automattic\\WooCommerce\\Admin\\API\\Products\:\:get_object\(\) should be compatible with parameter \$id \(int\) of method WC_REST_Products_V2_Controller\:\:get_object\(\)$#'
+ identifier: method.childParameterType
+ count: 1
+ path: src/Admin/API/Products.php
+
+ -
+ message: '#^Parameter \#1 \$request of method Automattic\\WooCommerce\\Admin\\API\\Products\:\:is_low_in_stock_request\(\) expects string, Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Products.php
+
+ -
+ message: '#^Parameter \#1 \$request of method WC_REST_CRUD_Controller\:\:get_items\(\) expects WP_REST_Request, Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Products.php
+
+ -
+ message: '#^Parameter \#1 \$request of method WC_REST_Products_Controller\:\:prepare_objects_query\(\) expects WP_REST_Request, Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Products.php
+
+ -
+ message: '#^Parameter \#1 \$text of function wp_strip_all_tags expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Products.php
+
+ -
+ message: '#^Parameter \#2 \$request of method WC_REST_Products_V2_Controller\:\:prepare_object_for_response\(\) expects WP_REST_Request, Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Products.php
+
+ -
+ message: '#^Parameter \$object of method Automattic\\WooCommerce\\Admin\\API\\Products\:\:prepare_object_for_response\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\WC_Data\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Products.php
+
+ -
+ message: '#^Parameter \$object_data of method Automattic\\WooCommerce\\Admin\\API\\Products\:\:get_object\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\stdClass\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Products.php
+
+ -
+ message: '#^Parameter \$request of method Automattic\\WooCommerce\\Admin\\API\\Products\:\:get_items\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Products.php
+
+ -
+ message: '#^Parameter \$request of method Automattic\\WooCommerce\\Admin\\API\\Products\:\:prepare_object_for_response\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Products.php
+
+ -
+ message: '#^Parameter \$request of method Automattic\\WooCommerce\\Admin\\API\\Products\:\:prepare_objects_query\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Products.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$ID\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/Admin/API/ProductsLowInStock.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$attributes\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/Admin/API/ProductsLowInStock.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$images\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/Admin/API/ProductsLowInStock.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$last_order_date\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/Admin/API/ProductsLowInStock.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$post_parent\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/Admin/API/ProductsLowInStock.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$post_title\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/Admin/API/ProductsLowInStock.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$post_type\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/Admin/API/ProductsLowInStock.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$stock_quantity\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/Admin/API/ProductsLowInStock.php
+
+ -
+ message: '#^Call to method get_param\(\) on an unknown class Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 4
+ path: src/Admin/API/ProductsLowInStock.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\ProductsLowInStock\:\:get_items\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\WP_ERROR\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/ProductsLowInStock.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\ProductsLowInStock\:\:get_items\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Response\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/ProductsLowInStock.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\ProductsLowInStock\:\:get_items\(\) should return Automattic\\WooCommerce\\Admin\\API\\WP_ERROR\|Automattic\\WooCommerce\\Admin\\API\\WP_REST_Response but returns WP_REST_Response\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/ProductsLowInStock.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\ProductsLowInStock\:\:get_low_in_stock_count\(\) never returns WP_Error so it can be removed from the return type\.$#'
+ identifier: return.unusedType
+ count: 1
+ path: src/Admin/API/ProductsLowInStock.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\ProductsLowInStock\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/ProductsLowInStock.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Products_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 93 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Admin/API/ProductsLowInStock.php
+
+ -
+ message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Admin/API/ProductsLowInStock.php
+
+ -
+ message: '#^Parameter \#1 \$product of method WC_REST_Products_Controller\:\:get_images\(\) expects WC_Product, WC_Product\|false\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/ProductsLowInStock.php
+
+ -
+ message: '#^Parameter \#1 \$product of method WC_REST_Products_V2_Controller\:\:get_attributes\(\) expects WC_Product, WC_Product\|false\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/ProductsLowInStock.php
+
+ -
+ message: '#^Parameter \#2 \$array of function array_map expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/ProductsLowInStock.php
+
+ -
+ message: '#^Parameter \#2 \$value of method WP_HTTP_Response\:\:header\(\) expects string, int given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Admin/API/ProductsLowInStock.php
+
+ -
+ message: '#^Parameter \$request of method Automattic\\WooCommerce\\Admin\\API\\ProductsLowInStock\:\:get_items\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/ProductsLowInStock.php
+
+ -
+ message: '#^Parameter \$request of method Automattic\\WooCommerce\\Admin\\API\\ProductsLowInStock\:\:get_low_in_stock_count\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/ProductsLowInStock.php
+
+ -
+ message: '#^Cannot access offset ''value'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Admin/API/Reports/Cache.php
+
+ -
+ message: '#^Cannot access offset ''version'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Admin/API/Reports/Cache.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Cache\:\:invalidate\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Reports/Cache.php
+
+ -
+ message: '#^@param Automattic\\WooCommerce\\Admin\\API\\Reports\\Categories\\WP_REST_Request \$request does not accept actual type of parameter\: WP_REST_Request\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: src/Admin/API/Reports/Categories/Controller.php
+
+ -
+ message: '#^@param Automattic\\WooCommerce\\Admin\\API\\Reports\\Categories\\WP_REST_Response \$response does not accept actual type of parameter\: WP_REST_Response\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: src/Admin/API/Reports/Categories/Controller.php
+
+ -
+ message: '#^@param object \$report does not accept actual type of parameter\: mixed\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: src/Admin/API/Reports/Categories/Controller.php
+
+ -
+ message: '#^Cannot access offset ''category_id'' on Automattic\\WooCommerce\\Admin\\API\\Reports\\GenericQuery\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Admin/API/Reports/Categories/Controller.php
+
+ -
+ message: '#^Cannot call method get_formatted_order_total\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Admin/API/Reports/Categories/Controller.php
+
+ -
+ message: '#^Cannot call method get_id\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Admin/API/Reports/Categories/Controller.php
+
+ -
+ message: '#^Cannot call method get_order_number\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Admin/API/Reports/Categories/Controller.php
+
+ -
+ message: '#^Cannot call method get_parent_id\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: src/Admin/API/Reports/Categories/Controller.php
+
+ -
+ message: '#^Cannot call method get_type\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: src/Admin/API/Reports/Categories/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Categories\\Controller\:\:get_order_number\(\) should return string\|null but returns int\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/Reports/Categories/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Categories\\Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Admin/API/Reports/Categories/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Categories\\Controller\:\:prepare_item_for_response\(\) should return WP_REST_Response but returns Automattic\\WooCommerce\\Admin\\API\\Reports\\Categories\\WP_REST_Response\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/Reports/Categories/Controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(\\Automattic\\WooCommerce\\Admin\\API\\Reports\\GenericController\)\: Unexpected token "\\n ", expected ''\<'' at offset 140 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Admin/API/Reports/Categories/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$input of function array_flip expects array\<int\|string\>, array\<mixed\> given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Reports/Categories/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$object of method Automattic\\WooCommerce\\Admin\\API\\Reports\\Categories\\Controller\:\:prepare_links\(\) expects Automattic\\WooCommerce\\Admin\\API\\Reports\\GenericQuery, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Reports/Categories/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$order of method Automattic\\WooCommerce\\Admin\\API\\Reports\\Categories\\Controller\:\:is_valid_order\(\) expects Automattic\\WooCommerce\\Admin\\API\\Reports\\WC_Order\|Automattic\\WooCommerce\\Admin\\API\\Reports\\WC_Order_Refund\|bool, bool\|WC_Order\|WC_Order_Refund given\.$#'
+ identifier: argument.type
+ count: 4
+ path: src/Admin/API/Reports/Categories/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$request \(array\) of method Automattic\\WooCommerce\\Admin\\API\\Reports\\Categories\\Controller\:\:prepare_reports_query\(\) should be compatible with parameter \$request \(WP_REST_Request\) of method Automattic\\WooCommerce\\Admin\\API\\Reports\\GenericController\:\:prepare_reports_query\(\)$#'
+ identifier: method.childParameterType
+ count: 1
+ path: src/Admin/API/Reports/Categories/Controller.php
+
+ -
+ message: '#^Parameter \$order of method Automattic\\WooCommerce\\Admin\\API\\Reports\\Categories\\Controller\:\:is_valid_order\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\Reports\\WC_Order\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Categories/Controller.php
+
+ -
+ message: '#^Parameter \$order of method Automattic\\WooCommerce\\Admin\\API\\Reports\\Categories\\Controller\:\:is_valid_order\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\Reports\\WC_Order_Refund\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Categories/Controller.php
+
+ -
+ message: '#^ArrayObject\<\*NEVER\*, \*NEVER\*\> does not accept string\|WP_Error\.$#'
+ identifier: offsetAssign.valueType
+ count: 1
+ path: src/Admin/API/Reports/Categories/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Categories\\DataStore\:\:add_order_by_params\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Reports/Categories/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Categories\\DataStore\:\:add_sql_query_params\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Reports/Categories/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Categories\\DataStore\:\:assign_report_columns\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Reports/Categories/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Categories\\DataStore\:\:get_noncached_data\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\Reports\\Categories\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Categories/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Categories\\DataStore\:\:get_noncached_data\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\Reports\\Categories\\stdClass\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Categories/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Categories\\DataStore\:\:get_noncached_data\(\) should return Automattic\\WooCommerce\\Admin\\API\\Reports\\Categories\\stdClass\|Automattic\\WooCommerce\\Admin\\API\\Reports\\Categories\\WP_Error but returns WP_Error\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/Reports/Categories/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Categories\\DataStore\:\:get_noncached_data\(\) should return Automattic\\WooCommerce\\Admin\\API\\Reports\\Categories\\stdClass\|Automattic\\WooCommerce\\Admin\\API\\Reports\\Categories\\WP_Error but returns object\{data\: array, total\: int, pages\: int, page_no\: int\}&stdClass\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/Reports/Categories/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Categories\\DataStore\:\:get_noncached_data\(\) should return Automattic\\WooCommerce\\Admin\\API\\Reports\\Categories\\stdClass\|Automattic\\WooCommerce\\Admin\\API\\Reports\\Categories\\WP_Error but returns object\{data\: array\<array\|Automattic\\WooCommerce\\Admin\\API\\Reports\\WP_Error\>, total\: int, pages\: int, page_no\: int\}&stdClass\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/Reports/Categories/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Categories\\DataStore\:\:include_extended_info\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Reports/Categories/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Categories\\DataStore\:\:initialize_queries\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Reports/Categories/DataStore.php
+
+ -
+ message: '#^Parameter \#2 \$id_field of method Automattic\\WooCommerce\\Admin\\API\\Reports\\DataStore\:\:get_ids_table\(\) expects array, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Reports/Categories/DataStore.php
+
+ -
+ message: '#^Part \$ids_table \(array\) of encapsed string cannot be cast to string\.$#'
+ identifier: encapsedStringPart.nonString
+ count: 1
+ path: src/Admin/API/Reports/Categories/DataStore.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Admin\\API\\Reports\\Categories\\DataStore\:\:\$order is never read, only written\.$#'
+ identifier: property.onlyWritten
+ count: 1
+ path: src/Admin/API/Reports/Categories/DataStore.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Admin\\API\\Reports\\Categories\\DataStore\:\:\$order_by is never read, only written\.$#'
+ identifier: property.onlyWritten
+ count: 1
+ path: src/Admin/API/Reports/Categories/DataStore.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_data\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Admin/API/Reports/Categories/Query.php
+
+ -
+ message: '#^@param Automattic\\WooCommerce\\Admin\\API\\Reports\\WP_REST_Response \$response does not accept actual type of parameter\: WP_REST_Response\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: src/Admin/API/Reports/Controller.php
+
+ -
+ message: '#^Access to property \$description on an unknown class Automattic\\WooCommerce\\Admin\\API\\Reports\\stdClass\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Controller.php
+
+ -
+ message: '#^Access to property \$path on an unknown class Automattic\\WooCommerce\\Admin\\API\\Reports\\stdClass\.$#'
+ identifier: class.notFound
+ count: 2
+ path: src/Admin/API/Reports/Controller.php
+
+ -
+ message: '#^Access to property \$slug on an unknown class Automattic\\WooCommerce\\Admin\\API\\Reports\\stdClass\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Controller.php
+
+ -
+ message: '#^Access to property \$url on an unknown class Automattic\\WooCommerce\\Admin\\API\\Reports\\stdClass\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Controller.php
+
+ -
+ message: '#^Cannot call method get_formatted_order_total\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Admin/API/Reports/Controller.php
+
+ -
+ message: '#^Cannot call method get_id\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Admin/API/Reports/Controller.php
+
+ -
+ message: '#^Cannot call method get_order_number\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Admin/API/Reports/Controller.php
+
+ -
+ message: '#^Cannot call method get_parent_id\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: src/Admin/API/Reports/Controller.php
+
+ -
+ message: '#^Cannot call method get_type\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: src/Admin/API/Reports/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Controller\:\:get_items\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\Reports\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Controller\:\:get_items\(\) should return array\|Automattic\\WooCommerce\\Admin\\API\\Reports\\WP_Error but returns WP_REST_Response\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/Reports/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Controller\:\:get_order_number\(\) should return string\|null but returns int\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/Reports/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Controller\:\:prepare_item_for_response\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\Reports\\WP_REST_Response\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(GenericController\)\: Unexpected token "\\n ", expected ''\<'' at offset 169 on line 7$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Admin/API/Reports/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$input of function array_flip expects array\<int\|string\>, array\<mixed\> given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Reports/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$order of method Automattic\\WooCommerce\\Admin\\API\\Reports\\Controller\:\:is_valid_order\(\) expects Automattic\\WooCommerce\\Admin\\API\\Reports\\WC_Order\|Automattic\\WooCommerce\\Admin\\API\\Reports\\WC_Order_Refund\|bool, bool\|WC_Order\|WC_Order_Refund given\.$#'
+ identifier: argument.type
+ count: 4
+ path: src/Admin/API/Reports/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$report of method Automattic\\WooCommerce\\Admin\\API\\Reports\\Controller\:\:prepare_item_for_response\(\) expects Automattic\\WooCommerce\\Admin\\API\\Reports\\stdClass, stdClass given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Reports/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$response of method WP_REST_Controller\:\:prepare_response_for_collection\(\) expects WP_REST_Response, Automattic\\WooCommerce\\Admin\\API\\Reports\\WP_REST_Response given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Reports/Controller.php
+
+ -
+ message: '#^Parameter \#2 \$request of method Automattic\\WooCommerce\\Admin\\API\\Reports\\GenericController\:\:prepare_item_for_response\(\) expects WP_REST_Request, Automattic\\WooCommerce\\Admin\\API\\Reports\\WP_REST_Request given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Reports/Controller.php
+
+ -
+ message: '#^Parameter \$order of method Automattic\\WooCommerce\\Admin\\API\\Reports\\Controller\:\:is_valid_order\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\Reports\\WC_Order\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Controller.php
+
+ -
+ message: '#^Parameter \$order of method Automattic\\WooCommerce\\Admin\\API\\Reports\\Controller\:\:is_valid_order\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\Reports\\WC_Order_Refund\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Controller.php
+
+ -
+ message: '#^Parameter \$report of method Automattic\\WooCommerce\\Admin\\API\\Reports\\Controller\:\:prepare_item_for_response\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\Reports\\stdClass\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Controller.php
+
+ -
+ message: '#^Parameter \$request of method Automattic\\WooCommerce\\Admin\\API\\Reports\\Controller\:\:get_items\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\Reports\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Controller.php
+
+ -
+ message: '#^Parameter \$request of method Automattic\\WooCommerce\\Admin\\API\\Reports\\Controller\:\:prepare_item_for_response\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\Reports\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Controller.php
+
+ -
+ message: '#^@param object \$report does not accept actual type of parameter\: array\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: src/Admin/API/Reports/Coupons/Controller.php
+
+ -
+ message: '#^Access to offset ''coupon_id'' on an unknown class Automattic\\WooCommerce\\Admin\\API\\Reports\\Coupons\\WC_Reports_Query\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Coupons/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Coupons\\Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Admin/API/Reports/Coupons/Controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(GenericController\)\: Unexpected token "\\n ", expected ''\<'' at offset 95 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Admin/API/Reports/Coupons/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$object of method Automattic\\WooCommerce\\Admin\\API\\Reports\\Coupons\\Controller\:\:prepare_links\(\) expects Automattic\\WooCommerce\\Admin\\API\\Reports\\Coupons\\WC_Reports_Query, array given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Reports/Coupons/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$request \(array\) of method Automattic\\WooCommerce\\Admin\\API\\Reports\\Coupons\\Controller\:\:prepare_reports_query\(\) should be compatible with parameter \$request \(WP_REST_Request\) of method Automattic\\WooCommerce\\Admin\\API\\Reports\\GenericController\:\:prepare_reports_query\(\)$#'
+ identifier: method.childParameterType
+ count: 1
+ path: src/Admin/API/Reports/Coupons/Controller.php
+
+ -
+ message: '#^Parameter \$object of method Automattic\\WooCommerce\\Admin\\API\\Reports\\Coupons\\Controller\:\:prepare_links\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\Reports\\Coupons\\WC_Reports_Query\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Coupons/Controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_discount\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Admin/API/Reports/Coupons/DataStore.php
+
+ -
+ message: '#^Cannot access offset ''id'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Admin/API/Reports/Coupons/DataStore.php
+
+ -
+ message: '#^Cannot access offset 0 on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Admin/API/Reports/Coupons/DataStore.php
+
+ -
+ message: '#^Cannot call method date\(\) on WC_DateTime\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Admin/API/Reports/Coupons/DataStore.php
+
+ -
+ message: '#^Cannot call method get_date_created\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Admin/API/Reports/Coupons/DataStore.php
+
+ -
+ message: '#^Cannot call method get_items\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Admin/API/Reports/Coupons/DataStore.php
+
+ -
+ message: '#^Cannot call method get_type\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Admin/API/Reports/Coupons/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Coupons\\DataStore\:\:add_order_by_params\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Reports/Coupons/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Coupons\\DataStore\:\:add_sql_query_params\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Reports/Coupons/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Coupons\\DataStore\:\:assign_report_columns\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Reports/Coupons/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Coupons\\DataStore\:\:get_coupon_id\(\) should return int but returns mixed\.$#'
+ identifier: return.type
+ count: 2
+ path: src/Admin/API/Reports/Coupons/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Coupons\\DataStore\:\:get_noncached_data\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\Reports\\Coupons\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Coupons/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Coupons\\DataStore\:\:get_noncached_data\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\Reports\\Coupons\\stdClass\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Coupons/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Coupons\\DataStore\:\:get_noncached_data\(\) should return Automattic\\WooCommerce\\Admin\\API\\Reports\\Coupons\\stdClass\|Automattic\\WooCommerce\\Admin\\API\\Reports\\Coupons\\WP_Error but returns object\{data\: array, total\: int, pages\: int, page_no\: int\}&stdClass\.$#'
+ identifier: return.type
+ count: 2
+ path: src/Admin/API/Reports/Coupons/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Coupons\\DataStore\:\:get_noncached_data\(\) should return Automattic\\WooCommerce\\Admin\\API\\Reports\\Coupons\\stdClass\|Automattic\\WooCommerce\\Admin\\API\\Reports\\Coupons\\WP_Error but returns object\{data\: array\<array\|Automattic\\WooCommerce\\Admin\\API\\Reports\\WP_Error\>, total\: int, pages\: int, page_no\: int\}&stdClass\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/Reports/Coupons/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Coupons\\DataStore\:\:include_extended_info\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Reports/Coupons/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Coupons\\DataStore\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Reports/Coupons/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Coupons\\DataStore\:\:initialize_queries\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Reports/Coupons/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Coupons\\DataStore\:\:sync_on_order_delete\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Reports/Coupons/DataStore.php
+
+ -
+ message: '#^Parameter \#1 \$coupon_item of static method Automattic\\WooCommerce\\Admin\\API\\Reports\\Coupons\\DataStore\:\:get_coupon_id\(\) expects WC_Order_Item_Coupon, WC_Order_Item given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Reports/Coupons/DataStore.php
+
+ -
+ message: '#^Parameter \#1 \$json of function json_decode expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Reports/Coupons/DataStore.php
+
+ -
+ message: '#^Parameter \#1 \$object_or_string of function is_a expects object, WC_DateTime\|null given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Admin/API/Reports/Coupons/DataStore.php
+
+ -
+ message: '#^Parameter \#2 \$id_field of method Automattic\\WooCommerce\\Admin\\API\\Reports\\DataStore\:\:get_ids_table\(\) expects array, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Reports/Coupons/DataStore.php
+
+ -
+ message: '#^Part \$ids_table \(array\) of encapsed string cannot be cast to string\.$#'
+ identifier: encapsedStringPart.nonString
+ count: 1
+ path: src/Admin/API/Reports/Coupons/DataStore.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_data\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Admin/API/Reports/Coupons/Query.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Coupons\\Stats\\Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Admin/API/Reports/Coupons/Stats/Controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(GenericStatsController\)\: Unexpected token "\\n ", expected ''\<'' at offset 106 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Admin/API/Reports/Coupons/Stats/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$request \(array\) of method Automattic\\WooCommerce\\Admin\\API\\Reports\\Coupons\\Stats\\Controller\:\:prepare_reports_query\(\) should be compatible with parameter \$request \(WP_REST_Request\) of method Automattic\\WooCommerce\\Admin\\API\\Reports\\GenericController\:\:prepare_reports_query\(\)$#'
+ identifier: method.childParameterType
+ count: 1
+ path: src/Admin/API/Reports/Coupons/Stats/Controller.php
+
+ -
+ message: '#^$#'
+ identifier: class.notFound
+ count: 4
+ path: src/Admin/API/Reports/Coupons/Stats/DataStore.php
+
+ -
+ message: '#^Access to property \$intervals on an unknown class Automattic\\WooCommerce\\Admin\\API\\Reports\\Coupons\\Stats\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 3
+ path: src/Admin/API/Reports/Coupons/Stats/DataStore.php
+
+ -
+ message: '#^Access to property \$intervals on an unknown class Automattic\\WooCommerce\\Admin\\API\\Reports\\Coupons\\Stats\\stdClass\.$#'
+ identifier: class.notFound
+ count: 7
+ path: src/Admin/API/Reports/Coupons/Stats/DataStore.php
+
+ -
+ message: '#^Access to property \$totals on an unknown class Automattic\\WooCommerce\\Admin\\API\\Reports\\Coupons\\Stats\\stdClass\.$#'
+ identifier: class.notFound
+ count: 2
+ path: src/Admin/API/Reports/Coupons/Stats/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Coupons\\Stats\\DataStore\:\:assign_report_columns\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Reports/Coupons/Stats/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Coupons\\Stats\\DataStore\:\:get_noncached_data\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\Reports\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Coupons/Stats/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Coupons\\Stats\\DataStore\:\:get_noncached_data\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\Reports\\stdClass\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Coupons/Stats/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Coupons\\Stats\\DataStore\:\:get_noncached_data\(\) should return Automattic\\WooCommerce\\Admin\\API\\Reports\\stdClass\|Automattic\\WooCommerce\\Admin\\API\\Reports\\WP_Error but returns Automattic\\WooCommerce\\Admin\\API\\Reports\\Coupons\\Stats\\stdClass\|Automattic\\WooCommerce\\Admin\\API\\Reports\\Coupons\\Stats\\WP_Error\|\(object\{totals\: null, intervals\: array, total\: int, pages\: int, page_no\: int\}&stdClass\)\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/Reports/Coupons/Stats/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Coupons\\Stats\\DataStore\:\:get_noncached_stats_data\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\Reports\\Coupons\\Stats\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Coupons/Stats/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Coupons\\Stats\\DataStore\:\:get_noncached_stats_data\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\Reports\\Coupons\\Stats\\stdClass\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Coupons/Stats/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Coupons\\Stats\\DataStore\:\:get_noncached_stats_data\(\) should return Automattic\\WooCommerce\\Admin\\API\\Reports\\Coupons\\Stats\\stdClass\|Automattic\\WooCommerce\\Admin\\API\\Reports\\Coupons\\Stats\\WP_Error but returns Automattic\\WooCommerce\\Admin\\API\\Reports\\stdClass\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/Reports/Coupons/Stats/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Coupons\\Stats\\DataStore\:\:initialize_queries\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Reports/Coupons/Stats/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Coupons\\Stats\\DataStore\:\:update_sql_query_params\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Reports/Coupons/Stats/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Coupons\\Stats\\DataStore\:\:update_sql_query_params\(\) invoked with 3 parameters, 1 required\.$#'
+ identifier: arguments.count
+ count: 1
+ path: src/Admin/API/Reports/Coupons/Stats/DataStore.php
+
+ -
+ message: '#^Parameter \#1 \$data of method Automattic\\WooCommerce\\Admin\\API\\Reports\\Segmenter\:\:add_intervals_segments\(\) expects Automattic\\WooCommerce\\Admin\\API\\Reports\\stdClass, Automattic\\WooCommerce\\Admin\\API\\Reports\\Coupons\\Stats\\stdClass\|Automattic\\WooCommerce\\Admin\\API\\Reports\\stdClass given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Reports/Coupons/Stats/DataStore.php
+
+ -
+ message: '#^Parameter \#3 \$data of method Automattic\\WooCommerce\\Admin\\API\\Reports\\Coupons\\Stats\\DataStore\:\:get_noncached_stats_data\(\) expects Automattic\\WooCommerce\\Admin\\API\\Reports\\Coupons\\Stats\\stdClass, object\{totals\: null, intervals\: array, total\: int, pages\: int, page_no\: int\}&stdClass given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Reports/Coupons/Stats/DataStore.php
+
+ -
+ message: '#^Parameter \#5 \$data of method Automattic\\WooCommerce\\Admin\\API\\Reports\\DataStore\:\:fill_in_missing_intervals\(\) expects Automattic\\WooCommerce\\Admin\\API\\Reports\\stdClass, Automattic\\WooCommerce\\Admin\\API\\Reports\\Coupons\\Stats\\stdClass given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Reports/Coupons/Stats/DataStore.php
+
+ -
+ message: '#^Parameter \$data of method Automattic\\WooCommerce\\Admin\\API\\Reports\\Coupons\\Stats\\DataStore\:\:get_noncached_stats_data\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\Reports\\Coupons\\Stats\\stdClass\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Coupons/Stats/DataStore.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_data\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Admin/API/Reports/Coupons/Stats/Query.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Coupons\\Stats\\Segmenter\:\:get_segments\(\) should return array but returns array\|null\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/Reports/Coupons/Stats/Segmenter.php
+
+ -
+ message: '#^Part \$this\-\>query_args\[''product_includes''\]\[0\] \(mixed\) of encapsed string cannot be cast to string\.$#'
+ identifier: encapsedStringPart.nonString
+ count: 1
+ path: src/Admin/API/Reports/Coupons/Stats/Segmenter.php
+
+ -
+ message: '#^@param Automattic\\WooCommerce\\Admin\\API\\Reports\\Customers\\WP_REST_Request \$request does not accept actual type of parameter\: WP_REST_Request\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: src/Admin/API/Reports/Customers/Controller.php
+
+ -
+ message: '#^@param Automattic\\WooCommerce\\Admin\\API\\Reports\\Customers\\WP_REST_Response \$response does not accept actual type of parameter\: WP_REST_Response\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: src/Admin/API/Reports/Customers/Controller.php
+
+ -
+ message: '#^@param object \$export_item does not accept actual type of parameter\: array\{name\: mixed, username\: mixed, last_active\: mixed, registered\: mixed, email\: mixed, orders_count\: mixed, total_spend\: string, avg_order_value\: string, \.\.\.\}\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: src/Admin/API/Reports/Customers/Controller.php
+
+ -
+ message: '#^@param object \$item does not accept actual type of parameter\: array\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: src/Admin/API/Reports/Customers/Controller.php
+
+ -
+ message: '#^@param object \$report does not accept actual type of parameter\: array\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: src/Admin/API/Reports/Customers/Controller.php
+
+ -
+ message: '#^Call to method get_param\(\) on an unknown class Automattic\\WooCommerce\\Admin\\API\\Reports\\Customers\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Customers/Controller.php
+
+ -
+ message: '#^Cannot access property \$data on mixed\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: src/Admin/API/Reports/Customers/Controller.php
+
+ -
+ message: '#^Cannot access property \$pages on mixed\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: src/Admin/API/Reports/Customers/Controller.php
+
+ -
+ message: '#^Cannot access property \$total on mixed\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: src/Admin/API/Reports/Customers/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Customers\\Controller\:\:get_item\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\Reports\\Customers\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Customers/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Customers\\Controller\:\:get_item\(\) should return array\|Automattic\\WooCommerce\\Admin\\API\\Reports\\Customers\\WP_Error but returns WP_REST_Response\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/Reports/Customers/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Customers\\Controller\:\:prepare_item_for_export\(\) should return array but returns object\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/Reports/Customers/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Customers\\Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Admin/API/Reports/Customers/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Customers\\Controller\:\:prepare_item_for_response\(\) should return WP_REST_Response but returns Automattic\\WooCommerce\\Admin\\API\\Reports\\Customers\\WP_REST_Response\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/Reports/Customers/Controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(GenericController\)\: Unexpected token "\\n ", expected ''\<'' at offset 97 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Admin/API/Reports/Customers/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$number of function number_format expects float, float\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Reports/Customers/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$request \(array\) of method Automattic\\WooCommerce\\Admin\\API\\Reports\\Customers\\Controller\:\:prepare_reports_query\(\) should be compatible with parameter \$request \(WP_REST_Request\) of method Automattic\\WooCommerce\\Admin\\API\\Reports\\GenericController\:\:prepare_reports_query\(\)$#'
+ identifier: method.childParameterType
+ count: 1
+ path: src/Admin/API/Reports/Customers/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$request of method Automattic\\WooCommerce\\Admin\\API\\Reports\\Customers\\Controller\:\:prepare_reports_query\(\) expects array, Automattic\\WooCommerce\\Admin\\API\\Reports\\Customers\\WP_REST_Request given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Reports/Customers/Controller.php
+
+ -
+ message: '#^Parameter \#2 \$request of method Automattic\\WooCommerce\\Admin\\API\\Reports\\Customers\\Controller\:\:prepare_item_for_response\(\) expects WP_REST_Request, Automattic\\WooCommerce\\Admin\\API\\Reports\\Customers\\WP_REST_Request given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Reports/Customers/Controller.php
+
+ -
+ message: '#^Parameter \#2 \$value of method WP_HTTP_Response\:\:header\(\) expects string, int given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Admin/API/Reports/Customers/Controller.php
+
+ -
+ message: '#^Parameter \$request of method Automattic\\WooCommerce\\Admin\\API\\Reports\\Customers\\Controller\:\:get_item\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\Reports\\Customers\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Customers/Controller.php
+
+ -
+ message: '#^@param int \$customer_id does not accept actual type of parameter\: int\|false\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: src/Admin/API/Reports/Customers/DataStore.php
+
+ -
+ message: '#^@param int \$customer_id does not accept actual type of parameter\: int\|true\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: src/Admin/API/Reports/Customers/DataStore.php
+
+ -
+ message: '#^Action callback returns bool\|int\|null but should not return anything\.$#'
+ identifier: return.void
+ count: 3
+ path: src/Admin/API/Reports/Customers/DataStore.php
+
+ -
+ message: '#^Call to an undefined method object\:\:get_billing_city\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Admin/API/Reports/Customers/DataStore.php
+
+ -
+ message: '#^Call to an undefined method object\:\:get_billing_country\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Admin/API/Reports/Customers/DataStore.php
+
+ -
+ message: '#^Call to an undefined method object\:\:get_billing_email\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Admin/API/Reports/Customers/DataStore.php
+
+ -
+ message: '#^Call to an undefined method object\:\:get_billing_postcode\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Admin/API/Reports/Customers/DataStore.php
+
+ -
+ message: '#^Call to an undefined method object\:\:get_billing_state\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Admin/API/Reports/Customers/DataStore.php
+
+ -
+ message: '#^Call to an undefined method object\:\:get_customer_first_name\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Admin/API/Reports/Customers/DataStore.php
+
+ -
+ message: '#^Call to an undefined method object\:\:get_customer_last_name\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Admin/API/Reports/Customers/DataStore.php
+
+ -
+ message: '#^Call to an undefined method object\:\:get_date_created\(\)\.$#'
+ identifier: method.notFound
+ count: 3
+ path: src/Admin/API/Reports/Customers/DataStore.php
+
+ -
+ message: '#^Call to an undefined method object\:\:get_email\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Admin/API/Reports/Customers/DataStore.php
+
+ -
+ message: '#^Call to an undefined method object\:\:get_id\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Admin/API/Reports/Customers/DataStore.php
+
+ -
+ message: '#^Call to an undefined method object\:\:get_user_id\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: src/Admin/API/Reports/Customers/DataStore.php
+
+ -
+ message: '#^Call to an undefined method object\:\:get_username\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Admin/API/Reports/Customers/DataStore.php
+
+ -
+ message: '#^Cannot call method get_id\(\) on Automattic\\WooCommerce\\Admin\\API\\Reports\\Customers\\WC_Order\|bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Admin/API/Reports/Customers/DataStore.php
+
+ -
+ message: '#^Cannot call method get_id\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Admin/API/Reports/Customers/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Customers\\DataStore\:\:add_sql_query_params\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Reports/Customers/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Customers\\DataStore\:\:add_time_period_sql_params\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Reports/Customers/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Customers\\DataStore\:\:assign_report_columns\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Reports/Customers/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Customers\\DataStore\:\:delete_customer\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Reports/Customers/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Customers\\DataStore\:\:delete_customer_by_user_id\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Reports/Customers/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Customers\\DataStore\:\:get_guest_id_by_email\(\) should return array\|false but returns int\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/Reports/Customers/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Customers\\DataStore\:\:get_last_order\(\) should return object but returns bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/Reports/Customers/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Customers\\DataStore\:\:get_last_order\(\) should return object but returns false\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/Reports/Customers/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Customers\\DataStore\:\:get_noncached_data\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\Reports\\Customers\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Customers/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Customers\\DataStore\:\:get_noncached_data\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\Reports\\Customers\\stdClass\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Customers/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Customers\\DataStore\:\:get_noncached_data\(\) should return Automattic\\WooCommerce\\Admin\\API\\Reports\\Customers\\stdClass\|Automattic\\WooCommerce\\Admin\\API\\Reports\\Customers\\WP_Error but returns object\{data\: array, total\: int, pages\: int, page_no\: int\}&stdClass\.$#'
+ identifier: return.type
+ count: 2
+ path: src/Admin/API/Reports/Customers/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Customers\\DataStore\:\:get_noncached_data\(\) should return Automattic\\WooCommerce\\Admin\\API\\Reports\\Customers\\stdClass\|Automattic\\WooCommerce\\Admin\\API\\Reports\\Customers\\WP_Error but returns object\{data\: array\<array\|Automattic\\WooCommerce\\Admin\\API\\Reports\\WP_Error\>, total\: int, pages\: int, page_no\: int\}&stdClass\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/Reports/Customers/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Customers\\DataStore\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Reports/Customers/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Customers\\DataStore\:\:initialize_queries\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Reports/Customers/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Customers\\DataStore\:\:sync_on_order_delete\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Reports/Customers/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Customers\\DataStore\:\:sync_order_customer\(\) should return \-1\|true but returns bool\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/Reports/Customers/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Customers\\DataStore\:\:update_registered_customer_via_last_active\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Reports/Customers/DataStore.php
+
+ -
+ message: '#^One or more @param tags has an invalid name or invalid syntax\.$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Admin/API/Reports/Customers/DataStore.php
+
+ -
+ message: '#^PHPDoc tag @param has invalid value \(array List of customer roles\.\)\: Unexpected token "List", expected variable at offset 100 on line 4$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Admin/API/Reports/Customers/DataStore.php
+
+ -
+ message: '#^Parameter \#1 \$customer_id of static method Automattic\\WooCommerce\\Admin\\API\\Reports\\Customers\\DataStore\:\:get_last_order\(\) expects int, int\|true given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Reports/Customers/DataStore.php
+
+ -
+ message: '#^Parameter \#1 \$order of static method Automattic\\WooCommerce\\Admin\\API\\Reports\\Customers\\DataStore\:\:get_customer_order_data_and_format\(\) expects object, bool\|WC_Order\|WC_Order_Refund given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Reports/Customers/DataStore.php
+
+ -
+ message: '#^Parameter \#1 \$order of static method Automattic\\WooCommerce\\Admin\\API\\Reports\\Customers\\DataStore\:\:get_existing_customer_id_from_order\(\) expects object, bool\|WC_Order\|WC_Order_Refund given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Reports/Customers/DataStore.php
+
+ -
+ message: '#^Parameter \#2 \$timestamp of function gmdate expects int, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Reports/Customers/DataStore.php
+
+ -
+ message: '#^Parameter \$order of method Automattic\\WooCommerce\\Admin\\API\\Reports\\Customers\\DataStore\:\:anonymize_customer\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\Reports\\Customers\\WC_Order\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Customers/DataStore.php
+
+ -
+ message: '#^@param Automattic\\WooCommerce\\Admin\\API\\Reports\\Customers\\Stats\\WP_REST_Request \$request does not accept actual type of parameter\: WP_REST_Request\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: src/Admin/API/Reports/Customers/Stats/Controller.php
+
+ -
+ message: '#^@param Automattic\\WooCommerce\\Admin\\API\\Reports\\Customers\\Stats\\WP_REST_Response \$response does not accept actual type of parameter\: WP_REST_Response\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: src/Admin/API/Reports/Customers/Stats/Controller.php
+
+ -
+ message: '#^@param object \$report does not accept actual type of parameter\: array\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: src/Admin/API/Reports/Customers/Stats/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Customers\\Stats\\Controller\:\:get_items\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\Reports\\Customers\\Stats\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Customers/Stats/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Customers\\Stats\\Controller\:\:get_items\(\) should return array\|Automattic\\WooCommerce\\Admin\\API\\Reports\\Customers\\Stats\\WP_Error but returns WP_REST_Response\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/Reports/Customers/Stats/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Customers\\Stats\\Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Admin/API/Reports/Customers/Stats/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Customers\\Stats\\Controller\:\:prepare_item_for_response\(\) should return WP_REST_Response but returns Automattic\\WooCommerce\\Admin\\API\\Reports\\Customers\\Stats\\WP_REST_Response\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/Reports/Customers/Stats/Controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Reports_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 112 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Admin/API/Reports/Customers/Stats/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$report \(array\) of method Automattic\\WooCommerce\\Admin\\API\\Reports\\Customers\\Stats\\Controller\:\:prepare_item_for_response\(\) should be compatible with parameter \$report \(stdClass\) of method WC_REST_Reports_V1_Controller\:\:prepare_item_for_response\(\)$#'
+ identifier: method.childParameterType
+ count: 1
+ path: src/Admin/API/Reports/Customers/Stats/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$request of method Automattic\\WooCommerce\\Admin\\API\\Reports\\Customers\\Stats\\Controller\:\:prepare_reports_query\(\) expects array, Automattic\\WooCommerce\\Admin\\API\\Reports\\Customers\\Stats\\WP_REST_Request given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Reports/Customers/Stats/Controller.php
+
+ -
+ message: '#^Parameter \$request of method Automattic\\WooCommerce\\Admin\\API\\Reports\\Customers\\Stats\\Controller\:\:get_items\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\Reports\\Customers\\Stats\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Customers/Stats/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Customers\\Stats\\DataStore\:\:assign_report_columns\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Reports/Customers/Stats/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Customers\\Stats\\DataStore\:\:get_noncached_data\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\Reports\\Customers\\Stats\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Customers/Stats/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Customers\\Stats\\DataStore\:\:get_noncached_data\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\Reports\\Customers\\Stats\\stdClass\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Customers/Stats/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Customers\\Stats\\DataStore\:\:get_noncached_data\(\) should return Automattic\\WooCommerce\\Admin\\API\\Reports\\Customers\\Stats\\stdClass\|Automattic\\WooCommerce\\Admin\\API\\Reports\\Customers\\Stats\\WP_Error but returns Automattic\\WooCommerce\\Admin\\API\\Reports\\WP_Error\|stdClass\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/Reports/Customers/Stats/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Customers\\Stats\\DataStore\:\:get_noncached_data\(\) should return Automattic\\WooCommerce\\Admin\\API\\Reports\\Customers\\Stats\\stdClass\|Automattic\\WooCommerce\\Admin\\API\\Reports\\Customers\\Stats\\WP_Error but returns object\{customers_count\: int, avg_orders_count\: int, avg_total_spend\: float, avg_avg_order_value\: float\}&stdClass\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/Reports/Customers/Stats/DataStore.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_data\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Admin/API/Reports/Customers/Stats/Query.php
+
+ -
+ message: '#^Access to offset ''time_interval'' on an unknown class Automattic\\WooCommerce\\Admin\\API\\Reports\\stdClass\.$#'
+ identifier: class.notFound
+ count: 6
+ path: src/Admin/API/Reports/DataStore.php
+
+ -
+ message: '#^Access to offset non\-empty\-string on an unknown class Automattic\\WooCommerce\\Admin\\API\\Reports\\stdClass\.$#'
+ identifier: class.notFound
+ count: 6
+ path: src/Admin/API/Reports/DataStore.php
+
+ -
+ message: '#^Access to property \$intervals on an unknown class Automattic\\WooCommerce\\Admin\\API\\Reports\\stdClass\.$#'
+ identifier: class.notFound
+ count: 9
+ path: src/Admin/API/Reports/DataStore.php
+
+ -
+ message: '#^Access to property \$totals on an unknown class Automattic\\WooCommerce\\Admin\\API\\Reports\\stdClass\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/DataStore.php
+
+ -
+ message: '#^Binary operation "\*" between int and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: src/Admin/API/Reports/DataStore.php
+
+ -
+ message: '#^Call to method format\(\) on an unknown class Automattic\\WooCommerce\\Admin\\API\\Reports\\DateTime\.$#'
+ identifier: class.notFound
+ count: 12
+ path: src/Admin/API/Reports/DataStore.php
+
+ -
+ message: '#^Call to method setTimestamp\(\) on an unknown class Automattic\\WooCommerce\\Admin\\API\\Reports\\DateTime\.$#'
+ identifier: class.notFound
+ count: 2
+ path: src/Admin/API/Reports/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\DataStore\:\:add_intervals_sql_params\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Reports/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\DataStore\:\:add_order_by_sql_params\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Reports/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\DataStore\:\:add_order_status_clause\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Reports/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\DataStore\:\:add_orderby_order_clause\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Reports/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\DataStore\:\:add_time_period_sql_params\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Reports/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\DataStore\:\:assign_report_columns\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Reports/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\DataStore\:\:cast_numbers\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\Reports\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\DataStore\:\:create_interval_subtotals\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Reports/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\DataStore\:\:fill_in_missing_intervals\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\Reports\\stdClass\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\DataStore\:\:get_data\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\Reports\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\DataStore\:\:get_data\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\Reports\\stdClass\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\DataStore\:\:get_data\(\) should return Automattic\\WooCommerce\\Admin\\API\\Reports\\stdClass\|Automattic\\WooCommerce\\Admin\\API\\Reports\\WP_Error but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/Reports/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\DataStore\:\:get_db_table_name\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Reports/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\DataStore\:\:get_excluded_products_array\(\) should return array but returns array\|Automattic\\WooCommerce\\Admin\\API\\Reports\\stdClass\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/Reports/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\DataStore\:\:get_ids_table\(\) should return array but returns string\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/Reports/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\DataStore\:\:get_included_products_array\(\) should return array but returns array\|Automattic\\WooCommerce\\Admin\\API\\Reports\\stdClass\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/Reports/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\DataStore\:\:get_noncached_data\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\Reports\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\DataStore\:\:get_noncached_data\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\Reports\\stdClass\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\DataStore\:\:get_noncached_data\(\) should return Automattic\\WooCommerce\\Admin\\API\\Reports\\stdClass\|Automattic\\WooCommerce\\Admin\\API\\Reports\\WP_Error but returns WP_Error\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/Reports/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\DataStore\:\:get_products_by_cat_ids\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\Reports\\stdClass\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\DataStore\:\:get_products_by_cat_ids\(\) should return array\|Automattic\\WooCommerce\\Admin\\API\\Reports\\stdClass but returns array\|stdClass\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/Reports/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\DataStore\:\:interval_cmp\(\) should return string but return statement is missing\.$#'
+ identifier: return.missing
+ count: 2
+ path: src/Admin/API/Reports/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\DataStore\:\:interval_cmp\(\) should return string but returns int\.$#'
+ identifier: return.type
+ count: 6
+ path: src/Admin/API/Reports/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\DataStore\:\:normalize_timezones\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Reports/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\DataStore\:\:remove_extra_records\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Reports/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\DataStore\:\:set_db_table_name\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Reports/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\DataStore\:\:sort_array\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Reports/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\DataStore\:\:sort_intervals\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Reports/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\DataStore\:\:update_interval_boundary_dates\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Reports/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\DataStore\:\:update_intervals_sql_params\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Reports/DataStore.php
+
+ -
+ message: '#^Parameter \#1 \$arr1 of function array_merge expects array, array\|Automattic\\WooCommerce\\Admin\\API\\Reports\\stdClass given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Reports/DataStore.php
+
+ -
+ message: '#^Parameter \#1 \$callback of function array_map expects \(callable\(mixed\)\: mixed\)\|null, ''esc_sql'' given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Reports/DataStore.php
+
+ -
+ message: '#^Parameter \#1 \$datetime of static method Automattic\\WooCommerce\\Admin\\API\\Reports\\TimeInterval\:\:iterate\(\) expects Automattic\\WooCommerce\\Admin\\API\\Reports\\DateTime, DateTime given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Admin/API/Reports/DataStore.php
+
+ -
+ message: '#^Parameter \#1 \$datetime of static method Automattic\\WooCommerce\\Admin\\API\\Reports\\TimeInterval\:\:iterate\(\) expects Automattic\\WooCommerce\\Admin\\API\\Reports\\DateTime, object given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Admin/API/Reports/DataStore.php
+
+ -
+ message: '#^Parameter \#1 \$order_by of method Automattic\\WooCommerce\\Admin\\API\\Reports\\DataStore\:\:normalize_order_by\(\) expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Admin/API/Reports/DataStore.php
+
+ -
+ message: '#^Parameter \#1 \$str of function md5 expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Reports/DataStore.php
+
+ -
+ message: '#^Parameter \#1 \$var of function count expects array\|Countable, array\|Automattic\\WooCommerce\\Admin\\API\\Reports\\stdClass given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Reports/DataStore.php
+
+ -
+ message: '#^Parameter \#2 \$array of function array_map expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Reports/DataStore.php
+
+ -
+ message: '#^Parameter \#2 \$clause of method Automattic\\WooCommerce\\Admin\\API\\Reports\\SqlQuery\:\:add_sql_clause\(\) expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Reports/DataStore.php
+
+ -
+ message: '#^Parameter \#2 \$clause of method Automattic\\WooCommerce\\Admin\\API\\Reports\\SqlQuery\:\:add_sql_clause\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Reports/DataStore.php
+
+ -
+ message: '#^Parameter \#2 \$value of function get_term_by expects int\|string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Reports/DataStore.php
+
+ -
+ message: '#^Parameter \#3 \$taxonomy of function get_term_by expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Reports/DataStore.php
+
+ -
+ message: '#^Parameter \$a of method Automattic\\WooCommerce\\Admin\\API\\Reports\\DataStore\:\:interval_cmp\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\Reports\\stdClass\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/DataStore.php
+
+ -
+ message: '#^Parameter \$b of method Automattic\\WooCommerce\\Admin\\API\\Reports\\DataStore\:\:interval_cmp\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\Reports\\stdClass\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/DataStore.php
+
+ -
+ message: '#^Parameter \$data of method Automattic\\WooCommerce\\Admin\\API\\Reports\\DataStore\:\:fill_in_missing_intervals\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\Reports\\stdClass\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/DataStore.php
+
+ -
+ message: '#^Parameter \$data of method Automattic\\WooCommerce\\Admin\\API\\Reports\\DataStore\:\:remove_extra_records\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\Reports\\stdClass\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/DataStore.php
+
+ -
+ message: '#^Parameter \$data of method Automattic\\WooCommerce\\Admin\\API\\Reports\\DataStore\:\:sort_intervals\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\Reports\\stdClass\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/DataStore.php
+
+ -
+ message: '#^Parameter \$end_datetime of method Automattic\\WooCommerce\\Admin\\API\\Reports\\DataStore\:\:fill_in_missing_intervals\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\Reports\\DateTime\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/DataStore.php
+
+ -
+ message: '#^Parameter \$end_datetime of method Automattic\\WooCommerce\\Admin\\API\\Reports\\DataStore\:\:update_interval_boundary_dates\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\Reports\\DateTime\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/DataStore.php
+
+ -
+ message: '#^Parameter \$start_datetime of method Automattic\\WooCommerce\\Admin\\API\\Reports\\DataStore\:\:fill_in_missing_intervals\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\Reports\\DateTime\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/DataStore.php
+
+ -
+ message: '#^Parameter \$start_datetime of method Automattic\\WooCommerce\\Admin\\API\\Reports\\DataStore\:\:update_interval_boundary_dates\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\Reports\\DateTime\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/DataStore.php
+
+ -
+ message: '#^Part \$field \(array\|string\) of encapsed string cannot be cast to string\.$#'
+ identifier: encapsedStringPart.nonString
+ count: 2
+ path: src/Admin/API/Reports/DataStore.php
+
+ -
+ message: '#^Part \$id_field \(array\) of encapsed string cannot be cast to string\.$#'
+ identifier: encapsedStringPart.nonString
+ count: 1
+ path: src/Admin/API/Reports/DataStore.php
+
+ -
+ message: '#^Possibly invalid array key type mixed\.$#'
+ identifier: offsetAccess.invalidOffset
+ count: 3
+ path: src/Admin/API/Reports/DataStore.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Admin\\API\\Reports\\DataStore\:\:\$subquery \(Automattic\\WooCommerce\\Admin\\API\\Reports\\SqlQuery\) in isset\(\) is not nullable\.$#'
+ identifier: isset.property
+ count: 3
+ path: src/Admin/API/Reports/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\DataStoreInterface\:\:get_data\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\Reports\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/DataStoreInterface.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\DataStoreInterface\:\:get_data\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\Reports\\stdClass\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/DataStoreInterface.php
+
+ -
+ message: '#^@param Automattic\\WooCommerce\\Admin\\API\\Reports\\Downloads\\WP_REST_Response \$response does not accept actual type of parameter\: WP_REST_Response\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: src/Admin/API/Reports/Downloads/Controller.php
+
+ -
+ message: '#^@param object \$report does not accept actual type of parameter\: array\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: src/Admin/API/Reports/Downloads/Controller.php
+
+ -
+ message: '#^Cannot access offset ''date'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Admin/API/Reports/Downloads/Controller.php
+
+ -
+ message: '#^Cannot access offset ''file_name'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: src/Admin/API/Reports/Downloads/Controller.php
+
+ -
+ message: '#^Cannot access offset ''file_path'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: src/Admin/API/Reports/Downloads/Controller.php
+
+ -
+ message: '#^Cannot access offset ''order_number'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Admin/API/Reports/Downloads/Controller.php
+
+ -
+ message: '#^Cannot access offset ''username'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Admin/API/Reports/Downloads/Controller.php
+
+ -
+ message: '#^Cannot call method get_formatted_order_total\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Admin/API/Reports/Downloads/Controller.php
+
+ -
+ message: '#^Cannot call method get_id\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Admin/API/Reports/Downloads/Controller.php
+
+ -
+ message: '#^Cannot call method get_order_number\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Admin/API/Reports/Downloads/Controller.php
+
+ -
+ message: '#^Cannot call method get_parent_id\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: src/Admin/API/Reports/Downloads/Controller.php
+
+ -
+ message: '#^Cannot call method get_type\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: src/Admin/API/Reports/Downloads/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Downloads\\Controller\:\:get_order_number\(\) should return string\|null but returns int\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/Reports/Downloads/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Downloads\\Controller\:\:prepare_item_for_response\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\Reports\\Downloads\\WP_REST_Response\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Downloads/Controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(Automattic\\WooCommerce\\Admin\\API\\Reports\\GenericController\)\: Unexpected token "\\n ", expected ''\<'' at offset 138 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Admin/API/Reports/Downloads/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$input of function array_flip expects array\<int\|string\>, array\<mixed\> given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Reports/Downloads/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$order of method Automattic\\WooCommerce\\Admin\\API\\Reports\\Downloads\\Controller\:\:is_valid_order\(\) expects Automattic\\WooCommerce\\Admin\\API\\Reports\\WC_Order\|Automattic\\WooCommerce\\Admin\\API\\Reports\\WC_Order_Refund\|bool, bool\|WC_Order\|WC_Order_Refund given\.$#'
+ identifier: argument.type
+ count: 4
+ path: src/Admin/API/Reports/Downloads/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$request \(array\) of method Automattic\\WooCommerce\\Admin\\API\\Reports\\Downloads\\Controller\:\:prepare_reports_query\(\) should be compatible with parameter \$request \(WP_REST_Request\) of method Automattic\\WooCommerce\\Admin\\API\\Reports\\GenericController\:\:prepare_reports_query\(\)$#'
+ identifier: method.childParameterType
+ count: 1
+ path: src/Admin/API/Reports/Downloads/Controller.php
+
+ -
+ message: '#^Parameter \#2 \$request of method Automattic\\WooCommerce\\Admin\\API\\Reports\\GenericController\:\:prepare_item_for_response\(\) expects WP_REST_Request, Automattic\\WooCommerce\\Admin\\API\\Reports\\Downloads\\WP_REST_Request given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Reports/Downloads/Controller.php
+
+ -
+ message: '#^Parameter \$order of method Automattic\\WooCommerce\\Admin\\API\\Reports\\Downloads\\Controller\:\:is_valid_order\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\Reports\\WC_Order\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Downloads/Controller.php
+
+ -
+ message: '#^Parameter \$order of method Automattic\\WooCommerce\\Admin\\API\\Reports\\Downloads\\Controller\:\:is_valid_order\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\Reports\\WC_Order_Refund\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Downloads/Controller.php
+
+ -
+ message: '#^Parameter \$request of method Automattic\\WooCommerce\\Admin\\API\\Reports\\Downloads\\Controller\:\:prepare_item_for_response\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\Reports\\Downloads\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Downloads/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Downloads\\DataStore\:\:add_order_by\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Reports/Downloads/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Downloads\\DataStore\:\:add_sql_query_params\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Reports/Downloads/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Downloads\\DataStore\:\:assign_report_columns\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Reports/Downloads/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Downloads\\DataStore\:\:get_noncached_data\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\Reports\\Downloads\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Downloads/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Downloads\\DataStore\:\:get_noncached_data\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\Reports\\Downloads\\stdClass\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Downloads/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Downloads\\DataStore\:\:get_noncached_data\(\) should return Automattic\\WooCommerce\\Admin\\API\\Reports\\Downloads\\stdClass\|Automattic\\WooCommerce\\Admin\\API\\Reports\\Downloads\\WP_Error but returns object\{data\: array, total\: int, pages\: int, page_no\: int\}&stdClass\.$#'
+ identifier: return.type
+ count: 2
+ path: src/Admin/API/Reports/Downloads/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Downloads\\DataStore\:\:get_noncached_data\(\) should return Automattic\\WooCommerce\\Admin\\API\\Reports\\Downloads\\stdClass\|Automattic\\WooCommerce\\Admin\\API\\Reports\\Downloads\\WP_Error but returns object\{data\: array\<array\|Automattic\\WooCommerce\\Admin\\API\\Reports\\WP_Error\>, total\: int, pages\: int, page_no\: int\}&stdClass\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/Reports/Downloads/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Downloads\\DataStore\:\:initialize_queries\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Reports/Downloads/DataStore.php
+
+ -
+ message: '#^Parameter \#1 \$callback of function array_map expects \(callable\(mixed\)\: mixed\)\|null, ''esc_sql'' given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Reports/Downloads/DataStore.php
+
+ -
+ message: '#^Parameter \#1 \$order_by of method Automattic\\WooCommerce\\Admin\\API\\Reports\\Downloads\\DataStore\:\:normalize_order_by\(\) expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Reports/Downloads/DataStore.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Admin\\API\\Reports\\DataStore\:\:\$subquery \(Automattic\\WooCommerce\\Admin\\API\\Reports\\SqlQuery\) in isset\(\) is not nullable\.$#'
+ identifier: isset.property
+ count: 3
+ path: src/Admin/API/Reports/Downloads/DataStore.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Reports_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 112 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Admin/API/Reports/Downloads/Files/Controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_data\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Admin/API/Reports/Downloads/Query.php
+
+ -
+ message: '#^@param object \$report does not accept actual type of parameter\: array\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: src/Admin/API/Reports/Downloads/Stats/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Downloads\\Stats\\Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Admin/API/Reports/Downloads/Stats/Controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(GenericStatsController\)\: Unexpected token "\\n ", expected ''\<'' at offset 108 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Admin/API/Reports/Downloads/Stats/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$request \(array\) of method Automattic\\WooCommerce\\Admin\\API\\Reports\\Downloads\\Stats\\Controller\:\:prepare_reports_query\(\) should be compatible with parameter \$request \(WP_REST_Request\) of method Automattic\\WooCommerce\\Admin\\API\\Reports\\GenericController\:\:prepare_reports_query\(\)$#'
+ identifier: method.childParameterType
+ count: 1
+ path: src/Admin/API/Reports/Downloads/Stats/Controller.php
+
+ -
+ message: '#^$#'
+ identifier: class.notFound
+ count: 3
+ path: src/Admin/API/Reports/Downloads/Stats/DataStore.php
+
+ -
+ message: '#^Access to property \$intervals on an unknown class Automattic\\WooCommerce\\Admin\\API\\Reports\\Downloads\\Stats\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 3
+ path: src/Admin/API/Reports/Downloads/Stats/DataStore.php
+
+ -
+ message: '#^Access to property \$intervals on an unknown class Automattic\\WooCommerce\\Admin\\API\\Reports\\Downloads\\Stats\\stdClass\.$#'
+ identifier: class.notFound
+ count: 7
+ path: src/Admin/API/Reports/Downloads/Stats/DataStore.php
+
+ -
+ message: '#^Access to property \$totals on an unknown class Automattic\\WooCommerce\\Admin\\API\\Reports\\Downloads\\Stats\\stdClass\.$#'
+ identifier: class.notFound
+ count: 2
+ path: src/Admin/API/Reports/Downloads/Stats/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Downloads\\Stats\\DataStore\:\:assign_report_columns\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Reports/Downloads/Stats/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Downloads\\Stats\\DataStore\:\:get_noncached_data\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\Reports\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Downloads/Stats/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Downloads\\Stats\\DataStore\:\:get_noncached_data\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\Reports\\stdClass\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Downloads/Stats/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Downloads\\Stats\\DataStore\:\:get_noncached_data\(\) should return Automattic\\WooCommerce\\Admin\\API\\Reports\\stdClass\|Automattic\\WooCommerce\\Admin\\API\\Reports\\WP_Error but returns Automattic\\WooCommerce\\Admin\\API\\Reports\\Downloads\\Stats\\stdClass\|Automattic\\WooCommerce\\Admin\\API\\Reports\\Downloads\\Stats\\WP_Error\|\(object\{totals\: null, intervals\: array, total\: int, pages\: int, page_no\: int\}&stdClass\)\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/Reports/Downloads/Stats/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Downloads\\Stats\\DataStore\:\:get_noncached_stats_data\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\Reports\\Downloads\\Stats\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Downloads/Stats/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Downloads\\Stats\\DataStore\:\:get_noncached_stats_data\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\Reports\\Downloads\\Stats\\stdClass\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Downloads/Stats/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Downloads\\Stats\\DataStore\:\:get_noncached_stats_data\(\) should return Automattic\\WooCommerce\\Admin\\API\\Reports\\Downloads\\Stats\\stdClass\|Automattic\\WooCommerce\\Admin\\API\\Reports\\Downloads\\Stats\\WP_Error but returns Automattic\\WooCommerce\\Admin\\API\\Reports\\Downloads\\Stats\\stdClass\|Automattic\\WooCommerce\\Admin\\API\\Reports\\stdClass\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/Reports/Downloads/Stats/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Downloads\\Stats\\DataStore\:\:get_noncached_stats_data\(\) should return Automattic\\WooCommerce\\Admin\\API\\Reports\\Downloads\\Stats\\stdClass\|Automattic\\WooCommerce\\Admin\\API\\Reports\\Downloads\\Stats\\WP_Error but returns WP_Error\.$#'
+ identifier: return.type
+ count: 2
+ path: src/Admin/API/Reports/Downloads/Stats/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Downloads\\Stats\\DataStore\:\:initialize_queries\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Reports/Downloads/Stats/DataStore.php
+
+ -
+ message: '#^Parameter \#3 \$data of method Automattic\\WooCommerce\\Admin\\API\\Reports\\Downloads\\Stats\\DataStore\:\:get_noncached_stats_data\(\) expects Automattic\\WooCommerce\\Admin\\API\\Reports\\Downloads\\Stats\\stdClass, object\{totals\: null, intervals\: array, total\: int, pages\: int, page_no\: int\}&stdClass given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Reports/Downloads/Stats/DataStore.php
+
+ -
+ message: '#^Parameter \#5 \$data of method Automattic\\WooCommerce\\Admin\\API\\Reports\\DataStore\:\:fill_in_missing_intervals\(\) expects Automattic\\WooCommerce\\Admin\\API\\Reports\\stdClass, Automattic\\WooCommerce\\Admin\\API\\Reports\\Downloads\\Stats\\stdClass given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Reports/Downloads/Stats/DataStore.php
+
+ -
+ message: '#^Parameter \$data of method Automattic\\WooCommerce\\Admin\\API\\Reports\\Downloads\\Stats\\DataStore\:\:get_noncached_stats_data\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\Reports\\Downloads\\Stats\\stdClass\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Downloads/Stats/DataStore.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_data\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Admin/API/Reports/Downloads/Stats/Query.php
+
+ -
+ message: '#^Access to offset ''email'' on an unknown class Automattic\\WooCommerce\\Admin\\API\\Reports\\Export\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 2
+ path: src/Admin/API/Reports/Export/Controller.php
+
+ -
+ message: '#^Access to offset ''export_id'' on an unknown class Automattic\\WooCommerce\\Admin\\API\\Reports\\Export\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Export/Controller.php
+
+ -
+ message: '#^Access to offset ''report_args'' on an unknown class Automattic\\WooCommerce\\Admin\\API\\Reports\\Export\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 2
+ path: src/Admin/API/Reports/Export/Controller.php
+
+ -
+ message: '#^Access to offset ''type'' on an unknown class Automattic\\WooCommerce\\Admin\\API\\Reports\\Export\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 2
+ path: src/Admin/API/Reports/Export/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Export\\Controller\:\:export_items\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\Reports\\Export\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Export/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Export\\Controller\:\:export_items\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\Reports\\Export\\WP_REST_Response\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Export/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Export\\Controller\:\:export_items\(\) should return Automattic\\WooCommerce\\Admin\\API\\Reports\\Export\\WP_Error\|Automattic\\WooCommerce\\Admin\\API\\Reports\\Export\\WP_REST_Response but returns WP_Error\|WP_REST_Response\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/Reports/Export/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Export\\Controller\:\:export_items\(\) should return Automattic\\WooCommerce\\Admin\\API\\Reports\\Export\\WP_Error\|Automattic\\WooCommerce\\Admin\\API\\Reports\\Export\\WP_REST_Response but returns WP_REST_Response\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/Reports/Export/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Export\\Controller\:\:export_status\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\Reports\\Export\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Export/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Export\\Controller\:\:export_status\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\Reports\\Export\\WP_REST_Response\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Export/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Export\\Controller\:\:export_status\(\) should return Automattic\\WooCommerce\\Admin\\API\\Reports\\Export\\WP_Error\|Automattic\\WooCommerce\\Admin\\API\\Reports\\Export\\WP_REST_Response but returns WP_Error\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/Reports/Export/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Export\\Controller\:\:export_status\(\) should return Automattic\\WooCommerce\\Admin\\API\\Reports\\Export\\WP_Error\|Automattic\\WooCommerce\\Admin\\API\\Reports\\Export\\WP_REST_Response but returns WP_Error\|WP_REST_Response\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/Reports/Export/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Export\\Controller\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Reports/Export/Controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(\\Automattic\\WooCommerce\\Admin\\API\\Reports\\Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 114 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Admin/API/Reports/Export/Controller.php
+
+ -
+ message: '#^Parameter \#3 \$subject of function str_replace expects array\<string\>\|string, float given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Reports/Export/Controller.php
+
+ -
+ message: '#^Parameter \$request of method Automattic\\WooCommerce\\Admin\\API\\Reports\\Export\\Controller\:\:export_items\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\Reports\\Export\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Export/Controller.php
+
+ -
+ message: '#^Parameter \$request of method Automattic\\WooCommerce\\Admin\\API\\Reports\\Export\\Controller\:\:export_status\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\Reports\\Export\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Export/Controller.php
+
+ -
+ message: '#^Trait Automattic\\WooCommerce\\Admin\\API\\Reports\\FilteredGetDataTrait is used zero times and is not analysed\.$#'
+ identifier: trait.unused
+ count: 1
+ path: src/Admin/API/Reports/FilteredGetDataTrait.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$total\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/Admin/API/Reports/GenericController.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_data\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Admin/API/Reports/GenericController.php
+
+ -
+ message: '#^Cannot access property \$data on mixed\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: src/Admin/API/Reports/GenericController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\GenericController\:\:add_pagination_headers\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Admin/API/Reports/GenericController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\GenericController\:\:get_items\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Admin/API/Reports/GenericController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\GenericController\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Admin/API/Reports/GenericController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\GenericController\:\:prepare_reports_query\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Admin/API/Reports/GenericController.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Reports_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 1842 on line 41$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Admin/API/Reports/GenericController.php
+
+ -
+ message: '#^PHPDoc tag @throws with type Automattic\\WooCommerce\\Admin\\API\\Reports\\Exception is not subtype of Throwable$#'
+ identifier: throws.notThrowable
+ count: 1
+ path: src/Admin/API/Reports/GenericController.php
+
+ -
+ message: '#^PHPDoc tag @throws with type WP_Error is not subtype of Throwable$#'
+ identifier: throws.notThrowable
+ count: 1
+ path: src/Admin/API/Reports/GenericController.php
+
+ -
+ message: '#^Parameter \#1 \$response_data of method WP_REST_Controller\:\:add_additional_fields_to_object\(\) expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Reports/GenericController.php
+
+ -
+ message: '#^Parameter \#2 \$value of method WP_HTTP_Response\:\:header\(\) expects string, int given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Admin/API/Reports/GenericController.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_data\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Admin/API/Reports/GenericQuery.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\GenericQuery\:\:__construct\(\) with return type void returns null but should not return anything\.$#'
+ identifier: return.void
+ count: 1
+ path: src/Admin/API/Reports/GenericQuery.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_Object_Query\:\:_construct\)\: Unexpected token "\:\:", expected ''\<'' at offset 174 on line 6$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Admin/API/Reports/GenericQuery.php
+
+ -
+ message: '#^Result of method WC_Object_Query\:\:__construct\(\) \(void\) is used\.$#'
+ identifier: staticMethod.void
+ count: 1
+ path: src/Admin/API/Reports/GenericQuery.php
+
+ -
+ message: '#^Cannot access property \$intervals on mixed\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: src/Admin/API/Reports/GenericStatsController.php
+
+ -
+ message: '#^Cannot access property \$page_no on mixed\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: src/Admin/API/Reports/GenericStatsController.php
+
+ -
+ message: '#^Cannot access property \$pages on mixed\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: src/Admin/API/Reports/GenericStatsController.php
+
+ -
+ message: '#^Cannot access property \$total on mixed\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: src/Admin/API/Reports/GenericStatsController.php
+
+ -
+ message: '#^Cannot access property \$totals on mixed\.$#'
+ identifier: property.nonObject
+ count: 2
+ path: src/Admin/API/Reports/GenericStatsController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\GenericStatsController\:\:get_items\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Admin/API/Reports/GenericStatsController.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(GenericController\)\: Unexpected token "\\n ", expected ''\<'' at offset 1812 on line 42$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Admin/API/Reports/GenericStatsController.php
+
+ -
+ message: '#^PHPDoc tag @throws with type WP_Error is not subtype of Throwable$#'
+ identifier: throws.notThrowable
+ count: 1
+ path: src/Admin/API/Reports/GenericStatsController.php
+
+ -
+ message: '#^@param Automattic\\WooCommerce\\Admin\\API\\Reports\\Import\\WP_REST_Response \$response does not accept actual type of parameter\: WP_REST_Response\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: src/Admin/API/Reports/Import/Controller.php
+
+ -
+ message: '#^@param array \$item does not accept actual type of parameter\: object\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: src/Admin/API/Reports/Import/Controller.php
+
+ -
+ message: '#^Access to offset ''days'' on an unknown class Automattic\\WooCommerce\\Admin\\API\\Reports\\Import\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Import/Controller.php
+
+ -
+ message: '#^Access to offset ''skip_existing'' on an unknown class Automattic\\WooCommerce\\Admin\\API\\Reports\\Import\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Import/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Import\\Controller\:\:cancel_import\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\Reports\\Import\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Import/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Import\\Controller\:\:cancel_import\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\Reports\\Import\\WP_REST_Response\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Import/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Import\\Controller\:\:cancel_import\(\) should return Automattic\\WooCommerce\\Admin\\API\\Reports\\Import\\WP_Error\|Automattic\\WooCommerce\\Admin\\API\\Reports\\Import\\WP_REST_Response but returns WP_Error\|WP_REST_Response\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/Reports/Import/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Import\\Controller\:\:delete_imported_items\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\Reports\\Import\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Import/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Import\\Controller\:\:delete_imported_items\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\Reports\\Import\\WP_REST_Response\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Import/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Import\\Controller\:\:delete_imported_items\(\) should return Automattic\\WooCommerce\\Admin\\API\\Reports\\Import\\WP_Error\|Automattic\\WooCommerce\\Admin\\API\\Reports\\Import\\WP_REST_Response but returns WP_Error\|WP_REST_Response\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/Reports/Import/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Import\\Controller\:\:get_import_status\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\Reports\\Import\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Import/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Import\\Controller\:\:get_import_status\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\Reports\\Import\\WP_REST_Response\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Import/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Import\\Controller\:\:get_import_status\(\) should return Automattic\\WooCommerce\\Admin\\API\\Reports\\Import\\WP_Error\|Automattic\\WooCommerce\\Admin\\API\\Reports\\Import\\WP_REST_Response but returns WP_Error\|WP_REST_Response\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/Reports/Import/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Import\\Controller\:\:get_import_totals\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\Reports\\Import\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Import/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Import\\Controller\:\:get_import_totals\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\Reports\\Import\\WP_REST_Response\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Import/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Import\\Controller\:\:get_import_totals\(\) should return Automattic\\WooCommerce\\Admin\\API\\Reports\\Import\\WP_Error\|Automattic\\WooCommerce\\Admin\\API\\Reports\\Import\\WP_REST_Response but returns WP_Error\|WP_REST_Response\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/Reports/Import/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Import\\Controller\:\:import_items\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\Reports\\Import\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Import/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Import\\Controller\:\:import_items\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\Reports\\Import\\WP_REST_Response\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Import/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Import\\Controller\:\:import_items\(\) should return Automattic\\WooCommerce\\Admin\\API\\Reports\\Import\\WP_Error\|Automattic\\WooCommerce\\Admin\\API\\Reports\\Import\\WP_REST_Response but returns WP_Error\|WP_REST_Response\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/Reports/Import/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Import\\Controller\:\:import_permissions_check\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\Reports\\Import\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Import/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Import\\Controller\:\:import_permissions_check\(\) should return Automattic\\WooCommerce\\Admin\\API\\Reports\\Import\\WP_Error\|bool but returns WP_Error\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/Reports/Import/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Import\\Controller\:\:prepare_item_for_response\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\Reports\\Import\\WP_REST_Response\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Import/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Import\\Controller\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Reports/Import/Controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(\\Automattic\\WooCommerce\\Admin\\API\\Reports\\Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 115 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Admin/API/Reports/Import/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$item of method Automattic\\WooCommerce\\Admin\\API\\Reports\\Import\\Controller\:\:prepare_item_for_response\(\) expects object, array given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Admin/API/Reports/Import/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$item of method Automattic\\WooCommerce\\Admin\\API\\Reports\\Import\\Controller\:\:prepare_item_for_response\(\) expects object, array\<string, mixed\> given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Admin/API/Reports/Import/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$item of method Automattic\\WooCommerce\\Admin\\API\\Reports\\Import\\Controller\:\:prepare_item_for_response\(\) expects object, array\<string, string\> given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Reports/Import/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$response of method WP_REST_Controller\:\:prepare_response_for_collection\(\) expects WP_REST_Response, Automattic\\WooCommerce\\Admin\\API\\Reports\\Import\\WP_REST_Response given\.$#'
+ identifier: argument.type
+ count: 5
+ path: src/Admin/API/Reports/Import/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$response_data of method WP_REST_Controller\:\:add_additional_fields_to_object\(\) expects array, object given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Reports/Import/Controller.php
+
+ -
+ message: '#^Parameter \#2 \$request of method WP_REST_Controller\:\:add_additional_fields_to_object\(\) expects WP_REST_Request, Automattic\\WooCommerce\\Admin\\API\\Reports\\Import\\WP_REST_Request given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Reports/Import/Controller.php
+
+ -
+ message: '#^Parameter \$request of method Automattic\\WooCommerce\\Admin\\API\\Reports\\Import\\Controller\:\:cancel_import\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\Reports\\Import\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Import/Controller.php
+
+ -
+ message: '#^Parameter \$request of method Automattic\\WooCommerce\\Admin\\API\\Reports\\Import\\Controller\:\:delete_imported_items\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\Reports\\Import\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Import/Controller.php
+
+ -
+ message: '#^Parameter \$request of method Automattic\\WooCommerce\\Admin\\API\\Reports\\Import\\Controller\:\:get_import_status\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\Reports\\Import\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Import/Controller.php
+
+ -
+ message: '#^Parameter \$request of method Automattic\\WooCommerce\\Admin\\API\\Reports\\Import\\Controller\:\:get_import_totals\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\Reports\\Import\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Import/Controller.php
+
+ -
+ message: '#^Parameter \$request of method Automattic\\WooCommerce\\Admin\\API\\Reports\\Import\\Controller\:\:import_items\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\Reports\\Import\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Import/Controller.php
+
+ -
+ message: '#^Parameter \$request of method Automattic\\WooCommerce\\Admin\\API\\Reports\\Import\\Controller\:\:import_permissions_check\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\Reports\\Import\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Import/Controller.php
+
+ -
+ message: '#^Parameter \$request of method Automattic\\WooCommerce\\Admin\\API\\Reports\\Import\\Controller\:\:prepare_item_for_response\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\Reports\\Import\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Import/Controller.php
+
+ -
+ message: '#^Parameter \$request of method Automattic\\WooCommerce\\Admin\\API\\Reports\\Import\\Controller\:\:prepare_objects_query\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\Reports\\Import\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Import/Controller.php
+
+ -
+ message: '#^@param Automattic\\WooCommerce\\Admin\\API\\Reports\\Orders\\WP_REST_Request \$request does not accept actual type of parameter\: WP_REST_Request\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: src/Admin/API/Reports/Orders/Controller.php
+
+ -
+ message: '#^@param Automattic\\WooCommerce\\Admin\\API\\Reports\\Orders\\WP_REST_Response \$response does not accept actual type of parameter\: WP_REST_Response\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: src/Admin/API/Reports/Orders/Controller.php
+
+ -
+ message: '#^@param object \$report does not accept actual type of parameter\: non\-empty\-array\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: src/Admin/API/Reports/Orders/Controller.php
+
+ -
+ message: '#^Access to offset ''order_id'' on an unknown class Automattic\\WooCommerce\\Admin\\API\\Reports\\Orders\\WC_Reports_Query\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Orders/Controller.php
+
+ -
+ message: '#^Cannot call method get_formatted_order_total\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Admin/API/Reports/Orders/Controller.php
+
+ -
+ message: '#^Cannot call method get_id\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Admin/API/Reports/Orders/Controller.php
+
+ -
+ message: '#^Cannot call method get_order_number\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Admin/API/Reports/Orders/Controller.php
+
+ -
+ message: '#^Cannot call method get_parent_id\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: src/Admin/API/Reports/Orders/Controller.php
+
+ -
+ message: '#^Cannot call method get_type\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: src/Admin/API/Reports/Orders/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Orders\\Controller\:\:get_order_number\(\) should return string\|null but returns int\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/Reports/Orders/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Orders\\Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Admin/API/Reports/Orders/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Orders\\Controller\:\:prepare_item_for_response\(\) should return WP_REST_Response but returns Automattic\\WooCommerce\\Admin\\API\\Reports\\Orders\\WP_REST_Response\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/Reports/Orders/Controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(\\Automattic\\WooCommerce\\Admin\\API\\Reports\\GenericController\)\: Unexpected token "\\n ", expected ''\<'' at offset 136 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Admin/API/Reports/Orders/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$input of function array_flip expects array\<int\|string\>, array\<mixed\> given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Reports/Orders/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$object of method Automattic\\WooCommerce\\Admin\\API\\Reports\\Orders\\Controller\:\:prepare_links\(\) expects Automattic\\WooCommerce\\Admin\\API\\Reports\\Orders\\WC_Reports_Query, array given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Reports/Orders/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$order of method Automattic\\WooCommerce\\Admin\\API\\Reports\\Orders\\Controller\:\:is_valid_order\(\) expects Automattic\\WooCommerce\\Admin\\API\\Reports\\WC_Order\|Automattic\\WooCommerce\\Admin\\API\\Reports\\WC_Order_Refund\|bool, bool\|WC_Order\|WC_Order_Refund given\.$#'
+ identifier: argument.type
+ count: 4
+ path: src/Admin/API/Reports/Orders/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$request \(array\) of method Automattic\\WooCommerce\\Admin\\API\\Reports\\Orders\\Controller\:\:prepare_reports_query\(\) should be compatible with parameter \$request \(WP_REST_Request\) of method Automattic\\WooCommerce\\Admin\\API\\Reports\\GenericController\:\:prepare_reports_query\(\)$#'
+ identifier: method.childParameterType
+ count: 1
+ path: src/Admin/API/Reports/Orders/Controller.php
+
+ -
+ message: '#^Parameter \$object of method Automattic\\WooCommerce\\Admin\\API\\Reports\\Orders\\Controller\:\:prepare_links\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\Reports\\Orders\\WC_Reports_Query\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Orders/Controller.php
+
+ -
+ message: '#^Parameter \$order of method Automattic\\WooCommerce\\Admin\\API\\Reports\\Orders\\Controller\:\:is_valid_order\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\Reports\\WC_Order\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Orders/Controller.php
+
+ -
+ message: '#^Parameter \$order of method Automattic\\WooCommerce\\Admin\\API\\Reports\\Orders\\Controller\:\:is_valid_order\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\Reports\\WC_Order_Refund\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Orders/Controller.php
+
+ -
+ message: '#^Access to an undefined property WC_Meta_Data\:\:\$key\.$#'
+ identifier: property.notFound
+ count: 2
+ path: src/Admin/API/Reports/Orders/DataStore.php
+
+ -
+ message: '#^Access to an undefined property WC_Meta_Data\:\:\$value\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/Admin/API/Reports/Orders/DataStore.php
+
+ -
+ message: '#^Cannot call method get_status\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Admin/API/Reports/Orders/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Orders\\DataStore\:\:add_sql_query_params\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Reports/Orders/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Orders\\DataStore\:\:assign_report_columns\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Reports/Orders/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Orders\\DataStore\:\:get_noncached_data\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\Reports\\Orders\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Orders/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Orders\\DataStore\:\:get_noncached_data\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\Reports\\Orders\\stdClass\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Orders/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Orders\\DataStore\:\:get_noncached_data\(\) should return Automattic\\WooCommerce\\Admin\\API\\Reports\\Orders\\stdClass\|Automattic\\WooCommerce\\Admin\\API\\Reports\\Orders\\WP_Error but returns object\{data\: array, total\: int, pages\: int, page_no\: int\}&stdClass\.$#'
+ identifier: return.type
+ count: 2
+ path: src/Admin/API/Reports/Orders/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Orders\\DataStore\:\:get_noncached_data\(\) should return Automattic\\WooCommerce\\Admin\\API\\Reports\\Orders\\stdClass\|Automattic\\WooCommerce\\Admin\\API\\Reports\\Orders\\WP_Error but returns object\{data\: array\<array\|Automattic\\WooCommerce\\Admin\\API\\Reports\\WP_Error\>, total\: int, pages\: int, page_no\: int\}&stdClass\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/Reports/Orders/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Orders\\DataStore\:\:include_extended_info\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Reports/Orders/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Orders\\DataStore\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Reports/Orders/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Orders\\DataStore\:\:initialize_queries\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Reports/Orders/DataStore.php
+
+ -
+ message: '#^Parameter \#1 \$variation of function wc_get_formatted_variation expects array\|WC_Product_Variation, WC_Product\|false\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Reports/Orders/DataStore.php
+
+ -
+ message: '#^Parameter \#2 \$array of function implode expects array\<string\>, array\<array\|string\> given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Admin/API/Reports/Orders/DataStore.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Admin\\API\\Reports\\DataStore\:\:\$date_column_name \(string\) does not accept mixed\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/Admin/API/Reports/Orders/DataStore.php
+
+ -
+ message: '#^@param Automattic\\WooCommerce\\Admin\\API\\Reports\\Orders\\Stats\\WP_REST_Response \$response does not accept actual type of parameter\: WP_REST_Response\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: src/Admin/API/Reports/Orders/Stats/Controller.php
+
+ -
+ message: '#^@param object \$report does not accept actual type of parameter\: array\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: src/Admin/API/Reports/Orders/Stats/Controller.php
+
+ -
+ message: '#^Cannot call method get_formatted_order_total\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Admin/API/Reports/Orders/Stats/Controller.php
+
+ -
+ message: '#^Cannot call method get_id\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Admin/API/Reports/Orders/Stats/Controller.php
+
+ -
+ message: '#^Cannot call method get_order_number\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Admin/API/Reports/Orders/Stats/Controller.php
+
+ -
+ message: '#^Cannot call method get_parent_id\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: src/Admin/API/Reports/Orders/Stats/Controller.php
+
+ -
+ message: '#^Cannot call method get_type\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: src/Admin/API/Reports/Orders/Stats/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Orders\\Stats\\Controller\:\:get_order_number\(\) should return string\|null but returns int\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/Reports/Orders/Stats/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Orders\\Stats\\Controller\:\:prepare_item_for_response\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\Reports\\Orders\\Stats\\WP_REST_Response\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Orders/Stats/Controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(\\Automattic\\WooCommerce\\Admin\\API\\Reports\\GenericStatsController\)\: Unexpected token "\\n ", expected ''\<'' at offset 147 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Admin/API/Reports/Orders/Stats/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$input of function array_flip expects array\<int\|string\>, array\<mixed\> given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Reports/Orders/Stats/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$order of method Automattic\\WooCommerce\\Admin\\API\\Reports\\Orders\\Stats\\Controller\:\:is_valid_order\(\) expects Automattic\\WooCommerce\\Admin\\API\\Reports\\WC_Order\|Automattic\\WooCommerce\\Admin\\API\\Reports\\WC_Order_Refund\|bool, bool\|WC_Order\|WC_Order_Refund given\.$#'
+ identifier: argument.type
+ count: 4
+ path: src/Admin/API/Reports/Orders/Stats/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$request \(array\) of method Automattic\\WooCommerce\\Admin\\API\\Reports\\Orders\\Stats\\Controller\:\:prepare_reports_query\(\) should be compatible with parameter \$request \(WP_REST_Request\) of method Automattic\\WooCommerce\\Admin\\API\\Reports\\GenericController\:\:prepare_reports_query\(\)$#'
+ identifier: method.childParameterType
+ count: 1
+ path: src/Admin/API/Reports/Orders/Stats/Controller.php
+
+ -
+ message: '#^Parameter \#2 \$request of method Automattic\\WooCommerce\\Admin\\API\\Reports\\GenericController\:\:prepare_item_for_response\(\) expects WP_REST_Request, Automattic\\WooCommerce\\Admin\\API\\Reports\\Orders\\Stats\\WP_REST_Request given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Reports/Orders/Stats/Controller.php
+
+ -
+ message: '#^Parameter \$order of method Automattic\\WooCommerce\\Admin\\API\\Reports\\Orders\\Stats\\Controller\:\:is_valid_order\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\Reports\\WC_Order\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Orders/Stats/Controller.php
+
+ -
+ message: '#^Parameter \$order of method Automattic\\WooCommerce\\Admin\\API\\Reports\\Orders\\Stats\\Controller\:\:is_valid_order\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\Reports\\WC_Order_Refund\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Orders/Stats/Controller.php
+
+ -
+ message: '#^Parameter \$request of method Automattic\\WooCommerce\\Admin\\API\\Reports\\Orders\\Stats\\Controller\:\:prepare_item_for_response\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\Reports\\Orders\\Stats\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Orders/Stats/Controller.php
+
+ -
+ message: '#^$#'
+ identifier: class.notFound
+ count: 4
+ path: src/Admin/API/Reports/Orders/Stats/DataStore.php
+
+ -
+ message: '#^@param WC_Order \$order does not accept actual type of parameter\: Automattic\\WooCommerce\\Admin\\API\\Reports\\Orders\\Stats\\WC_Order_Refund\|WC_Order\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: src/Admin/API/Reports/Orders/Stats/DataStore.php
+
+ -
+ message: '#^Access to property \$intervals on an unknown class Automattic\\WooCommerce\\Admin\\API\\Reports\\Orders\\Stats\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 3
+ path: src/Admin/API/Reports/Orders/Stats/DataStore.php
+
+ -
+ message: '#^Access to property \$intervals on an unknown class Automattic\\WooCommerce\\Admin\\API\\Reports\\Orders\\Stats\\stdClass\.$#'
+ identifier: class.notFound
+ count: 7
+ path: src/Admin/API/Reports/Orders/Stats/DataStore.php
+
+ -
+ message: '#^Access to property \$totals on an unknown class Automattic\\WooCommerce\\Admin\\API\\Reports\\Orders\\Stats\\stdClass\.$#'
+ identifier: class.notFound
+ count: 2
+ path: src/Admin/API/Reports/Orders/Stats/DataStore.php
+
+ -
+ message: '#^Binary operation "\*" between \-1 and string results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: src/Admin/API/Reports/Orders/Stats/DataStore.php
+
+ -
+ message: '#^Call to method get_date_completed\(\) on an unknown class Automattic\\WooCommerce\\Admin\\API\\Reports\\Orders\\Stats\\WC_Order_Refund\.$#'
+ identifier: class.notFound
+ count: 2
+ path: src/Admin/API/Reports/Orders/Stats/DataStore.php
+
+ -
+ message: '#^Call to method get_date_created\(\) on an unknown class Automattic\\WooCommerce\\Admin\\API\\Reports\\Orders\\Stats\\WC_Order_Refund\.$#'
+ identifier: class.notFound
+ count: 3
+ path: src/Admin/API/Reports/Orders/Stats/DataStore.php
+
+ -
+ message: '#^Call to method get_date_paid\(\) on an unknown class Automattic\\WooCommerce\\Admin\\API\\Reports\\Orders\\Stats\\WC_Order_Refund\.$#'
+ identifier: class.notFound
+ count: 2
+ path: src/Admin/API/Reports/Orders/Stats/DataStore.php
+
+ -
+ message: '#^Call to method get_id\(\) on an unknown class Automattic\\WooCommerce\\Admin\\API\\Reports\\Orders\\Stats\\WC_Order_Refund\.$#'
+ identifier: class.notFound
+ count: 3
+ path: src/Admin/API/Reports/Orders/Stats/DataStore.php
+
+ -
+ message: '#^Call to method get_meta\(\) on an unknown class Automattic\\WooCommerce\\Admin\\API\\Reports\\Orders\\Stats\\WC_Order_Refund\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Orders/Stats/DataStore.php
+
+ -
+ message: '#^Call to method get_parent_id\(\) on an unknown class Automattic\\WooCommerce\\Admin\\API\\Reports\\Orders\\Stats\\WC_Order_Refund\.$#'
+ identifier: class.notFound
+ count: 2
+ path: src/Admin/API/Reports/Orders/Stats/DataStore.php
+
+ -
+ message: '#^Call to method get_report_customer_id\(\) on an unknown class Automattic\\WooCommerce\\Admin\\API\\Reports\\Orders\\Stats\\WC_Order_Refund\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Orders/Stats/DataStore.php
+
+ -
+ message: '#^Call to method get_shipping_total\(\) on an unknown class Automattic\\WooCommerce\\Admin\\API\\Reports\\Orders\\Stats\\WC_Order_Refund\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Orders/Stats/DataStore.php
+
+ -
+ message: '#^Call to method get_status\(\) on an unknown class Automattic\\WooCommerce\\Admin\\API\\Reports\\Orders\\Stats\\WC_Order_Refund\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Orders/Stats/DataStore.php
+
+ -
+ message: '#^Call to method get_total\(\) on an unknown class Automattic\\WooCommerce\\Admin\\API\\Reports\\Orders\\Stats\\WC_Order_Refund\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Orders/Stats/DataStore.php
+
+ -
+ message: '#^Call to method get_total_tax\(\) on an unknown class Automattic\\WooCommerce\\Admin\\API\\Reports\\Orders\\Stats\\WC_Order_Refund\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Orders/Stats/DataStore.php
+
+ -
+ message: '#^Call to method get_type\(\) on an unknown class Automattic\\WooCommerce\\Admin\\API\\Reports\\Orders\\Stats\\WC_Order_Refund\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Orders/Stats/DataStore.php
+
+ -
+ message: '#^Call to method is_returning_customer\(\) on an unknown class Automattic\\WooCommerce\\Admin\\API\\Reports\\Orders\\Stats\\WC_Order_Refund\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Orders/Stats/DataStore.php
+
+ -
+ message: '#^Cannot call method get_id\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Admin/API/Reports/Orders/Stats/DataStore.php
+
+ -
+ message: '#^Cannot call method get_shipping_total\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Admin/API/Reports/Orders/Stats/DataStore.php
+
+ -
+ message: '#^Cannot call method get_status\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Admin/API/Reports/Orders/Stats/DataStore.php
+
+ -
+ message: '#^Cannot call method get_total_tax\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Admin/API/Reports/Orders/Stats/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Orders\\Stats\\DataStore\:\:assign_report_columns\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Reports/Orders/Stats/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Orders\\Stats\\DataStore\:\:delete_order\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Reports/Orders/Stats/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Orders\\Stats\\DataStore\:\:get_noncached_data\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\Reports\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Orders/Stats/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Orders\\Stats\\DataStore\:\:get_noncached_data\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\Reports\\stdClass\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Orders/Stats/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Orders\\Stats\\DataStore\:\:get_noncached_data\(\) should return Automattic\\WooCommerce\\Admin\\API\\Reports\\stdClass\|Automattic\\WooCommerce\\Admin\\API\\Reports\\WP_Error but returns Automattic\\WooCommerce\\Admin\\API\\Reports\\Orders\\Stats\\stdClass\|Automattic\\WooCommerce\\Admin\\API\\Reports\\Orders\\Stats\\WP_Error\|\(object\{totals\: null, intervals\: array, total\: int, pages\: int, page_no\: int\}&stdClass\)\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/Reports/Orders/Stats/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Orders\\Stats\\DataStore\:\:get_noncached_stats_data\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\Reports\\Orders\\Stats\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Orders/Stats/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Orders\\Stats\\DataStore\:\:get_noncached_stats_data\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\Reports\\Orders\\Stats\\stdClass\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Orders/Stats/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Orders\\Stats\\DataStore\:\:get_noncached_stats_data\(\) should return Automattic\\WooCommerce\\Admin\\API\\Reports\\Orders\\Stats\\stdClass\|Automattic\\WooCommerce\\Admin\\API\\Reports\\Orders\\Stats\\WP_Error but returns Automattic\\WooCommerce\\Admin\\API\\Reports\\stdClass\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/Reports/Orders/Stats/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Orders\\Stats\\DataStore\:\:get_noncached_stats_data\(\) should return Automattic\\WooCommerce\\Admin\\API\\Reports\\Orders\\Stats\\stdClass\|Automattic\\WooCommerce\\Admin\\API\\Reports\\Orders\\Stats\\WP_Error but returns WP_Error\.$#'
+ identifier: return.type
+ count: 2
+ path: src/Admin/API/Reports/Orders/Stats/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Orders\\Stats\\DataStore\:\:get_unique_coupon_count\(\) invoked with 4 parameters, 3 required\.$#'
+ identifier: arguments.count
+ count: 1
+ path: src/Admin/API/Reports/Orders/Stats/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Orders\\Stats\\DataStore\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Reports/Orders/Stats/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Orders\\Stats\\DataStore\:\:initialize_queries\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Reports/Orders/Stats/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Orders\\Stats\\DataStore\:\:orders_stats_sql_filter\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Reports/Orders/Stats/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Orders\\Stats\\DataStore\:\:set_customer_first_order\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Reports/Orders/Stats/DataStore.php
+
+ -
+ message: '#^Parameter \#1 \$customer_id of static method Automattic\\WooCommerce\\Admin\\API\\Reports\\Customers\\DataStore\:\:get_oldest_orders\(\) expects int, int\<min, \-1\>\|int\<1, max\>\|true given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Reports/Orders/Stats/DataStore.php
+
+ -
+ message: '#^Parameter \#1 \$customer_id of static method Automattic\\WooCommerce\\Admin\\API\\Reports\\Orders\\Stats\\DataStore\:\:set_customer_first_order\(\) expects int, int\<min, \-1\>\|int\<1, max\>\|true given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Admin/API/Reports/Orders/Stats/DataStore.php
+
+ -
+ message: '#^Parameter \#1 \$data of method Automattic\\WooCommerce\\Admin\\API\\Reports\\Segmenter\:\:add_intervals_segments\(\) expects Automattic\\WooCommerce\\Admin\\API\\Reports\\stdClass, Automattic\\WooCommerce\\Admin\\API\\Reports\\Orders\\Stats\\stdClass\|Automattic\\WooCommerce\\Admin\\API\\Reports\\stdClass given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Reports/Orders/Stats/DataStore.php
+
+ -
+ message: '#^Parameter \#1 \$order of static method Automattic\\WooCommerce\\Admin\\API\\Reports\\Customers\\DataStore\:\:get_existing_customer_id_from_order\(\) expects object, bool\|WC_Order\|WC_Order_Refund given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Reports/Orders/Stats/DataStore.php
+
+ -
+ message: '#^Parameter \#1 \$order of static method Automattic\\WooCommerce\\Admin\\API\\Reports\\Orders\\Stats\\DataStore\:\:get_net_total\(\) expects WC_Order, Automattic\\WooCommerce\\Admin\\API\\Reports\\Orders\\Stats\\WC_Order_Refund\|WC_Order given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Reports/Orders/Stats/DataStore.php
+
+ -
+ message: '#^Parameter \#1 \$order of static method Automattic\\WooCommerce\\Admin\\API\\Reports\\Orders\\Stats\\DataStore\:\:get_net_total\(\) expects WC_Order, WC_Order\|WC_Order_Refund\|true given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Reports/Orders/Stats/DataStore.php
+
+ -
+ message: '#^Parameter \#1 \$order of static method Automattic\\WooCommerce\\Admin\\API\\Reports\\Orders\\Stats\\DataStore\:\:get_num_items_sold\(\) expects WC_Order, Automattic\\WooCommerce\\Admin\\API\\Reports\\Orders\\Stats\\WC_Order_Refund\|WC_Order given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Reports/Orders/Stats/DataStore.php
+
+ -
+ message: '#^Parameter \#1 \$order of static method Automattic\\WooCommerce\\Admin\\API\\Reports\\Orders\\Stats\\DataStore\:\:get_num_items_sold\(\) expects WC_Order, WC_Order\|WC_Order_Refund\|true given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Reports/Orders/Stats/DataStore.php
+
+ -
+ message: '#^Parameter \#1 \$order of static method Automattic\\WooCommerce\\Admin\\API\\Reports\\Orders\\Stats\\DataStore\:\:update\(\) expects Automattic\\WooCommerce\\Admin\\API\\Reports\\Orders\\Stats\\WC_Order_Refund\|WC_Order, WC_Order\|WC_Order_Refund\|true given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Reports/Orders/Stats/DataStore.php
+
+ -
+ message: '#^Parameter \#3 \$data of method Automattic\\WooCommerce\\Admin\\API\\Reports\\Orders\\Stats\\DataStore\:\:get_noncached_stats_data\(\) expects Automattic\\WooCommerce\\Admin\\API\\Reports\\Orders\\Stats\\stdClass, object\{totals\: null, intervals\: array, total\: int, pages\: int, page_no\: int\}&stdClass given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Reports/Orders/Stats/DataStore.php
+
+ -
+ message: '#^Parameter \#5 \$data of method Automattic\\WooCommerce\\Admin\\API\\Reports\\DataStore\:\:fill_in_missing_intervals\(\) expects Automattic\\WooCommerce\\Admin\\API\\Reports\\stdClass, Automattic\\WooCommerce\\Admin\\API\\Reports\\Orders\\Stats\\stdClass given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Reports/Orders/Stats/DataStore.php
+
+ -
+ message: '#^Parameter \$data of method Automattic\\WooCommerce\\Admin\\API\\Reports\\Orders\\Stats\\DataStore\:\:get_noncached_stats_data\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\Reports\\Orders\\Stats\\stdClass\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Orders/Stats/DataStore.php
+
+ -
+ message: '#^Parameter \$order of method Automattic\\WooCommerce\\Admin\\API\\Reports\\Orders\\Stats\\DataStore\:\:update\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\Reports\\Orders\\Stats\\WC_Order_Refund\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Orders/Stats/DataStore.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Admin\\API\\Reports\\DataStore\:\:\$date_column_name \(string\) does not accept mixed\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/Admin/API/Reports/Orders/Stats/DataStore.php
+
+ -
+ message: '#^Part \$this\-\>query_args\[''product_includes''\]\[0\] \(mixed\) of encapsed string cannot be cast to string\.$#'
+ identifier: encapsedStringPart.nonString
+ count: 1
+ path: src/Admin/API/Reports/Orders/Stats/Segmenter.php
+
+ -
+ message: '#^Variable \$segments might not be defined\.$#'
+ identifier: variable.undefined
+ count: 1
+ path: src/Admin/API/Reports/Orders/Stats/Segmenter.php
+
+ -
+ message: '#^@param object \$report does not accept actual type of parameter\: array\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: src/Admin/API/Reports/PerformanceIndicators/Controller.php
+
+ -
+ message: '#^Access to an undefined property Automattic\\WooCommerce\\Admin\\API\\Reports\\PerformanceIndicators\\Controller\:\:\$formats\.$#'
+ identifier: property.notFound
+ count: 3
+ path: src/Admin/API/Reports/PerformanceIndicators/Controller.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$stat\.$#'
+ identifier: property.notFound
+ count: 3
+ path: src/Admin/API/Reports/PerformanceIndicators/Controller.php
+
+ -
+ message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
+ count: 2
+ path: src/Admin/API/Reports/PerformanceIndicators/Controller.php
+
+ -
+ message: '#^Binary operation "\-" between int\|string and int\|string results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: src/Admin/API/Reports/PerformanceIndicators/Controller.php
+
+ -
+ message: '#^Binary operation "\." between non\-falsy\-string and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: src/Admin/API/Reports/PerformanceIndicators/Controller.php
+
+ -
+ message: '#^Call to function method_exists\(\) with ''\\\\Jetpack'' and ''get_active_modules'' will always evaluate to false\.$#'
+ identifier: function.impossibleType
+ count: 1
+ path: src/Admin/API/Reports/PerformanceIndicators/Controller.php
+
+ -
+ message: '#^Call to method get_data\(\) on an unknown class Automattic\\WooCommerce\\Admin\\API\\Reports\\PerformanceIndicators\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/PerformanceIndicators/Controller.php
+
+ -
+ message: '#^Call to method get_status\(\) on an unknown class Automattic\\WooCommerce\\Admin\\API\\Reports\\PerformanceIndicators\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/PerformanceIndicators/Controller.php
+
+ -
+ message: '#^Cannot access offset ''_links'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Admin/API/Reports/PerformanceIndicators/Controller.php
+
+ -
+ message: '#^Cannot access offset ''description'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Admin/API/Reports/PerformanceIndicators/Controller.php
+
+ -
+ message: '#^Cannot access offset ''format'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Admin/API/Reports/PerformanceIndicators/Controller.php
+
+ -
+ message: '#^Cannot access offset ''href'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Admin/API/Reports/PerformanceIndicators/Controller.php
+
+ -
+ message: '#^Cannot access offset ''indicator'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Admin/API/Reports/PerformanceIndicators/Controller.php
+
+ -
+ message: '#^Cannot access offset ''path'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: src/Admin/API/Reports/PerformanceIndicators/Controller.php
+
+ -
+ message: '#^Cannot access offset ''properties'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: src/Admin/API/Reports/PerformanceIndicators/Controller.php
+
+ -
+ message: '#^Cannot access offset ''report'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Admin/API/Reports/PerformanceIndicators/Controller.php
+
+ -
+ message: '#^Cannot access offset ''schema'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Admin/API/Reports/PerformanceIndicators/Controller.php
+
+ -
+ message: '#^Cannot access offset ''slug'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: src/Admin/API/Reports/PerformanceIndicators/Controller.php
+
+ -
+ message: '#^Cannot access offset ''title'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Admin/API/Reports/PerformanceIndicators/Controller.php
+
+ -
+ message: '#^Cannot access offset ''totals'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Admin/API/Reports/PerformanceIndicators/Controller.php
+
+ -
+ message: '#^Cannot access offset 0 on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Admin/API/Reports/PerformanceIndicators/Controller.php
+
+ -
+ message: '#^Cannot call method remove_link\(\) on class\-string\|object\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Admin/API/Reports/PerformanceIndicators/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\PerformanceIndicators\\Controller\:\:get_allowed_items\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\Reports\\PerformanceIndicators\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/PerformanceIndicators/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\PerformanceIndicators\\Controller\:\:get_allowed_items\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Admin/API/Reports/PerformanceIndicators/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\PerformanceIndicators\\Controller\:\:get_allowed_items\(\) should return array\|Automattic\\WooCommerce\\Admin\\API\\Reports\\PerformanceIndicators\\WP_Error but returns WP_REST_Response\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/Reports/PerformanceIndicators/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\PerformanceIndicators\\Controller\:\:get_analytics_report_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Reports/PerformanceIndicators/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\PerformanceIndicators\\Controller\:\:get_indicator_data\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\Reports\\PerformanceIndicators\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/PerformanceIndicators/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\PerformanceIndicators\\Controller\:\:get_indicator_data\(\) never returns Automattic\\WooCommerce\\Admin\\API\\Reports\\PerformanceIndicators\\WP_Error so it can be removed from the return type\.$#'
+ identifier: return.unusedType
+ count: 1
+ path: src/Admin/API/Reports/PerformanceIndicators/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\PerformanceIndicators\\Controller\:\:get_items\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\Reports\\PerformanceIndicators\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/PerformanceIndicators/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\PerformanceIndicators\\Controller\:\:get_items\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Admin/API/Reports/PerformanceIndicators/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\PerformanceIndicators\\Controller\:\:get_items\(\) should return array\|Automattic\\WooCommerce\\Admin\\API\\Reports\\PerformanceIndicators\\WP_Error but returns WP_Error\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/Reports/PerformanceIndicators/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\PerformanceIndicators\\Controller\:\:get_items\(\) should return array\|Automattic\\WooCommerce\\Admin\\API\\Reports\\PerformanceIndicators\\WP_Error but returns WP_REST_Response\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/Reports/PerformanceIndicators/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\PerformanceIndicators\\Controller\:\:get_jetpack_modules_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Reports/PerformanceIndicators/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\PerformanceIndicators\\Controller\:\:get_stats_data\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\Reports\\PerformanceIndicators\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/PerformanceIndicators/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\PerformanceIndicators\\Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Admin/API/Reports/PerformanceIndicators/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\PerformanceIndicators\\Controller\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Reports/PerformanceIndicators/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\PerformanceIndicators\\Controller\:\:set_active_jetpack_modules\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Reports/PerformanceIndicators/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\PerformanceIndicators\\Controller\:\:sort\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\Reports\\PerformanceIndicators\\order\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/PerformanceIndicators/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\PerformanceIndicators\\Controller\:\:sort\(\) should return Automattic\\WooCommerce\\Admin\\API\\Reports\\PerformanceIndicators\\order but returns int\.$#'
+ identifier: return.type
+ count: 3
+ path: src/Admin/API/Reports/PerformanceIndicators/Controller.php
+
+ -
+ message: '#^Negated boolean expression is always false\.$#'
+ identifier: booleanNot.alwaysFalse
+ count: 1
+ path: src/Admin/API/Reports/PerformanceIndicators/Controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(GenericController\)\: Unexpected token "\\n ", expected ''\<'' at offset 110 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Admin/API/Reports/PerformanceIndicators/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$object of method Automattic\\WooCommerce\\Admin\\API\\Reports\\PerformanceIndicators\\Controller\:\:prepare_links\(\) expects object, array given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Reports/PerformanceIndicators/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$request \(array\) of method Automattic\\WooCommerce\\Admin\\API\\Reports\\PerformanceIndicators\\Controller\:\:prepare_reports_query\(\) should be compatible with parameter \$request \(WP_REST_Request\) of method Automattic\\WooCommerce\\Admin\\API\\Reports\\GenericController\:\:prepare_reports_query\(\)$#'
+ identifier: method.childParameterType
+ count: 1
+ path: src/Admin/API/Reports/PerformanceIndicators/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$request of method Automattic\\WooCommerce\\Admin\\API\\Reports\\PerformanceIndicators\\Controller\:\:prepare_reports_query\(\) expects array, WP_REST_Request given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Reports/PerformanceIndicators/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$stat_data of method Automattic\\WooCommerce\\Admin\\API\\Reports\\PerformanceIndicators\\Controller\:\:prepare_item_for_response\(\) expects array, object\{stat\: mixed, chart\: mixed, label\: mixed, format\: mixed, value\: mixed\}&stdClass given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Reports/PerformanceIndicators/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$stat_data of method Automattic\\WooCommerce\\Admin\\API\\Reports\\PerformanceIndicators\\Controller\:\:prepare_item_for_response\(\) expects array, object\{stat\: mixed, chart\: mixed, label\: mixed\}&stdClass given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Reports/PerformanceIndicators/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$str of function trim expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Reports/PerformanceIndicators/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$string of function substr expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Admin/API/Reports/PerformanceIndicators/Controller.php
+
+ -
+ message: '#^Parameter \#2 \$callback of function usort expects callable\(object\{stat\: mixed, chart\: mixed, label\: mixed, format\: mixed, value\: mixed\}&stdClass, object\{stat\: mixed, chart\: mixed, label\: mixed, format\: mixed, value\: mixed\}&stdClass\)\: int, array\{\$this\(Automattic\\WooCommerce\\Admin\\API\\Reports\\PerformanceIndicators\\Controller\), ''sort''\} given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Reports/PerformanceIndicators/Controller.php
+
+ -
+ message: '#^Parameter \#2 \$callback of function usort expects callable\(object\{stat\: mixed, chart\: mixed, label\: mixed\}&stdClass, object\{stat\: mixed, chart\: mixed, label\: mixed\}&stdClass\)\: int, array\{\$this\(Automattic\\WooCommerce\\Admin\\API\\Reports\\PerformanceIndicators\\Controller\), ''sort''\} given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Reports/PerformanceIndicators/Controller.php
+
+ -
+ message: '#^Parameter \#2 \$route of class WP_REST_Request constructor expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Reports/PerformanceIndicators/Controller.php
+
+ -
+ message: '#^Parameter \#2 \$value of method WP_HTTP_Response\:\:header\(\) expects string, int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Reports/PerformanceIndicators/Controller.php
+
+ -
+ message: '#^Parameter \#2 \$value of method WP_HTTP_Response\:\:header\(\) expects string, int\<0, max\> given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Reports/PerformanceIndicators/Controller.php
+
+ -
+ message: '#^Parameter \#3 \$length of function substr expects int, int\<0, max\>\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Reports/PerformanceIndicators/Controller.php
+
+ -
+ message: '#^@param object \$report does not accept actual type of parameter\: array\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: src/Admin/API/Reports/Products/Controller.php
+
+ -
+ message: '#^Cannot access offset ''extended_info'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Admin/API/Reports/Products/Controller.php
+
+ -
+ message: '#^Cannot access offset ''name'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Admin/API/Reports/Products/Controller.php
+
+ -
+ message: '#^Invalid array key type array\.$#'
+ identifier: offsetAccess.invalidOffset
+ count: 1
+ path: src/Admin/API/Reports/Products/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Products\\Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Admin/API/Reports/Products/Controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(GenericController\)\: Unexpected token "\\n ", expected ''\<'' at offset 96 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Admin/API/Reports/Products/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$request \(array\) of method Automattic\\WooCommerce\\Admin\\API\\Reports\\Products\\Controller\:\:prepare_reports_query\(\) should be compatible with parameter \$request \(WP_REST_Request\) of method Automattic\\WooCommerce\\Admin\\API\\Reports\\GenericController\:\:prepare_reports_query\(\)$#'
+ identifier: method.childParameterType
+ count: 1
+ path: src/Admin/API/Reports/Products/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$text of function wp_strip_all_tags expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Reports/Products/Controller.php
+
+ -
+ message: '#^Parameter \#2 \$pieces of function implode expects array, list\<string\>\|WP_Error given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Reports/Products/Controller.php
+
+ -
+ message: '#^Access to property \$data on an unknown class Automattic\\WooCommerce\\Admin\\API\\Reports\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 2
+ path: src/Admin/API/Reports/Products/DataStore.php
+
+ -
+ message: '#^Access to property \$data on an unknown class Automattic\\WooCommerce\\Admin\\API\\Reports\\stdClass\.$#'
+ identifier: class.notFound
+ count: 2
+ path: src/Admin/API/Reports/Products/DataStore.php
+
+ -
+ message: '#^ArrayObject\<\*NEVER\*, \*NEVER\*\> does not accept int\.$#'
+ identifier: offsetAssign.valueType
+ count: 1
+ path: src/Admin/API/Reports/Products/DataStore.php
+
+ -
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_product_id\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Admin/API/Reports/Products/DataStore.php
+
+ -
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_total\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Admin/API/Reports/Products/DataStore.php
+
+ -
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_variation_id\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Admin/API/Reports/Products/DataStore.php
+
+ -
+ message: '#^Cannot call method date\(\) on WC_DateTime\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Admin/API/Reports/Products/DataStore.php
+
+ -
+ message: '#^Cannot call method get_date_created\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Admin/API/Reports/Products/DataStore.php
+
+ -
+ message: '#^Cannot call method get_id\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: src/Admin/API/Reports/Products/DataStore.php
+
+ -
+ message: '#^Cannot call method get_item_cart_tax_amount\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: src/Admin/API/Reports/Products/DataStore.php
+
+ -
+ message: '#^Cannot call method get_item_coupon_amount\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Admin/API/Reports/Products/DataStore.php
+
+ -
+ message: '#^Cannot call method get_item_shipping_amount\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: src/Admin/API/Reports/Products/DataStore.php
+
+ -
+ message: '#^Cannot call method get_item_shipping_tax_amount\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: src/Admin/API/Reports/Products/DataStore.php
+
+ -
+ message: '#^Cannot call method get_items\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Admin/API/Reports/Products/DataStore.php
+
+ -
+ message: '#^Cannot call method get_items\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Admin/API/Reports/Products/DataStore.php
+
+ -
+ message: '#^Cannot call method get_meta\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Admin/API/Reports/Products/DataStore.php
+
+ -
+ message: '#^Cannot call method get_parent_id\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Admin/API/Reports/Products/DataStore.php
+
+ -
+ message: '#^Cannot call method get_remaining_refund_items\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Admin/API/Reports/Products/DataStore.php
+
+ -
+ message: '#^Cannot call method get_report_customer_id\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Admin/API/Reports/Products/DataStore.php
+
+ -
+ message: '#^Cannot call method get_shipping_tax\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Admin/API/Reports/Products/DataStore.php
+
+ -
+ message: '#^Cannot call method get_shipping_total\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Admin/API/Reports/Products/DataStore.php
+
+ -
+ message: '#^Cannot call method get_total_shipping_refunded\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Admin/API/Reports/Products/DataStore.php
+
+ -
+ message: '#^Cannot call method get_total_shipping_tax_refunded\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Admin/API/Reports/Products/DataStore.php
+
+ -
+ message: '#^Cannot call method get_type\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Admin/API/Reports/Products/DataStore.php
+
+ -
+ message: '#^Cannot call method save_meta_data\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Admin/API/Reports/Products/DataStore.php
+
+ -
+ message: '#^Cannot call method update_meta_data\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Admin/API/Reports/Products/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Products\\DataStore\:\:add_from_sql_params\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Reports/Products/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Products\\DataStore\:\:add_full_refund_type_meta\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Reports/Products/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Products\\DataStore\:\:add_partial_refund_type_meta\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Reports/Products/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Products\\DataStore\:\:add_refund_type_meta\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Reports/Products/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Products\\DataStore\:\:add_sql_query_params\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Reports/Products/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Products\\DataStore\:\:assign_report_columns\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Reports/Products/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Products\\DataStore\:\:get_data\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\Reports\\Products\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Products/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Products\\DataStore\:\:get_data\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\Reports\\Products\\stdClass\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Products/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Products\\DataStore\:\:get_data\(\) should return Automattic\\WooCommerce\\Admin\\API\\Reports\\Products\\stdClass\|Automattic\\WooCommerce\\Admin\\API\\Reports\\Products\\WP_Error but returns Automattic\\WooCommerce\\Admin\\API\\Reports\\stdClass\|Automattic\\WooCommerce\\Admin\\API\\Reports\\WP_Error\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/Reports/Products/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Products\\DataStore\:\:get_noncached_data\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\Reports\\Products\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Products/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Products\\DataStore\:\:get_noncached_data\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\Reports\\Products\\stdClass\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Products/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Products\\DataStore\:\:get_noncached_data\(\) should return Automattic\\WooCommerce\\Admin\\API\\Reports\\Products\\stdClass\|Automattic\\WooCommerce\\Admin\\API\\Reports\\Products\\WP_Error but returns object\{data\: array, total\: int, pages\: int, page_no\: int\}&stdClass\.$#'
+ identifier: return.type
+ count: 2
+ path: src/Admin/API/Reports/Products/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Products\\DataStore\:\:get_noncached_data\(\) should return Automattic\\WooCommerce\\Admin\\API\\Reports\\Products\\stdClass\|Automattic\\WooCommerce\\Admin\\API\\Reports\\Products\\WP_Error but returns object\{data\: array\<array\|Automattic\\WooCommerce\\Admin\\API\\Reports\\WP_Error\>, total\: int, pages\: int, page_no\: int\}&stdClass\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/Reports/Products/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Products\\DataStore\:\:include_extended_info\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Reports/Products/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Products\\DataStore\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Reports/Products/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Products\\DataStore\:\:initialize_queries\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Reports/Products/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Products\\DataStore\:\:sync_on_order_delete\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Reports/Products/DataStore.php
+
+ -
+ message: '#^Method WC_Order_Item\:\:get_quantity\(\) invoked with 1 parameter, 0 required\.$#'
+ identifier: arguments.count
+ count: 1
+ path: src/Admin/API/Reports/Products/DataStore.php
+
+ -
+ message: '#^Parameter \#1 \$array of method Automattic\\WooCommerce\\Admin\\API\\Reports\\DataStore\:\:cast_numbers\(\) expects array, ArrayObject\<\*NEVER\*, \*NEVER\*\> given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Reports/Products/DataStore.php
+
+ -
+ message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Reports/Products/DataStore.php
+
+ -
+ message: '#^Parameter \#2 \$id_field of method Automattic\\WooCommerce\\Admin\\API\\Reports\\DataStore\:\:get_ids_table\(\) expects array, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Reports/Products/DataStore.php
+
+ -
+ message: '#^Part \$ids_table \(array\) of encapsed string cannot be cast to string\.$#'
+ identifier: encapsedStringPart.nonString
+ count: 1
+ path: src/Admin/API/Reports/Products/DataStore.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_data\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Admin/API/Reports/Products/Query.php
+
+ -
+ message: '#^@param object \$report does not accept actual type of parameter\: array\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: src/Admin/API/Reports/Products/Stats/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Products\\Stats\\Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Admin/API/Reports/Products/Stats/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Products\\Stats\\Controller\:\:prepare_reports_query\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Admin/API/Reports/Products/Stats/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Products\\Stats\\Controller\:\:set_default_report_data\(\) should return object but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/Reports/Products/Stats/Controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(GenericStatsController\)\: Unexpected token "\\n ", expected ''\<'' at offset 107 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Admin/API/Reports/Products/Stats/Controller.php
+
+ -
+ message: '#^$#'
+ identifier: class.notFound
+ count: 4
+ path: src/Admin/API/Reports/Products/Stats/DataStore.php
+
+ -
+ message: '#^Access to property \$intervals on an unknown class Automattic\\WooCommerce\\Admin\\API\\Reports\\Products\\Stats\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 3
+ path: src/Admin/API/Reports/Products/Stats/DataStore.php
+
+ -
+ message: '#^Access to property \$intervals on an unknown class Automattic\\WooCommerce\\Admin\\API\\Reports\\Products\\Stats\\stdClass\.$#'
+ identifier: class.notFound
+ count: 7
+ path: src/Admin/API/Reports/Products/Stats/DataStore.php
+
+ -
+ message: '#^Access to property \$totals on an unknown class Automattic\\WooCommerce\\Admin\\API\\Reports\\Products\\Stats\\stdClass\.$#'
+ identifier: class.notFound
+ count: 2
+ path: src/Admin/API/Reports/Products/Stats/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Products\\Stats\\DataStore\:\:assign_report_columns\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Reports/Products/Stats/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Products\\Stats\\DataStore\:\:get_data\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\Reports\\Products\\Stats\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Products/Stats/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Products\\Stats\\DataStore\:\:get_data\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\Reports\\Products\\Stats\\stdClass\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Products/Stats/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Products\\Stats\\DataStore\:\:get_data\(\) should return Automattic\\WooCommerce\\Admin\\API\\Reports\\Products\\Stats\\stdClass\|Automattic\\WooCommerce\\Admin\\API\\Reports\\Products\\Stats\\WP_Error but returns Automattic\\WooCommerce\\Admin\\API\\Reports\\stdClass\|Automattic\\WooCommerce\\Admin\\API\\Reports\\WP_Error\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/Reports/Products/Stats/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Products\\Stats\\DataStore\:\:get_noncached_data\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\Reports\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Products/Stats/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Products\\Stats\\DataStore\:\:get_noncached_data\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\Reports\\stdClass\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Products/Stats/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Products\\Stats\\DataStore\:\:get_noncached_data\(\) should return Automattic\\WooCommerce\\Admin\\API\\Reports\\stdClass\|Automattic\\WooCommerce\\Admin\\API\\Reports\\WP_Error but returns Automattic\\WooCommerce\\Admin\\API\\Reports\\Products\\Stats\\stdClass\|Automattic\\WooCommerce\\Admin\\API\\Reports\\Products\\Stats\\WP_Error\|\(object\{totals\: null, intervals\: array, total\: int, pages\: int, page_no\: int\}&stdClass\)\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/Reports/Products/Stats/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Products\\Stats\\DataStore\:\:get_noncached_stats_data\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\Reports\\Products\\Stats\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Products/Stats/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Products\\Stats\\DataStore\:\:get_noncached_stats_data\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\Reports\\Products\\Stats\\stdClass\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Products/Stats/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Products\\Stats\\DataStore\:\:get_noncached_stats_data\(\) should return Automattic\\WooCommerce\\Admin\\API\\Reports\\Products\\Stats\\stdClass\|Automattic\\WooCommerce\\Admin\\API\\Reports\\Products\\Stats\\WP_Error but returns Automattic\\WooCommerce\\Admin\\API\\Reports\\stdClass\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/Reports/Products/Stats/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Products\\Stats\\DataStore\:\:get_noncached_stats_data\(\) should return Automattic\\WooCommerce\\Admin\\API\\Reports\\Products\\Stats\\stdClass\|Automattic\\WooCommerce\\Admin\\API\\Reports\\Products\\Stats\\WP_Error but returns WP_Error\.$#'
+ identifier: return.type
+ count: 2
+ path: src/Admin/API/Reports/Products/Stats/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Products\\Stats\\DataStore\:\:initialize_queries\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Reports/Products/Stats/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Products\\Stats\\DataStore\:\:update_sql_query_params\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Reports/Products/Stats/DataStore.php
+
+ -
+ message: '#^Parameter \#1 \$data of method Automattic\\WooCommerce\\Admin\\API\\Reports\\Segmenter\:\:add_intervals_segments\(\) expects Automattic\\WooCommerce\\Admin\\API\\Reports\\stdClass, Automattic\\WooCommerce\\Admin\\API\\Reports\\Products\\Stats\\stdClass\|Automattic\\WooCommerce\\Admin\\API\\Reports\\stdClass given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Reports/Products/Stats/DataStore.php
+
+ -
+ message: '#^Parameter \#3 \$data of method Automattic\\WooCommerce\\Admin\\API\\Reports\\Products\\Stats\\DataStore\:\:get_noncached_stats_data\(\) expects Automattic\\WooCommerce\\Admin\\API\\Reports\\Products\\Stats\\stdClass, object\{totals\: null, intervals\: array, total\: int, pages\: int, page_no\: int\}&stdClass given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Reports/Products/Stats/DataStore.php
+
+ -
+ message: '#^Parameter \#5 \$data of method Automattic\\WooCommerce\\Admin\\API\\Reports\\DataStore\:\:fill_in_missing_intervals\(\) expects Automattic\\WooCommerce\\Admin\\API\\Reports\\stdClass, Automattic\\WooCommerce\\Admin\\API\\Reports\\Products\\Stats\\stdClass given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Reports/Products/Stats/DataStore.php
+
+ -
+ message: '#^Parameter \$data of method Automattic\\WooCommerce\\Admin\\API\\Reports\\Products\\Stats\\DataStore\:\:get_noncached_stats_data\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\Reports\\Products\\Stats\\stdClass\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Products/Stats/DataStore.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_data\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Admin/API/Reports/Products/Stats/Query.php
+
+ -
+ message: '#^Part \$this\-\>query_args\[''product_includes''\]\[0\] \(mixed\) of encapsed string cannot be cast to string\.$#'
+ identifier: encapsedStringPart.nonString
+ count: 1
+ path: src/Admin/API/Reports/Products/Stats/Segmenter.php
+
+ -
+ message: '#^Variable \$segments might not be defined\.$#'
+ identifier: variable.undefined
+ count: 1
+ path: src/Admin/API/Reports/Products/Stats/Segmenter.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_data\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Admin/API/Reports/Revenue/Query.php
+
+ -
+ message: '#^@param object \$report does not accept actual type of parameter\: array\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: src/Admin/API/Reports/Revenue/Stats/Controller.php
+
+ -
+ message: '#^Call to an undefined method WP_Error\|WP_REST_Response\:\:get_data\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Admin/API/Reports/Revenue/Stats/Controller.php
+
+ -
+ message: '#^Call to an undefined method WP_Error\|WP_REST_Response\:\:set_data\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Admin/API/Reports/Revenue/Stats/Controller.php
+
+ -
+ message: '#^Cannot access offset ''intervals'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Admin/API/Reports/Revenue/Stats/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Revenue\\Stats\\Controller\:\:get_export_items\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Admin/API/Reports/Revenue/Stats/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Revenue\\Stats\\Controller\:\:get_export_items\(\) should return WP_REST_Response but returns WP_Error\|WP_REST_Response\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/Reports/Revenue/Stats/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Revenue\\Stats\\Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Admin/API/Reports/Revenue/Stats/Controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(GenericStatsController\)\: Unexpected token "\\n ", expected ''\<'' at offset 106 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Admin/API/Reports/Revenue/Stats/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$number of function number_format expects float, float\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Reports/Revenue/Stats/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$request \(array\) of method Automattic\\WooCommerce\\Admin\\API\\Reports\\Revenue\\Stats\\Controller\:\:prepare_reports_query\(\) should be compatible with parameter \$request \(WP_REST_Request\) of method Automattic\\WooCommerce\\Admin\\API\\Reports\\GenericController\:\:prepare_reports_query\(\)$#'
+ identifier: method.childParameterType
+ count: 1
+ path: src/Admin/API/Reports/Revenue/Stats/Controller.php
+
+ -
+ message: '#^$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Segmenter.php
+
+ -
+ message: '#^Access to offset ''segment_id'' on an unknown class Automattic\\WooCommerce\\Admin\\API\\Reports\\stdClass\.$#'
+ identifier: class.notFound
+ count: 6
+ path: src/Admin/API/Reports/Segmenter.php
+
+ -
+ message: '#^Access to property \$intervals on an unknown class Automattic\\WooCommerce\\Admin\\API\\Reports\\stdClass\.$#'
+ identifier: class.notFound
+ count: 6
+ path: src/Admin/API/Reports/Segmenter.php
+
+ -
+ message: '#^Argument of an invalid type array\|stdClass supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
+ count: 2
+ path: src/Admin/API/Reports/Segmenter.php
+
+ -
+ message: '#^Cannot access property \$slug on WP_Term\|false\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: src/Admin/API/Reports/Segmenter.php
+
+ -
+ message: '#^Cannot call method get_name\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Admin/API/Reports/Segmenter.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Segmenter\:\:add_intervals_segments\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Reports/Segmenter.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Segmenter\:\:assign_segments_to_intervals\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Reports/Segmenter.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Segmenter\:\:fill_in_missing_interval_segments\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Reports/Segmenter.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Segmenter\:\:get_all_segments\(\) should return array but returns array\|bool\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/Reports/Segmenter.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Segmenter\:\:get_order_related_segments\(\) should return array but return statement is missing\.$#'
+ identifier: return.missing
+ count: 1
+ path: src/Admin/API/Reports/Segmenter.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Segmenter\:\:get_product_related_segments\(\) should return array but return statement is missing\.$#'
+ identifier: return.missing
+ count: 1
+ path: src/Admin/API/Reports/Segmenter.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Segmenter\:\:segment_cmp\(\) should return string but return statement is missing\.$#'
+ identifier: return.missing
+ count: 1
+ path: src/Admin/API/Reports/Segmenter.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Segmenter\:\:segment_cmp\(\) should return string but returns int\.$#'
+ identifier: return.type
+ count: 3
+ path: src/Admin/API/Reports/Segmenter.php
+
+ -
+ message: '#^Parameter \#1 \$string of function substr expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Admin/API/Reports/Segmenter.php
+
+ -
+ message: '#^Parameter \$a of method Automattic\\WooCommerce\\Admin\\API\\Reports\\Segmenter\:\:segment_cmp\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\Reports\\stdClass\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Segmenter.php
+
+ -
+ message: '#^Parameter \$b of method Automattic\\WooCommerce\\Admin\\API\\Reports\\Segmenter\:\:segment_cmp\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\Reports\\stdClass\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Segmenter.php
+
+ -
+ message: '#^Parameter \$data of method Automattic\\WooCommerce\\Admin\\API\\Reports\\Segmenter\:\:add_intervals_segments\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\Reports\\stdClass\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Segmenter.php
+
+ -
+ message: '#^Parameter \$data of method Automattic\\WooCommerce\\Admin\\API\\Reports\\Segmenter\:\:fill_in_missing_interval_segments\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\Reports\\stdClass\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Segmenter.php
+
+ -
+ message: '#^Possibly invalid array key type mixed\.$#'
+ identifier: offsetAccess.invalidOffset
+ count: 5
+ path: src/Admin/API/Reports/Segmenter.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Admin\\API\\Reports\\Segmenter\:\:\$query_args \(array\) does not accept default value of type string\.$#'
+ identifier: property.defaultValue
+ count: 1
+ path: src/Admin/API/Reports/Segmenter.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\SqlQuery\:\:add_sql_clause\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Reports/SqlQuery.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\SqlQuery\:\:clear_all_clauses\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Reports/SqlQuery.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\SqlQuery\:\:clear_sql_clause\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Reports/SqlQuery.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\SqlQuery\:\:str_replace_clause\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Reports/SqlQuery.php
+
+ -
+ message: '#^Call to an undefined method object\:\:get\(\)\.$#'
+ identifier: method.notFound
+ count: 7
+ path: src/Admin/API/Reports/Stock/Controller.php
+
+ -
+ message: '#^Call to method get_id\(\) on an unknown class Automattic\\WooCommerce\\Admin\\API\\Reports\\Stock\\WC_Product\.$#'
+ identifier: class.notFound
+ count: 4
+ path: src/Admin/API/Reports/Stock/Controller.php
+
+ -
+ message: '#^Call to method get_low_stock_amount\(\) on an unknown class Automattic\\WooCommerce\\Admin\\API\\Reports\\Stock\\WC_Product\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Stock/Controller.php
+
+ -
+ message: '#^Call to method get_manage_stock\(\) on an unknown class Automattic\\WooCommerce\\Admin\\API\\Reports\\Stock\\WC_Product\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Stock/Controller.php
+
+ -
+ message: '#^Call to method get_name\(\) on an unknown class Automattic\\WooCommerce\\Admin\\API\\Reports\\Stock\\WC_Product\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Stock/Controller.php
+
+ -
+ message: '#^Call to method get_parent_id\(\) on an unknown class Automattic\\WooCommerce\\Admin\\API\\Reports\\Stock\\WC_Product\.$#'
+ identifier: class.notFound
+ count: 5
+ path: src/Admin/API/Reports/Stock/Controller.php
+
+ -
+ message: '#^Call to method get_sku\(\) on an unknown class Automattic\\WooCommerce\\Admin\\API\\Reports\\Stock\\WC_Product\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Stock/Controller.php
+
+ -
+ message: '#^Call to method get_stock_quantity\(\) on an unknown class Automattic\\WooCommerce\\Admin\\API\\Reports\\Stock\\WC_Product\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Stock/Controller.php
+
+ -
+ message: '#^Call to method get_stock_status\(\) on an unknown class Automattic\\WooCommerce\\Admin\\API\\Reports\\Stock\\WC_Product\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Stock/Controller.php
+
+ -
+ message: '#^Call to method is_type\(\) on an unknown class Automattic\\WooCommerce\\Admin\\API\\Reports\\Stock\\WC_Product\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Stock/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Stock\\Controller\:\:get_items\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\Reports\\Stock\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Stock/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Stock\\Controller\:\:get_items\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Admin/API/Reports/Stock/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Stock\\Controller\:\:get_items\(\) should return array\|Automattic\\WooCommerce\\Admin\\API\\Reports\\Stock\\WP_Error but returns WP_REST_Response\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/Reports/Stock/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Stock\\Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Admin/API/Reports/Stock/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Stock\\Controller\:\:prepare_reports_query\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Admin/API/Reports/Stock/Controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(GenericController\)\: Unexpected token "\\n ", expected ''\<'' at offset 93 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Admin/API/Reports/Stock/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 3
+ path: src/Admin/API/Reports/Stock/Controller.php
+
+ -
+ message: '#^Parameter \$product of method Automattic\\WooCommerce\\Admin\\API\\Reports\\Stock\\Controller\:\:prepare_item_for_response\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\Reports\\Stock\\WC_Product\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Stock/Controller.php
+
+ -
+ message: '#^Parameter \$product of method Automattic\\WooCommerce\\Admin\\API\\Reports\\Stock\\Controller\:\:prepare_links\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\Reports\\Stock\\WC_Product\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Stock/Controller.php
+
+ -
+ message: '#^Part \$order \(array\|string\) of encapsed string cannot be cast to string\.$#'
+ identifier: encapsedStringPart.nonString
+ count: 6
+ path: src/Admin/API/Reports/Stock/Controller.php
+
+ -
+ message: '#^@param Automattic\\WooCommerce\\Admin\\API\\Reports\\Stock\\Stats\\WP_REST_Response \$response does not accept actual type of parameter\: WP_REST_Response\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: src/Admin/API/Reports/Stock/Stats/Controller.php
+
+ -
+ message: '#^Access to offset ''context'' on an unknown class Automattic\\WooCommerce\\Admin\\API\\Reports\\Stock\\Stats\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 2
+ path: src/Admin/API/Reports/Stock/Stats/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Stock\\Stats\\Controller\:\:get_items\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\Reports\\Stock\\Stats\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Stock/Stats/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Stock\\Stats\\Controller\:\:get_items\(\) should return array\|Automattic\\WooCommerce\\Admin\\API\\Reports\\Stock\\Stats\\WP_Error but returns WP_REST_Response\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/Reports/Stock/Stats/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Stock\\Stats\\Controller\:\:prepare_item_for_response\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\Reports\\Stock\\Stats\\WP_REST_Response\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Stock/Stats/Controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Reports_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 108 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Admin/API/Reports/Stock/Stats/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$response_data of method WP_REST_Controller\:\:add_additional_fields_to_object\(\) expects array, Automattic\\WooCommerce\\Admin\\API\\Reports\\Stock\\Stats\\WC_Product given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Reports/Stock/Stats/Controller.php
+
+ -
+ message: '#^Parameter \#2 \$request of method WP_REST_Controller\:\:add_additional_fields_to_object\(\) expects WP_REST_Request, Automattic\\WooCommerce\\Admin\\API\\Reports\\Stock\\Stats\\WP_REST_Request given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Reports/Stock/Stats/Controller.php
+
+ -
+ message: '#^Parameter \$report of method Automattic\\WooCommerce\\Admin\\API\\Reports\\Stock\\Stats\\Controller\:\:prepare_item_for_response\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\Reports\\Stock\\Stats\\WC_Product\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Stock/Stats/Controller.php
+
+ -
+ message: '#^Parameter \$request of method Automattic\\WooCommerce\\Admin\\API\\Reports\\Stock\\Stats\\Controller\:\:get_items\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\Reports\\Stock\\Stats\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Stock/Stats/Controller.php
+
+ -
+ message: '#^Parameter \$request of method Automattic\\WooCommerce\\Admin\\API\\Reports\\Stock\\Stats\\Controller\:\:prepare_item_for_response\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\Reports\\Stock\\Stats\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Stock/Stats/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Admin/API/Reports/Stock/Stats/DataStore.php
+
+ -
+ message: '#^Parameter \#1 \$var of function intval expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 3
+ path: src/Admin/API/Reports/Stock/Stats/DataStore.php
+
+ -
+ message: '#^Return type \(array\) of method Automattic\\WooCommerce\\Admin\\API\\Reports\\Stock\\Stats\\DataStore\:\:get_data\(\) should be compatible with return type \(Automattic\\WooCommerce\\Admin\\API\\Reports\\stdClass\|Automattic\\WooCommerce\\Admin\\API\\Reports\\WP_Error\) of method Automattic\\WooCommerce\\Admin\\API\\Reports\\DataStore\:\:get_data\(\)$#'
+ identifier: method.childReturnType
+ count: 1
+ path: src/Admin/API/Reports/Stock/Stats/DataStore.php
+
+ -
+ message: '#^Return type \(array\) of method Automattic\\WooCommerce\\Admin\\API\\Reports\\Stock\\Stats\\DataStore\:\:get_data\(\) should be compatible with return type \(Automattic\\WooCommerce\\Admin\\API\\Reports\\stdClass\|Automattic\\WooCommerce\\Admin\\API\\Reports\\WP_Error\) of method Automattic\\WooCommerce\\Admin\\API\\Reports\\DataStoreInterface\:\:get_data\(\)$#'
+ identifier: method.childReturnType
+ count: 1
+ path: src/Admin/API/Reports/Stock/Stats/DataStore.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_data\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Admin/API/Reports/Stock/Stats/Query.php
+
+ -
+ message: '#^Access to property \$tax_rate_id on an unknown class Automattic\\WooCommerce\\Admin\\API\\Reports\\Taxes\\WC_Reports_Query\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Taxes/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Taxes\\Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Admin/API/Reports/Taxes/Controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(GenericController\)\: Unexpected token "\\n ", expected ''\<'' at offset 93 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Admin/API/Reports/Taxes/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$number of function number_format expects float, float\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Reports/Taxes/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$object of method Automattic\\WooCommerce\\Admin\\API\\Reports\\Taxes\\Controller\:\:prepare_links\(\) expects Automattic\\WooCommerce\\Admin\\API\\Reports\\Taxes\\WC_Reports_Query, stdClass given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Reports/Taxes/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$request \(array\) of method Automattic\\WooCommerce\\Admin\\API\\Reports\\Taxes\\Controller\:\:prepare_reports_query\(\) should be compatible with parameter \$request \(WP_REST_Request\) of method Automattic\\WooCommerce\\Admin\\API\\Reports\\GenericController\:\:prepare_reports_query\(\)$#'
+ identifier: method.childParameterType
+ count: 1
+ path: src/Admin/API/Reports/Taxes/Controller.php
+
+ -
+ message: '#^Parameter \$object of method Automattic\\WooCommerce\\Admin\\API\\Reports\\Taxes\\Controller\:\:prepare_links\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\Reports\\Taxes\\WC_Reports_Query\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Taxes/Controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_rate_id\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: src/Admin/API/Reports/Taxes/DataStore.php
+
+ -
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_shipping_tax_total\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: src/Admin/API/Reports/Taxes/DataStore.php
+
+ -
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_tax_total\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: src/Admin/API/Reports/Taxes/DataStore.php
+
+ -
+ message: '#^Cannot call method date\(\) on WC_DateTime\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Admin/API/Reports/Taxes/DataStore.php
+
+ -
+ message: '#^Cannot call method get_date_created\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Admin/API/Reports/Taxes/DataStore.php
+
+ -
+ message: '#^Cannot call method get_id\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: src/Admin/API/Reports/Taxes/DataStore.php
+
+ -
+ message: '#^Cannot call method get_items\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Admin/API/Reports/Taxes/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Taxes\\DataStore\:\:add_from_sql_params\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Reports/Taxes/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Taxes\\DataStore\:\:add_sql_query_params\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Reports/Taxes/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Taxes\\DataStore\:\:assign_report_columns\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Reports/Taxes/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Taxes\\DataStore\:\:get_noncached_data\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\Reports\\Taxes\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Taxes/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Taxes\\DataStore\:\:get_noncached_data\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\Reports\\Taxes\\stdClass\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Taxes/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Taxes\\DataStore\:\:get_noncached_data\(\) should return Automattic\\WooCommerce\\Admin\\API\\Reports\\Taxes\\stdClass\|Automattic\\WooCommerce\\Admin\\API\\Reports\\Taxes\\WP_Error but returns object\{data\: array, total\: int, pages\: int, page_no\: int\}&stdClass\.$#'
+ identifier: return.type
+ count: 2
+ path: src/Admin/API/Reports/Taxes/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Taxes\\DataStore\:\:get_noncached_data\(\) should return Automattic\\WooCommerce\\Admin\\API\\Reports\\Taxes\\stdClass\|Automattic\\WooCommerce\\Admin\\API\\Reports\\Taxes\\WP_Error but returns object\{data\: array\<array\|Automattic\\WooCommerce\\Admin\\API\\Reports\\WP_Error\>, total\: int, pages\: int, page_no\: int\}&stdClass\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/Reports/Taxes/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Taxes\\DataStore\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Reports/Taxes/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Taxes\\DataStore\:\:initialize_queries\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Reports/Taxes/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Taxes\\DataStore\:\:sync_on_order_delete\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Reports/Taxes/DataStore.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_data\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Admin/API/Reports/Taxes/Query.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Taxes\\Stats\\Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Admin/API/Reports/Taxes/Stats/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Taxes\\Stats\\Controller\:\:set_default_report_data\(\) should return object but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/Reports/Taxes/Stats/Controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(GenericStatsController\)\: Unexpected token "\\n ", expected ''\<'' at offset 104 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Admin/API/Reports/Taxes/Stats/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$request \(array\) of method Automattic\\WooCommerce\\Admin\\API\\Reports\\Taxes\\Stats\\Controller\:\:prepare_reports_query\(\) should be compatible with parameter \$request \(WP_REST_Request\) of method Automattic\\WooCommerce\\Admin\\API\\Reports\\GenericController\:\:prepare_reports_query\(\)$#'
+ identifier: method.childParameterType
+ count: 1
+ path: src/Admin/API/Reports/Taxes/Stats/Controller.php
+
+ -
+ message: '#^$#'
+ identifier: class.notFound
+ count: 4
+ path: src/Admin/API/Reports/Taxes/Stats/DataStore.php
+
+ -
+ message: '#^Access to property \$intervals on an unknown class Automattic\\WooCommerce\\Admin\\API\\Reports\\Taxes\\Stats\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 3
+ path: src/Admin/API/Reports/Taxes/Stats/DataStore.php
+
+ -
+ message: '#^Access to property \$intervals on an unknown class Automattic\\WooCommerce\\Admin\\API\\Reports\\Taxes\\Stats\\stdClass\.$#'
+ identifier: class.notFound
+ count: 7
+ path: src/Admin/API/Reports/Taxes/Stats/DataStore.php
+
+ -
+ message: '#^Access to property \$totals on an unknown class Automattic\\WooCommerce\\Admin\\API\\Reports\\Taxes\\Stats\\stdClass\.$#'
+ identifier: class.notFound
+ count: 2
+ path: src/Admin/API/Reports/Taxes/Stats/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Taxes\\Stats\\DataStore\:\:assign_report_columns\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Reports/Taxes/Stats/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Taxes\\Stats\\DataStore\:\:get_noncached_data\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\Reports\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Taxes/Stats/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Taxes\\Stats\\DataStore\:\:get_noncached_data\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\Reports\\stdClass\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Taxes/Stats/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Taxes\\Stats\\DataStore\:\:get_noncached_data\(\) should return Automattic\\WooCommerce\\Admin\\API\\Reports\\stdClass\|Automattic\\WooCommerce\\Admin\\API\\Reports\\WP_Error but returns Automattic\\WooCommerce\\Admin\\API\\Reports\\Taxes\\Stats\\stdClass\|Automattic\\WooCommerce\\Admin\\API\\Reports\\Taxes\\Stats\\WP_Error\|\(object\{totals\: null, intervals\: array, total\: int, pages\: int, page_no\: int\}&stdClass\)\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/Reports/Taxes/Stats/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Taxes\\Stats\\DataStore\:\:get_noncached_stats_data\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\Reports\\Taxes\\Stats\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Taxes/Stats/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Taxes\\Stats\\DataStore\:\:get_noncached_stats_data\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\Reports\\Taxes\\Stats\\stdClass\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Taxes/Stats/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Taxes\\Stats\\DataStore\:\:get_noncached_stats_data\(\) should return Automattic\\WooCommerce\\Admin\\API\\Reports\\Taxes\\Stats\\stdClass\|Automattic\\WooCommerce\\Admin\\API\\Reports\\Taxes\\Stats\\WP_Error but returns Automattic\\WooCommerce\\Admin\\API\\Reports\\stdClass\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/Reports/Taxes/Stats/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Taxes\\Stats\\DataStore\:\:get_noncached_stats_data\(\) should return Automattic\\WooCommerce\\Admin\\API\\Reports\\Taxes\\Stats\\stdClass\|Automattic\\WooCommerce\\Admin\\API\\Reports\\Taxes\\Stats\\WP_Error but returns WP_Error\.$#'
+ identifier: return.type
+ count: 2
+ path: src/Admin/API/Reports/Taxes/Stats/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Taxes\\Stats\\DataStore\:\:initialize_queries\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Reports/Taxes/Stats/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Taxes\\Stats\\DataStore\:\:update_sql_query_params\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Reports/Taxes/Stats/DataStore.php
+
+ -
+ message: '#^Parameter \#1 \$data of method Automattic\\WooCommerce\\Admin\\API\\Reports\\Segmenter\:\:add_intervals_segments\(\) expects Automattic\\WooCommerce\\Admin\\API\\Reports\\stdClass, Automattic\\WooCommerce\\Admin\\API\\Reports\\stdClass\|Automattic\\WooCommerce\\Admin\\API\\Reports\\Taxes\\Stats\\stdClass given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Reports/Taxes/Stats/DataStore.php
+
+ -
+ message: '#^Parameter \#3 \$data of method Automattic\\WooCommerce\\Admin\\API\\Reports\\Taxes\\Stats\\DataStore\:\:get_noncached_stats_data\(\) expects Automattic\\WooCommerce\\Admin\\API\\Reports\\Taxes\\Stats\\stdClass, object\{totals\: null, intervals\: array, total\: int, pages\: int, page_no\: int\}&stdClass given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Reports/Taxes/Stats/DataStore.php
+
+ -
+ message: '#^Parameter \#5 \$data of method Automattic\\WooCommerce\\Admin\\API\\Reports\\DataStore\:\:fill_in_missing_intervals\(\) expects Automattic\\WooCommerce\\Admin\\API\\Reports\\stdClass, Automattic\\WooCommerce\\Admin\\API\\Reports\\Taxes\\Stats\\stdClass given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Reports/Taxes/Stats/DataStore.php
+
+ -
+ message: '#^Parameter \$data of method Automattic\\WooCommerce\\Admin\\API\\Reports\\Taxes\\Stats\\DataStore\:\:get_noncached_stats_data\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\Reports\\Taxes\\Stats\\stdClass\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Taxes/Stats/DataStore.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_data\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Admin/API/Reports/Taxes/Stats/Query.php
+
+ -
+ message: '#^Call to function is_array\(\) with array\<int, mixed\> will always evaluate to true\.$#'
+ identifier: function.alreadyNarrowedType
+ count: 2
+ path: src/Admin/API/Reports/TimeInterval.php
+
+ -
+ message: '#^Call to method add\(\) on an unknown class Automattic\\WooCommerce\\Admin\\API\\Reports\\DateTime\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/TimeInterval.php
+
+ -
+ message: '#^Call to method diff\(\) on an unknown class Automattic\\WooCommerce\\Admin\\API\\Reports\\DateTime\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/TimeInterval.php
+
+ -
+ message: '#^Call to method format\(\) on an unknown class Automattic\\WooCommerce\\Admin\\API\\Reports\\DateTime\.$#'
+ identifier: class.notFound
+ count: 41
+ path: src/Admin/API/Reports/TimeInterval.php
+
+ -
+ message: '#^Call to method getTimezone\(\) on an unknown class Automattic\\WooCommerce\\Admin\\API\\Reports\\DateTime\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/TimeInterval.php
+
+ -
+ message: '#^Call to method modify\(\) on an unknown class Automattic\\WooCommerce\\Admin\\API\\Reports\\DateTime\.$#'
+ identifier: class.notFound
+ count: 4
+ path: src/Admin/API/Reports/TimeInterval.php
+
+ -
+ message: '#^Call to method setTime\(\) on an unknown class Automattic\\WooCommerce\\Admin\\API\\Reports\\DateTime\.$#'
+ identifier: class.notFound
+ count: 2
+ path: src/Admin/API/Reports/TimeInterval.php
+
+ -
+ message: '#^Call to method setTimestamp\(\) on an unknown class Automattic\\WooCommerce\\Admin\\API\\Reports\\DateTime\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/TimeInterval.php
+
+ -
+ message: '#^Call to method sub\(\) on an unknown class Automattic\\WooCommerce\\Admin\\API\\Reports\\DateTime\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/TimeInterval.php
+
+ -
+ message: '#^Cannot call method add\(\) on DateTime\|false\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Admin/API/Reports/TimeInterval.php
+
+ -
+ message: '#^Cannot call method sub\(\) on DateTime\|false\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Admin/API/Reports/TimeInterval.php
+
+ -
+ message: '#^Cloning object of an unknown class Automattic\\WooCommerce\\Admin\\API\\Reports\\DateTime\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/TimeInterval.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\TimeInterval\:\:convert_local_datetime_to_gmt\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\Reports\\DateTime\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/TimeInterval.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\TimeInterval\:\:convert_local_datetime_to_gmt\(\) should return Automattic\\WooCommerce\\Admin\\API\\Reports\\DateTime but returns DateTime\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/Reports/TimeInterval.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\TimeInterval\:\:default_after\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\Reports\\DateTime\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/TimeInterval.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\TimeInterval\:\:default_after\(\) should return Automattic\\WooCommerce\\Admin\\API\\Reports\\DateTime but returns WC_DateTime\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/Reports/TimeInterval.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\TimeInterval\:\:default_before\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\Reports\\DateTime\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/TimeInterval.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\TimeInterval\:\:default_before\(\) should return Automattic\\WooCommerce\\Admin\\API\\Reports\\DateTime but returns WC_DateTime\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/Reports/TimeInterval.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\TimeInterval\:\:get_timeframe_dates\(\) should return array but returns false\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/Reports/TimeInterval.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\TimeInterval\:\:iterate\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\Reports\\DateTime\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/TimeInterval.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\TimeInterval\:\:iterate\(\) should return Automattic\\WooCommerce\\Admin\\API\\Reports\\DateTime but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/Reports/TimeInterval.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\TimeInterval\:\:next_day_start\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\Reports\\DateTime\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/TimeInterval.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\TimeInterval\:\:next_hour_start\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\Reports\\DateTime\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/TimeInterval.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\TimeInterval\:\:next_hour_start\(\) should return Automattic\\WooCommerce\\Admin\\API\\Reports\\DateTime but returns DateTime\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/Reports/TimeInterval.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\TimeInterval\:\:next_month_start\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\Reports\\DateTime\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/TimeInterval.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\TimeInterval\:\:next_month_start\(\) should return Automattic\\WooCommerce\\Admin\\API\\Reports\\DateTime but returns Automattic\\WooCommerce\\Admin\\API\\Reports\\DateTime\|DateTime\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/Reports/TimeInterval.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\TimeInterval\:\:next_quarter_start\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\Reports\\DateTime\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/TimeInterval.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\TimeInterval\:\:next_quarter_start\(\) should return Automattic\\WooCommerce\\Admin\\API\\Reports\\DateTime but returns DateTime\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/Reports/TimeInterval.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\TimeInterval\:\:next_week_start\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\Reports\\DateTime\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/TimeInterval.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\TimeInterval\:\:next_week_start\(\) should return Automattic\\WooCommerce\\Admin\\API\\Reports\\DateTime but returns DateTime\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/Reports/TimeInterval.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\TimeInterval\:\:next_year_start\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\Reports\\DateTime\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/TimeInterval.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\TimeInterval\:\:next_year_start\(\) should return Automattic\\WooCommerce\\Admin\\API\\Reports\\DateTime but returns DateTime\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/Reports/TimeInterval.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\TimeInterval\:\:rest_validate_between_date_arg\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\Reports\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/TimeInterval.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\TimeInterval\:\:rest_validate_between_date_arg\(\) should return Automattic\\WooCommerce\\Admin\\API\\Reports\\WP_Error\|bool but returns WP_Error\.$#'
+ identifier: return.type
+ count: 2
+ path: src/Admin/API/Reports/TimeInterval.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\TimeInterval\:\:rest_validate_between_numeric_arg\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\Reports\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/TimeInterval.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\TimeInterval\:\:rest_validate_between_numeric_arg\(\) should return Automattic\\WooCommerce\\Admin\\API\\Reports\\WP_Error\|bool but returns WP_Error\.$#'
+ identifier: return.type
+ count: 2
+ path: src/Admin/API/Reports/TimeInterval.php
+
+ -
+ message: '#^Parameter \#1 \$function of function call_user_func expects callable\(\)\: mixed, array\{''Automattic\\\\WooCommerce\\\\Admin\\\\API\\\\Reports\\\\TimeInterval'', non\-falsy\-string\} given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Reports/TimeInterval.php
+
+ -
+ message: '#^Parameter \#1 \$input of function str_pad expects string, int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Reports/TimeInterval.php
+
+ -
+ message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Admin/API/Reports/TimeInterval.php
+
+ -
+ message: '#^Parameter \#1 \$offset of method WC_DateTime\:\:set_utc_offset\(\) expects int, float given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Admin/API/Reports/TimeInterval.php
+
+ -
+ message: '#^Parameter \#2 \$datetime of static method DateTime\:\:createFromFormat\(\) expects string, int given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Admin/API/Reports/TimeInterval.php
+
+ -
+ message: '#^Parameter \$current_date of method Automattic\\WooCommerce\\Admin\\API\\Reports\\TimeInterval\:\:get_timeframe_dates\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\Reports\\DateTime\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/TimeInterval.php
+
+ -
+ message: '#^Parameter \$datetime of method Automattic\\WooCommerce\\Admin\\API\\Reports\\TimeInterval\:\:iterate\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\Reports\\DateTime\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/TimeInterval.php
+
+ -
+ message: '#^Parameter \$datetime of method Automattic\\WooCommerce\\Admin\\API\\Reports\\TimeInterval\:\:next_day_start\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\Reports\\DateTime\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/TimeInterval.php
+
+ -
+ message: '#^Parameter \$datetime of method Automattic\\WooCommerce\\Admin\\API\\Reports\\TimeInterval\:\:next_hour_start\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\Reports\\DateTime\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/TimeInterval.php
+
+ -
+ message: '#^Parameter \$datetime of method Automattic\\WooCommerce\\Admin\\API\\Reports\\TimeInterval\:\:next_month_start\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\Reports\\DateTime\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/TimeInterval.php
+
+ -
+ message: '#^Parameter \$datetime of method Automattic\\WooCommerce\\Admin\\API\\Reports\\TimeInterval\:\:next_quarter_start\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\Reports\\DateTime\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/TimeInterval.php
+
+ -
+ message: '#^Parameter \$datetime of method Automattic\\WooCommerce\\Admin\\API\\Reports\\TimeInterval\:\:next_week_start\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\Reports\\DateTime\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/TimeInterval.php
+
+ -
+ message: '#^Parameter \$datetime of method Automattic\\WooCommerce\\Admin\\API\\Reports\\TimeInterval\:\:next_year_start\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\Reports\\DateTime\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/TimeInterval.php
+
+ -
+ message: '#^Parameter \$datetime of method Automattic\\WooCommerce\\Admin\\API\\Reports\\TimeInterval\:\:quarter\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\Reports\\DateTime\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/TimeInterval.php
+
+ -
+ message: '#^Parameter \$datetime of method Automattic\\WooCommerce\\Admin\\API\\Reports\\TimeInterval\:\:simple_week_number\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\Reports\\DateTime\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/TimeInterval.php
+
+ -
+ message: '#^Parameter \$datetime of method Automattic\\WooCommerce\\Admin\\API\\Reports\\TimeInterval\:\:time_interval_id\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\Reports\\DateTime\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/TimeInterval.php
+
+ -
+ message: '#^Parameter \$datetime of method Automattic\\WooCommerce\\Admin\\API\\Reports\\TimeInterval\:\:week_number\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\Reports\\DateTime\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/TimeInterval.php
+
+ -
+ message: '#^Parameter \$end_datetime of method Automattic\\WooCommerce\\Admin\\API\\Reports\\TimeInterval\:\:intervals_between\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\Reports\\DateTime\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/TimeInterval.php
+
+ -
+ message: '#^Parameter \$request of method Automattic\\WooCommerce\\Admin\\API\\Reports\\TimeInterval\:\:rest_validate_between_date_arg\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\Reports\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/TimeInterval.php
+
+ -
+ message: '#^Parameter \$request of method Automattic\\WooCommerce\\Admin\\API\\Reports\\TimeInterval\:\:rest_validate_between_numeric_arg\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\Reports\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/TimeInterval.php
+
+ -
+ message: '#^Parameter \$start_datetime of method Automattic\\WooCommerce\\Admin\\API\\Reports\\TimeInterval\:\:intervals_between\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\Reports\\DateTime\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/TimeInterval.php
+
+ -
+ message: '#^@param Automattic\\WooCommerce\\Admin\\API\\Reports\\Variations\\WP_REST_Response \$response does not accept actual type of parameter\: WP_REST_Response\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: src/Admin/API/Reports/Variations/Controller.php
+
+ -
+ message: '#^@param object \$report does not accept actual type of parameter\: array\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: src/Admin/API/Reports/Variations/Controller.php
+
+ -
+ message: '#^Cannot call method get_formatted_order_total\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Admin/API/Reports/Variations/Controller.php
+
+ -
+ message: '#^Cannot call method get_id\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Admin/API/Reports/Variations/Controller.php
+
+ -
+ message: '#^Cannot call method get_order_number\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Admin/API/Reports/Variations/Controller.php
+
+ -
+ message: '#^Cannot call method get_parent_id\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: src/Admin/API/Reports/Variations/Controller.php
+
+ -
+ message: '#^Cannot call method get_type\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: src/Admin/API/Reports/Variations/Controller.php
+
+ -
+ message: '#^Invalid array key type array\.$#'
+ identifier: offsetAccess.invalidOffset
+ count: 1
+ path: src/Admin/API/Reports/Variations/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Variations\\Controller\:\:get_order_number\(\) should return string\|null but returns int\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/Reports/Variations/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Variations\\Controller\:\:prepare_item_for_response\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\Reports\\Variations\\WP_REST_Response\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Variations/Controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(GenericController\)\: Unexpected token "\\n ", expected ''\<'' at offset 96 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Admin/API/Reports/Variations/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$input of function array_flip expects array\<int\|string\>, array\<mixed\> given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Reports/Variations/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$number of function number_format expects float, float\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Reports/Variations/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$order of method Automattic\\WooCommerce\\Admin\\API\\Reports\\Variations\\Controller\:\:is_valid_order\(\) expects Automattic\\WooCommerce\\Admin\\API\\Reports\\WC_Order\|Automattic\\WooCommerce\\Admin\\API\\Reports\\WC_Order_Refund\|bool, bool\|WC_Order\|WC_Order_Refund given\.$#'
+ identifier: argument.type
+ count: 4
+ path: src/Admin/API/Reports/Variations/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$request \(array\) of method Automattic\\WooCommerce\\Admin\\API\\Reports\\Variations\\Controller\:\:prepare_reports_query\(\) should be compatible with parameter \$request \(WP_REST_Request\) of method Automattic\\WooCommerce\\Admin\\API\\Reports\\GenericController\:\:prepare_reports_query\(\)$#'
+ identifier: method.childParameterType
+ count: 1
+ path: src/Admin/API/Reports/Variations/Controller.php
+
+ -
+ message: '#^Parameter \#2 \$request of method Automattic\\WooCommerce\\Admin\\API\\Reports\\GenericController\:\:prepare_item_for_response\(\) expects WP_REST_Request, Automattic\\WooCommerce\\Admin\\API\\Reports\\Variations\\WP_REST_Request given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Reports/Variations/Controller.php
+
+ -
+ message: '#^Parameter \$order of method Automattic\\WooCommerce\\Admin\\API\\Reports\\Variations\\Controller\:\:is_valid_order\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\Reports\\WC_Order\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Variations/Controller.php
+
+ -
+ message: '#^Parameter \$order of method Automattic\\WooCommerce\\Admin\\API\\Reports\\Variations\\Controller\:\:is_valid_order\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\Reports\\WC_Order_Refund\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Variations/Controller.php
+
+ -
+ message: '#^Parameter \$request of method Automattic\\WooCommerce\\Admin\\API\\Reports\\Variations\\Controller\:\:prepare_item_for_response\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\Reports\\Variations\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Variations/Controller.php
+
+ -
+ message: '#^ArrayObject\<\*NEVER\*, \*NEVER\*\> does not accept int\.$#'
+ identifier: offsetAssign.valueType
+ count: 1
+ path: src/Admin/API/Reports/Variations/DataStore.php
+
+ -
+ message: '#^ArrayObject\<\*NEVER\*, \*NEVER\*\> does not accept list\<array\<string, mixed\>\>\.$#'
+ identifier: offsetAssign.valueType
+ count: 1
+ path: src/Admin/API/Reports/Variations/DataStore.php
+
+ -
+ message: '#^ArrayObject\<\*NEVER\*, \*NEVER\*\> does not accept true\.$#'
+ identifier: offsetAssign.valueType
+ count: 1
+ path: src/Admin/API/Reports/Variations/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Variations\\DataStore\:\:add_from_sql_params\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Reports/Variations/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Variations\\DataStore\:\:add_sql_query_params\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Reports/Variations/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Variations\\DataStore\:\:assign_report_columns\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Reports/Variations/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Variations\\DataStore\:\:fill_deleted_product_name\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Reports/Variations/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Variations\\DataStore\:\:get_noncached_data\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\Reports\\Variations\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Variations/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Variations\\DataStore\:\:get_noncached_data\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\Reports\\Variations\\stdClass\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Variations/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Variations\\DataStore\:\:get_noncached_data\(\) should return Automattic\\WooCommerce\\Admin\\API\\Reports\\Variations\\stdClass\|Automattic\\WooCommerce\\Admin\\API\\Reports\\Variations\\WP_Error but returns object\{data\: array, total\: int, pages\: int, page_no\: int\}&stdClass\.$#'
+ identifier: return.type
+ count: 2
+ path: src/Admin/API/Reports/Variations/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Variations\\DataStore\:\:get_noncached_data\(\) should return Automattic\\WooCommerce\\Admin\\API\\Reports\\Variations\\stdClass\|Automattic\\WooCommerce\\Admin\\API\\Reports\\Variations\\WP_Error but returns object\{data\: array\<array\|Automattic\\WooCommerce\\Admin\\API\\Reports\\WP_Error\>, total\: int, pages\: int, page_no\: int\}&stdClass\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/Reports/Variations/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Variations\\DataStore\:\:get_order_item_by_attribute_subquery\(\) should return string but returns false\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/Reports/Variations/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Variations\\DataStore\:\:include_extended_info\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Reports/Variations/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Variations\\DataStore\:\:initialize_queries\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Reports/Variations/DataStore.php
+
+ -
+ message: '#^Parameter \#1 \$array of method Automattic\\WooCommerce\\Admin\\API\\Reports\\DataStore\:\:cast_numbers\(\) expects array, ArrayObject\<\*NEVER\*, \*NEVER\*\> given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Reports/Variations/DataStore.php
+
+ -
+ message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Reports/Variations/DataStore.php
+
+ -
+ message: '#^Parameter \#1 \$object_or_string of function is_a expects object, WC_Product\|false\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Reports/Variations/DataStore.php
+
+ -
+ message: '#^Parameter \#2 \$id_field of method Automattic\\WooCommerce\\Admin\\API\\Reports\\DataStore\:\:get_ids_table\(\) expects array, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Reports/Variations/DataStore.php
+
+ -
+ message: '#^Part \$ids_table \(array\) of encapsed string cannot be cast to string\.$#'
+ identifier: encapsedStringPart.nonString
+ count: 1
+ path: src/Admin/API/Reports/Variations/DataStore.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_data\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Admin/API/Reports/Variations/Query.php
+
+ -
+ message: '#^@param object \$report does not accept actual type of parameter\: array\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: src/Admin/API/Reports/Variations/Stats/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Variations\\Stats\\Controller\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Admin/API/Reports/Variations/Stats/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Variations\\Stats\\Controller\:\:prepare_reports_query\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Admin/API/Reports/Variations/Stats/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Variations\\Stats\\Controller\:\:set_default_report_data\(\) should return object but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/Reports/Variations/Stats/Controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(GenericStatsController\)\: Unexpected token "\\n ", expected ''\<'' at offset 109 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Admin/API/Reports/Variations/Stats/Controller.php
+
+ -
+ message: '#^$#'
+ identifier: class.notFound
+ count: 4
+ path: src/Admin/API/Reports/Variations/Stats/DataStore.php
+
+ -
+ message: '#^Access to property \$intervals on an unknown class Automattic\\WooCommerce\\Admin\\API\\Reports\\Variations\\Stats\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 3
+ path: src/Admin/API/Reports/Variations/Stats/DataStore.php
+
+ -
+ message: '#^Access to property \$intervals on an unknown class Automattic\\WooCommerce\\Admin\\API\\Reports\\Variations\\Stats\\stdClass\.$#'
+ identifier: class.notFound
+ count: 7
+ path: src/Admin/API/Reports/Variations/Stats/DataStore.php
+
+ -
+ message: '#^Access to property \$totals on an unknown class Automattic\\WooCommerce\\Admin\\API\\Reports\\Variations\\Stats\\stdClass\.$#'
+ identifier: class.notFound
+ count: 2
+ path: src/Admin/API/Reports/Variations/Stats/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Variations\\Stats\\DataStore\:\:assign_report_columns\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Reports/Variations/Stats/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Variations\\Stats\\DataStore\:\:get_noncached_data\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\Reports\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Variations/Stats/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Variations\\Stats\\DataStore\:\:get_noncached_data\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\Reports\\stdClass\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Variations/Stats/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Variations\\Stats\\DataStore\:\:get_noncached_data\(\) should return Automattic\\WooCommerce\\Admin\\API\\Reports\\stdClass\|Automattic\\WooCommerce\\Admin\\API\\Reports\\WP_Error but returns Automattic\\WooCommerce\\Admin\\API\\Reports\\Variations\\Stats\\stdClass\|Automattic\\WooCommerce\\Admin\\API\\Reports\\Variations\\Stats\\WP_Error\|\(object\{totals\: null, intervals\: array, total\: int, pages\: int, page_no\: int\}&stdClass\)\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/Reports/Variations/Stats/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Variations\\Stats\\DataStore\:\:get_noncached_stats_data\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\Reports\\Variations\\Stats\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Variations/Stats/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Variations\\Stats\\DataStore\:\:get_noncached_stats_data\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\Reports\\Variations\\Stats\\stdClass\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Variations/Stats/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Variations\\Stats\\DataStore\:\:get_noncached_stats_data\(\) should return Automattic\\WooCommerce\\Admin\\API\\Reports\\Variations\\Stats\\stdClass\|Automattic\\WooCommerce\\Admin\\API\\Reports\\Variations\\Stats\\WP_Error but returns Automattic\\WooCommerce\\Admin\\API\\Reports\\stdClass\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/Reports/Variations/Stats/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Variations\\Stats\\DataStore\:\:get_noncached_stats_data\(\) should return Automattic\\WooCommerce\\Admin\\API\\Reports\\Variations\\Stats\\stdClass\|Automattic\\WooCommerce\\Admin\\API\\Reports\\Variations\\Stats\\WP_Error but returns WP_Error\.$#'
+ identifier: return.type
+ count: 2
+ path: src/Admin/API/Reports/Variations/Stats/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Variations\\Stats\\DataStore\:\:initialize_queries\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Reports/Variations/Stats/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Reports\\Variations\\Stats\\DataStore\:\:update_sql_query_params\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Reports/Variations/Stats/DataStore.php
+
+ -
+ message: '#^Parameter \#1 \$data of method Automattic\\WooCommerce\\Admin\\API\\Reports\\Segmenter\:\:add_intervals_segments\(\) expects Automattic\\WooCommerce\\Admin\\API\\Reports\\stdClass, Automattic\\WooCommerce\\Admin\\API\\Reports\\stdClass\|Automattic\\WooCommerce\\Admin\\API\\Reports\\Variations\\Stats\\stdClass given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Reports/Variations/Stats/DataStore.php
+
+ -
+ message: '#^Parameter \#3 \$data of method Automattic\\WooCommerce\\Admin\\API\\Reports\\Variations\\Stats\\DataStore\:\:get_noncached_stats_data\(\) expects Automattic\\WooCommerce\\Admin\\API\\Reports\\Variations\\Stats\\stdClass, object\{totals\: null, intervals\: array, total\: int, pages\: int, page_no\: int\}&stdClass given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Reports/Variations/Stats/DataStore.php
+
+ -
+ message: '#^Parameter \#5 \$data of method Automattic\\WooCommerce\\Admin\\API\\Reports\\DataStore\:\:fill_in_missing_intervals\(\) expects Automattic\\WooCommerce\\Admin\\API\\Reports\\stdClass, Automattic\\WooCommerce\\Admin\\API\\Reports\\Variations\\Stats\\stdClass given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Reports/Variations/Stats/DataStore.php
+
+ -
+ message: '#^Parameter \$data of method Automattic\\WooCommerce\\Admin\\API\\Reports\\Variations\\Stats\\DataStore\:\:get_noncached_stats_data\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\Reports\\Variations\\Stats\\stdClass\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Reports/Variations/Stats/DataStore.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_data\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Admin/API/Reports/Variations/Stats/Query.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Setting_Options_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 97 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Admin/API/SettingOptions.php
+
+ -
+ message: '#^Parameter \#1 \$request of method WC_REST_Setting_Options_V2_Controller\:\:batch_items\(\) expects WP_REST_Request, Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/SettingOptions.php
+
+ -
+ message: '#^Parameter \$request of method Automattic\\WooCommerce\\Admin\\API\\SettingOptions\:\:batch_items\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/SettingOptions.php
+
+ -
+ message: '#^Call to method get_params\(\) on an unknown class Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Settings.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Settings\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Settings.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Settings\:\:save_items_permissions_check\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Settings.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Settings\:\:save_settings\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Settings.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Settings\:\:save_settings\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Response\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Settings.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Settings\:\:save_settings\(\) should return Automattic\\WooCommerce\\Admin\\API\\WP_Error\|Automattic\\WooCommerce\\Admin\\API\\WP_REST_Response but returns WP_Error\.$#'
+ identifier: return.type
+ count: 2
+ path: src/Admin/API/Settings.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Settings\:\:save_settings\(\) should return Automattic\\WooCommerce\\Admin\\API\\WP_Error\|Automattic\\WooCommerce\\Admin\\API\\WP_REST_Response but returns WP_REST_Response\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/Settings.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Data_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 66 on line 4$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Admin/API/Settings.php
+
+ -
+ message: '#^Parameter \$request of method Automattic\\WooCommerce\\Admin\\API\\Settings\:\:save_items_permissions_check\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Settings.php
+
+ -
+ message: '#^Parameter \$request of method Automattic\\WooCommerce\\Admin\\API\\Settings\:\:save_settings\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Settings.php
+
+ -
+ message: '#^Call to method get_param\(\) on an unknown class Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/ShippingPartnerSuggestions.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\ShippingPartnerSuggestions\:\:get_permission_check\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/ShippingPartnerSuggestions.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\ShippingPartnerSuggestions\:\:get_permission_check\(\) should return Automattic\\WooCommerce\\Admin\\API\\WP_Error\|bool but returns WP_Error\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/ShippingPartnerSuggestions.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\ShippingPartnerSuggestions\:\:get_suggestions\(\) should return WP_Error\|WP_HTTP_Response but returns array\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/ShippingPartnerSuggestions.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\ShippingPartnerSuggestions\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/ShippingPartnerSuggestions.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Data_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 97 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Admin/API/ShippingPartnerSuggestions.php
+
+ -
+ message: '#^Parameter \$request of method Automattic\\WooCommerce\\Admin\\API\\ShippingPartnerSuggestions\:\:get_permission_check\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/ShippingPartnerSuggestions.php
+
+ -
+ message: '#^Parameter \$request of method Automattic\\WooCommerce\\Admin\\API\\ShippingPartnerSuggestions\:\:get_suggestions\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/ShippingPartnerSuggestions.php
+
+ -
+ message: '#^Access to offset ''class'' on an unknown class Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Taxes.php
+
+ -
+ message: '#^Access to offset ''include'' on an unknown class Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Taxes.php
+
+ -
+ message: '#^Access to offset ''offset'' on an unknown class Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 2
+ path: src/Admin/API/Taxes.php
+
+ -
+ message: '#^Access to offset ''order'' on an unknown class Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Taxes.php
+
+ -
+ message: '#^Access to offset ''orderby'' on an unknown class Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Taxes.php
+
+ -
+ message: '#^Access to offset ''page'' on an unknown class Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Taxes.php
+
+ -
+ message: '#^Access to offset ''per_page'' on an unknown class Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Taxes.php
+
+ -
+ message: '#^Access to offset ''search'' on an unknown class Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Taxes.php
+
+ -
+ message: '#^Call to method get_query_params\(\) on an unknown class Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Taxes.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Taxes\:\:get_items\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Taxes.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Taxes\:\:get_items\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Response\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Taxes.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Taxes\:\:get_items\(\) should return Automattic\\WooCommerce\\Admin\\API\\WP_Error\|Automattic\\WooCommerce\\Admin\\API\\WP_REST_Response but returns WP_REST_Response\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/Taxes.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Taxes_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 77 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Admin/API/Taxes.php
+
+ -
+ message: '#^Parameter \#2 \$request of method WC_REST_Taxes_V1_Controller\:\:prepare_item_for_response\(\) expects WP_REST_Request, Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Taxes.php
+
+ -
+ message: '#^Parameter \#2 \$value of method WP_HTTP_Response\:\:header\(\) expects string, int given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Admin/API/Taxes.php
+
+ -
+ message: '#^Parameter \$request of method Automattic\\WooCommerce\\Admin\\API\\Taxes\:\:get_items\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Taxes.php
+
+ -
+ message: '#^@param Automattic\\WooCommerce\\Admin\\API\\WP_REST_Response \$response does not accept actual type of parameter\: WP_REST_Response\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: src/Admin/API/Themes.php
+
+ -
+ message: '#^@param array \$item does not accept actual type of parameter\: object\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: src/Admin/API/Themes.php
+
+ -
+ message: '#^Access to offset ''destination_name'' on an unknown class Automattic\\WooCommerce\\Admin\\Overrides\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Themes.php
+
+ -
+ message: '#^Call to function is_wp_error\(\) with 0\|0\.0\|''''\|''0''\|array\{\}\|false\|null will always evaluate to false\.$#'
+ identifier: function.impossibleType
+ count: 1
+ path: src/Admin/API/Themes.php
+
+ -
+ message: '#^Call to method get_error_code\(\) on an unknown class Automattic\\WooCommerce\\Admin\\Overrides\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 3
+ path: src/Admin/API/Themes.php
+
+ -
+ message: '#^Call to method get_error_data\(\) on an unknown class Automattic\\WooCommerce\\Admin\\Overrides\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Themes.php
+
+ -
+ message: '#^Cannot access offset ''destination_name'' on Automattic\\WooCommerce\\Admin\\Overrides\\WP_Error\|bool\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Admin/API/Themes.php
+
+ -
+ message: '#^Cannot access offset ''tmp_name'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Admin/API/Themes.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Themes\:\:prepare_item_for_response\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Response\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Themes.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Themes\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/API/Themes.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Themes\:\:upload_theme\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Themes.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Themes\:\:upload_theme\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Response\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Themes.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Themes\:\:upload_theme\(\) should return Automattic\\WooCommerce\\Admin\\API\\WP_Error\|Automattic\\WooCommerce\\Admin\\API\\WP_REST_Response but returns WP_Error\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/Themes.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Themes\:\:upload_theme\(\) should return Automattic\\WooCommerce\\Admin\\API\\WP_Error\|Automattic\\WooCommerce\\Admin\\API\\WP_REST_Response but returns WP_Error\|WP_REST_Response\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/Themes.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Themes\:\:upload_theme_permissions_check\(\) has invalid return type Automattic\\WooCommerce\\Admin\\API\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Themes.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\API\\Themes\:\:upload_theme_permissions_check\(\) should return Automattic\\WooCommerce\\Admin\\API\\WP_Error\|bool but returns WP_Error\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/API/Themes.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Data_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 77 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Admin/API/Themes.php
+
+ -
+ message: '#^Parameter \#1 \$filename of function is_file expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Themes.php
+
+ -
+ message: '#^Parameter \#1 \$item of method Automattic\\WooCommerce\\Admin\\API\\Themes\:\:prepare_item_for_response\(\) expects object, array\<string, mixed\> given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Themes.php
+
+ -
+ message: '#^Parameter \#1 \$path of function is_uploaded_file expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Themes.php
+
+ -
+ message: '#^Parameter \#1 \$response of method WP_REST_Controller\:\:prepare_response_for_collection\(\) expects WP_REST_Response, Automattic\\WooCommerce\\Admin\\API\\WP_REST_Response given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Themes.php
+
+ -
+ message: '#^Parameter \#1 \$response_data of method WP_REST_Controller\:\:add_additional_fields_to_object\(\) expects array, object given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Themes.php
+
+ -
+ message: '#^Parameter \#2 \$request of method WP_REST_Controller\:\:add_additional_fields_to_object\(\) expects WP_REST_Request, Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/API/Themes.php
+
+ -
+ message: '#^Parameter \$request of method Automattic\\WooCommerce\\Admin\\API\\Themes\:\:prepare_item_for_response\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Themes.php
+
+ -
+ message: '#^Parameter \$request of method Automattic\\WooCommerce\\Admin\\API\\Themes\:\:upload_theme\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Themes.php
+
+ -
+ message: '#^Parameter \$request of method Automattic\\WooCommerce\\Admin\\API\\Themes\:\:upload_theme_permissions_check\(\) has invalid type Automattic\\WooCommerce\\Admin\\API\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/API/Themes.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\BlockTemplates\\BlockInterface\:\:remove\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/BlockTemplates/BlockInterface.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\BlockTemplates\\BlockInterface\:\:remove_disable_condition\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/BlockTemplates/BlockInterface.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\BlockTemplates\\BlockInterface\:\:remove_hide_condition\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/BlockTemplates/BlockInterface.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\BlockTemplates\\BlockInterface\:\:set_attribute\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/BlockTemplates/BlockInterface.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\BlockTemplates\\BlockInterface\:\:set_attributes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/BlockTemplates/BlockInterface.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\BlockTemplates\\BlockInterface\:\:set_order\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/BlockTemplates/BlockInterface.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\BlockTemplates\\ContainerInterface\:\:remove_block\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/BlockTemplates/ContainerInterface.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\BlockTemplates\\ContainerInterface\:\:remove_blocks\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/BlockTemplates/ContainerInterface.php
+
+ -
+ message: '#^Call to an undefined method object\:\:init\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Admin/Composer/Package.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Composer\\Package\:\:get_active_version\(\) should return string but returns bool\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/Composer/Package.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Composer\\Package\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Composer/Package.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Composer\\Package\:\:is_notes_initialized\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Composer/Package.php
+
+ -
+ message: '#^Static method Automattic\\WooCommerce\\Admin\\Composer\\Package\:\:is_notes_initialized\(\) is unused\.$#'
+ identifier: method.unused
+ count: 1
+ path: src/Admin/Composer/Package.php
+
+ -
+ message: '#^Static property Automattic\\WooCommerce\\Admin\\Composer\\Package\:\:\$active_version \(bool\) does not accept string\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/Admin/Composer/Package.php
+
+ -
+ message: '#^Call to Automattic\\WooCommerce\\Admin\\DataSourcePoller\:\:log_deprecation\(\) on a separate line has no effect\.$#'
+ identifier: staticMethod.resultUnused
+ count: 5
+ path: src/Admin/DataSourcePoller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\DataSourcePoller\:\:log_deprecation\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/DataSourcePoller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\DataSourcePoller\:\:set_specs_transient\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/DataSourcePoller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\DateTimeProvider\\CurrentDateTimeProvider\:\:get_now\(\) has invalid return type Automattic\\WooCommerce\\Admin\\DateTimeProvider\\DateTime\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/DateTimeProvider/CurrentDateTimeProvider.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\DateTimeProvider\\CurrentDateTimeProvider\:\:get_now\(\) should return Automattic\\WooCommerce\\Admin\\DateTimeProvider\\DateTime but returns DateTime\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/DateTimeProvider/CurrentDateTimeProvider.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\DateTimeProvider\\DateTimeProviderInterface\:\:get_now\(\) has invalid return type Automattic\\WooCommerce\\Admin\\DateTimeProvider\\DateTime\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/DateTimeProvider/DateTimeProviderInterface.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\DeprecatedClassFacade\:\:__call\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/DeprecatedClassFacade.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\DeprecatedClassFacade\:\:__callStatic\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/DeprecatedClassFacade.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\DeprecatedClassFacade\:\:log_deprecation\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/DeprecatedClassFacade.php
+
+ -
+ message: '#^Parameter \#1 \$function of function call_user_func_array expects callable\(\)\: mixed, array\{non\-empty\-string, string\} given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/DeprecatedClassFacade.php
+
+ -
+ message: '#^Parameter \#1 \$function of function call_user_func_array expects callable\(\)\: mixed, array\{object, string\} given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/DeprecatedClassFacade.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Admin\\DeprecatedClassFacade\:\:\$instance \(object\) in isset\(\) is not nullable\.$#'
+ identifier: isset.property
+ count: 1
+ path: src/Admin/DeprecatedClassFacade.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\FeaturePlugin\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/FeaturePlugin.php
+
+ -
+ message: '#^Unsafe usage of new static\(\)\.$#'
+ identifier: new.static
+ count: 1
+ path: src/Admin/FeaturePlugin.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\AsyncProductEditorCategoryField\\Init\:\:enqueue_scripts\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Features/AsyncProductEditorCategoryField/Init.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\AsyncProductEditorCategoryField\\Init\:\:enqueue_styles\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Features/AsyncProductEditorCategoryField/Init.php
+
+ -
+ message: '#^Parameter \#4 \$ver of function wp_register_style expects bool\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/Features/AsyncProductEditorCategoryField/Init.php
+
+ -
+ message: '#^Access to an undefined property WooCommerce\:\:\$payment_gateways\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/Admin/Features/Blueprint/Exporters/ExportWCPaymentGateways.php
+
+ -
+ message: '#^Argument of an invalid type string supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
+ count: 1
+ path: src/Admin/Features/Blueprint/Exporters/ExportWCPaymentGateways.php
+
+ -
+ message: '#^Property WooCommerce\:\:\$integrations \(WC_Integrations\) in isset\(\) is not nullable\.$#'
+ identifier: isset.property
+ count: 1
+ path: src/Admin/Features/Blueprint/Exporters/ExportWCSettingsIntegrations.php
+
+ -
+ message: '#^Parameter \#1 \$sql of class Automattic\\WooCommerce\\Blueprint\\Steps\\RunSql constructor expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 6
+ path: src/Admin/Features/Blueprint/Exporters/ExportWCSettingsShipping.php
+
+ -
+ message: '#^Return type \(array\) of method Automattic\\WooCommerce\\Admin\\Features\\Blueprint\\Exporters\\ExportWCSettingsShipping\:\:export\(\) should be compatible with return type \(Automattic\\WooCommerce\\Blueprint\\Steps\\SetSiteOptions\) of method Automattic\\WooCommerce\\Admin\\Features\\Blueprint\\Exporters\\ExportWCSettings\:\:export\(\)$#'
+ identifier: method.childReturnType
+ count: 1
+ path: src/Admin/Features/Blueprint/Exporters/ExportWCSettingsShipping.php
+
+ -
+ message: '#^Return type \(array\) of method Automattic\\WooCommerce\\Admin\\Features\\Blueprint\\Exporters\\ExportWCSettingsShipping\:\:export\(\) should be compatible with return type \(Automattic\\WooCommerce\\Blueprint\\Steps\\Step\) of method Automattic\\WooCommerce\\Blueprint\\Exporters\\StepExporter\:\:export\(\)$#'
+ identifier: method.childReturnType
+ count: 1
+ path: src/Admin/Features/Blueprint/Exporters/ExportWCSettingsShipping.php
+
+ -
+ message: '#^Parameter \#1 \$sql of class Automattic\\WooCommerce\\Blueprint\\Steps\\RunSql constructor expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/Features/Blueprint/Exporters/ExportWCSettingsTax.php
+
+ -
+ message: '#^Return type \(array\) of method Automattic\\WooCommerce\\Admin\\Features\\Blueprint\\Exporters\\ExportWCSettingsTax\:\:export\(\) should be compatible with return type \(Automattic\\WooCommerce\\Blueprint\\Steps\\SetSiteOptions\) of method Automattic\\WooCommerce\\Admin\\Features\\Blueprint\\Exporters\\ExportWCSettings\:\:export\(\)$#'
+ identifier: method.childReturnType
+ count: 1
+ path: src/Admin/Features/Blueprint/Exporters/ExportWCSettingsTax.php
+
+ -
+ message: '#^Return type \(array\) of method Automattic\\WooCommerce\\Admin\\Features\\Blueprint\\Exporters\\ExportWCSettingsTax\:\:export\(\) should be compatible with return type \(Automattic\\WooCommerce\\Blueprint\\Steps\\Step\) of method Automattic\\WooCommerce\\Blueprint\\Exporters\\StepExporter\:\:export\(\)$#'
+ identifier: method.childReturnType
+ count: 1
+ path: src/Admin/Features/Blueprint/Exporters/ExportWCSettingsTax.php
+
+ -
+ message: '#^Call to an undefined method Automattic\\WooCommerce\\Blueprint\\Exporters\\StepExporter\:\:get_description\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Admin/Features/Blueprint/Init.php
+
+ -
+ message: '#^Call to an undefined method Automattic\\WooCommerce\\Blueprint\\Exporters\\StepExporter\:\:get_label\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Admin/Features/Blueprint/Init.php
+
+ -
+ message: '#^Callback expects 0 parameters, \$accepted_args is set to 2\.$#'
+ identifier: arguments.count
+ count: 3
+ path: src/Admin/Features/Blueprint/Init.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\Blueprint\\Init\:\:clear_installed_wp_org_plugins_transient\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Features/Blueprint/Init.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\Blueprint\\Init\:\:clear_installed_wp_org_themes_transient\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Features/Blueprint/Init.php
+
+ -
+ message: '#^Parameter \#1 \$array \(list\) of array_values is already a list, call has no effect\.$#'
+ identifier: arrayValues.list
+ count: 1
+ path: src/Admin/Features/Blueprint/Init.php
+
+ -
+ message: '#^Parameter \#2 \$haystack of function in_array expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/Features/Blueprint/Init.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\Blueprint\\RestApi\:\:export\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Admin/Features/Blueprint/RestApi.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\Blueprint\\RestApi\:\:import_step\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Admin/Features/Blueprint/RestApi.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\Blueprint\\RestApi\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Features/Blueprint/RestApi.php
+
+ -
+ message: '#^Parameter \#1 \$json of function json_decode expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/Features/Blueprint/RestApi.php
+
+ -
+ message: '#^Parameter \#1 \$step_definition of class Automattic\\WooCommerce\\Blueprint\\ImportStep constructor expects object, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/Features/Blueprint/RestApi.php
+
+ -
+ message: '#^Constant WC_ADMIN_APP not found\.$#'
+ identifier: constant.notFound
+ count: 2
+ path: src/Admin/Features/Features.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\Features\:\:add_admin_body_classes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Features/Features.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\Features\:\:get_instance\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Features/Features.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\Features\:\:load_features\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Features/Features.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\Features\:\:load_scripts\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Features/Features.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\Features\:\:maybe_disable_features\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Features/Features.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\Features\:\:maybe_load_beta_features_modal\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Features/Features.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\Features\:\:register_internal_class_aliases\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Features/Features.php
+
+ -
+ message: '#^Parameter \#3 \$need_translation of static method Automattic\\WooCommerce\\Internal\\Admin\\WCAdminAssets\:\:register_script\(\) expects bool, array\<int, mixed\> given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/Features/Features.php
+
+ -
+ message: '#^Static property Automattic\\WooCommerce\\Admin\\Features\\Features\:\:\$instance \(Automattic\\WooCommerce\\Internal\\Admin\\Loader\) does not accept Automattic\\WooCommerce\\Admin\\Features\\Features\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/Admin/Features/Features.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$ID\.$#'
+ identifier: property.notFound
+ count: 2
+ path: src/Admin/Features/LaunchYourStore.php
+
+ -
+ message: '#^Access to property \$post_content on an unknown class Automattic\\WooCommerce\\Admin\\Features\\WP_Post\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/Features/LaunchYourStore.php
+
+ -
+ message: '#^Access to property \$post_name on an unknown class Automattic\\WooCommerce\\Admin\\Features\\WP_Post\.$#'
+ identifier: class.notFound
+ count: 2
+ path: src/Admin/Features/LaunchYourStore.php
+
+ -
+ message: '#^Access to property \$post_title on an unknown class Automattic\\WooCommerce\\Admin\\Features\\WP_Post\.$#'
+ identifier: class.notFound
+ count: 2
+ path: src/Admin/Features/LaunchYourStore.php
+
+ -
+ message: '#^Callback expects 1 parameter, \$accepted_args is set to 2\.$#'
+ identifier: arguments.count
+ count: 1
+ path: src/Admin/Features/LaunchYourStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\LaunchYourStore\:\:maybe_add_coming_soon_banner_on_frontend\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Features/LaunchYourStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\LaunchYourStore\:\:maybe_track_template_change\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Features/LaunchYourStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\LaunchYourStore\:\:register_launch_your_store_user_meta_fields\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Features/LaunchYourStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\LaunchYourStore\:\:reset_woocommerce_coming_soon_banner_dismissed\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Features/LaunchYourStore.php
+
+ -
+ message: '#^Parameter \#1 \$str of function sanitize_text_field expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 4
+ path: src/Admin/Features/LaunchYourStore.php
+
+ -
+ message: '#^Parameter \$post of method Automattic\\WooCommerce\\Admin\\Features\\LaunchYourStore\:\:maybe_track_template_change\(\) has invalid type Automattic\\WooCommerce\\Admin\\Features\\WP_Post\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/Features/LaunchYourStore.php
+
+ -
+ message: '#^Property WP_Post\:\:\$post_name \(string\) in isset\(\) is not nullable\.$#'
+ identifier: isset.property
+ count: 1
+ path: src/Admin/Features/LaunchYourStore.php
+
+ -
+ message: '#^Property WP_Post\:\:\$post_title \(string\) in isset\(\) is not nullable\.$#'
+ identifier: isset.property
+ count: 1
+ path: src/Admin/Features/LaunchYourStore.php
+
+ -
+ message: '#^Constant WC_ADMIN_IMAGES_FOLDER_URL not found\.$#'
+ identifier: constant.notFound
+ count: 1
+ path: src/Admin/Features/MarketingRecommendations/DefaultMarketingRecommendations.php
+
+ -
+ message: '#^Argument of an invalid type array\|null supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
+ count: 1
+ path: src/Admin/Features/MarketingRecommendations/Init.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\MarketingRecommendations\\Init\:\:delete_specs_transient\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Features/MarketingRecommendations/Init.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\MarketingRecommendations\\Init\:\:get_misc_recommendations_specs\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Features/MarketingRecommendations/Init.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\MarketingRecommendations\\Init\:\:get_specs\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Features/MarketingRecommendations/Init.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\MarketingRecommendations\\Init\:\:object_to_array\(\) should return array but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/Features/MarketingRecommendations/Init.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\MarketingRecommendations\\Init\:\:object_to_array\(\) should return array but returns null\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/Features/MarketingRecommendations/Init.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\MarketingRecommendations\\MarketingRecommendationsDataSourcePoller\:\:get_instance\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Features/MarketingRecommendations/MarketingRecommendationsDataSourcePoller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\MarketingRecommendations\\MiscRecommendationsDataSourcePoller\:\:get_instance\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Features/MarketingRecommendations/MiscRecommendationsDataSourcePoller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\Navigation\\RemovedDeprecated\:\:__call\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Features/Navigation/RemovedDeprecated.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\Navigation\\RemovedDeprecated\:\:__callStatic\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Features/Navigation/RemovedDeprecated.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\Navigation\\RemovedDeprecated\:\:handle_deprecated_method_call\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Features/Navigation/RemovedDeprecated.php
+
+ -
+ message: '#^Parameter \$theme of method Automattic\\WooCommerce\\Admin\\Features\\Onboarding\:\:get_theme_data\(\) has invalid type Automattic\\WooCommerce\\Admin\\Features\\WP_Theme\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/Features/Onboarding.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\DeprecatedExtendedTask\:\:get_additional_info\(\) should return string but returns string\|null\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/DeprecatedExtendedTask.php
+
+ -
+ message: '#^Return type \(int\) of method Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\DeprecatedExtendedTask\:\:get_level\(\) should be compatible with return type \(string\) of method Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\Task\:\:get_level\(\)$#'
+ identifier: method.childReturnType
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/DeprecatedExtendedTask.php
+
+ -
+ message: '#^Action callback returns string but should not return anything\.$#'
+ identifier: return.void
+ count: 2
+ path: src/Admin/Features/OnboardingTasks/DeprecatedOptions.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\DeprecatedOptions\:\:get_deprecated_options\(\) should return string but return statement is missing\.$#'
+ identifier: return.missing
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/DeprecatedOptions.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\DeprecatedOptions\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/DeprecatedOptions.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\DeprecatedOptions\:\:update_deprecated_options\(\) should return string but empty return statement found\.$#'
+ identifier: return.empty
+ count: 2
+ path: src/Admin/Features/OnboardingTasks/DeprecatedOptions.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\DeprecatedOptions\:\:update_deprecated_options\(\) should return string but return statement is missing\.$#'
+ identifier: return.missing
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/DeprecatedOptions.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\DeprecatedOptions\:\:update_deprecated_options\(\) should return string but returns false\.$#'
+ identifier: return.type
+ count: 2
+ path: src/Admin/Features/OnboardingTasks/DeprecatedOptions.php
+
+ -
+ message: '#^Parameter \#2 \$haystack of function in_array expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Admin/Features/OnboardingTasks/DeprecatedOptions.php
+
+ -
+ message: '#^Cannot call method is_connected\(\) on class\-string\|object\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/Init.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\Init\:\:get_instance\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/Init.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\Init\:\:\$instance has unknown class Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\OnboardingTasks as its type\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/Init.php
+
+ -
+ message: '#^Static property Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\Init\:\:\$instance \(Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\OnboardingTasks\) does not accept Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\Init\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/Init.php
+
+ -
+ message: '#^Access to an undefined property Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\Task\:\:\$id\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/Task.php
+
+ -
+ message: '#^Cannot access an offset on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 3
+ path: src/Admin/Features/OnboardingTasks/Task.php
+
+ -
+ message: '#^Cannot access offset string on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 5
+ path: src/Admin/Features/OnboardingTasks/Task.php
+
+ -
+ message: '#^If condition is always true\.$#'
+ identifier: if.alwaysTrue
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/Task.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\Task\:\:get_action_url\(\) should return string but returns null\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/Task.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\Task\:\:get_level\(\) should return string but returns int\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/Task.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\Task\:\:get_snoozed_until\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/Task.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\Task\:\:get_snoozed_until\(\) should return string but returns null\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/Task.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\Task\:\:is_active\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/Task.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\Task\:\:record_tracks_event\(\) should return string but empty return statement found\.$#'
+ identifier: return.empty
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/Task.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\Task\:\:set_active\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/Task.php
+
+ -
+ message: '#^Offset string does not exist on string\.$#'
+ identifier: offsetAccess.notFound
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/Task.php
+
+ -
+ message: '#^Parameter \#1 \$arr1 of function array_diff expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/Task.php
+
+ -
+ message: '#^Parameter \#1 \$array of function array_unique expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Admin/Features/OnboardingTasks/Task.php
+
+ -
+ message: '#^Parameter \#1 \$data of static method Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\Task\:\:convert_object_to_camelcase\(\) expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/Task.php
+
+ -
+ message: '#^Parameter \#1 \$json of function json_decode expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/Task.php
+
+ -
+ message: '#^Parameter \#2 \$haystack of function in_array expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 3
+ path: src/Admin/Features/OnboardingTasks/Task.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\Task\:\:\$duration_to_ms \(string\) does not accept default value of type array\<string, int\>\.$#'
+ identifier: property.defaultValue
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/Task.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\Task\:\:\$task_list \(Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\TaskList\) does not accept Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\TaskList\|null\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/Task.php
+
+ -
+ message: '#^Binary operation "\+" between float\|int\|TReturn and 1 results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/TaskList.php
+
+ -
+ message: '#^Call to an undefined method Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\TaskList\:\:get_parent_id\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/TaskList.php
+
+ -
+ message: '#^Cannot access an offset on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: src/Admin/Features/OnboardingTasks/TaskList.php
+
+ -
+ message: '#^Cannot call method is_always_accessible\(\) on class\-string\|object\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/TaskList.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\TaskList\:\:add_task\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/TaskList.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\TaskList\:\:get_keep_completed_task_list\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/TaskList.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\TaskList\:\:hide\(\) should return bool but empty return statement found\.$#'
+ identifier: return.empty
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/TaskList.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\TaskList\:\:maybe_set_default_layout\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/TaskList.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\TaskList\:\:possibly_remove_reminder_bar\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/TaskList.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\TaskList\:\:possibly_track_completion\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/TaskList.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\TaskList\:\:record_tracks_event\(\) should return string but empty return statement found\.$#'
+ identifier: return.empty
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/TaskList.php
+
+ -
+ message: '#^Parameter \#1 \$arr1 of function array_diff expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/TaskList.php
+
+ -
+ message: '#^Parameter \#1 \$array of function array_unique expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/TaskList.php
+
+ -
+ message: '#^Parameter \#1 \$completed_or_hidden_tasklist_ids of method Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\TaskList\:\:maybe_set_default_layout\(\) expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Admin/Features/OnboardingTasks/TaskList.php
+
+ -
+ message: '#^Parameter \#1 \$task of method Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\TaskList\:\:add_task\(\) expects Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\Task, object given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/TaskList.php
+
+ -
+ message: '#^Parameter \#2 \$haystack of function in_array expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Admin/Features/OnboardingTasks/TaskList.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\TaskListSection\:\:is_complete\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/TaskListSection.php
+
+ -
+ message: '#^PHPDoc tag @return has invalid value \(boolean;\)\: Unexpected token ";", expected TOKEN_HORIZONTAL_WS at offset 63 on line 4$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/TaskListSection.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\TaskListSection\:\:\$task_list \(Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\TaskList\) does not accept Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\TaskList\|null\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/TaskListSection.php
+
+ -
+ message: '#^Call to an undefined method object\:\:set_active\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/TaskLists.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\TaskLists\:\:add_task\(\) should return Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\Task\|WP_Error but return statement is missing\.$#'
+ identifier: return.missing
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/TaskLists.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\TaskLists\:\:clear_lists\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/TaskLists.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\TaskLists\:\:get_task\(\) should return object but returns null\.$#'
+ identifier: return.type
+ count: 2
+ path: src/Admin/Features/OnboardingTasks/TaskLists.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\TaskLists\:\:get_visible\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/TaskLists.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\TaskLists\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/TaskLists.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\TaskLists\:\:init_default_lists\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/TaskLists.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\TaskLists\:\:init_tasks\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/TaskLists.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\TaskLists\:\:instance\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/TaskLists.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\TaskLists\:\:maybe_add_extended_tasks\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/TaskLists.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\TaskLists\:\:menu_task_count\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/TaskLists.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\TaskLists\:\:set_active_task\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/TaskLists.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\TaskLists\:\:setup_tasks_remaining\(\) should return int\|null but empty return statement found\.$#'
+ identifier: return.empty
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/TaskLists.php
+
+ -
+ message: '#^Parameter \#1 \$str of function sanitize_text_field expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/TaskLists.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_attr expects string, int\<min, \-1\>\|int\<1, max\> given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/TaskLists.php
+
+ -
+ message: '#^Parameter \#1 \$title of function sanitize_title_with_dashes expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/TaskLists.php
+
+ -
+ message: '#^Parameter \#1 \$var of function count expects array\|Countable, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/TaskLists.php
+
+ -
+ message: '#^Unsafe usage of new static\(\)\.$#'
+ identifier: new.static
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/TaskLists.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\Tasks\\AdditionalPayments\:\:\$can_view_result \(null\) does not accept false\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/Tasks/AdditionalPayments.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\Tasks\\AdditionalPayments\:\:\$can_view_result \(null\) does not accept true\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/Tasks/AdditionalPayments.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\Tasks\\AdditionalPayments\:\:\$is_complete_result \(null\) does not accept bool\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/Tasks/AdditionalPayments.php
+
+ -
+ message: '#^Action callback returns bool but should not return anything\.$#'
+ identifier: return.void
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/Tasks/Appearance.php
+
+ -
+ message: '#^Cannot call method is_block_editor\(\) on WP_Screen\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/Tasks/CustomizeStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\Tasks\\CustomizeStore\:\:possibly_add_site_editor_scripts\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/Tasks/CustomizeStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\Tasks\\CustomizeStore\:\:possibly_hide_wp_admin_bar\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/Tasks/CustomizeStore.php
+
+ -
+ message: '#^Negated boolean expression is always false\.$#'
+ identifier: booleanNot.alwaysFalse
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/Tasks/CustomizeStore.php
+
+ -
+ message: '#^Parameter \#1 \$haystack of function str_starts_with expects string\|null, array\|string given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Admin/Features/OnboardingTasks/Tasks/CustomizeStore.php
+
+ -
+ message: '#^Parameter \#1 \$input of function array_keys expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/Tasks/CustomizeStore.php
+
+ -
+ message: '#^Parameter \#1 \$task_list of method Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\Task\:\:__construct\(\) expects Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\TaskList\|null, Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\Tasks\\TaskList given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/Tasks/CustomizeStore.php
+
+ -
+ message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Admin/Features/OnboardingTasks/Tasks/CustomizeStore.php
+
+ -
+ message: '#^Parameter \$task_list of method Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\Tasks\\CustomizeStore\:\:__construct\(\) has invalid type Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\Tasks\\TaskList\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/Tasks/CustomizeStore.php
+
+ -
+ message: '#^Result of && is always false\.$#'
+ identifier: booleanAnd.alwaysFalse
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/Tasks/CustomizeStore.php
+
+ -
+ message: '#^Call to function method_exists\(\) with ''\\\\Automattic\\\\Jetpack…'' and ''is_active'' will always evaluate to true\.$#'
+ identifier: function.alreadyNarrowedType
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/Tasks/GetMobileApp.php
+
+ -
+ message: '#^Call to function method_exists\(\) with ''\\\\Automattic\\\\Jetpack…'' and ''is_user_connected'' will always evaluate to true\.$#'
+ identifier: function.alreadyNarrowedType
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/Tasks/GetMobileApp.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\Tasks\\LaunchYourStore\:\:possibly_hide_wp_admin_bar\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/Tasks/LaunchYourStore.php
+
+ -
+ message: '#^Parameter \#1 \$task_list of method Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\Task\:\:__construct\(\) expects Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\TaskList\|null, Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\Tasks\\TaskList given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/Tasks/LaunchYourStore.php
+
+ -
+ message: '#^Parameter \#1 \$url of function esc_url_raw expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/Tasks/LaunchYourStore.php
+
+ -
+ message: '#^Parameter \#1 \$url of function wp_parse_url expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/Tasks/LaunchYourStore.php
+
+ -
+ message: '#^Parameter \$task_list of method Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\Tasks\\LaunchYourStore\:\:__construct\(\) has invalid type Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\Tasks\\TaskList\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/Tasks/LaunchYourStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\Tasks\\Marketing\:\:on_activated_plugin\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/Tasks/Marketing.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\Tasks\\Marketing\:\:on_activated_plugin\(\) has parameter \$plugin with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/Tasks/Marketing.php
+
+ -
+ message: '#^Parameter \#1 \$task_list of method Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\Task\:\:__construct\(\) expects Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\TaskList\|null, Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\Tasks\\TaskList given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/Tasks/Marketing.php
+
+ -
+ message: '#^Parameter \$task_list of method Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\Tasks\\Marketing\:\:__construct\(\) has invalid type Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\Tasks\\TaskList\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/Tasks/Marketing.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\Tasks\\Marketing\:\:\$is_complete_result is never read, only written\.$#'
+ identifier: property.onlyWritten
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/Tasks/Marketing.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\Tasks\\Payments\:\:\$is_complete_result \(null\) does not accept bool\.$#'
+ identifier: assign.propertyType
+ count: 2
+ path: src/Admin/Features/OnboardingTasks/Tasks/Payments.php
+
+ -
+ message: '#^Call to method get_id\(\) on an unknown class Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\Tasks\\WC_Product\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/Tasks/Products.php
+
+ -
+ message: '#^Call to method get_meta\(\) on an unknown class Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\Tasks\\WC_Product\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/Tasks/Products.php
+
+ -
+ message: '#^Call to method get_status\(\) on an unknown class Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\Tasks\\WC_Product\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/Tasks/Products.php
+
+ -
+ message: '#^Cannot access offset ''business_choice'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/Tasks/Products.php
+
+ -
+ message: '#^Cannot access property \$base on WP_Screen\|null\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/Tasks/Products.php
+
+ -
+ message: '#^Cannot access property \$post_type on WP_Screen\|null\.$#'
+ identifier: property.nonObject
+ count: 2
+ path: src/Admin/Features/OnboardingTasks/Tasks/Products.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\Tasks\\Products\:\:maybe_set_has_product_transient\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/Tasks/Products.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\Tasks\\Products\:\:maybe_set_has_product_transient_on_untrashed_post\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/Tasks/Products.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\Tasks\\Products\:\:possibly_add_import_return_notice_script\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/Tasks/Products.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\Tasks\\Products\:\:possibly_add_load_sample_return_notice_script\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/Tasks/Products.php
+
+ -
+ message: '#^Parameter \#1 \$task_list of method Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\Task\:\:__construct\(\) expects Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\TaskList\|null, Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\Tasks\\TaskList given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/Tasks/Products.php
+
+ -
+ message: '#^Parameter \#1 \$title of function sanitize_title_with_dashes expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/Tasks/Products.php
+
+ -
+ message: '#^Parameter \#2 \$product of method Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\Tasks\\Products\:\:maybe_set_has_product_transient\(\) expects Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\Tasks\\WC_Product, WC_Product\|false\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/Tasks/Products.php
+
+ -
+ message: '#^Parameter \$product of method Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\Tasks\\Products\:\:is_valid_product\(\) has invalid type Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\Tasks\\WC_Product\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/Tasks/Products.php
+
+ -
+ message: '#^Parameter \$product of method Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\Tasks\\Products\:\:maybe_set_has_product_transient\(\) has invalid type Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\Tasks\\WC_Product\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/Tasks/Products.php
+
+ -
+ message: '#^Parameter \$task_list of method Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\Tasks\\Products\:\:__construct\(\) has invalid type Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\Tasks\\TaskList\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/Tasks/Products.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_zones\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/Tasks/Shipping.php
+
+ -
+ message: '#^Cannot access offset ''product_types'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: src/Admin/Features/OnboardingTasks/Tasks/Shipping.php
+
+ -
+ message: '#^Cannot cast mixed to int\.$#'
+ identifier: cast.int
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/Tasks/Shipping.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\Tasks\\Shipping\:\:delete_zone_count_transient\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/Tasks/Shipping.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\Tasks\\Shipping\:\:get_action_url\(\) should return string but returns string\|null\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/Tasks/Shipping.php
+
+ -
+ message: '#^Parameter \#1 \$country_string of function wc_format_country_state_string expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/Tasks/Shipping.php
+
+ -
+ message: '#^Parameter \#1 \$task_list of method Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\Task\:\:__construct\(\) expects Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\TaskList\|null, Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\Tasks\\TaskList\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/Tasks/Shipping.php
+
+ -
+ message: '#^Parameter \#2 \$haystack of function in_array expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/Tasks/Shipping.php
+
+ -
+ message: '#^Parameter \$task_list of method Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\Tasks\\Shipping\:\:__construct\(\) has invalid type Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\Tasks\\TaskList\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/Tasks/Shipping.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\Tasks\\Tax\:\:possibly_add_return_notice_script\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/Tasks/Tax.php
+
+ -
+ message: '#^Parameter \#1 \$task_list of method Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\Task\:\:__construct\(\) expects Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\TaskList\|null, Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\Tasks\\TaskList given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/Tasks/Tax.php
+
+ -
+ message: '#^Parameter \$task_list of method Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\Tasks\\Tax\:\:__construct\(\) has invalid type Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\Tasks\\TaskList\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/Tasks/Tax.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\Tasks\\Tax\:\:\$is_complete_result \(null\) does not accept bool\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/Tasks/Tax.php
+
+ -
+ message: '#^Call to method is_account_partially_onboarded\(\) on an unknown class WC_Payments\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/Tasks/WooCommercePayments.php
+
+ -
+ message: '#^Call to method is_connected\(\) on an unknown class WC_Payments\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/Tasks/WooCommercePayments.php
+
+ -
+ message: '#^Cannot access offset ''business_extensions'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/Tasks/WooCommercePayments.php
+
+ -
+ message: '#^Cannot access offset ''product_types'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/Tasks/WooCommercePayments.php
+
+ -
+ message: '#^Cannot access property \$id on object\|null\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/Tasks/WooCommercePayments.php
+
+ -
+ message: '#^Cannot call method has_incentive\(\) on Automattic\\WooCommerce\\Internal\\Admin\\WcPayWelcomePage\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/Tasks/WooCommercePayments.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\Tasks\\WooCommercePayments\:\:get_gateway\(\) has invalid return type WC_Payments\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/Tasks/WooCommercePayments.php
+
+ -
+ message: '#^Parameter \#2 \$haystack of function in_array expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Admin/Features/OnboardingTasks/Tasks/WooCommercePayments.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Admin\\Features\\OnboardingTasks\\Tasks\\WooCommercePayments\:\:\$is_complete_result \(null\) does not accept bool\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/Admin/Features/OnboardingTasks/Tasks/WooCommercePayments.php
+
+ -
+ message: '#^Constant WC_ADMIN_IMAGES_FOLDER_URL not found\.$#'
+ identifier: constant.notFound
+ count: 48
+ path: src/Admin/Features/PaymentGatewaySuggestions/DefaultPaymentGateways.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\PaymentGatewaySuggestions\\DefaultPaymentGateways\:\:get_default_recommendation_priority\(\) should return int but returns null\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/Features/PaymentGatewaySuggestions/DefaultPaymentGateways.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\PaymentGatewaySuggestions\\DefaultPaymentGateways\:\:get_recommendation_priority\(\) never returns null so it can be removed from the return type\.$#'
+ identifier: return.unusedType
+ count: 1
+ path: src/Admin/Features/PaymentGatewaySuggestions/DefaultPaymentGateways.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\PaymentGatewaySuggestions\\EvaluateSuggestion\:\:reset_memo\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Features/PaymentGatewaySuggestions/EvaluateSuggestion.php
+
+ -
+ message: '#^Parameter \#1 \$str of function crc32 expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/Features/PaymentGatewaySuggestions/EvaluateSuggestion.php
+
+ -
+ message: '#^Parameter \#2 \$data of function hash expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/Features/PaymentGatewaySuggestions/EvaluateSuggestion.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\PaymentGatewaySuggestions\\Init\:\:delete_specs_transient\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Features/PaymentGatewaySuggestions/Init.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\PaymentGatewaySuggestions\\Init\:\:dismiss\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Features/PaymentGatewaySuggestions/Init.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\PaymentGatewaySuggestions\\Init\:\:get_specs\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Features/PaymentGatewaySuggestions/Init.php
+
+ -
+ message: '#^One or more @param tags has an invalid name or invalid syntax\.$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Admin/Features/PaymentGatewaySuggestions/Init.php
+
+ -
+ message: '#^PHPDoc tag @param has invalid value \(array Gateway specs\.\)\: Unexpected token "Gateway", expected variable at offset 108 on line 6$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Admin/Features/PaymentGatewaySuggestions/Init.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\PaymentGatewaySuggestions\\PaymentGatewaySuggestionsDataSourcePoller\:\:get_instance\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Features/PaymentGatewaySuggestions/PaymentGatewaySuggestionsDataSourcePoller.php
+
+ -
+ message: '#^Access to property \$id on an unknown class Automattic\\WooCommerce\\Admin\\Features\\PaymentGatewaySuggestions\\WC_Payment_Gateway\.$#'
+ identifier: class.notFound
+ count: 2
+ path: src/Admin/Features/PaymentGatewaySuggestions/PaymentGatewaysController.php
+
+ -
+ message: '#^Call to method get_connection_url\(\) on an unknown class Automattic\\WooCommerce\\Admin\\Features\\PaymentGatewaySuggestions\\WC_Payment_Gateway\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/Features/PaymentGatewaySuggestions/PaymentGatewaysController.php
+
+ -
+ message: '#^Call to method get_data\(\) on an unknown class Automattic\\WooCommerce\\Admin\\Features\\PaymentGatewaySuggestions\\WP_REST_Response\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/Features/PaymentGatewaySuggestions/PaymentGatewaysController.php
+
+ -
+ message: '#^Call to method get_post_install_script_handles\(\) on an unknown class Automattic\\WooCommerce\\Admin\\Features\\PaymentGatewaySuggestions\\WC_Payment_Gateway\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/Features/PaymentGatewaySuggestions/PaymentGatewaysController.php
+
+ -
+ message: '#^Call to method get_required_settings_keys\(\) on an unknown class Automattic\\WooCommerce\\Admin\\Features\\PaymentGatewaySuggestions\\WC_Payment_Gateway\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/Features/PaymentGatewaySuggestions/PaymentGatewaysController.php
+
+ -
+ message: '#^Call to method get_settings_url\(\) on an unknown class Automattic\\WooCommerce\\Admin\\Features\\PaymentGatewaySuggestions\\WC_Payment_Gateway\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/Features/PaymentGatewaySuggestions/PaymentGatewaysController.php
+
+ -
+ message: '#^Call to method get_setup_help_text\(\) on an unknown class Automattic\\WooCommerce\\Admin\\Features\\PaymentGatewaySuggestions\\WC_Payment_Gateway\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/Features/PaymentGatewaySuggestions/PaymentGatewaysController.php
+
+ -
+ message: '#^Call to method needs_setup\(\) on an unknown class Automattic\\WooCommerce\\Admin\\Features\\PaymentGatewaySuggestions\\WC_Payment_Gateway\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/Features/PaymentGatewaySuggestions/PaymentGatewaysController.php
+
+ -
+ message: '#^Call to method set_data\(\) on an unknown class Automattic\\WooCommerce\\Admin\\Features\\PaymentGatewaySuggestions\\WP_REST_Response\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/Features/PaymentGatewaySuggestions/PaymentGatewaysController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\PaymentGatewaySuggestions\\PaymentGatewaysController\:\:extend_response\(\) has invalid return type Automattic\\WooCommerce\\Admin\\Features\\PaymentGatewaySuggestions\\WP_REST_Response\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/Features/PaymentGatewaySuggestions/PaymentGatewaysController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\PaymentGatewaySuggestions\\PaymentGatewaysController\:\:handle_successfull_connection\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Features/PaymentGatewaySuggestions/PaymentGatewaysController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\PaymentGatewaySuggestions\\PaymentGatewaysController\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Features/PaymentGatewaySuggestions/PaymentGatewaysController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\PaymentGatewaySuggestions\\PaymentGatewaysController\:\:possibly_do_connection_return_action\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Features/PaymentGatewaySuggestions/PaymentGatewaysController.php
+
+ -
+ message: '#^Parameter \#1 \$nonce of function wp_verify_nonce expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/Features/PaymentGatewaySuggestions/PaymentGatewaysController.php
+
+ -
+ message: '#^Parameter \#1 \$var of function intval expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/Features/PaymentGatewaySuggestions/PaymentGatewaysController.php
+
+ -
+ message: '#^Parameter \$gateway of method Automattic\\WooCommerce\\Admin\\Features\\PaymentGatewaySuggestions\\PaymentGatewaysController\:\:extend_response\(\) has invalid type Automattic\\WooCommerce\\Admin\\Features\\PaymentGatewaySuggestions\\WC_Payment_Gateway\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/Features/PaymentGatewaySuggestions/PaymentGatewaysController.php
+
+ -
+ message: '#^Parameter \$gateway of method Automattic\\WooCommerce\\Admin\\Features\\PaymentGatewaySuggestions\\PaymentGatewaysController\:\:get_post_install_scripts\(\) has invalid type Automattic\\WooCommerce\\Admin\\Features\\PaymentGatewaySuggestions\\WC_Payment_Gateway\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/Features/PaymentGatewaySuggestions/PaymentGatewaysController.php
+
+ -
+ message: '#^Parameter \$request of method Automattic\\WooCommerce\\Admin\\Features\\PaymentGatewaySuggestions\\PaymentGatewaysController\:\:extend_response\(\) has invalid type Automattic\\WooCommerce\\Admin\\Features\\PaymentGatewaySuggestions\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/Features/PaymentGatewaySuggestions/PaymentGatewaysController.php
+
+ -
+ message: '#^Parameter \$response of method Automattic\\WooCommerce\\Admin\\Features\\PaymentGatewaySuggestions\\PaymentGatewaysController\:\:extend_response\(\) has invalid type Automattic\\WooCommerce\\Admin\\Features\\PaymentGatewaySuggestions\\WP_REST_Response\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/Features/PaymentGatewaySuggestions/PaymentGatewaysController.php
+
+ -
+ message: '#^Access to property \$name on an unknown class Automattic\\WooCommerce\\Admin\\Features\\ProductBlockEditor\\WP_Block_Editor_Context\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/Features/ProductBlockEditor/BlockRegistry.php
+
+ -
+ message: '#^Class Automattic\\WooCommerce\\Admin\\Features\\ProductBlockEditor\\Init referenced with incorrect case\: Automattic\\WooCommerce\\Admin\\Features\\ProductBlockEditor\\INIT\.$#'
+ identifier: class.nameCase
+ count: 1
+ path: src/Admin/Features/ProductBlockEditor/BlockRegistry.php
+
+ -
+ message: '#^Constant WC_ABSPATH not found\.$#'
+ identifier: constant.notFound
+ count: 1
+ path: src/Admin/Features/ProductBlockEditor/BlockRegistry.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\ProductBlockEditor\\BlockRegistry\:\:augment_attributes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Features/ProductBlockEditor/BlockRegistry.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\ProductBlockEditor\\BlockRegistry\:\:augment_uses_context\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Features/ProductBlockEditor/BlockRegistry.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\ProductBlockEditor\\BlockRegistry\:\:get_file_path\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Features/ProductBlockEditor/BlockRegistry.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\ProductBlockEditor\\BlockRegistry\:\:has_role_support\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Features/ProductBlockEditor/BlockRegistry.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\ProductBlockEditor\\BlockRegistry\:\:register_block\(\) has invalid return type Automattic\\WooCommerce\\Admin\\Features\\ProductBlockEditor\\WP_Block_Type\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/Features/ProductBlockEditor/BlockRegistry.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\ProductBlockEditor\\BlockRegistry\:\:register_block\(\) should return Automattic\\WooCommerce\\Admin\\Features\\ProductBlockEditor\\WP_Block_Type\|false but returns WP_Block_Type\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/Features/ProductBlockEditor/BlockRegistry.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\ProductBlockEditor\\BlockRegistry\:\:register_categories\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Features/ProductBlockEditor/BlockRegistry.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\ProductBlockEditor\\BlockRegistry\:\:register_product_blocks\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Features/ProductBlockEditor/BlockRegistry.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\ProductBlockEditor\\BlockRegistry\:\:unregister\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Features/ProductBlockEditor/BlockRegistry.php
+
+ -
+ message: '#^Parameter \#1 \$block_name of method Automattic\\WooCommerce\\Admin\\Features\\ProductBlockEditor\\BlockRegistry\:\:unregister\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/Features/ProductBlockEditor/BlockRegistry.php
+
+ -
+ message: '#^Parameter \#1 \$json of function json_decode expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/Features/ProductBlockEditor/BlockRegistry.php
+
+ -
+ message: '#^Parameter \$editor_context of method Automattic\\WooCommerce\\Admin\\Features\\ProductBlockEditor\\BlockRegistry\:\:register_categories\(\) has invalid type Automattic\\WooCommerce\\Admin\\Features\\ProductBlockEditor\\WP_Block_Editor_Context\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/Features/ProductBlockEditor/BlockRegistry.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\ProductBlockEditor\\BlockTemplateUtils\:\:get_template_content\(\) should return string but returns string\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/Features/ProductBlockEditor/BlockTemplateUtils.php
+
+ -
+ message: '#^Access to property \$data on an unknown class Automattic\\WooCommerce\\Admin\\Features\\ProductBlockEditor\\WP_REST_Response\.$#'
+ identifier: class.notFound
+ count: 2
+ path: src/Admin/Features/ProductBlockEditor/Init.php
+
+ -
+ message: '#^Action callback returns string but should not return anything\.$#'
+ identifier: return.void
+ count: 1
+ path: src/Admin/Features/ProductBlockEditor/Init.php
+
+ -
+ message: '#^Call to method meta_exists\(\) on an unknown class Automattic\\WooCommerce\\Admin\\Features\\ProductBlockEditor\\WC_Product\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/Features/ProductBlockEditor/Init.php
+
+ -
+ message: '#^Cannot call method is_block_editor\(\) on WP_Screen\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Admin/Features/ProductBlockEditor/Init.php
+
+ -
+ message: '#^Cannot call method is_registered\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: src/Admin/Features/ProductBlockEditor/Init.php
+
+ -
+ message: '#^Cannot call method register\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: src/Admin/Features/ProductBlockEditor/Init.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\ProductBlockEditor\\Init\:\:dequeue_conflicting_styles\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Features/ProductBlockEditor/Init.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\ProductBlockEditor\\Init\:\:enqueue_scripts\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Features/ProductBlockEditor/Init.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\ProductBlockEditor\\Init\:\:enqueue_styles\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Features/ProductBlockEditor/Init.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\ProductBlockEditor\\Init\:\:get_product_editor_settings\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Features/ProductBlockEditor/Init.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\ProductBlockEditor\\Init\:\:possibly_add_template_id\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Features/ProductBlockEditor/Init.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\ProductBlockEditor\\Init\:\:register_layout_templates\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Features/ProductBlockEditor/Init.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\ProductBlockEditor\\Init\:\:register_product_templates\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Features/ProductBlockEditor/Init.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\ProductBlockEditor\\Init\:\:register_user_metas\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Features/ProductBlockEditor/Init.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\ProductBlockEditor\\Init\:\:set_current_screen_to_block_editor_if_wc_admin\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Features/ProductBlockEditor/Init.php
+
+ -
+ message: '#^Parameter \$product of method Automattic\\WooCommerce\\Admin\\Features\\ProductBlockEditor\\Init\:\:possibly_add_template_id\(\) has invalid type Automattic\\WooCommerce\\Admin\\Features\\ProductBlockEditor\\WC_Product\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/Features/ProductBlockEditor/Init.php
+
+ -
+ message: '#^Parameter \$response of method Automattic\\WooCommerce\\Admin\\Features\\ProductBlockEditor\\Init\:\:possibly_add_template_id\(\) has invalid type Automattic\\WooCommerce\\Admin\\Features\\ProductBlockEditor\\WP_REST_Response\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/Features/ProductBlockEditor/Init.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\ProductBlockEditor\\ProductFormsController\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Features/ProductBlockEditor/ProductFormsController.php
+
+ -
+ message: '#^Parameter \#1 \$file_path of static method Automattic\\WooCommerce\\Admin\\Features\\ProductBlockEditor\\BlockTemplateUtils\:\:get_template_content\(\) expects string, string\|true given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Admin/Features/ProductBlockEditor/ProductFormsController.php
+
+ -
+ message: '#^Parameter \#1 \$file_path of static method Automattic\\WooCommerce\\Admin\\Features\\ProductBlockEditor\\BlockTemplateUtils\:\:get_template_file_data\(\) expects string, string\|true given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/Features/ProductBlockEditor/ProductFormsController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\ProductBlockEditor\\ProductTemplate\:\:set_description\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Features/ProductBlockEditor/ProductTemplate.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\ProductBlockEditor\\ProductTemplate\:\:set_icon\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Features/ProductBlockEditor/ProductTemplate.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\ProductBlockEditor\\ProductTemplate\:\:set_layout_template_id\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Features/ProductBlockEditor/ProductTemplate.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\ProductBlockEditor\\ProductTemplate\:\:set_order\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Features/ProductBlockEditor/ProductTemplate.php
+
+ -
+ message: '#^Cannot access property \$action on WP_Screen\|null\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: src/Admin/Features/ProductBlockEditor/RedirectionController.php
+
+ -
+ message: '#^Cannot access property \$base on WP_Screen\|null\.$#'
+ identifier: property.nonObject
+ count: 2
+ path: src/Admin/Features/ProductBlockEditor/RedirectionController.php
+
+ -
+ message: '#^Cannot access property \$post_type on WP_Screen\|null\.$#'
+ identifier: property.nonObject
+ count: 2
+ path: src/Admin/Features/ProductBlockEditor/RedirectionController.php
+
+ -
+ message: '#^Cannot call method get_meta\(\) on WC_Product\|false\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Admin/Features/ProductBlockEditor/RedirectionController.php
+
+ -
+ message: '#^Cannot call method get_type\(\) on WC_Product\|false\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: src/Admin/Features/ProductBlockEditor/RedirectionController.php
+
+ -
+ message: '#^Cannot call method is_downloadable\(\) on WC_Product\|false\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Admin/Features/ProductBlockEditor/RedirectionController.php
+
+ -
+ message: '#^Cannot call method is_virtual\(\) on WC_Product\|false\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Admin/Features/ProductBlockEditor/RedirectionController.php
+
+ -
+ message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/Features/ProductBlockEditor/RedirectionController.php
+
+ -
+ message: '#^Parameter \#1 \$product_id of method Automattic\\WooCommerce\\Admin\\Features\\ProductBlockEditor\\RedirectionController\:\:is_product_supported\(\) expects int, int\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/Features/ProductBlockEditor/RedirectionController.php
+
+ -
+ message: '#^Parameter \#1 \$url of function esc_url_raw expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/Features/ProductBlockEditor/RedirectionController.php
+
+ -
+ message: '#^Parameter \#2 \$str of function explode expects string, string\|false\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/Features/ProductBlockEditor/RedirectionController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\ProductBlockEditor\\Tracks\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Features/ProductBlockEditor/Tracks.php
+
+ -
+ message: '#^Parameter \#1 \$encoded_string of function parse_str expects string, string\|false\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/Features/ProductBlockEditor/Tracks.php
+
+ -
+ message: '#^Parameter \#1 \$url of function wp_parse_url expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/Features/ProductBlockEditor/Tracks.php
+
+ -
+ message: '#^Parameter \#1 \$url of method Automattic\\WooCommerce\\Admin\\Features\\ProductBlockEditor\\Tracks\:\:is_product_editor_page\(\) expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/Features/ProductBlockEditor/Tracks.php
+
+ -
+ message: '#^Parameter \#2 \$str of function explode expects string, array\<mixed\>\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/Features/ProductBlockEditor/Tracks.php
+
+ -
+ message: '#^Cannot access property \$labels on WP_Post_Type\|null\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: src/Admin/Features/ProductDataViews/Init.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\ProductDataViews\\Init\:\:enqueue_scripts\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Features/ProductDataViews/Init.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\ProductDataViews\\Init\:\:enqueue_styles\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Features/ProductDataViews/Init.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\ProductDataViews\\Init\:\:is_product_data_view_page\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Features/ProductDataViews/Init.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\ProductDataViews\\Init\:\:woocommerce_add_new_products_dashboard\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Features/ProductDataViews/Init.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\ProductDataViews\\Init\:\:woocommerce_products_dashboard\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Features/ProductDataViews/Init.php
+
+ -
+ message: '#^Parameter \#4 \$ver of function wp_enqueue_script expects bool\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/Features/ProductDataViews/Init.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$ver\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/Admin/Features/Settings/Init.php
+
+ -
+ message: '#^Constant WC_ADMIN_ABSPATH not found\.$#'
+ identifier: constant.notFound
+ count: 2
+ path: src/Admin/Features/Settings/Init.php
+
+ -
+ message: '#^Constant WC_ADMIN_DIST_JS_FOLDER not found\.$#'
+ identifier: constant.notFound
+ count: 2
+ path: src/Admin/Features/Settings/Init.php
+
+ -
+ message: '#^Constant WPINC not found\.$#'
+ identifier: constant.notFound
+ count: 1
+ path: src/Admin/Features/Settings/Init.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\Settings\\Init\:\:enqueue_settings_editor_scripts\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Features/Settings/Init.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\Settings\\Init\:\:enqueue_settings_editor_styles\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Features/Settings/Init.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\Settings\\Init\:\:get_instance\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Features/Settings/Init.php
+
+ -
+ message: '#^Cannot access offset ''id'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: src/Admin/Features/Settings/Transformer.php
+
+ -
+ message: '#^Parameter \#1 \$stack of function array_shift expects array, array\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/Features/Settings/Transformer.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\ShippingPartnerSuggestions\\ShippingPartnerSuggestions\:\:get_specs\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Features/ShippingPartnerSuggestions/ShippingPartnerSuggestions.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\ShippingPartnerSuggestions\\ShippingPartnerSuggestionsDataSourcePoller\:\:get_instance\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Features/ShippingPartnerSuggestions/ShippingPartnerSuggestionsDataSourcePoller.php
+
+ -
+ message: '#^Cannot unset offset array on array\.$#'
+ identifier: unset.offset
+ count: 1
+ path: src/Admin/Features/TransientNotices.php
+
+ -
+ message: '#^Invalid array key type array\.$#'
+ identifier: offsetAccess.invalidOffset
+ count: 2
+ path: src/Admin/Features/TransientNotices.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\TransientNotices\:\:add\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Features/TransientNotices.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\TransientNotices\:\:get_queue\(\) should return array but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/Features/TransientNotices.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Features\\TransientNotices\:\:remove\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Features/TransientNotices.php
+
+ -
+ message: '#^Strict comparison using \=\=\= between null and mixed will always evaluate to false\.$#'
+ identifier: identical.alwaysFalse
+ count: 1
+ path: src/Admin/Features/TransientNotices.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Loader\:\:is_admin_or_embed_page\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Loader.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Loader\:\:is_admin_page\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Loader.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Loader\:\:is_embed_page\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Loader.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Loader\:\:should_use_minified_js_file\(\) should return bool but empty return statement found\.$#'
+ identifier: return.empty
+ count: 1
+ path: src/Admin/Loader.php
+
+ -
+ message: '#^Call to function method_exists\(\) with ''\\\\CreativeMail…'' and ''get_instance_id'' will always evaluate to false\.$#'
+ identifier: function.impossibleType
+ count: 1
+ path: src/Admin/Marketing/InstalledExtensions.php
+
+ -
+ message: '#^Call to function method_exists\(\) with ''\\\\Integration_With…'' and ''get_connection…'' will always evaluate to false\.$#'
+ identifier: function.impossibleType
+ count: 1
+ path: src/Admin/Marketing/InstalledExtensions.php
+
+ -
+ message: '#^Call to function method_exists\(\) with ''\\\\Tribe\\\\Vimeo_WP…'' and ''has_access_token'' will always evaluate to false\.$#'
+ identifier: function.impossibleType
+ count: 1
+ path: src/Admin/Marketing/InstalledExtensions.php
+
+ -
+ message: '#^Cannot access offset ''icon'' on array\|false\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 17
+ path: src/Admin/Marketing/InstalledExtensions.php
+
+ -
+ message: '#^Cannot access offset ''klaviyo_public_api_key'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Admin/Marketing/InstalledExtensions.php
+
+ -
+ message: '#^Cannot call method isSetupComplete\(\) on class\-string\|object\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Admin/Marketing/InstalledExtensions.php
+
+ -
+ message: '#^Constant WC_ADMIN_IMAGES_FOLDER_URL not found\.$#'
+ identifier: constant.notFound
+ count: 16
+ path: src/Admin/Marketing/InstalledExtensions.php
+
+ -
+ message: '#^Function Pinterest_For_Woocommerce not found\.$#'
+ identifier: function.notFound
+ count: 1
+ path: src/Admin/Marketing/InstalledExtensions.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Marketing\\InstalledExtensions\:\:get_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Marketing/InstalledExtensions.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Admin\\Marketing\\MarketingCampaign\:\:\$cost \(Automattic\\WooCommerce\\Admin\\Marketing\\Price\) does not accept Automattic\\WooCommerce\\Admin\\Marketing\\Price\|null\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/Admin/Marketing/MarketingCampaign.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Admin\\Marketing\\MarketingCampaign\:\:\$sales \(Automattic\\WooCommerce\\Admin\\Marketing\\Price\) does not accept Automattic\\WooCommerce\\Admin\\Marketing\\Price\|null\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/Admin/Marketing/MarketingCampaign.php
+
+ -
+ message: '#^@param int \$note_id does not accept actual type of parameter\: Automattic\\WooCommerce\\Admin\\Notes\\Note\.$#'
+ identifier: parameter.phpDocType
+ count: 2
+ path: src/Admin/Notes/DataStore.php
+
+ -
+ message: '#^Call to method getTimestamp\(\) on an unknown class Automattic\\WooCommerce\\Admin\\Notes\\WC_DateTime\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/Notes/DataStore.php
+
+ -
+ message: '#^Cannot call method getTimestamp\(\) on Automattic\\WooCommerce\\Admin\\Notes\\WC_DateTime\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Admin/Notes/DataStore.php
+
+ -
+ message: '#^Default value of the parameter \#1 \$type \(array\) of method Automattic\\WooCommerce\\Admin\\Notes\\DataStore\:\:get_notes_count\(\) is incompatible with type string\.$#'
+ identifier: parameter.defaultValue
+ count: 1
+ path: src/Admin/Notes/DataStore.php
+
+ -
+ message: '#^Default value of the parameter \#2 \$status \(array\) of method Automattic\\WooCommerce\\Admin\\Notes\\DataStore\:\:get_notes_count\(\) is incompatible with type string\.$#'
+ identifier: parameter.defaultValue
+ count: 1
+ path: src/Admin/Notes/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Notes\\DataStore\:\:create\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Notes/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Notes\\DataStore\:\:delete\(\) should return bool but return statement is missing\.$#'
+ identifier: return.missing
+ count: 1
+ path: src/Admin/Notes/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Notes\\DataStore\:\:read\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Notes/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Notes\\DataStore\:\:read_actions\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Notes/DataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Notes\\DataStore\:\:update\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Notes/DataStore.php
+
+ -
+ message: '#^Parameter \#1 \$content_data of method Automattic\\WooCommerce\\Admin\\Notes\\Note\:\:set_content_data\(\) expects object, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/Notes/DataStore.php
+
+ -
+ message: '#^Parameter \#1 \$id of method WC_Data\:\:set_id\(\) expects int, null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/Notes/DataStore.php
+
+ -
+ message: '#^Result of \|\| is always true\.$#'
+ identifier: booleanOr.alwaysTrue
+ count: 1
+ path: src/Admin/Notes/DataStore.php
+
+ -
+ message: '#^Strict comparison using \!\=\= between ''0'' and 0 will always evaluate to true\.$#'
+ identifier: notIdentical.alwaysTrue
+ count: 1
+ path: src/Admin/Notes/DataStore.php
+
+ -
+ message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
+ count: 2
+ path: src/Admin/Notes/Note.php
+
+ -
+ message: '#^Cannot access an offset on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Admin/Notes/Note.php
+
+ -
+ message: '#^Cannot access offset mixed on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: src/Admin/Notes/Note.php
+
+ -
+ message: '#^Cannot access property \$name on mixed\.$#'
+ identifier: property.nonObject
+ count: 2
+ path: src/Admin/Notes/Note.php
+
+ -
+ message: '#^Cannot access property \$nonce_action on mixed\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: src/Admin/Notes/Note.php
+
+ -
+ message: '#^Cannot access property \$nonce_name on mixed\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: src/Admin/Notes/Note.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Notes\\Note\:\:add_action\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Notes/Note.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Notes\\Note\:\:apply_changes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Notes/Note.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Notes\\Note\:\:clear_actions\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Notes/Note.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Notes\\Note\:\:get_action\(\) should return object but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/Notes/Note.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Notes\\Note\:\:get_actions\(\) should return array but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/Notes/Note.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Notes\\Note\:\:get_content\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/Notes/Note.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Notes\\Note\:\:get_content_data\(\) should return object but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/Notes/Note.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Notes\\Note\:\:get_date_created\(\) has invalid return type Automattic\\WooCommerce\\Admin\\Notes\\WC_DateTime\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/Notes/Note.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Notes\\Note\:\:get_date_created\(\) should return Automattic\\WooCommerce\\Admin\\Notes\\WC_DateTime\|null but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/Notes/Note.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Notes\\Note\:\:get_date_reminder\(\) has invalid return type Automattic\\WooCommerce\\Admin\\Notes\\WC_DateTime\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/Notes/Note.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Notes\\Note\:\:get_date_reminder\(\) should return Automattic\\WooCommerce\\Admin\\Notes\\WC_DateTime\|null but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/Notes/Note.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Notes\\Note\:\:get_image\(\) should return array but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/Notes/Note.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Notes\\Note\:\:get_is_deleted\(\) should return bool but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/Notes/Note.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Notes\\Note\:\:get_is_read\(\) should return bool but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/Notes/Note.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Notes\\Note\:\:get_is_snoozable\(\) should return bool but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/Notes/Note.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Notes\\Note\:\:get_layout\(\) should return array but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/Notes/Note.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Notes\\Note\:\:get_locale\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/Notes/Note.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Notes\\Note\:\:get_name\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/Notes/Note.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Notes\\Note\:\:get_source\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/Notes/Note.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Notes\\Note\:\:get_status\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/Notes/Note.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Notes\\Note\:\:get_title\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/Notes/Note.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Notes\\Note\:\:get_type\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/Notes/Note.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Notes\\Note\:\:set_actions\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Notes/Note.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Notes\\Note\:\:set_content\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Notes/Note.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Notes\\Note\:\:set_content_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Notes/Note.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Notes\\Note\:\:set_date_created\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Notes/Note.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Notes\\Note\:\:set_date_reminder\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Notes/Note.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Notes\\Note\:\:set_icon\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Notes/Note.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Notes\\Note\:\:set_image\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Notes/Note.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Notes\\Note\:\:set_is_deleted\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Notes/Note.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Notes\\Note\:\:set_is_read\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Notes/Note.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Notes\\Note\:\:set_is_snoozable\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Notes/Note.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Notes\\Note\:\:set_layout\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Notes/Note.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Notes\\Note\:\:set_locale\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Notes/Note.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Notes\\Note\:\:set_name\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Notes/Note.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Notes\\Note\:\:set_source\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Notes/Note.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Notes\\Note\:\:set_status\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Notes/Note.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Notes\\Note\:\:set_title\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Notes/Note.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Notes\\Note\:\:set_type\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Notes/Note.php
+
+ -
+ message: '#^Parameter \#1 \$actions of method Automattic\\WooCommerce\\Admin\\Notes\\Note\:\:set_actions\(\) expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/Notes/Note.php
+
+ -
+ message: '#^Parameter \#1 \$id of method WC_Data\:\:set_id\(\) expects int, float\|int\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/Notes/Note.php
+
+ -
+ message: '#^Parameter \#1 \$read of method WC_Data\:\:__construct\(\) expects array\|int\|object, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/Notes/Note.php
+
+ -
+ message: '#^Parameter \#2 \$value of method WC_Data\:\:set_date_prop\(\) expects int\|string, int\|string\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/Notes/Note.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$label\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/Admin/Notes/Notes.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$name\.$#'
+ identifier: property.notFound
+ count: 3
+ path: src/Admin/Notes/Notes.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_note_ids_by_type\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: src/Admin/Notes/Notes.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_notes\(\)\.$#'
+ identifier: method.notFound
+ count: 3
+ path: src/Admin/Notes/Notes.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_notes_count\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Admin/Notes/Notes.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_notes_with_name\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: src/Admin/Notes/Notes.php
+
+ -
+ message: '#^Cannot call method delete\(\) on Automattic\\WooCommerce\\Admin\\Notes\\Note\|true\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: src/Admin/Notes/Notes.php
+
+ -
+ message: '#^Cannot call method get_date_reminder\(\) on Automattic\\WooCommerce\\Admin\\Notes\\Note\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Admin/Notes/Notes.php
+
+ -
+ message: '#^Cannot call method get_status\(\) on Automattic\\WooCommerce\\Admin\\Notes\\Note\|true\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: src/Admin/Notes/Notes.php
+
+ -
+ message: '#^Cannot call method save\(\) on Automattic\\WooCommerce\\Admin\\Notes\\Note\|true\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: src/Admin/Notes/Notes.php
+
+ -
+ message: '#^Cannot call method set_date_reminder\(\) on Automattic\\WooCommerce\\Admin\\Notes\\Note\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Admin/Notes/Notes.php
+
+ -
+ message: '#^Cannot call method set_is_deleted\(\) on Automattic\\WooCommerce\\Admin\\Notes\\Note\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Admin/Notes/Notes.php
+
+ -
+ message: '#^Cannot call method set_status\(\) on Automattic\\WooCommerce\\Admin\\Notes\\Note\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Admin/Notes/Notes.php
+
+ -
+ message: '#^Default value of the parameter \#1 \$type \(array\) of method Automattic\\WooCommerce\\Admin\\Notes\\Notes\:\:get_notes_count\(\) is incompatible with type string\.$#'
+ identifier: parameter.defaultValue
+ count: 1
+ path: src/Admin/Notes/Notes.php
+
+ -
+ message: '#^Default value of the parameter \#2 \$status \(array\) of method Automattic\\WooCommerce\\Admin\\Notes\\Notes\:\:get_notes_count\(\) is incompatible with type string\.$#'
+ identifier: parameter.defaultValue
+ count: 1
+ path: src/Admin/Notes/Notes.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Notes\\Notes\:\:clear_queued_actions\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Notes/Notes.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Notes\\Notes\:\:delete_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Notes/Notes.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Notes\\Notes\:\:delete_notes_with_name\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Notes/Notes.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Notes\\Notes\:\:get_screen_name\(\) should return string but returns array\<mixed\>\|string\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/Notes/Notes.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Notes\\Notes\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Notes/Notes.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Notes\\Notes\:\:possibly_delete_marketing_notes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Notes/Notes.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Notes\\Notes\:\:possibly_delete_survey_notes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Notes/Notes.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Notes\\Notes\:\:record_tracks_event_with_user\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Notes/Notes.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Notes\\Notes\:\:record_tracks_event_without_cookies\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Notes/Notes.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Notes\\Notes\:\:schedule_unsnooze_notes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Notes/Notes.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Notes\\Notes\:\:unsnooze_notes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Notes/Notes.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Notes\\Notes\:\:update_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Notes/Notes.php
+
+ -
+ message: '#^Parameter \#1 \$encoded_string of function parse_str expects string, string\|false\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/Notes/Notes.php
+
+ -
+ message: '#^Parameter \#1 \$is_deleted of method Automattic\\WooCommerce\\Admin\\Notes\\Note\:\:set_is_deleted\(\) expects bool, int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/Notes/Notes.php
+
+ -
+ message: '#^Parameter \#1 \$note of static method Automattic\\WooCommerce\\Admin\\Notes\\Notes\:\:delete_note\(\) expects Automattic\\WooCommerce\\Admin\\Notes\\Note, Automattic\\WooCommerce\\Admin\\Notes\\Note\|true given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/Notes/Notes.php
+
+ -
+ message: '#^Parameter \#1 \$post of function get_post_type expects int\|WP_Post\|null, array\<mixed\>\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/Notes/Notes.php
+
+ -
+ message: '#^Parameter \#1 \$string of function substr expects string, array\<string\>\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/Notes/Notes.php
+
+ -
+ message: '#^Parameter \#1 \$url of function wp_parse_url expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/Notes/Notes.php
+
+ -
+ message: '#^Parameter \#2 \$cookie_value of static method WC_Site_Tracking\:\:set_tracking_cookie\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/Notes/Notes.php
+
+ -
+ message: '#^Parameter \#3 \$subject of function str_replace expects array\<string\>\|string, array\<mixed\>\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/Notes/Notes.php
+
+ -
+ message: '#^Variable \$note_id might not be defined\.$#'
+ identifier: variable.undefined
+ count: 1
+ path: src/Admin/Notes/Notes.php
+
+ -
+ message: '#^Binary operation "/" between 0\|float and int\<min, \-1\>\|int\<1, max\>\|string results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: src/Admin/Overrides/Order.php
+
+ -
+ message: '#^Binary operation "/" between float and int\<min, \-1\>\|int\<1, max\>\|string results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: src/Admin/Overrides/Order.php
+
+ -
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_taxes\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Admin/Overrides/Order.php
+
+ -
+ message: '#^Call to method get_quantity\(\) on an unknown class Automattic\\WooCommerce\\Admin\\Overrides\\WC_Order_Item\.$#'
+ identifier: class.notFound
+ count: 2
+ path: src/Admin/Overrides/Order.php
+
+ -
+ message: '#^Call to method get_subtotal\(\) on an unknown class Automattic\\WooCommerce\\Admin\\Overrides\\WC_Order_Item\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/Overrides/Order.php
+
+ -
+ message: '#^Call to method get_taxes\(\) on an unknown class Automattic\\WooCommerce\\Admin\\Overrides\\WC_Order_Item\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/Overrides/Order.php
+
+ -
+ message: '#^Call to method get_total\(\) on an unknown class Automattic\\WooCommerce\\Admin\\Overrides\\WC_Order_Item\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/Overrides/Order.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Overrides\\Order\:\:add_filters\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Overrides/Order.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Overrides\\Order\:\:get_customer_first_name\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Overrides/Order.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Overrides\\Order\:\:get_customer_last_name\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Overrides/Order.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Overrides\\Order\:\:get_report_customer_id\(\) should return int but returns bool\|int\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/Overrides/Order.php
+
+ -
+ message: '#^Parameter \$item of method Automattic\\WooCommerce\\Admin\\Overrides\\Order\:\:get_item_cart_tax_amount\(\) has invalid type Automattic\\WooCommerce\\Admin\\Overrides\\WC_Order_Item\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/Overrides/Order.php
+
+ -
+ message: '#^Parameter \$item of method Automattic\\WooCommerce\\Admin\\Overrides\\Order\:\:get_item_coupon_amount\(\) has invalid type Automattic\\WooCommerce\\Admin\\Overrides\\WC_Order_Item\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/Overrides/Order.php
+
+ -
+ message: '#^Parameter \$item of method Automattic\\WooCommerce\\Admin\\Overrides\\Order\:\:get_item_shipping_amount\(\) has invalid type Automattic\\WooCommerce\\Admin\\Overrides\\WC_Order_Item\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/Overrides/Order.php
+
+ -
+ message: '#^Parameter \$item of method Automattic\\WooCommerce\\Admin\\Overrides\\Order\:\:get_item_shipping_tax_amount\(\) has invalid type Automattic\\WooCommerce\\Admin\\Overrides\\WC_Order_Item\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/Overrides/Order.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Admin\\Overrides\\Order\:\:\$customer_id \(int\) does not accept bool\|int\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/Admin/Overrides/Order.php
+
+ -
+ message: '#^Binary operation "/" between 0\|float and int\<min, \-1\>\|int\<1, max\>\|string results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: src/Admin/Overrides/OrderRefund.php
+
+ -
+ message: '#^Binary operation "/" between float and int\<min, \-1\>\|int\<1, max\>\|string results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: src/Admin/Overrides/OrderRefund.php
+
+ -
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_taxes\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Admin/Overrides/OrderRefund.php
+
+ -
+ message: '#^Call to method get_quantity\(\) on an unknown class Automattic\\WooCommerce\\Admin\\Overrides\\WC_Order_Item\.$#'
+ identifier: class.notFound
+ count: 2
+ path: src/Admin/Overrides/OrderRefund.php
+
+ -
+ message: '#^Call to method get_subtotal\(\) on an unknown class Automattic\\WooCommerce\\Admin\\Overrides\\WC_Order_Item\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/Overrides/OrderRefund.php
+
+ -
+ message: '#^Call to method get_taxes\(\) on an unknown class Automattic\\WooCommerce\\Admin\\Overrides\\WC_Order_Item\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/Overrides/OrderRefund.php
+
+ -
+ message: '#^Call to method get_total\(\) on an unknown class Automattic\\WooCommerce\\Admin\\Overrides\\WC_Order_Item\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/Overrides/OrderRefund.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Overrides\\OrderRefund\:\:add_filters\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Overrides/OrderRefund.php
+
+ -
+ message: '#^Parameter \#1 \$order of static method Automattic\\WooCommerce\\Admin\\API\\Reports\\Customers\\DataStore\:\:get_or_create_customer_from_order\(\) expects object, bool\|WC_Order\|WC_Order_Refund given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/Overrides/OrderRefund.php
+
+ -
+ message: '#^Parameter \$item of method Automattic\\WooCommerce\\Admin\\Overrides\\OrderRefund\:\:get_item_cart_tax_amount\(\) has invalid type Automattic\\WooCommerce\\Admin\\Overrides\\WC_Order_Item\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/Overrides/OrderRefund.php
+
+ -
+ message: '#^Parameter \$item of method Automattic\\WooCommerce\\Admin\\Overrides\\OrderRefund\:\:get_item_coupon_amount\(\) has invalid type Automattic\\WooCommerce\\Admin\\Overrides\\WC_Order_Item\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/Overrides/OrderRefund.php
+
+ -
+ message: '#^Parameter \$item of method Automattic\\WooCommerce\\Admin\\Overrides\\OrderRefund\:\:get_item_shipping_amount\(\) has invalid type Automattic\\WooCommerce\\Admin\\Overrides\\WC_Order_Item\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/Overrides/OrderRefund.php
+
+ -
+ message: '#^Parameter \$item of method Automattic\\WooCommerce\\Admin\\Overrides\\OrderRefund\:\:get_item_shipping_tax_amount\(\) has invalid type Automattic\\WooCommerce\\Admin\\Overrides\\WC_Order_Item\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/Overrides/OrderRefund.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Admin\\Overrides\\OrderRefund\:\:\$customer_id \(int\) does not accept bool\|int\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/Admin/Overrides/OrderRefund.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Admin\\Overrides\\OrderRefund\:\:\$customer_id \(int\) does not accept false\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/Admin/Overrides/OrderRefund.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Overrides\\ThemeUpgrader\:\:install\(\) has invalid return type Automattic\\WooCommerce\\Admin\\Overrides\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/Overrides/ThemeUpgrader.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Overrides\\ThemeUpgrader\:\:install\(\) should return Automattic\\WooCommerce\\Admin\\Overrides\\WP_Error\|bool but returns array\|WP_Error\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/Overrides/ThemeUpgrader.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\Overrides\\ThemeUpgraderSkin\:\:after\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/Overrides/ThemeUpgraderSkin.php
+
+ -
+ message: '#^@param Automattic\\WooCommerce\\Admin\\WP_Screen \$current_screen does not accept actual type of parameter\: WP_Screen\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: src/Admin/PageController.php
+
+ -
+ message: '#^@param Automattic\\WooCommerce\\Admin\\WP_Screen \$current_screen does not accept actual type of parameter\: null\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: src/Admin/PageController.php
+
+ -
+ message: '#^Binary operation "\." between ''&path\='' and non\-empty\-array\<mixed\>\|non\-falsy\-string results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: src/Admin/PageController.php
+
+ -
+ message: '#^Cannot access offset ''path'' on array\|true\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Admin/PageController.php
+
+ -
+ message: '#^Cannot access offset ''title'' on array\|true\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Admin/PageController.php
+
+ -
+ message: '#^Constant WC_ADMIN_ABSPATH not found\.$#'
+ identifier: constant.notFound
+ count: 1
+ path: src/Admin/PageController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\PageController\:\:connect_page\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/PageController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\PageController\:\:determine_current_page\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/PageController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\PageController\:\:get_current_page\(\) should return array\|bool but returns string\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/PageController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\PageController\:\:get_current_screen_id\(\) should return string but returns bool\|string\.$#'
+ identifier: return.type
+ count: 2
+ path: src/Admin/PageController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\PageController\:\:get_instance\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/PageController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\PageController\:\:is_admin_or_embed_page\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/PageController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\PageController\:\:is_admin_page\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/PageController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\PageController\:\:is_embed_page\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/PageController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\PageController\:\:is_modern_settings_page\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/PageController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\PageController\:\:is_settings_page\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/PageController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\PageController\:\:maybe_redirect_payment_tasks_to_settings\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/PageController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\PageController\:\:page_wrapper\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/PageController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\PageController\:\:register_page\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/PageController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\PageController\:\:register_page_handler\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/PageController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\PageController\:\:register_store_details_page\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/PageController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\PageController\:\:remove_app_entry_page_menu_item\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/PageController.php
+
+ -
+ message: '#^Parameter \#1 \$url of function esc_url_raw expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/PageController.php
+
+ -
+ message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Admin/PageController.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Admin\\PageController\:\:\$current_page \(string\) does not accept false\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/Admin/PageController.php
+
+ -
+ message: '#^Property WP_Screen\:\:\$post_type \(string\) in isset\(\) is not nullable\.$#'
+ identifier: isset.property
+ count: 1
+ path: src/Admin/PageController.php
+
+ -
+ message: '#^Static property Automattic\\WooCommerce\\Admin\\PageController\:\:\$instance \(Automattic\\WooCommerce\\Admin\\PageController\) does not accept default value of type false\.$#'
+ identifier: property.defaultValue
+ count: 1
+ path: src/Admin/PageController.php
+
+ -
+ message: '#^@param object \$api does not accept actual type of parameter\: array\|object\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: src/Admin/PluginsHelper.php
+
+ -
+ message: '#^Action callback returns array but should not return anything\.$#'
+ identifier: return.void
+ count: 1
+ path: src/Admin/PluginsHelper.php
+
+ -
+ message: '#^Action callback returns array\|WP_Error but should not return anything\.$#'
+ identifier: return.void
+ count: 1
+ path: src/Admin/PluginsHelper.php
+
+ -
+ message: '#^Action callback returns bool but should not return anything\.$#'
+ identifier: return.void
+ count: 1
+ path: src/Admin/PluginsHelper.php
+
+ -
+ message: '#^Binary operation "\-" between int\<1, max\> and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: src/Admin/PluginsHelper.php
+
+ -
+ message: '#^Call to an undefined method WP_Upgrader_Skin\:\:get_upgrade_messages\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Admin/PluginsHelper.php
+
+ -
+ message: '#^Call to function is_wp_error\(\) with WP_Error will always evaluate to true\.$#'
+ identifier: function.alreadyNarrowedType
+ count: 1
+ path: src/Admin/PluginsHelper.php
+
+ -
+ message: '#^Call to method get_status\(\) on an unknown class ActionScheduler_DBStore\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/PluginsHelper.php
+
+ -
+ message: '#^Cannot access offset ''email'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Admin/PluginsHelper.php
+
+ -
+ message: '#^Cannot access property \$download_link on array\|object\.$#'
+ identifier: property.nonObject
+ count: 2
+ path: src/Admin/PluginsHelper.php
+
+ -
+ message: '#^Cannot access property \$id on WP_Screen\|null\.$#'
+ identifier: property.nonObject
+ count: 6
+ path: src/Admin/PluginsHelper.php
+
+ -
+ message: '#^Cannot access property \$version on array\|object\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: src/Admin/PluginsHelper.php
+
+ -
+ message: '#^Cannot call method get_all_active_valid_plugins\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Admin/PluginsHelper.php
+
+ -
+ message: '#^Instantiated class ActionScheduler_DBStore not found\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/PluginsHelper.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\PluginsHelper\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/PluginsHelper.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\PluginsHelper\:\:install_plugins\(\) should return array but returns WP_Error\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/PluginsHelper.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\PluginsHelper\:\:schedule_activate_plugins\(\) should return string but returns WP_Error\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/PluginsHelper.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\PluginsHelper\:\:schedule_install_plugins\(\) should return string but returns WP_Error\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/PluginsHelper.php
+
+ -
+ message: '#^Parameter \#1 \$code of method WP_Error\:\:add\(\) expects int\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Admin/PluginsHelper.php
+
+ -
+ message: '#^Parameter \#1 \$key of function sanitize_key expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/PluginsHelper.php
+
+ -
+ message: '#^Parameter \#1 \$plugin_name of method Automattic\\WooCommerce\\Admin\\PluginsInstallLoggers\\PluginsInstallLogger\:\:add_error\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Admin/PluginsHelper.php
+
+ -
+ message: '#^Parameter \#1 \$plugin_name of method Automattic\\WooCommerce\\Admin\\PluginsInstallLoggers\\PluginsInstallLogger\:\:install_requested\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/PluginsHelper.php
+
+ -
+ message: '#^Parameter \#1 \$plugin_name of method Automattic\\WooCommerce\\Admin\\PluginsInstallLoggers\\PluginsInstallLogger\:\:installed\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Admin/PluginsHelper.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_attr expects string, int\<2, max\> given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Admin/PluginsHelper.php
+
+ -
+ message: '#^Parameter \#2 \$duration of method Automattic\\WooCommerce\\Admin\\PluginsInstallLoggers\\PluginsInstallLogger\:\:installed\(\) expects int, float given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/PluginsHelper.php
+
+ -
+ message: '#^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/PluginsHelper.php
+
+ -
+ message: '#^Possibly invalid array key type mixed\.$#'
+ identifier: offsetAccess.invalidOffset
+ count: 3
+ path: src/Admin/PluginsHelper.php
+
+ -
+ message: '#^Cannot access an offset on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Admin/PluginsInstallLoggers/AsyncPluginsInstallLogger.php
+
+ -
+ message: '#^Cannot access offset ''complete_time'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Admin/PluginsInstallLoggers/AsyncPluginsInstallLogger.php
+
+ -
+ message: '#^Cannot access offset ''errors'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Admin/PluginsInstallLoggers/AsyncPluginsInstallLogger.php
+
+ -
+ message: '#^Cannot access offset ''install_duration'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Admin/PluginsInstallLoggers/AsyncPluginsInstallLogger.php
+
+ -
+ message: '#^Cannot access offset ''plugins'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 5
+ path: src/Admin/PluginsInstallLoggers/AsyncPluginsInstallLogger.php
+
+ -
+ message: '#^Cannot access offset ''status'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 6
+ path: src/Admin/PluginsInstallLoggers/AsyncPluginsInstallLogger.php
+
+ -
+ message: '#^Cannot access offset string on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 5
+ path: src/Admin/PluginsInstallLoggers/AsyncPluginsInstallLogger.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\PluginsInstallLoggers\\AsyncPluginsInstallLogger\:\:get_plugin_track_key\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/PluginsInstallLoggers/AsyncPluginsInstallLogger.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\PluginsInstallLoggers\\AsyncPluginsInstallLogger\:\:get_plugin_track_key\(\) has parameter \$id with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: src/Admin/PluginsInstallLoggers/AsyncPluginsInstallLogger.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\PluginsInstallLoggers\\AsyncPluginsInstallLogger\:\:get_timeframe\(\) should return string but return statement is missing\.$#'
+ identifier: return.missing
+ count: 1
+ path: src/Admin/PluginsInstallLoggers/AsyncPluginsInstallLogger.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\PluginsInstallLoggers\\AsyncPluginsInstallLogger\:\:track\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/PluginsInstallLoggers/AsyncPluginsInstallLogger.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\PluginsInstallLoggers\\AsyncPluginsInstallLogger\:\:track\(\) has parameter \$data with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: src/Admin/PluginsInstallLoggers/AsyncPluginsInstallLogger.php
+
+ -
+ message: '#^Parameter \#1 \$data of method Automattic\\WooCommerce\\Admin\\PluginsInstallLoggers\\AsyncPluginsInstallLogger\:\:update\(\) expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 6
+ path: src/Admin/PluginsInstallLoggers/AsyncPluginsInstallLogger.php
+
+ -
+ message: '#^Parameter \#4 \$autoload of function add_option expects bool\|null, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/PluginsInstallLoggers/AsyncPluginsInstallLogger.php
+
+ -
+ message: '#^Cannot access offset ''data'' on array\|WP_Error\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Admin/PluginsInstaller.php
+
+ -
+ message: '#^Cannot call method get_error_message\(\) on array\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Admin/PluginsInstaller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\PluginsInstaller\:\:cache_results\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/PluginsInstaller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\PluginsInstaller\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/PluginsInstaller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\PluginsInstaller\:\:possibly_install_activate_plugins\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/PluginsInstaller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\PluginsInstaller\:\:redirect_to_referer\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/PluginsInstaller.php
+
+ -
+ message: '#^Parameter \#1 \$request of method Automattic\\WooCommerce\\Admin\\API\\Plugins\:\:activate_plugins\(\) expects WP_REST_Request, array\<string, string\> given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Admin/PluginsInstaller.php
+
+ -
+ message: '#^Parameter \#1 \$request of method Automattic\\WooCommerce\\Admin\\API\\Plugins\:\:install_plugins\(\) expects WP_REST_Request, array\<string, string\> given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Admin/PluginsInstaller.php
+
+ -
+ message: '#^Parameter \#1 \$str of function sanitize_text_field expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/PluginsInstaller.php
+
+ -
+ message: '#^Parameter \#2 \$install_result of static method Automattic\\WooCommerce\\Admin\\PluginsInstaller\:\:cache_results\(\) expects array, array\|WP_Error\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/PluginsInstaller.php
+
+ -
+ message: '#^Parameter \#2 \$query of function remove_query_arg expects string\|false, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/PluginsInstaller.php
+
+ -
+ message: '#^Parameter \#3 \$activate_result of static method Automattic\\WooCommerce\\Admin\\PluginsInstaller\:\:cache_results\(\) expects array, array\|WP_Error\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/PluginsInstaller.php
+
+ -
+ message: '#^Ternary operator condition is always true\.$#'
+ identifier: ternary.alwaysTrue
+ count: 1
+ path: src/Admin/PluginsInstaller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\PluginsProvider\\PluginsProvider\:\:set_deactivated_plugin\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/PluginsProvider/PluginsProvider.php
+
+ -
+ message: '#^Call to method error\(\) on an unknown class Automattic\\WooCommerce\\Admin\\RemoteSpecs\\WC_Logger\.$#'
+ identifier: class.notFound
+ count: 26
+ path: src/Admin/RemoteInboxNotifications/RemoteInboxNotificationsDataSourcePoller.php
+
+ -
+ message: '#^Cannot access property \$type on mixed\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: src/Admin/RemoteInboxNotifications/RemoteInboxNotificationsDataSourcePoller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\RemoteInboxNotifications\\RemoteInboxNotificationsDataSourcePoller\:\:get_instance\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/RemoteInboxNotifications/RemoteInboxNotificationsDataSourcePoller.php
+
+ -
+ message: '#^Parameter \#1 \$action of method Automattic\\WooCommerce\\Admin\\RemoteInboxNotifications\\RemoteInboxNotificationsDataSourcePoller\:\:validate_action\(\) expects object, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/RemoteInboxNotifications/RemoteInboxNotificationsDataSourcePoller.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$id\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/Admin/RemoteInboxNotifications/RemoteInboxNotificationsEngine.php
+
+ -
+ message: '#^Argument of an invalid type array\<mixed\>\|Countable supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
+ count: 1
+ path: src/Admin/RemoteInboxNotifications/RemoteInboxNotificationsEngine.php
+
+ -
+ message: '#^Cannot access offset ''completed'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: src/Admin/RemoteInboxNotifications/RemoteInboxNotificationsEngine.php
+
+ -
+ message: '#^Cannot call method delete\(\) on Automattic\\WooCommerce\\Admin\\Notes\\Note\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Admin/RemoteInboxNotifications/RemoteInboxNotificationsEngine.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\RemoteInboxNotifications\\RemoteInboxNotificationsEngine\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/RemoteInboxNotifications/RemoteInboxNotificationsEngine.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\RemoteInboxNotifications\\RemoteInboxNotificationsEngine\:\:on_admin_init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/RemoteInboxNotifications/RemoteInboxNotificationsEngine.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\RemoteInboxNotifications\\RemoteInboxNotificationsEngine\:\:on_init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/RemoteInboxNotifications/RemoteInboxNotificationsEngine.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\RemoteInboxNotifications\\RemoteInboxNotificationsEngine\:\:run\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/RemoteInboxNotifications/RemoteInboxNotificationsEngine.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\RemoteInboxNotifications\\RemoteInboxNotificationsEngine\:\:run_on_deactivated_plugin\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/RemoteInboxNotifications/RemoteInboxNotificationsEngine.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\RemoteInboxNotifications\\RemoteInboxNotificationsEngine\:\:run_on_woocommerce_admin_updated\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/RemoteInboxNotifications/RemoteInboxNotificationsEngine.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\RemoteInboxNotifications\\RemoteInboxNotificationsEngine\:\:update_profile_option\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/RemoteInboxNotifications/RemoteInboxNotificationsEngine.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\RemoteInboxNotifications\\RemoteInboxNotificationsEngine\:\:update_stored_state\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/RemoteInboxNotifications/RemoteInboxNotificationsEngine.php
+
+ -
+ message: '#^Parameter \#1 \$note_id of static method Automattic\\WooCommerce\\Admin\\Notes\\Notes\:\:get_note\(\) expects int, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/RemoteInboxNotifications/RemoteInboxNotificationsEngine.php
+
+ -
+ message: '#^Parameter \#1 \$spec of static method Automattic\\WooCommerce\\Admin\\RemoteInboxNotifications\\SpecRunner\:\:run_spec\(\) expects object, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/RemoteInboxNotifications/RemoteInboxNotificationsEngine.php
+
+ -
+ message: '#^Parameter \#1 \$str of function sanitize_text_field expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Admin/RemoteInboxNotifications/RemoteInboxNotificationsEngine.php
+
+ -
+ message: '#^Static method Automattic\\WooCommerce\\Admin\\RemoteInboxNotifications\\SpecRunner\:\:get_locale\(\) invoked with 2 parameters, 1 required\.$#'
+ identifier: arguments.count
+ count: 1
+ path: src/Admin/RemoteInboxNotifications/RemoteInboxNotificationsEngine.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$locales\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/Admin/RemoteInboxNotifications/SpecRunner.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$slug\.$#'
+ identifier: property.notFound
+ count: 2
+ path: src/Admin/RemoteInboxNotifications/SpecRunner.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$type\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/Admin/RemoteInboxNotifications/SpecRunner.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_notes_with_name\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Admin/RemoteInboxNotifications/SpecRunner.php
+
+ -
+ message: '#^Cannot access offset 0 on non\-empty\-array\<mixed\>\|Countable\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Admin/RemoteInboxNotifications/SpecRunner.php
+
+ -
+ message: '#^Cannot call method get_status\(\) on Automattic\\WooCommerce\\Admin\\Notes\\Note\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Admin/RemoteInboxNotifications/SpecRunner.php
+
+ -
+ message: '#^Cannot call method save\(\) on Automattic\\WooCommerce\\Admin\\Notes\\Note\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Admin/RemoteInboxNotifications/SpecRunner.php
+
+ -
+ message: '#^Cannot call method set_actions\(\) on Automattic\\WooCommerce\\Admin\\Notes\\Note\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Admin/RemoteInboxNotifications/SpecRunner.php
+
+ -
+ message: '#^Cannot call method set_content\(\) on Automattic\\WooCommerce\\Admin\\Notes\\Note\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Admin/RemoteInboxNotifications/SpecRunner.php
+
+ -
+ message: '#^Cannot call method set_content_data\(\) on Automattic\\WooCommerce\\Admin\\Notes\\Note\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Admin/RemoteInboxNotifications/SpecRunner.php
+
+ -
+ message: '#^Cannot call method set_date_created\(\) on Automattic\\WooCommerce\\Admin\\Notes\\Note\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Admin/RemoteInboxNotifications/SpecRunner.php
+
+ -
+ message: '#^Cannot call method set_layout\(\) on Automattic\\WooCommerce\\Admin\\Notes\\Note\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Admin/RemoteInboxNotifications/SpecRunner.php
+
+ -
+ message: '#^Cannot call method set_name\(\) on Automattic\\WooCommerce\\Admin\\Notes\\Note\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Admin/RemoteInboxNotifications/SpecRunner.php
+
+ -
+ message: '#^Cannot call method set_source\(\) on Automattic\\WooCommerce\\Admin\\Notes\\Note\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Admin/RemoteInboxNotifications/SpecRunner.php
+
+ -
+ message: '#^Cannot call method set_status\(\) on Automattic\\WooCommerce\\Admin\\Notes\\Note\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Admin/RemoteInboxNotifications/SpecRunner.php
+
+ -
+ message: '#^Cannot call method set_title\(\) on Automattic\\WooCommerce\\Admin\\Notes\\Note\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Admin/RemoteInboxNotifications/SpecRunner.php
+
+ -
+ message: '#^Cannot call method set_type\(\) on Automattic\\WooCommerce\\Admin\\Notes\\Note\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Admin/RemoteInboxNotifications/SpecRunner.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\RemoteInboxNotifications\\SpecRunner\:\:get_action_locale\(\) should return object but returns null\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/RemoteInboxNotifications/SpecRunner.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\RemoteInboxNotifications\\SpecRunner\:\:get_locale\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/RemoteInboxNotifications/SpecRunner.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\RemoteInboxNotifications\\SpecRunner\:\:run_spec\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/RemoteInboxNotifications/SpecRunner.php
+
+ -
+ message: '#^Parameter \#1 \$spec of static method Automattic\\WooCommerce\\Admin\\RemoteSpecs\\RuleProcessors\\EvaluateAndGetStatus\:\:evaluate\(\) expects array, object given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/RemoteInboxNotifications/SpecRunner.php
+
+ -
+ message: '#^Call to method error\(\) on an unknown class Automattic\\WooCommerce\\Admin\\RemoteSpecs\\WC_Logger\.$#'
+ identifier: class.notFound
+ count: 6
+ path: src/Admin/RemoteSpecs/DataSourcePoller.php
+
+ -
+ message: '#^Cannot access offset string on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 3
+ path: src/Admin/RemoteSpecs/DataSourcePoller.php
+
+ -
+ message: '#^Constant WC_VERSION not found\.$#'
+ identifier: constant.notFound
+ count: 1
+ path: src/Admin/RemoteSpecs/DataSourcePoller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\RemoteSpecs\\DataSourcePoller\:\:get_instance\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/RemoteSpecs/DataSourcePoller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\RemoteSpecs\\DataSourcePoller\:\:get_logger\(\) has invalid return type Automattic\\WooCommerce\\Admin\\RemoteSpecs\\WC_Logger\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/RemoteSpecs/DataSourcePoller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\RemoteSpecs\\DataSourcePoller\:\:get_logger\(\) should return Automattic\\WooCommerce\\Admin\\RemoteSpecs\\WC_Logger but returns Automattic\\WooCommerce\\Admin\\RemoteSpecs\\WC_Logger\|WC_Logger_Interface\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/RemoteSpecs/DataSourcePoller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\RemoteSpecs\\DataSourcePoller\:\:merge_specs\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/RemoteSpecs/DataSourcePoller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\RemoteSpecs\\DataSourcePoller\:\:set_specs_transient\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/RemoteSpecs/DataSourcePoller.php
+
+ -
+ message: '#^One or more @param tags has an invalid name or invalid syntax\.$#'
+ identifier: phpDoc.parseError
+ count: 3
+ path: src/Admin/RemoteSpecs/DataSourcePoller.php
+
+ -
+ message: '#^PHPDoc tag @param has invalid value \(array \$this\-\>data_sources List of data sources\.\)\: Unexpected token "\$this", expected variable at offset 58 on line 4$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Admin/RemoteSpecs/DataSourcePoller.php
+
+ -
+ message: '#^PHPDoc tag @param has invalid value \(string \$this\-\>id Spec identifier\.\)\: Unexpected token "\$this", expected variable at offset 123 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Admin/RemoteSpecs/DataSourcePoller.php
+
+ -
+ message: '#^PHPDoc tag @param has invalid value \(string \$this\-\>id Spec identifier\.\)\: Unexpected token "\$this", expected variable at offset 96 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 2
+ path: src/Admin/RemoteSpecs/DataSourcePoller.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Admin\\RemoteSpecs\\DataSourcePoller\:\:\$id \(string\) does not accept default value of type array\.$#'
+ identifier: property.defaultValue
+ count: 1
+ path: src/Admin/RemoteSpecs/DataSourcePoller.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Admin\\RemoteSpecs\\DataSourcePoller\:\:\$logger has unknown class Automattic\\WooCommerce\\Admin\\RemoteSpecs\\WC_Logger as its type\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/RemoteSpecs/DataSourcePoller.php
+
+ -
+ message: '#^Static property Automattic\\WooCommerce\\Admin\\RemoteSpecs\\DataSourcePoller\:\:\$logger \(Automattic\\WooCommerce\\Admin\\RemoteSpecs\\WC_Logger\|null\) does not accept WC_Logger_Interface\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/Admin/RemoteSpecs/DataSourcePoller.php
+
+ -
+ message: '#^Cannot call method getMessage\(\) on class\-string\|object\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Admin/RemoteSpecs/RemoteSpecsEngine.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\RemoteSpecs\\RemoteSpecsEngine\:\:log_errors\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/RemoteSpecs/RemoteSpecsEngine.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$operation\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/Admin/RemoteSpecs/RuleProcessors/BaseLocationCountryRuleProcessor.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$value\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/Admin/RemoteSpecs/RuleProcessors/BaseLocationCountryRuleProcessor.php
+
+ -
+ message: '#^Cannot access offset ''is_store_country_set'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Admin/RemoteSpecs/RuleProcessors/BaseLocationCountryRuleProcessor.php
+
+ -
+ message: '#^Parameter \#1 \$left_operand of static method Automattic\\WooCommerce\\Admin\\RemoteSpecs\\RuleProcessors\\ComparisonOperation\:\:compare\(\) expects object, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/RemoteSpecs/RuleProcessors/BaseLocationCountryRuleProcessor.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$operation\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/Admin/RemoteSpecs/RuleProcessors/BaseLocationStateRuleProcessor.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$value\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/Admin/RemoteSpecs/RuleProcessors/BaseLocationStateRuleProcessor.php
+
+ -
+ message: '#^Parameter \#1 \$left_operand of static method Automattic\\WooCommerce\\Admin\\RemoteSpecs\\RuleProcessors\\ComparisonOperation\:\:compare\(\) expects object, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/RemoteSpecs/RuleProcessors/BaseLocationStateRuleProcessor.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\RemoteSpecs\\RuleProcessors\\ComparisonOperation\:\:compare\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/RemoteSpecs/RuleProcessors/ComparisonOperation.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$name\.$#'
+ identifier: property.notFound
+ count: 2
+ path: src/Admin/RemoteSpecs/RuleProcessors/ContextPluginsRuleProcessor.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$operation\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/Admin/RemoteSpecs/RuleProcessors/ContextPluginsRuleProcessor.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$value\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/Admin/RemoteSpecs/RuleProcessors/ContextPluginsRuleProcessor.php
+
+ -
+ message: '#^Call to an undefined method object\:\:evaluate\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Admin/RemoteSpecs/RuleProcessors/EvaluateAndGetStatus.php
+
+ -
+ message: '#^Cannot access property \$rules on array\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: src/Admin/RemoteSpecs/RuleProcessors/EvaluateAndGetStatus.php
+
+ -
+ message: '#^Cannot access offset int on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 3
+ path: src/Admin/RemoteSpecs/RuleProcessors/EvaluateOverrides.php
+
+ -
+ message: '#^Cannot access property \$rules on mixed\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: src/Admin/RemoteSpecs/RuleProcessors/EvaluateOverrides.php
+
+ -
+ message: '#^Parameter \#1 \$get_rule_processor of class Automattic\\WooCommerce\\Admin\\RemoteSpecs\\RuleProcessors\\RuleEvaluator constructor expects Automattic\\WooCommerce\\Admin\\RemoteSpecs\\RuleProcessors\\GetRuleProcessor\|null, Automattic\\WooCommerce\\Admin\\RemoteSpecs\\RuleProcessors\\GetRuleProcessorForContext given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/RemoteSpecs/RuleProcessors/EvaluateOverrides.php
+
+ -
+ message: '#^Cannot call method debug\(\) on WC_Logger_Interface\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Admin/RemoteSpecs/RuleProcessors/EvaluationLogger.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\RemoteSpecs\\RuleProcessors\\EvaluationLogger\:\:add_result\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/RemoteSpecs/RuleProcessors/EvaluationLogger.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\RemoteSpecs\\RuleProcessors\\EvaluationLogger\:\:log\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/RemoteSpecs/RuleProcessors/EvaluationLogger.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$value\.$#'
+ identifier: property.notFound
+ count: 2
+ path: src/Admin/RemoteSpecs/RuleProcessors/IsEcommerceRuleProcessor.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$value\.$#'
+ identifier: property.notFound
+ count: 4
+ path: src/Admin/RemoteSpecs/RuleProcessors/IsWooExpressRuleProcessor.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$operand\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/Admin/RemoteSpecs/RuleProcessors/NotRuleProcessor.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$note_name\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/Admin/RemoteSpecs/RuleProcessors/NoteStatusRuleProcessor.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$operation\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/Admin/RemoteSpecs/RuleProcessors/NoteStatusRuleProcessor.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$status\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/Admin/RemoteSpecs/RuleProcessors/NoteStatusRuleProcessor.php
+
+ -
+ message: '#^Parameter \#1 \$left_operand of static method Automattic\\WooCommerce\\Admin\\RemoteSpecs\\RuleProcessors\\ComparisonOperation\:\:compare\(\) expects object, string\|true given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/RemoteSpecs/RuleProcessors/NoteStatusRuleProcessor.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$index\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/Admin/RemoteSpecs/RuleProcessors/OnboardingProfileRuleProcessor.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$operation\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/Admin/RemoteSpecs/RuleProcessors/OnboardingProfileRuleProcessor.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$value\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/Admin/RemoteSpecs/RuleProcessors/OnboardingProfileRuleProcessor.php
+
+ -
+ message: '#^Parameter \#1 \$left_operand of static method Automattic\\WooCommerce\\Admin\\RemoteSpecs\\RuleProcessors\\ComparisonOperation\:\:compare\(\) expects object, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/RemoteSpecs/RuleProcessors/OnboardingProfileRuleProcessor.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$operation\.$#'
+ identifier: property.notFound
+ count: 3
+ path: src/Admin/RemoteSpecs/RuleProcessors/OptionRuleProcessor.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$option_name\.$#'
+ identifier: property.notFound
+ count: 2
+ path: src/Admin/RemoteSpecs/RuleProcessors/OptionRuleProcessor.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$value\.$#'
+ identifier: property.notFound
+ count: 2
+ path: src/Admin/RemoteSpecs/RuleProcessors/OptionRuleProcessor.php
+
+ -
+ message: '#^Cannot access property \$arguments on mixed\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: src/Admin/RemoteSpecs/RuleProcessors/OptionRuleProcessor.php
+
+ -
+ message: '#^Cannot access property \$use on mixed\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: src/Admin/RemoteSpecs/RuleProcessors/OptionRuleProcessor.php
+
+ -
+ message: '#^Cannot call method validate\(\) on Automattic\\WooCommerce\\Admin\\RemoteSpecs\\RuleProcessors\\Transformers\\TransformerInterface\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Admin/RemoteSpecs/RuleProcessors/OptionRuleProcessor.php
+
+ -
+ message: '#^Parameter \#1 \$left_operand of static method Automattic\\WooCommerce\\Admin\\RemoteSpecs\\RuleProcessors\\ComparisonOperation\:\:compare\(\) expects object, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/RemoteSpecs/RuleProcessors/OptionRuleProcessor.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$operands\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/Admin/RemoteSpecs/RuleProcessors/OrRuleProcessor.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$operation\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/Admin/RemoteSpecs/RuleProcessors/OrderCountRuleProcessor.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$value\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/Admin/RemoteSpecs/RuleProcessors/OrderCountRuleProcessor.php
+
+ -
+ message: '#^Parameter \#1 \$left_operand of static method Automattic\\WooCommerce\\Admin\\RemoteSpecs\\RuleProcessors\\ComparisonOperation\:\:compare\(\) expects object, int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/RemoteSpecs/RuleProcessors/OrderCountRuleProcessor.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Admin\\RemoteSpecs\\RuleProcessors\\OrderCountRuleProcessor\:\:\$orders_provider \(Automattic\\WooCommerce\\Admin\\RemoteSpecs\\RuleProcessors\\OrdersProvider\) does not accept object\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/Admin/RemoteSpecs/RuleProcessors/OrderCountRuleProcessor.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$operator\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/Admin/RemoteSpecs/RuleProcessors/PluginVersionRuleProcessor.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$plugin\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/Admin/RemoteSpecs/RuleProcessors/PluginVersionRuleProcessor.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$version\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/Admin/RemoteSpecs/RuleProcessors/PluginVersionRuleProcessor.php
+
+ -
+ message: '#^Call to method get_active_plugin_slugs\(\) on an unknown class Automattic\\WooCommerce\\Admin\\RemoteSpecs\\RuleProcessors\\PluginsProviderInterface\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/RemoteSpecs/RuleProcessors/PluginVersionRuleProcessor.php
+
+ -
+ message: '#^Call to method get_plugin_data\(\) on an unknown class Automattic\\WooCommerce\\Admin\\RemoteSpecs\\RuleProcessors\\PluginsProviderInterface\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/RemoteSpecs/RuleProcessors/PluginVersionRuleProcessor.php
+
+ -
+ message: '#^Parameter \#1 \$version1 of function version_compare expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/RemoteSpecs/RuleProcessors/PluginVersionRuleProcessor.php
+
+ -
+ message: '#^Parameter \$plugins_provider of method Automattic\\WooCommerce\\Admin\\RemoteSpecs\\RuleProcessors\\PluginVersionRuleProcessor\:\:__construct\(\) has invalid type Automattic\\WooCommerce\\Admin\\RemoteSpecs\\RuleProcessors\\PluginsProviderInterface\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/RemoteSpecs/RuleProcessors/PluginVersionRuleProcessor.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Admin\\RemoteSpecs\\RuleProcessors\\PluginVersionRuleProcessor\:\:\$plugins_provider \(Automattic\\WooCommerce\\Admin\\RemoteSpecs\\RuleProcessors\\PluginsProviderInterface\) does not accept Automattic\\WooCommerce\\Admin\\PluginsProvider\\PluginsProvider\|Automattic\\WooCommerce\\Admin\\RemoteSpecs\\RuleProcessors\\PluginsProviderInterface\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/Admin/RemoteSpecs/RuleProcessors/PluginVersionRuleProcessor.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Admin\\RemoteSpecs\\RuleProcessors\\PluginVersionRuleProcessor\:\:\$plugins_provider has unknown class Automattic\\WooCommerce\\Admin\\RemoteSpecs\\RuleProcessors\\PluginsProviderInterface as its type\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/RemoteSpecs/RuleProcessors/PluginVersionRuleProcessor.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$plugins\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/Admin/RemoteSpecs/RuleProcessors/PluginsActivatedRuleProcessor.php
+
+ -
+ message: '#^Argument of an invalid type array\<mixed\>\|Countable supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
+ count: 1
+ path: src/Admin/RemoteSpecs/RuleProcessors/PluginsActivatedRuleProcessor.php
+
+ -
+ message: '#^Call to method get_active_plugin_slugs\(\) on an unknown class Automattic\\WooCommerce\\Admin\\RemoteSpecs\\RuleProcessors\\PluginsProviderInterface\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/RemoteSpecs/RuleProcessors/PluginsActivatedRuleProcessor.php
+
+ -
+ message: '#^Parameter \$plugins_provider of method Automattic\\WooCommerce\\Admin\\RemoteSpecs\\RuleProcessors\\PluginsActivatedRuleProcessor\:\:__construct\(\) has invalid type Automattic\\WooCommerce\\Admin\\RemoteSpecs\\RuleProcessors\\PluginsProviderInterface\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/RemoteSpecs/RuleProcessors/PluginsActivatedRuleProcessor.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Admin\\RemoteSpecs\\RuleProcessors\\PluginsActivatedRuleProcessor\:\:\$plugins_provider \(Automattic\\WooCommerce\\Admin\\RemoteSpecs\\RuleProcessors\\PluginsProviderInterface\) does not accept Automattic\\WooCommerce\\Admin\\PluginsProvider\\PluginsProvider\|Automattic\\WooCommerce\\Admin\\RemoteSpecs\\RuleProcessors\\PluginsProviderInterface\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/Admin/RemoteSpecs/RuleProcessors/PluginsActivatedRuleProcessor.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Admin\\RemoteSpecs\\RuleProcessors\\PluginsActivatedRuleProcessor\:\:\$plugins_provider has unknown class Automattic\\WooCommerce\\Admin\\RemoteSpecs\\RuleProcessors\\PluginsProviderInterface as its type\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/RemoteSpecs/RuleProcessors/PluginsActivatedRuleProcessor.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$operation\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/Admin/RemoteSpecs/RuleProcessors/ProductCountRuleProcessor.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$value\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/Admin/RemoteSpecs/RuleProcessors/ProductCountRuleProcessor.php
+
+ -
+ message: '#^Call to method get_products\(\) on an unknown class Automattic\\WooCommerce\\Admin\\RemoteSpecs\\RuleProcessors\\WC_Product_Query\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/RemoteSpecs/RuleProcessors/ProductCountRuleProcessor.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Admin\\RemoteSpecs\\RuleProcessors\\ProductCountRuleProcessor\:\:\$product_query \(Automattic\\WooCommerce\\Admin\\RemoteSpecs\\RuleProcessors\\WC_Product_Query\) does not accept object\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/Admin/RemoteSpecs/RuleProcessors/ProductCountRuleProcessor.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Admin\\RemoteSpecs\\RuleProcessors\\ProductCountRuleProcessor\:\:\$product_query has unknown class Automattic\\WooCommerce\\Admin\\RemoteSpecs\\RuleProcessors\\WC_Product_Query as its type\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/RemoteSpecs/RuleProcessors/ProductCountRuleProcessor.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$publish_after\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/Admin/RemoteSpecs/RuleProcessors/PublishAfterTimeRuleProcessor.php
+
+ -
+ message: '#^Call to method get_now\(\) on an unknown class Automattic\\WooCommerce\\Admin\\RemoteSpecs\\RuleProcessors\\DateTimeProviderInterface\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/RemoteSpecs/RuleProcessors/PublishAfterTimeRuleProcessor.php
+
+ -
+ message: '#^Parameter \$date_time_provider of method Automattic\\WooCommerce\\Admin\\RemoteSpecs\\RuleProcessors\\PublishAfterTimeRuleProcessor\:\:__construct\(\) has invalid type Automattic\\WooCommerce\\Admin\\RemoteSpecs\\RuleProcessors\\DateTimeProviderInterface\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/RemoteSpecs/RuleProcessors/PublishAfterTimeRuleProcessor.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Admin\\RemoteSpecs\\RuleProcessors\\PublishAfterTimeRuleProcessor\:\:\$date_time_provider \(Automattic\\WooCommerce\\Admin\\RemoteSpecs\\RuleProcessors\\DateTimeProviderInterface\) does not accept Automattic\\WooCommerce\\Admin\\DateTimeProvider\\CurrentDateTimeProvider\|Automattic\\WooCommerce\\Admin\\RemoteSpecs\\RuleProcessors\\DateTimeProviderInterface\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/Admin/RemoteSpecs/RuleProcessors/PublishAfterTimeRuleProcessor.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Admin\\RemoteSpecs\\RuleProcessors\\PublishAfterTimeRuleProcessor\:\:\$date_time_provider has unknown class Automattic\\WooCommerce\\Admin\\RemoteSpecs\\RuleProcessors\\DateTimeProviderInterface as its type\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/RemoteSpecs/RuleProcessors/PublishAfterTimeRuleProcessor.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$publish_before\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/Admin/RemoteSpecs/RuleProcessors/PublishBeforeTimeRuleProcessor.php
+
+ -
+ message: '#^Call to method get_now\(\) on an unknown class Automattic\\WooCommerce\\Admin\\RemoteSpecs\\RuleProcessors\\DateTimeProviderInterface\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/RemoteSpecs/RuleProcessors/PublishBeforeTimeRuleProcessor.php
+
+ -
+ message: '#^Parameter \$date_time_provider of method Automattic\\WooCommerce\\Admin\\RemoteSpecs\\RuleProcessors\\PublishBeforeTimeRuleProcessor\:\:__construct\(\) has invalid type Automattic\\WooCommerce\\Admin\\RemoteSpecs\\RuleProcessors\\DateTimeProviderInterface\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/RemoteSpecs/RuleProcessors/PublishBeforeTimeRuleProcessor.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Admin\\RemoteSpecs\\RuleProcessors\\PublishBeforeTimeRuleProcessor\:\:\$date_time_provider \(Automattic\\WooCommerce\\Admin\\RemoteSpecs\\RuleProcessors\\DateTimeProviderInterface\) does not accept Automattic\\WooCommerce\\Admin\\DateTimeProvider\\CurrentDateTimeProvider\|Automattic\\WooCommerce\\Admin\\RemoteSpecs\\RuleProcessors\\DateTimeProviderInterface\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/Admin/RemoteSpecs/RuleProcessors/PublishBeforeTimeRuleProcessor.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Admin\\RemoteSpecs\\RuleProcessors\\PublishBeforeTimeRuleProcessor\:\:\$date_time_provider has unknown class Automattic\\WooCommerce\\Admin\\RemoteSpecs\\RuleProcessors\\DateTimeProviderInterface as its type\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/RemoteSpecs/RuleProcessors/PublishBeforeTimeRuleProcessor.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$type\.$#'
+ identifier: property.notFound
+ count: 2
+ path: src/Admin/RemoteSpecs/RuleProcessors/RuleEvaluator.php
+
+ -
+ message: '#^Parameter \#2 \$stored_state of method Automattic\\WooCommerce\\Admin\\RemoteSpecs\\RuleProcessors\\RuleProcessorInterface\:\:process\(\) expects object, object\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/RemoteSpecs/RuleProcessors/RuleEvaluator.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$index\.$#'
+ identifier: property.notFound
+ count: 2
+ path: src/Admin/RemoteSpecs/RuleProcessors/StoredStateRuleProcessor.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$operation\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/Admin/RemoteSpecs/RuleProcessors/StoredStateRuleProcessor.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$value\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/Admin/RemoteSpecs/RuleProcessors/StoredStateRuleProcessor.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$there_are_now_products\.$#'
+ identifier: property.notFound
+ count: 2
+ path: src/Admin/RemoteSpecs/RuleProcessors/StoredStateSetupForProducts.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$there_were_no_products\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/Admin/RemoteSpecs/RuleProcessors/StoredStateSetupForProducts.php
+
+ -
+ message: '#^Access to property \$post_type on an unknown class Automattic\\WooCommerce\\Admin\\RemoteSpecs\\RuleProcessors\\Post\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/RemoteSpecs/RuleProcessors/StoredStateSetupForProducts.php
+
+ -
+ message: '#^Cannot access property \$total on array\|object\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: src/Admin/RemoteSpecs/RuleProcessors/StoredStateSetupForProducts.php
+
+ -
+ message: '#^Function as_enqueue_async_action not found\.$#'
+ identifier: function.notFound
+ count: 1
+ path: src/Admin/RemoteSpecs/RuleProcessors/StoredStateSetupForProducts.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\RemoteSpecs\\RuleProcessors\\StoredStateSetupForProducts\:\:admin_init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/RemoteSpecs/RuleProcessors/StoredStateSetupForProducts.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\RemoteSpecs\\RuleProcessors\\StoredStateSetupForProducts\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/RemoteSpecs/RuleProcessors/StoredStateSetupForProducts.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\RemoteSpecs\\RuleProcessors\\StoredStateSetupForProducts\:\:run_on_product_importer\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/RemoteSpecs/RuleProcessors/StoredStateSetupForProducts.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\RemoteSpecs\\RuleProcessors\\StoredStateSetupForProducts\:\:run_on_transition_post_status\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/RemoteSpecs/RuleProcessors/StoredStateSetupForProducts.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\RemoteSpecs\\RuleProcessors\\StoredStateSetupForProducts\:\:run_remote_notifications\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/RemoteSpecs/RuleProcessors/StoredStateSetupForProducts.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\RemoteSpecs\\RuleProcessors\\StoredStateSetupForProducts\:\:update_stored_state_and_possibly_run_remote_notifications\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/RemoteSpecs/RuleProcessors/StoredStateSetupForProducts.php
+
+ -
+ message: '#^Parameter \$post of method Automattic\\WooCommerce\\Admin\\RemoteSpecs\\RuleProcessors\\StoredStateSetupForProducts\:\:run_on_transition_post_status\(\) has invalid type Automattic\\WooCommerce\\Admin\\RemoteSpecs\\RuleProcessors\\Post\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/RemoteSpecs/RuleProcessors/StoredStateSetupForProducts.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$operation\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/Admin/RemoteSpecs/RuleProcessors/TotalPaymentsVolumeProcessor.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$timeframe\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/Admin/RemoteSpecs/RuleProcessors/TotalPaymentsVolumeProcessor.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$value\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/Admin/RemoteSpecs/RuleProcessors/TotalPaymentsVolumeProcessor.php
+
+ -
+ message: '#^Cannot access property \$totals on array\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: src/Admin/RemoteSpecs/RuleProcessors/TotalPaymentsVolumeProcessor.php
+
+ -
+ message: '#^Cannot access property \$key on stdClass\|null\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: src/Admin/RemoteSpecs/RuleProcessors/Transformers/ArrayColumn.php
+
+ -
+ message: '#^Default value of the parameter \#3 \$default_value \(array\) of method Automattic\\WooCommerce\\Admin\\RemoteSpecs\\RuleProcessors\\Transformers\\ArrayColumn\:\:transform\(\) is incompatible with type string\|null\.$#'
+ identifier: parameter.defaultValue
+ count: 1
+ path: src/Admin/RemoteSpecs/RuleProcessors/Transformers/ArrayColumn.php
+
+ -
+ message: '#^Strict comparison using \!\=\= between null and mixed will always evaluate to true\.$#'
+ identifier: notIdentical.alwaysTrue
+ count: 1
+ path: src/Admin/RemoteSpecs/RuleProcessors/Transformers/ArrayColumn.php
+
+ -
+ message: '#^Default value of the parameter \#3 \$default_value \(array\) of method Automattic\\WooCommerce\\Admin\\RemoteSpecs\\RuleProcessors\\Transformers\\ArrayFlatten\:\:transform\(\) is incompatible with type string\|null\.$#'
+ identifier: parameter.defaultValue
+ count: 1
+ path: src/Admin/RemoteSpecs/RuleProcessors/Transformers/ArrayFlatten.php
+
+ -
+ message: '#^Default value of the parameter \#3 \$default_value \(array\) of method Automattic\\WooCommerce\\Admin\\RemoteSpecs\\RuleProcessors\\Transformers\\ArrayKeys\:\:transform\(\) is incompatible with type string\|null\.$#'
+ identifier: parameter.defaultValue
+ count: 1
+ path: src/Admin/RemoteSpecs/RuleProcessors/Transformers/ArrayKeys.php
+
+ -
+ message: '#^Cannot access property \$value on stdClass\|null\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: src/Admin/RemoteSpecs/RuleProcessors/Transformers/ArraySearch.php
+
+ -
+ message: '#^Default value of the parameter \#3 \$default_value \(array\) of method Automattic\\WooCommerce\\Admin\\RemoteSpecs\\RuleProcessors\\Transformers\\ArrayValues\:\:transform\(\) is incompatible with type string\|null\.$#'
+ identifier: parameter.defaultValue
+ count: 1
+ path: src/Admin/RemoteSpecs/RuleProcessors/Transformers/ArrayValues.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\RemoteSpecs\\RuleProcessors\\Transformers\\Count\:\:transform\(\) should return float\|int but returns string\|null\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/RemoteSpecs/RuleProcessors/Transformers/Count.php
+
+ -
+ message: '#^Parameter \$value of method Automattic\\WooCommerce\\Admin\\RemoteSpecs\\RuleProcessors\\Transformers\\Count\:\:transform\(\) has invalid type Automattic\\WooCommerce\\Admin\\RemoteSpecs\\RuleProcessors\\Transformers\\Countable\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/RemoteSpecs/RuleProcessors/Transformers/Count.php
+
+ -
+ message: '#^Cannot access property \$path on stdClass\|null\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: src/Admin/RemoteSpecs/RuleProcessors/Transformers/DotNotation.php
+
+ -
+ message: '#^Parameter \#1 \$array_to_search of method Automattic\\WooCommerce\\Admin\\RemoteSpecs\\RuleProcessors\\Transformers\\DotNotation\:\:get\(\) expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/RemoteSpecs/RuleProcessors/Transformers/DotNotation.php
+
+ -
+ message: '#^Parameter \#1 \$json of function json_decode expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/RemoteSpecs/RuleProcessors/Transformers/DotNotation.php
+
+ -
+ message: '#^Parameter \#3 \$default_value of method Automattic\\WooCommerce\\Admin\\RemoteSpecs\\RuleProcessors\\Transformers\\DotNotation\:\:get\(\) expects null, string\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/RemoteSpecs/RuleProcessors/Transformers/DotNotation.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$arguments\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/Admin/RemoteSpecs/RuleProcessors/Transformers/TransformerService.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\RemoteSpecs\\RuleProcessors\\Transformers\\TransformerService\:\:create_transformer\(\) should return Automattic\\WooCommerce\\Admin\\RemoteSpecs\\RuleProcessors\\Transformers\\TransformerInterface\|null but returns object\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/RemoteSpecs/RuleProcessors/Transformers/TransformerService.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$days\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/Admin/RemoteSpecs/RuleProcessors/WCAdminActiveForRuleProcessor.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$operation\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/Admin/RemoteSpecs/RuleProcessors/WCAdminActiveForRuleProcessor.php
+
+ -
+ message: '#^Parameter \#1 \$left_operand of static method Automattic\\WooCommerce\\Admin\\RemoteSpecs\\RuleProcessors\\ComparisonOperation\:\:compare\(\) expects object, float\|int\<1, max\> given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/RemoteSpecs/RuleProcessors/WCAdminActiveForRuleProcessor.php
+
+ -
+ message: '#^Parameter \#2 \$right_operand of static method Automattic\\WooCommerce\\Admin\\RemoteSpecs\\RuleProcessors\\ComparisonOperation\:\:compare\(\) expects object, \(float\|int\) given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/RemoteSpecs/RuleProcessors/WCAdminActiveForRuleProcessor.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Admin\\RemoteSpecs\\RuleProcessors\\WCAdminActiveForRuleProcessor\:\:\$wcadmin_active_for_provider \(Automattic\\WooCommerce\\Admin\\RemoteSpecs\\RuleProcessors\\WCAdminActiveForProvider\) does not accept object\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/Admin/RemoteSpecs/RuleProcessors/WCAdminActiveForRuleProcessor.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\RemoteSpecs\\RuleProcessors\\WooCommerceAdminUpdatedRuleProcessor\:\:process\(\) should return bool but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/RemoteSpecs/RuleProcessors/WooCommerceAdminUpdatedRuleProcessor.php
+
+ -
+ message: '#^Constant WC_ABSPATH not found\.$#'
+ identifier: constant.notFound
+ count: 1
+ path: src/Admin/ReportCSVEmail.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\ReportCSVEmail\:\:init_form_fields\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/ReportCSVEmail.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\ReportCSVEmail\:\:init_settings\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/ReportCSVEmail.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\ReportCSVEmail\:\:trigger\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/ReportCSVEmail.php
+
+ -
+ message: '#^Call to method get_collection_params\(\) on an unknown class Automattic\\WooCommerce\\Admin\\WC_REST_Reports_Controller\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/ReportCSVExporter.php
+
+ -
+ message: '#^Call to method get_export_columns\(\) on an unknown class Automattic\\WooCommerce\\Admin\\WC_REST_Reports_Controller\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/ReportCSVExporter.php
+
+ -
+ message: '#^Call to method get_export_items\(\) on an unknown class Automattic\\WooCommerce\\Admin\\WC_REST_Reports_Controller\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/ReportCSVExporter.php
+
+ -
+ message: '#^Call to method get_item_schema\(\) on an unknown class Automattic\\WooCommerce\\Admin\\WC_REST_Reports_Controller\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/ReportCSVExporter.php
+
+ -
+ message: '#^Call to method get_items\(\) on an unknown class Automattic\\WooCommerce\\Admin\\WC_REST_Reports_Controller\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/ReportCSVExporter.php
+
+ -
+ message: '#^Call to method prepare_item_for_export\(\) on an unknown class Automattic\\WooCommerce\\Admin\\WC_REST_Reports_Controller\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/ReportCSVExporter.php
+
+ -
+ message: '#^Cannot access offset ''extended_info'' on object\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Admin/ReportCSVExporter.php
+
+ -
+ message: '#^Cannot access offset mixed on array\|object\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Admin/ReportCSVExporter.php
+
+ -
+ message: '#^Constant WC_ABSPATH not found\.$#'
+ identifier: constant.notFound
+ count: 1
+ path: src/Admin/ReportCSVExporter.php
+
+ -
+ message: '#^Default value of the parameter \#1 \$type \(false\) of method Automattic\\WooCommerce\\Admin\\ReportCSVExporter\:\:__construct\(\) is incompatible with type string\.$#'
+ identifier: parameter.defaultValue
+ count: 1
+ path: src/Admin/ReportCSVExporter.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\ReportCSVExporter\:\:map_report_controller\(\) has invalid return type Automattic\\WooCommerce\\Admin\\WC_REST_Reports_Controller\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/ReportCSVExporter.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\ReportCSVExporter\:\:map_report_controller\(\) should return Automattic\\WooCommerce\\Admin\\WC_REST_Reports_Controller\|bool but returns object\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/ReportCSVExporter.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\ReportCSVExporter\:\:maybe_create_directory\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/ReportCSVExporter.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\ReportCSVExporter\:\:prepare_data_to_export\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/ReportCSVExporter.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\ReportCSVExporter\:\:set_report_args\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/ReportCSVExporter.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\ReportCSVExporter\:\:set_report_type\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/ReportCSVExporter.php
+
+ -
+ message: '#^Parameter \#1 \$arr1 of function array_merge expects array, object given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/ReportCSVExporter.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Admin\\ReportCSVExporter\:\:\$controller \(Automattic\\WooCommerce\\Admin\\WC_REST_Reports_Controller\) does not accept Automattic\\WooCommerce\\Admin\\WC_REST_Reports_Controller\|bool\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/Admin/ReportCSVExporter.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Admin\\ReportCSVExporter\:\:\$controller has unknown class Automattic\\WooCommerce\\Admin\\WC_REST_Reports_Controller as its type\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/ReportCSVExporter.php
+
+ -
+ message: '#^Call to method cancel_all\(\) on an unknown class Automattic\\WooCommerce\\Admin\\Schedulers\\WC_Queue_Interface\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/ReportExporter.php
+
+ -
+ message: '#^Call to method getTimestamp\(\) on an unknown class Automattic\\WooCommerce\\Admin\\Schedulers\\DateTime\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/ReportExporter.php
+
+ -
+ message: '#^Call to method get_schedule\(\) on an unknown class ActionScheduler_Action\.$#'
+ identifier: class.notFound
+ count: 3
+ path: src/Admin/ReportExporter.php
+
+ -
+ message: '#^Call to method schedule_single\(\) on an unknown class Automattic\\WooCommerce\\Admin\\Schedulers\\WC_Queue_Interface\.$#'
+ identifier: class.notFound
+ count: 2
+ path: src/Admin/ReportExporter.php
+
+ -
+ message: '#^Call to method search\(\) on an unknown class Automattic\\WooCommerce\\Admin\\Schedulers\\WC_Queue_Interface\.$#'
+ identifier: class.notFound
+ count: 2
+ path: src/Admin/ReportExporter.php
+
+ -
+ message: '#^Call to static method instance\(\) on an unknown class ActionScheduler_Versions\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/ReportExporter.php
+
+ -
+ message: '#^Call to static method store\(\) on an unknown class ActionScheduler\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/ReportExporter.php
+
+ -
+ message: '#^Cannot access offset string on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: src/Admin/ReportExporter.php
+
+ -
+ message: '#^Expected 3 @param tags, found 2\.$#'
+ identifier: paramTag.count
+ count: 1
+ path: src/Admin/ReportExporter.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\ReportExporter\:\:clear_queued_actions\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/ReportExporter.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\ReportExporter\:\:do_action_or_reschedule\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/ReportExporter.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\ReportExporter\:\:download_export_file\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/ReportExporter.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\ReportExporter\:\:get_actions\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/ReportExporter.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\ReportExporter\:\:get_batch_sizes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/ReportExporter.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\ReportExporter\:\:get_default_scheduler_actions\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/ReportExporter.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\ReportExporter\:\:get_export_percentage_complete\(\) should return bool\|int but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/ReportExporter.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\ReportExporter\:\:get_next_action_time\(\) has invalid return type Automattic\\WooCommerce\\Admin\\Schedulers\\DateTime\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/ReportExporter.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\ReportExporter\:\:get_next_blocking_job\(\) has invalid return type Automattic\\WooCommerce\\Admin\\Schedulers\\ActionScheduler_Action\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/ReportExporter.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\ReportExporter\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/ReportExporter.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\ReportExporter\:\:queue\(\) has invalid return type Automattic\\WooCommerce\\Admin\\Schedulers\\WC_Queue_Interface\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/ReportExporter.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\ReportExporter\:\:queue\(\) should return Automattic\\WooCommerce\\Admin\\Schedulers\\WC_Queue_Interface but returns Automattic\\WooCommerce\\Admin\\Schedulers\\WC_Queue_Interface\|WC_Queue_Interface\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/ReportExporter.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\ReportExporter\:\:schedule_action\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/ReportExporter.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\ReportExporter\:\:scheduler_init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/ReportExporter.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\ReportExporter\:\:set_queue\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/ReportExporter.php
+
+ -
+ message: '#^Parameter \#1 \$action of static method Automattic\\WooCommerce\\Admin\\ReportExporter\:\:get_next_action_time\(\) expects ActionScheduler_Action, Automattic\\WooCommerce\\Admin\\Schedulers\\ActionScheduler_Action given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/ReportExporter.php
+
+ -
+ message: '#^Parameter \#1 \$action_name of static method Automattic\\WooCommerce\\Admin\\ReportExporter\:\:get_next_blocking_job\(\) expects string, int\|string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/ReportExporter.php
+
+ -
+ message: '#^Parameter \#1 \$function of function call_user_func_array expects callable\(\)\: mixed, array\{class\-string\<static\(Automattic\\WooCommerce\\Admin\\ReportExporter\)\>, int\|string\|false\} given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/ReportExporter.php
+
+ -
+ message: '#^Parameter \#1 \$function of function call_user_func_array expects callable\(\)\: mixed, array\{class\-string\<static\(Automattic\\WooCommerce\\Admin\\ReportExporter\)\>, string\} given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/ReportExporter.php
+
+ -
+ message: '#^Parameter \#1 \$object_or_string of function is_a expects object, Automattic\\WooCommerce\\Admin\\Schedulers\\DateTime\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/ReportExporter.php
+
+ -
+ message: '#^Parameter \$action of method Automattic\\WooCommerce\\Admin\\ReportExporter\:\:get_next_action_time\(\) has invalid type ActionScheduler_Action\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/ReportExporter.php
+
+ -
+ message: '#^Parameter \$queue of method Automattic\\WooCommerce\\Admin\\ReportExporter\:\:set_queue\(\) has invalid type Automattic\\WooCommerce\\Admin\\Schedulers\\WC_Queue_Interface\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/ReportExporter.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Admin\\ReportExporter\:\:\$queue has unknown class Automattic\\WooCommerce\\Admin\\Schedulers\\WC_Queue_Interface as its type\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Admin/ReportExporter.php
+
+ -
+ message: '#^Static property Automattic\\WooCommerce\\Admin\\ReportExporter\:\:\$queue \(Automattic\\WooCommerce\\Admin\\Schedulers\\WC_Queue_Interface\) does not accept WC_Queue_Interface\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/Admin/ReportExporter.php
+
+ -
+ message: '#^Cannot access offset ''imported'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Admin/ReportsSync.php
+
+ -
+ message: '#^Cannot access offset ''imported_from'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: src/Admin/ReportsSync.php
+
+ -
+ message: '#^Cannot access offset ''is_importing'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Admin/ReportsSync.php
+
+ -
+ message: '#^Cannot access offset ''total'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Admin/ReportsSync.php
+
+ -
+ message: '#^Cannot access offset mixed on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Admin/ReportsSync.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\ReportsSync\:\:clear_queued_actions\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/ReportsSync.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\ReportsSync\:\:clear_stock_count_cache\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/ReportsSync.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\ReportsSync\:\:get_import_stats\(\) should return array but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/ReportsSync.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\ReportsSync\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/ReportsSync.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\ReportsSync\:\:regenerate_report_data\(\) should return string but returns WP_Error\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Admin/ReportsSync.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\ReportsSync\:\:reset_import_stats\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/ReportsSync.php
+
+ -
+ message: '#^Parameter \#1 \$datetime of class DateTime constructor expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/ReportsSync.php
+
+ -
+ message: '#^Left side of && is always true\.$#'
+ identifier: booleanAnd.leftAlwaysTrue
+ count: 1
+ path: src/Admin/WCAdminHelper.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\WCAdminHelper\:\:get_normalized_url_path\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/WCAdminHelper.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Admin\\WCAdminHelper\:\:get_url_from_wp\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Admin/WCAdminHelper.php
+
+ -
+ message: '#^Parameter \#1 \$string of function strlen expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Admin/WCAdminHelper.php
+
+ -
+ message: '#^Static method Automattic\\WooCommerce\\Admin\\WCAdminHelper\:\:get_normalized_url_path\(\) is unused\.$#'
+ identifier: method.unused
+ count: 1
+ path: src/Admin/WCAdminHelper.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Autoloader\:\:missing_autoloader\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Autoloader.php
+
+ -
+ message: '#^Cannot call method date\(\) on WC_DateTime\|null\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: src/Blocks/AIContent/UpdateProducts.php
+
+ -
+ message: '#^Parameter \#1 \$price of method WC_Product\:\:set_price\(\) expects string, int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/AIContent/UpdateProducts.php
+
+ -
+ message: '#^Parameter \#1 \$price of method WC_Product\:\:set_regular_price\(\) expects string, int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/AIContent/UpdateProducts.php
+
+ -
+ message: '#^Parameter \#1 \$var of function count expects array\|Countable, array\|null given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Blocks/AIContent/UpdateProducts.php
+
+ -
+ message: '#^Default value of the parameter \#1 \$classes \(string\) of method Automattic\\WooCommerce\\Blocks\\Assets\:\:add_theme_admin_body_class\(\) is incompatible with type array\.$#'
+ identifier: parameter.defaultValue
+ count: 1
+ path: src/Blocks/Assets.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Assets\:\:enqueue_scripts\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Assets.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Assets\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Assets.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Assets\:\:redirect_to_field\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Assets.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Assets\:\:register_assets\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Assets.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Assets\:\:register_block_script\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Assets.php
+
+ -
+ message: '#^Binary operation "\." between ''wc\-'' and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: src/Blocks/Assets/Api.php
+
+ -
+ message: '#^Binary operation "\." between mixed and string results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: src/Blocks/Assets/Api.php
+
+ -
+ message: '#^Cannot access offset ''hash'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Blocks/Assets/Api.php
+
+ -
+ message: '#^Cannot access offset ''script_data'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Blocks/Assets/Api.php
+
+ -
+ message: '#^Cannot access offset ''version'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Blocks/Assets/Api.php
+
+ -
+ message: '#^Cannot cast mixed to string\.$#'
+ identifier: cast.string
+ count: 1
+ path: src/Blocks/Assets/Api.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Assets\\Api\:\:add_inline_script\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Assets/Api.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Assets\\Api\:\:get_file_version\(\) should return string but returns int\<0, max\>\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Blocks/Assets/Api.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Assets\\Api\:\:register_script\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Assets/Api.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Assets\\Api\:\:register_style\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Assets/Api.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Assets\\Api\:\:update_script_data_cache\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Assets/Api.php
+
+ -
+ message: '#^Call to function is_callable\(\) with ''_prime_post_caches'' will always evaluate to true\.$#'
+ identifier: function.alreadyNarrowedType
+ count: 1
+ path: src/Blocks/Assets/AssetDataRegistry.php
+
+ -
+ message: '#^Cannot call method is_remote_logging_allowed\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Blocks/Assets/AssetDataRegistry.php
+
+ -
+ message: '#^Class Automattic\\WooCommerce\\Blocks\\Assets\\Api referenced with incorrect case\: Automattic\\WooCommerce\\Blocks\\Assets\\API\.$#'
+ identifier: class.nameCase
+ count: 1
+ path: src/Blocks/Assets/AssetDataRegistry.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Assets\\AssetDataRegistry\:\:add\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Assets/AssetDataRegistry.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Assets\\AssetDataRegistry\:\:add_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Assets/AssetDataRegistry.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Assets\\AssetDataRegistry\:\:enqueue_asset_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Assets/AssetDataRegistry.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Assets\\AssetDataRegistry\:\:hydrate_api_request\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Assets/AssetDataRegistry.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Assets\\AssetDataRegistry\:\:hydrate_data_from_api_request\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Assets/AssetDataRegistry.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Assets\\AssetDataRegistry\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Assets/AssetDataRegistry.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Assets\\AssetDataRegistry\:\:initialize_core_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Assets/AssetDataRegistry.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Assets\\AssetDataRegistry\:\:register_page_id\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Assets/AssetDataRegistry.php
+
+ -
+ message: '#^Parameter \#1 \$object_or_string of function is_a expects object, Automattic\\WooCommerce\\Blocks\\Assets\\WP_Post\|int\<min, 0\>\|WP_Post\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/Assets/AssetDataRegistry.php
+
+ -
+ message: '#^Parameter \#1 \$str of function rawurlencode expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Blocks/Assets/AssetDataRegistry.php
+
+ -
+ message: '#^Parameter \$page of method Automattic\\WooCommerce\\Blocks\\Assets\\AssetDataRegistry\:\:format_page_resource\(\) has invalid type Automattic\\WooCommerce\\Blocks\\Assets\\WP_Post\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/Assets/AssetDataRegistry.php
+
+ -
+ message: '#^Action callback returns array\|string but should not return anything\.$#'
+ identifier: return.void
+ count: 2
+ path: src/Blocks/AssetsController.php
+
+ -
+ message: '#^Cannot access offset ''files'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Blocks/AssetsController.php
+
+ -
+ message: '#^Cannot access offset ''version'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Blocks/AssetsController.php
+
+ -
+ message: '#^Constant WOOCOMMERCE_VERSION not found\.$#'
+ identifier: constant.notFound
+ count: 2
+ path: src/Blocks/AssetsController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\AssetsController\:\:enqueue_wc_entities\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/AssetsController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\AssetsController\:\:get_block_asset_resource_hints_cache\(\) should return array\|null but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Blocks/AssetsController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\AssetsController\:\:get_file_version\(\) should return string but returns int\<0, max\>\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Blocks/AssetsController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\AssetsController\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/AssetsController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\AssetsController\:\:register_and_enqueue_site_editor_assets\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/AssetsController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\AssetsController\:\:register_assets\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/AssetsController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\AssetsController\:\:register_script_modules\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/AssetsController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\AssetsController\:\:register_style\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/AssetsController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\AssetsController\:\:reregister_core_iapi_runtime\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/AssetsController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\AssetsController\:\:set_block_asset_resource_hints_cache\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/AssetsController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\AssetsController\:\:update_block_settings_dependencies\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/AssetsController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\AssetsController\:\:update_block_style_dependencies\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/AssetsController.php
+
+ -
+ message: '#^Parameter \#1 \$src of method Automattic\\WooCommerce\\Blocks\\AssetsController\:\:get_absolute_url\(\) expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/AssetsController.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_js expects string, int\<1, max\> given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/AssetsController.php
+
+ -
+ message: '#^Constant WOOCOMMERCE_VERSION not found\.$#'
+ identifier: constant.notFound
+ count: 2
+ path: src/Blocks/BlockPatterns.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockPatterns\:\:load_pattern_content\(\) should return string but returns string\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Blocks/BlockPatterns.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockPatterns\:\:set_pattern_cache\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockPatterns.php
+
+ -
+ message: '#^Parameter \#1 \$function of function call_user_func expects callable\(\)\: mixed, ''as_has_scheduled…''\|''as_next_scheduled…'' given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockPatterns.php
+
+ -
+ message: '#^Parameter \#1 \$str of function ucfirst expects string, array\<string\>\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockPatterns.php
+
+ -
+ message: '#^Access to property \$meta_input on an unknown class Automattic\\WooCommerce\\Blocks\\stdClass\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTemplatesController.php
+
+ -
+ message: '#^Callback expects 1 parameter, \$accepted_args is set to 3\.$#'
+ identifier: arguments.count
+ count: 1
+ path: src/Blocks/BlockTemplatesController.php
+
+ -
+ message: '#^Default value of the parameter \#2 \$template_type \(string\) of method Automattic\\WooCommerce\\Blocks\\BlockTemplatesController\:\:block_template_is_available\(\) is incompatible with type array\.$#'
+ identifier: parameter.defaultValue
+ count: 1
+ path: src/Blocks/BlockTemplatesController.php
+
+ -
+ message: '#^Function remove_filter invoked with 4 parameters, 2\-3 required\.$#'
+ identifier: arguments.count
+ count: 2
+ path: src/Blocks/BlockTemplatesController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTemplatesController\:\:add_block_template_details\(\) has invalid return type Automattic\\WooCommerce\\Blocks\\WP_Block_Template\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTemplatesController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTemplatesController\:\:add_block_template_details\(\) should return Automattic\\WooCommerce\\Blocks\\WP_Block_Template\|null but returns Automattic\\WooCommerce\\Blocks\\Utils\\WP_Block_Template\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Blocks/BlockTemplatesController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTemplatesController\:\:add_plugin_templates_parts_support\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTemplatesController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTemplatesController\:\:dequeue_legacy_scripts\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTemplatesController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTemplatesController\:\:dont_load_templates_for_suggestions\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTemplatesController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTemplatesController\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTemplatesController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTemplatesController\:\:prevent_shortcodes_html_breakage\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTemplatesController.php
+
+ -
+ message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTemplatesController.php
+
+ -
+ message: '#^Parameter \#1 \$template of static method Automattic\\WooCommerce\\Blocks\\Utils\\BlockTemplateUtils\:\:update_template_data\(\) expects Automattic\\WooCommerce\\Blocks\\Utils\\WP_Block_Template, Automattic\\WooCommerce\\Blocks\\WP_Block_Template\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTemplatesController.php
+
+ -
+ message: '#^Parameter \#1 \$template_type of static method Automattic\\WooCommerce\\Blocks\\Utils\\BlockTemplateUtils\:\:get_templates_directory\(\) expects string, array given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTemplatesController.php
+
+ -
+ message: '#^Parameter \#2 \$template_type of function get_block_template expects ''wp_template''\|''wp_template_part'', string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTemplatesController.php
+
+ -
+ message: '#^Parameter \#2 \$template_type of method Automattic\\WooCommerce\\Blocks\\BlockTemplatesController\:\:block_template_is_available\(\) expects array, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTemplatesController.php
+
+ -
+ message: '#^Parameter \#2 \$template_type of method Automattic\\WooCommerce\\Blocks\\BlockTemplatesController\:\:get_block_templates\(\) expects string, array given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTemplatesController.php
+
+ -
+ message: '#^Parameter \#2 \$template_type of static method Automattic\\WooCommerce\\Blocks\\Utils\\BlockTemplateUtils\:\:update_template_data\(\) expects string, array given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTemplatesController.php
+
+ -
+ message: '#^Parameter \$block_template of method Automattic\\WooCommerce\\Blocks\\BlockTemplatesController\:\:add_block_template_details\(\) has invalid type Automattic\\WooCommerce\\Blocks\\WP_Block_Template\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTemplatesController.php
+
+ -
+ message: '#^Parameter \$prepared_post of method Automattic\\WooCommerce\\Blocks\\BlockTemplatesController\:\:dont_load_templates_for_suggestions\(\) has invalid type Automattic\\WooCommerce\\Blocks\\stdClass\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTemplatesController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTemplatesRegistry\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTemplatesRegistry.php
+
+ -
+ message: '#^Parameter \#2 \$args of function register_block_template expects array\{title\?\: string, description\?\: string, content\?\: string, post_types\?\: array\<string\>, plugin\?\: string\}, array\{title\: string, description\: string, content\: string\|false\} given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTemplatesRegistry.php
+
+ -
+ message: '#^Cannot access offset ''routes'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Blocks/BlockTypes/AbstractBlock.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\AbstractBlock\:\:enqueue_assets\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/AbstractBlock.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\AbstractBlock\:\:enqueue_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/AbstractBlock.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\AbstractBlock\:\:enqueue_editor_assets\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/AbstractBlock.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\AbstractBlock\:\:enqueue_scripts\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/AbstractBlock.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\AbstractBlock\:\:get_block_type_attributes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/AbstractBlock.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\AbstractBlock\:\:get_block_type_render_callback\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/AbstractBlock.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\AbstractBlock\:\:get_block_type_supports\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/AbstractBlock.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\AbstractBlock\:\:get_block_type_uses_context\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/AbstractBlock.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\AbstractBlock\:\:get_routes_from_namespace\(\) should return array but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Blocks/BlockTypes/AbstractBlock.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\AbstractBlock\:\:initialize\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/AbstractBlock.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\AbstractBlock\:\:is_block_editor\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/AbstractBlock.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\AbstractBlock\:\:register_block_type\(\) should return array\<string\> but empty return statement found\.$#'
+ identifier: return.empty
+ count: 1
+ path: src/Blocks/BlockTypes/AbstractBlock.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\AbstractBlock\:\:register_block_type\(\) should return array\<string\> but return statement is missing\.$#'
+ identifier: return.missing
+ count: 1
+ path: src/Blocks/BlockTypes/AbstractBlock.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\AbstractBlock\:\:register_block_type_assets\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/AbstractBlock.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\AbstractBlock\:\:register_chunk_translations\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/AbstractBlock.php
+
+ -
+ message: '#^PHPDoc tag @return has invalid value \(array;\)\: Unexpected token ";", expected TOKEN_HORIZONTAL_WS at offset 51 on line 4$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Blocks/BlockTypes/AbstractBlock.php
+
+ -
+ message: '#^PHPDoc tag @return has invalid value \(array;\)\: Unexpected token ";", expected TOKEN_HORIZONTAL_WS at offset 52 on line 4$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Blocks/BlockTypes/AbstractBlock.php
+
+ -
+ message: '#^PHPDoc tag @return has invalid value \(callable\|null;\)\: Unexpected token ";", expected TOKEN_HORIZONTAL_WS at offset 212 on line 7$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Blocks/BlockTypes/AbstractBlock.php
+
+ -
+ message: '#^PHPDoc tag @return has invalid value \(string;\)\: Unexpected token ";", expected TOKEN_HORIZONTAL_WS at offset 112 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Blocks/BlockTypes/AbstractBlock.php
+
+ -
+ message: '#^Parameter \#1 \$arr1 of function array_merge expects array, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/AbstractBlock.php
+
+ -
+ message: '#^Parameter \#1 \$arr1 of function array_merge expects array, array\|string\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/AbstractBlock.php
+
+ -
+ message: '#^Parameter \#1 \$file_or_folder of function register_block_type_from_metadata expects string, string\|true given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/AbstractBlock.php
+
+ -
+ message: '#^Parameter \#1 \$handle of function wp_add_inline_script expects string, array\|string\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/AbstractBlock.php
+
+ -
+ message: '#^Parameter \#1 \$handle of function wp_enqueue_script expects string, array\|string\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/AbstractBlock.php
+
+ -
+ message: '#^Parameter \#1 \$handle of method Automattic\\WooCommerce\\Blocks\\Assets\\Api\:\:register_script\(\) expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/AbstractBlock.php
+
+ -
+ message: '#^Parameter \#1 \$handle of method Automattic\\WooCommerce\\Blocks\\Assets\\Api\:\:register_script\(\) expects string, array\|string\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/AbstractBlock.php
+
+ -
+ message: '#^Parameter \#1 \$object_or_string of function is_a expects object, array\|WP_Block given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/AbstractBlock.php
+
+ -
+ message: '#^Parameter \#1 \$relative_src of method Automattic\\WooCommerce\\Blocks\\Assets\\Api\:\:get_script_data\(\) expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/AbstractBlock.php
+
+ -
+ message: '#^Parameter \#1 \$relative_src of method Automattic\\WooCommerce\\Blocks\\Assets\\Api\:\:get_script_data\(\) expects string, array\|string\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/AbstractBlock.php
+
+ -
+ message: '#^Parameter \#1 \$request of method WP_REST_Server\:\:get_namespace_index\(\) expects WP_REST_Request, array\<string, string\> given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/AbstractBlock.php
+
+ -
+ message: '#^Parameter \#2 \$args of function register_block_type expects array\{api_version\?\: string, title\?\: string, category\?\: string\|null, parent\?\: array\<string\>\|null, ancestor\?\: array\<string\>\|null, allowed_blocks\?\: array\<string\>\|null, icon\?\: string\|null, description\?\: string, \.\.\.\}, array\{render_callback\: mixed, editor_script\: array\|string, style\?\: non\-empty\-array\<string\>, editor_style\?\: non\-falsy\-string, api_version\?\: int, attributes\: mixed, supports\: mixed, uses_context\: mixed\} given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/AbstractBlock.php
+
+ -
+ message: '#^Parameter \#2 \$args of function register_block_type_from_metadata expects array\{api_version\?\: string, title\?\: string, category\?\: string\|null, parent\?\: array\<string\>\|null, ancestor\?\: array\<string\>\|null, allowed_blocks\?\: array\<string\>\|null, icon\?\: string\|null, description\?\: string, \.\.\.\}, array\{render_callback\: mixed, editor_script\: array\|string, style\?\: non\-empty\-array\<string\>, editor_style\?\: non\-falsy\-string, api_version\?\: int\} given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/AbstractBlock.php
+
+ -
+ message: '#^Parameter \#2 \$data of function wp_add_inline_script expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/AbstractBlock.php
+
+ -
+ message: '#^Parameter \#2 \$relative_src of method Automattic\\WooCommerce\\Blocks\\Assets\\Api\:\:register_script\(\) expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/AbstractBlock.php
+
+ -
+ message: '#^Parameter \#2 \$relative_src of method Automattic\\WooCommerce\\Blocks\\Assets\\Api\:\:register_script\(\) expects string, array\|string\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/AbstractBlock.php
+
+ -
+ message: '#^Parameter \#3 \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\AbstractBlock\:\:enqueue_assets\(\) expects WP_Block, WP_Block\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/AbstractBlock.php
+
+ -
+ message: '#^Parameter \#3 \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\AbstractBlock\:\:render\(\) expects WP_Block, WP_Block\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/AbstractBlock.php
+
+ -
+ message: '#^Parameter \#3 \$subject of function str_replace expects array\<string\>\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/AbstractBlock.php
+
+ -
+ message: '#^Default value of the parameter \#1 \$default \(true\) of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\AbstractDynamicBlock\:\:get_schema_boolean\(\) is incompatible with type string\.$#'
+ identifier: parameter.defaultValue
+ count: 1
+ path: src/Blocks/BlockTypes/AbstractDynamicBlock.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\AbstractInnerBlock\:\:register_block_type\(\) should return array\<string\> but return statement is missing\.$#'
+ identifier: return.missing
+ count: 1
+ path: src/Blocks/BlockTypes/AbstractInnerBlock.php
+
+ -
+ message: '#^Parameter \#1 \$file_or_folder of function register_block_type_from_metadata expects string, bool\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/AbstractInnerBlock.php
+
+ -
+ message: '#^Parameter \#2 \$args of function register_block_type_from_metadata expects array\{api_version\?\: string, title\?\: string, category\?\: string\|null, parent\?\: array\<string\>\|null, ancestor\?\: array\<string\>\|null, allowed_blocks\?\: array\<string\>\|null, icon\?\: string\|null, description\?\: string, \.\.\.\}, array\{render_callback\: mixed, editor_style\: string\|null, style\: null, api_version\?\: int\} given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/AbstractInnerBlock.php
+
+ -
+ message: '#^@param Automattic\\WooCommerce\\Blocks\\BlockTypes\\WC_Product \$product does not accept actual type of parameter\: WC_Product\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: src/Blocks/BlockTypes/AbstractProductGrid.php
+
+ -
+ message: '#^@param array \$data does not accept actual type of parameter\: object\{permalink\: string, image\: string, title\: string, rating\: string, price\: string, badge\: string, button\: string\}&stdClass\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: src/Blocks/BlockTypes/AbstractProductGrid.php
+
+ -
+ message: '#^Call to function is_callable\(\) with ''_prime_post_caches'' will always evaluate to true\.$#'
+ identifier: function.alreadyNarrowedType
+ count: 1
+ path: src/Blocks/BlockTypes/AbstractProductGrid.php
+
+ -
+ message: '#^Call to method get_average_rating\(\) on an unknown class Automattic\\WooCommerce\\Blocks\\BlockTypes\\WC_Product\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/AbstractProductGrid.php
+
+ -
+ message: '#^Call to method get_rating_count\(\) on an unknown class Automattic\\WooCommerce\\Blocks\\BlockTypes\\WC_Product\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/AbstractProductGrid.php
+
+ -
+ message: '#^Cannot access an offset on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Blocks/BlockTypes/AbstractProductGrid.php
+
+ -
+ message: '#^Cannot access offset mixed on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Blocks/BlockTypes/AbstractProductGrid.php
+
+ -
+ message: '#^Cannot call method get\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Blocks/BlockTypes/AbstractProductGrid.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Assets\\Api\:\:add_inline_script\(\) invoked with 3 parameters, 2 required\.$#'
+ identifier: arguments.count
+ count: 1
+ path: src/Blocks/BlockTypes/AbstractProductGrid.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\AbstractProductGrid\:\:enqueue_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/AbstractProductGrid.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\AbstractProductGrid\:\:get_sale_badge_html\(\) should return string but empty return statement found\.$#'
+ identifier: return.empty
+ count: 1
+ path: src/Blocks/BlockTypes/AbstractProductGrid.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\AbstractProductGrid\:\:prime_product_variations\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/AbstractProductGrid.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\AbstractProductGrid\:\:set_block_query_args\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/AbstractProductGrid.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\AbstractProductGrid\:\:set_categories_query_args\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/AbstractProductGrid.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\AbstractProductGrid\:\:set_ordering_query_args\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/AbstractProductGrid.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\AbstractProductGrid\:\:set_visibility_query_args\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/AbstractProductGrid.php
+
+ -
+ message: '#^Parameter \#1 \$callback of function array_map expects \(callable\(WC_Product\)\: mixed\)\|null, array\{mixed, ''get_item_response''\} given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/AbstractProductGrid.php
+
+ -
+ message: '#^Parameter \#1 \$default of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\AbstractDynamicBlock\:\:get_schema_boolean\(\) expects string, false given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Blocks/BlockTypes/AbstractProductGrid.php
+
+ -
+ message: '#^Parameter \#1 \$default of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\AbstractDynamicBlock\:\:get_schema_boolean\(\) expects string, true given\.$#'
+ identifier: argument.type
+ count: 5
+ path: src/Blocks/BlockTypes/AbstractProductGrid.php
+
+ -
+ message: '#^Parameter \#1 \$default of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\AbstractDynamicBlock\:\:get_schema_number\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Blocks/BlockTypes/AbstractProductGrid.php
+
+ -
+ message: '#^Parameter \#1 \$post_id of function get_post_meta expects int, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/AbstractProductGrid.php
+
+ -
+ message: '#^Parameter \#1 \$product of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\AbstractProductGrid\:\:get_rating_html\(\) expects Automattic\\WooCommerce\\Blocks\\BlockTypes\\WC_Product, WC_Product given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/AbstractProductGrid.php
+
+ -
+ message: '#^Parameter \#1 \$str of function rawurlencode expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/AbstractProductGrid.php
+
+ -
+ message: '#^Parameter \#2 \$array of function implode expects array\<string\>, list\<array\|string\> given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/AbstractProductGrid.php
+
+ -
+ message: '#^Parameter \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\AbstractProductGrid\:\:render\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/AbstractProductGrid.php
+
+ -
+ message: '#^Parameter \$product of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\AbstractProductGrid\:\:get_rating_html\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\WC_Product\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/AbstractProductGrid.php
+
+ -
+ message: '#^Parameter \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\Accordion\\AccordionGroup\:\:render\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\Accordion\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/Accordion/AccordionGroup.php
+
+ -
+ message: '#^Parameter \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\Accordion\\AccordionItem\:\:render\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\Accordion\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/Accordion/AccordionItem.php
+
+ -
+ message: '#^Access to property \$context on an unknown class Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/AddToCartForm.php
+
+ -
+ message: '#^Call to method get_variation_attributes\(\) on an unknown class Automattic\\WooCommerce\\Blocks\\BlockTypes\\WC_Product\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/AddToCartForm.php
+
+ -
+ message: '#^Call to method is_type\(\) on an unknown class Automattic\\WooCommerce\\Blocks\\BlockTypes\\WC_Product\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/AddToCartForm.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\AddToCartForm\:\:add_steppers\(\) should return string but returns string\|null\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Blocks/BlockTypes/AddToCartForm.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\AddToCartForm\:\:enqueue_assets\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/AddToCartForm.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\AddToCartForm\:\:enqueue_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/AddToCartForm.php
+
+ -
+ message: '#^Parameter \#1 \$product of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\AddToCartForm\:\:has_all_attributes_set\(\) expects Automattic\\WooCommerce\\Blocks\\BlockTypes\\WC_Product, WC_Product given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/AddToCartForm.php
+
+ -
+ message: '#^Parameter \#3 \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\AbstractBlock\:\:enqueue_assets\(\) expects WP_Block, Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/AddToCartForm.php
+
+ -
+ message: '#^Parameter \#3 \$subject of function preg_replace expects array\<float\|int\|string\>\|string, string\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/AddToCartForm.php
+
+ -
+ message: '#^Parameter \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\AddToCartForm\:\:enqueue_assets\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/AddToCartForm.php
+
+ -
+ message: '#^Parameter \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\AddToCartForm\:\:render\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/AddToCartForm.php
+
+ -
+ message: '#^Parameter \$product of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\AddToCartForm\:\:has_all_attributes_set\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\WC_Product\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/AddToCartForm.php
+
+ -
+ message: '#^Access to property \$context on an unknown class Automattic\\WooCommerce\\Blocks\\BlockTypes\\AddToCartWithOptions\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/AddToCartWithOptions/AddToCartWithOptions.php
+
+ -
+ message: '#^Call to an undefined method WC_Product\:\:get_available_variations\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/AddToCartWithOptions/AddToCartWithOptions.php
+
+ -
+ message: '#^Call to an undefined method WC_Product\:\:get_variation_attributes\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/AddToCartWithOptions/AddToCartWithOptions.php
+
+ -
+ message: '#^Cannot access offset int on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Blocks/BlockTypes/AddToCartWithOptions/AddToCartWithOptions.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\AddToCartWithOptions\\AddToCartWithOptions\:\:enqueue_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/AddToCartWithOptions/AddToCartWithOptions.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\AddToCartWithOptions\\AddToCartWithOptions\:\:render_interactivity_notices_region\(\) should return string but returns string\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Blocks/BlockTypes/AddToCartWithOptions/AddToCartWithOptions.php
+
+ -
+ message: '#^Offset ''class'' on array\{class\: string, style\: mixed, data\-wp\-interactive\: ''woocommerce/add\-to…'', data\-wp\-class\-\-is\-invalid\: ''\!state\.isFormValid''\} in isset\(\) always exists and is not nullable\.$#'
+ identifier: isset.offset
+ count: 1
+ path: src/Blocks/BlockTypes/AddToCartWithOptions/AddToCartWithOptions.php
+
+ -
+ message: '#^One or more @param tags has an invalid name or invalid syntax\.$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Blocks/BlockTypes/AddToCartWithOptions/AddToCartWithOptions.php
+
+ -
+ message: '#^PHPDoc tag @param has invalid value \(mixed string\|boolean The template part path if it exists\)\: Unexpected token "string", expected variable at offset 121 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Blocks/BlockTypes/AddToCartWithOptions/AddToCartWithOptions.php
+
+ -
+ message: '#^Parameter \#1 \$amount of function wc_stock_amount expects float\|int, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/AddToCartWithOptions/AddToCartWithOptions.php
+
+ -
+ message: '#^Parameter \#1 \$content of function do_blocks expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/AddToCartWithOptions/AddToCartWithOptions.php
+
+ -
+ message: '#^Parameter \#1 \$html_content of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\AddToCartWithOptions\\AddToCartWithOptions\:\:has_form_elements\(\) expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Blocks/BlockTypes/AddToCartWithOptions/AddToCartWithOptions.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_attr expects string, int given\.$#'
+ identifier: argument.type
+ count: 4
+ path: src/Blocks/BlockTypes/AddToCartWithOptions/AddToCartWithOptions.php
+
+ -
+ message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/AddToCartWithOptions/AddToCartWithOptions.php
+
+ -
+ message: '#^Parameter \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\AddToCartWithOptions\\AddToCartWithOptions\:\:render\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\AddToCartWithOptions\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/AddToCartWithOptions/AddToCartWithOptions.php
+
+ -
+ message: '#^Cannot access property \$ID on WP_Post\|null\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: src/Blocks/BlockTypes/AddToCartWithOptions/GroupedProductItem.php
+
+ -
+ message: '#^Cannot call method get_id\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Blocks/BlockTypes/AddToCartWithOptions/GroupedProductItem.php
+
+ -
+ message: '#^Parameter \#1 \$post of function get_post expects int\|WP_Post\|null, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/AddToCartWithOptions/GroupedProductItem.php
+
+ -
+ message: '#^Parameter \#1 \$product_id of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\AddToCartWithOptions\\GroupedProductItem\:\:get_product_row\(\) expects string, int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/AddToCartWithOptions/GroupedProductItem.php
+
+ -
+ message: '#^Parameter \#2 \$callback of function array_filter expects \(callable\(WC_Product\|false\|null\)\: bool\)\|null, ''wc_products_array…'' given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/AddToCartWithOptions/GroupedProductItem.php
+
+ -
+ message: '#^Parameter \#2 \$previous_product of static method Automattic\\WooCommerce\\Blocks\\BlockTypes\\AddToCartWithOptions\\Utils\:\:get_product_from_context\(\) expects WC_Product\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/AddToCartWithOptions/GroupedProductItemLabel.php
+
+ -
+ message: '#^@param Automattic\\WooCommerce\\Blocks\\BlockTypes\\AddToCartWithOptions\\WC_Product \$product does not accept actual type of parameter\: WC_Product\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: src/Blocks/BlockTypes/AddToCartWithOptions/GroupedProductItemSelector.php
+
+ -
+ message: '#^Cannot access offset int on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Blocks/BlockTypes/AddToCartWithOptions/GroupedProductItemSelector.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\AddToCartWithOptions\\GroupedProductItemSelector\:\:get_button_markup\(\) should return string but returns string\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Blocks/BlockTypes/AddToCartWithOptions/GroupedProductItemSelector.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\AddToCartWithOptions\\GroupedProductItemSelector\:\:remove_quantity_label\(\) should return string but returns string\|null\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Blocks/BlockTypes/AddToCartWithOptions/GroupedProductItemSelector.php
+
+ -
+ message: '#^Parameter \#1 \$amount of function wc_stock_amount expects float\|int, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/AddToCartWithOptions/GroupedProductItemSelector.php
+
+ -
+ message: '#^Parameter \#1 \$price of function wc_price expects float, string given\.$#'
+ identifier: argument.type
+ count: 3
+ path: src/Blocks/BlockTypes/AddToCartWithOptions/GroupedProductItemSelector.php
+
+ -
+ message: '#^Parameter \#1 \$quantity_html of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\AddToCartWithOptions\\GroupedProductItemSelector\:\:remove_quantity_label\(\) expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/AddToCartWithOptions/GroupedProductItemSelector.php
+
+ -
+ message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/AddToCartWithOptions/GroupedProductItemSelector.php
+
+ -
+ message: '#^Parameter \#3 \$subject of function preg_replace expects array\<float\|int\|string\>\|string, string\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/AddToCartWithOptions/GroupedProductItemSelector.php
+
+ -
+ message: '#^Parameter \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\AddToCartWithOptions\\GroupedProductSelector\:\:render\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\AddToCartWithOptions\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/AddToCartWithOptions/GroupedProductSelector.php
+
+ -
+ message: '#^Call to an undefined method WC_Product\:\:get_available_variations\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/AddToCartWithOptions/QuantitySelector.php
+
+ -
+ message: '#^Parameter \#1 \$amount of function wc_stock_amount expects float\|int, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/AddToCartWithOptions/QuantitySelector.php
+
+ -
+ message: '#^Parameter \#1 \$block of static method Automattic\\WooCommerce\\Blocks\\BlockTypes\\AddToCartWithOptions\\Utils\:\:get_product_from_context\(\) expects WP_Block, Automattic\\WooCommerce\\Blocks\\BlockTypes\\AddToCartWithOptions\\WP_Block given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/AddToCartWithOptions/QuantitySelector.php
+
+ -
+ message: '#^Parameter \#1 \$html_content of static method Automattic\\WooCommerce\\Blocks\\BlockTypes\\AddToCartWithOptions\\Utils\:\:has_visible_quantity_input\(\) expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/AddToCartWithOptions/QuantitySelector.php
+
+ -
+ message: '#^Parameter \#1 \$quantity_html of static method Automattic\\WooCommerce\\Blocks\\BlockTypes\\AddToCartWithOptions\\Utils\:\:add_quantity_steppers\(\) expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/AddToCartWithOptions/QuantitySelector.php
+
+ -
+ message: '#^Parameter \#1 \$quantity_html of static method Automattic\\WooCommerce\\Blocks\\BlockTypes\\AddToCartWithOptions\\Utils\:\:make_quantity_input_interactive\(\) expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/AddToCartWithOptions/QuantitySelector.php
+
+ -
+ message: '#^Parameter \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\AddToCartWithOptions\\QuantitySelector\:\:render\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\AddToCartWithOptions\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/AddToCartWithOptions/QuantitySelector.php
+
+ -
+ message: '#^Call to an undefined method WC_Product\:\:has_purchasable_variations\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/AddToCartWithOptions/Utils.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\AddToCartWithOptions\\Utils\:\:add_quantity_steppers\(\) should return string but returns string\|null\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Blocks/BlockTypes/AddToCartWithOptions/Utils.php
+
+ -
+ message: '#^Parameter \#1 \$haystack of function strpos expects string, string\|true\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/AddToCartWithOptions/Utils.php
+
+ -
+ message: '#^Parameter \#1 \$query of method WP_HTML_Tag_Processor\:\:next_tag\(\) expects array\{tag_name\?\: string\|null, match_offset\?\: int\|null, class_name\?\: string\|null, tag_closers\?\: string\|null\}\|null, ''input'' given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/AddToCartWithOptions/Utils.php
+
+ -
+ message: '#^Parameter \#3 \$subject of function preg_replace expects array\<float\|int\|string\>\|string, string\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/AddToCartWithOptions/Utils.php
+
+ -
+ message: '#^Cannot call method get_description\(\) on array\|WC_Product_Variation\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Blocks/BlockTypes/AddToCartWithOptions/VariationDescription.php
+
+ -
+ message: '#^Cannot call method get_id\(\) on array\|WC_Product_Variation\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Blocks/BlockTypes/AddToCartWithOptions/VariationDescription.php
+
+ -
+ message: '#^Parameter \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\AddToCartWithOptions\\VariationDescription\:\:render\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\AddToCartWithOptions\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/AddToCartWithOptions/VariationDescription.php
+
+ -
+ message: '#^Parameter \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\AddToCartWithOptions\\VariationSelector\:\:render\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\AddToCartWithOptions\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/AddToCartWithOptions/VariationSelector.php
+
+ -
+ message: '#^Anonymous function has an unused use \$attribute_terms\.$#'
+ identifier: closure.unusedUse
+ count: 1
+ path: src/Blocks/BlockTypes/AddToCartWithOptions/VariationSelectorAttribute.php
+
+ -
+ message: '#^Access to property \$context on an unknown class Automattic\\WooCommerce\\Blocks\\BlockTypes\\AddToCartWithOptions\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 4
+ path: src/Blocks/BlockTypes/AddToCartWithOptions/VariationSelectorAttributeName.php
+
+ -
+ message: '#^Parameter \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\AddToCartWithOptions\\VariationSelectorAttributeName\:\:render\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\AddToCartWithOptions\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/AddToCartWithOptions/VariationSelectorAttributeName.php
+
+ -
+ message: '#^Access to property \$context on an unknown class Automattic\\WooCommerce\\Blocks\\BlockTypes\\AddToCartWithOptions\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 10
+ path: src/Blocks/BlockTypes/AddToCartWithOptions/VariationSelectorAttributeOptions.php
+
+ -
+ message: '#^Parameter \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\AddToCartWithOptions\\VariationSelectorAttributeOptions\:\:render\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\AddToCartWithOptions\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/AddToCartWithOptions/VariationSelectorAttributeOptions.php
+
+ -
+ message: '#^Parameter \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\AddToCartWithOptions\\VariationSelectorAttributeOptions\:\:render_dropdown\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\AddToCartWithOptions\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/AddToCartWithOptions/VariationSelectorAttributeOptions.php
+
+ -
+ message: '#^Parameter \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\AddToCartWithOptions\\VariationSelectorAttributeOptions\:\:render_pills\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\AddToCartWithOptions\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/AddToCartWithOptions/VariationSelectorAttributeOptions.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\AllProducts\:\:enqueue_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/AllProducts.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\AllProducts\:\:register_block_type_assets\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/AllProducts.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\AllReviews\:\:enqueue_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/AllReviews.php
+
+ -
+ message: '#^Return type \(null\) of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\AtomicBlock\:\:get_block_type_editor_script\(\) should be compatible with return type \(array\|string\) of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\AbstractBlock\:\:get_block_type_editor_script\(\)$#'
+ identifier: method.childReturnType
+ count: 1
+ path: src/Blocks/BlockTypes/AtomicBlock.php
+
+ -
+ message: '#^Cannot access property \$term_id on WP_Post\|WP_Post_Type\|WP_Term\|WP_User\|null\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: src/Blocks/BlockTypes/AttributeFilter.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\AttributeFilter\:\:enqueue_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/AttributeFilter.php
+
+ -
+ message: '#^Parameter \#1 \$arr1 of function array_merge expects array, array\<string\>\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/AttributeFilter.php
+
+ -
+ message: '#^Parameter \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\Breadcrumbs\:\:render\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/Breadcrumbs.php
+
+ -
+ message: '#^Cannot access offset ''address'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Blocks/BlockTypes/Cart.php
+
+ -
+ message: '#^Cannot access offset ''enabled'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Blocks/BlockTypes/Cart.php
+
+ -
+ message: '#^Cannot access offset ''formatted_address'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Blocks/BlockTypes/Cart.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\Cart\:\:enqueue_assets\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/Cart.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\Cart\:\:enqueue_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/Cart.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\Cart\:\:get_cart_block_types\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/Cart.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\Cart\:\:initialize\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/Cart.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\Cart\:\:register_block_type_assets\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/Cart.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\Cart\:\:register_patterns\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/Cart.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\Cart\:\:render\(\) should return string but returns string\|null\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Blocks/BlockTypes/Cart.php
+
+ -
+ message: '#^PHPDoc tag @return has invalid value \(array;\)\: Unexpected token ";", expected TOKEN_HORIZONTAL_WS at offset 77 on line 4$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Blocks/BlockTypes/Cart.php
+
+ -
+ message: '#^PHPDoc tag @return has invalid value \(array\|string;\)\: Unexpected token ";", expected TOKEN_HORIZONTAL_WS at offset 148 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Blocks/BlockTypes/Cart.php
+
+ -
+ message: '#^Parameter \#1 \$args of method WC_Countries\:\:get_formatted_address\(\) expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/Cart.php
+
+ -
+ message: '#^Parameter \#1 \$arr1 of function array_merge expects array, array\<string\>\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/Cart.php
+
+ -
+ message: '#^Parameter \#2 \$array of function array_map expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/Cart.php
+
+ -
+ message: '#^Parameter \#3 \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\AbstractBlock\:\:enqueue_assets\(\) expects WP_Block, Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/Cart.php
+
+ -
+ message: '#^Parameter \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\Cart\:\:enqueue_assets\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/Cart.php
+
+ -
+ message: '#^Parameter \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\Cart\:\:render\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/Cart.php
+
+ -
+ message: '#^Binary operation "\." between "\\n" and non\-empty\-array\|true results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: src/Blocks/BlockTypes/CartOrderSummaryBlock.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\CartOrderSummaryBlock\:\:get_inner_block_content\(\) never returns array so it can be removed from the return type\.$#'
+ identifier: return.unusedType
+ count: 1
+ path: src/Blocks/BlockTypes/CartOrderSummaryBlock.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\CartOrderSummaryBlock\:\:get_inner_block_content\(\) should return array\|bool but returns string\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Blocks/BlockTypes/CartOrderSummaryBlock.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\CartOrderSummaryBlock\:\:render\(\) should return string but returns string\|null\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Blocks/BlockTypes/CartOrderSummaryBlock.php
+
+ -
+ message: '#^Parameter \#2 \$content of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\CartOrderSummaryBlock\:\:get_inner_block_content\(\) expects string, string\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/CartOrderSummaryBlock.php
+
+ -
+ message: '#^Parameter \#3 \$subject of function preg_replace expects array\<float\|int\|string\>\|string, string\|null given\.$#'
+ identifier: argument.type
+ count: 3
+ path: src/Blocks/BlockTypes/CartOrderSummaryBlock.php
+
+ -
+ message: '#^Parameter \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\CatalogSorting\:\:render\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/CatalogSorting.php
+
+ -
+ message: '#^Variable \$styles_and_classes on left side of \?\? is never defined\.$#'
+ identifier: nullCoalesce.variable
+ count: 1
+ path: src/Blocks/BlockTypes/CatalogSorting.php
+
+ -
+ message: '#^Cannot access an offset on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 3
+ path: src/Blocks/BlockTypes/Checkout.php
+
+ -
+ message: '#^Cannot access offset ''address'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Blocks/BlockTypes/Checkout.php
+
+ -
+ message: '#^Cannot access offset ''formatted_address'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Blocks/BlockTypes/Checkout.php
+
+ -
+ message: '#^Cannot call method allocate_and_return_parsed_attributes\(\) on Automattic\\Block_Scanner\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Blocks/BlockTypes/Checkout.php
+
+ -
+ message: '#^Cannot call method get_providers\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Blocks/BlockTypes/Checkout.php
+
+ -
+ message: '#^Cannot call method next_delimiter\(\) on Automattic\\Block_Scanner\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Blocks/BlockTypes/Checkout.php
+
+ -
+ message: '#^Cannot call method opens_block\(\) on Automattic\\Block_Scanner\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Blocks/BlockTypes/Checkout.php
+
+ -
+ message: '#^Cannot cast mixed to string\.$#'
+ identifier: cast.string
+ count: 1
+ path: src/Blocks/BlockTypes/Checkout.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\Checkout\:\:enqueue_assets\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/Checkout.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\Checkout\:\:enqueue_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/Checkout.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\Checkout\:\:get_checkout_block_types\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/Checkout.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\Checkout\:\:hydrate_customer_payment_methods\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/Checkout.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\Checkout\:\:initialize\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/Checkout.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\Checkout\:\:register_block_type_assets\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/Checkout.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\Checkout\:\:register_patterns\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/Checkout.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\Checkout\:\:register_settings\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/Checkout.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\Checkout\:\:render\(\) should return string but returns string\|null\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Blocks/BlockTypes/Checkout.php
+
+ -
+ message: '#^PHPDoc tag @return has invalid value \(array;\)\: Unexpected token ";", expected TOKEN_HORIZONTAL_WS at offset 81 on line 4$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Blocks/BlockTypes/Checkout.php
+
+ -
+ message: '#^PHPDoc tag @return has invalid value \(array\|string;\)\: Unexpected token ";", expected TOKEN_HORIZONTAL_WS at offset 148 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Blocks/BlockTypes/Checkout.php
+
+ -
+ message: '#^Parameter \#1 \$args of method WC_Countries\:\:get_formatted_address\(\) expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/Checkout.php
+
+ -
+ message: '#^Parameter \#1 \$arr1 of function array_merge expects array, array\<string\>\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/Checkout.php
+
+ -
+ message: '#^Parameter \#2 \$array of function array_map expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/Checkout.php
+
+ -
+ message: '#^Parameter \#2 \$subject of function preg_match expects string, string\|null given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Blocks/BlockTypes/Checkout.php
+
+ -
+ message: '#^Parameter \#3 \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\AbstractBlock\:\:enqueue_assets\(\) expects WP_Block, Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/Checkout.php
+
+ -
+ message: '#^Parameter \#3 \$subject of function preg_replace expects array\<float\|int\|string\>\|string, string\|null given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Blocks/BlockTypes/Checkout.php
+
+ -
+ message: '#^Parameter \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\Checkout\:\:enqueue_assets\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/Checkout.php
+
+ -
+ message: '#^Parameter \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\Checkout\:\:render\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/Checkout.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\CheckoutActionsBlock\:\:initialize\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/CheckoutActionsBlock.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\CheckoutActionsBlock\:\:register_style_variations\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/CheckoutActionsBlock.php
+
+ -
+ message: '#^Access to property \$post_content on an unknown class Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Post\.$#'
+ identifier: class.notFound
+ count: 2
+ path: src/Blocks/BlockTypes/CheckoutExpressPaymentBlock.php
+
+ -
+ message: '#^Access to property \$post_name on an unknown class Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Post\.$#'
+ identifier: class.notFound
+ count: 2
+ path: src/Blocks/BlockTypes/CheckoutExpressPaymentBlock.php
+
+ -
+ message: '#^Access to property \$post_status on an unknown class Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Post\.$#'
+ identifier: class.notFound
+ count: 2
+ path: src/Blocks/BlockTypes/CheckoutExpressPaymentBlock.php
+
+ -
+ message: '#^Access to property \$post_type on an unknown class Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Post\.$#'
+ identifier: class.notFound
+ count: 4
+ path: src/Blocks/BlockTypes/CheckoutExpressPaymentBlock.php
+
+ -
+ message: '#^Cannot cast mixed to string\.$#'
+ identifier: cast.string
+ count: 1
+ path: src/Blocks/BlockTypes/CheckoutExpressPaymentBlock.php
+
+ -
+ message: '#^Function remove_action invoked with 4 parameters, 2\-3 required\.$#'
+ identifier: arguments.count
+ count: 1
+ path: src/Blocks/BlockTypes/CheckoutExpressPaymentBlock.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\CheckoutExpressPaymentBlock\:\:initialize\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/CheckoutExpressPaymentBlock.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\CheckoutExpressPaymentBlock\:\:sync_express_payment_attrs\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/CheckoutExpressPaymentBlock.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\CheckoutExpressPaymentBlock\:\:update_other_page_with_express_payment_attrs\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/CheckoutExpressPaymentBlock.php
+
+ -
+ message: '#^Parameter \#1 \$arr1 of function array_merge expects array, bool given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/CheckoutExpressPaymentBlock.php
+
+ -
+ message: '#^Parameter \#2 \$post of function has_block expects int\|string\|WP_Post\|null, Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Post given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Blocks/BlockTypes/CheckoutExpressPaymentBlock.php
+
+ -
+ message: '#^Parameter \$post of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\CheckoutExpressPaymentBlock\:\:sync_express_payment_attrs\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Post\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/CheckoutExpressPaymentBlock.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Blocks\\BlockTypes\\CheckoutExpressPaymentBlock\:\:\$default_styles \(bool\) does not accept array\<string, string\|false\>\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/Blocks/BlockTypes/CheckoutExpressPaymentBlock.php
+
+ -
+ message: '#^Binary operation "\." between "\\n" and non\-empty\-array\|true results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: src/Blocks/BlockTypes/CheckoutOrderSummaryBlock.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\CheckoutOrderSummaryBlock\:\:get_inner_block_content\(\) never returns array so it can be removed from the return type\.$#'
+ identifier: return.unusedType
+ count: 1
+ path: src/Blocks/BlockTypes/CheckoutOrderSummaryBlock.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\CheckoutOrderSummaryBlock\:\:get_inner_block_content\(\) should return array\|bool but returns string\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Blocks/BlockTypes/CheckoutOrderSummaryBlock.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\CheckoutOrderSummaryBlock\:\:render\(\) should return string but returns string\|null\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Blocks/BlockTypes/CheckoutOrderSummaryBlock.php
+
+ -
+ message: '#^Parameter \#2 \$content of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\CheckoutOrderSummaryBlock\:\:get_inner_block_content\(\) expects string, string\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/CheckoutOrderSummaryBlock.php
+
+ -
+ message: '#^Parameter \#3 \$subject of function preg_replace expects array\<float\|int\|string\>\|string, string\|null given\.$#'
+ identifier: argument.type
+ count: 3
+ path: src/Blocks/BlockTypes/CheckoutOrderSummaryBlock.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ClassicShortcode\:\:render_cart\(\) should return string but returns string\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Blocks/BlockTypes/ClassicShortcode.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ClassicShortcode\:\:render_checkout\(\) should return string but returns string\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Blocks/BlockTypes/ClassicShortcode.php
+
+ -
+ message: '#^Parameter \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ClassicShortcode\:\:render\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/ClassicShortcode.php
+
+ -
+ message: '#^Property WooCommerce\:\:\$cart \(WC_Cart\) in isset\(\) is not nullable\.$#'
+ identifier: isset.property
+ count: 2
+ path: src/Blocks/BlockTypes/ClassicShortcode.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ClassicTemplate\:\:add_alignment_class_to_wrapper\(\) should return string but returns string\|null\.$#'
+ identifier: return.type
+ count: 2
+ path: src/Blocks/BlockTypes/ClassicTemplate.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ClassicTemplate\:\:enqueue_assets\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/ClassicTemplate.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ClassicTemplate\:\:enqueue_block_assets\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/ClassicTemplate.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ClassicTemplate\:\:enqueue_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/ClassicTemplate.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ClassicTemplate\:\:enqueue_legacy_assets\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/ClassicTemplate.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ClassicTemplate\:\:initialize\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/ClassicTemplate.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ClassicTemplate\:\:render\(\) should return string\|void but returns string\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Blocks/BlockTypes/ClassicTemplate.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ClassicTemplate\:\:render_archive_product\(\) should return string but returns string\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Blocks/BlockTypes/ClassicTemplate.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ClassicTemplate\:\:render_order_received\(\) should return string but returns string\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Blocks/BlockTypes/ClassicTemplate.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ClassicTemplate\:\:render_single_product\(\) should return string but returns string\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Blocks/BlockTypes/ClassicTemplate.php
+
+ -
+ message: '#^Parameter \#3 \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\AbstractBlock\:\:enqueue_assets\(\) expects WP_Block, Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/ClassicTemplate.php
+
+ -
+ message: '#^Parameter \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ClassicTemplate\:\:enqueue_assets\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/ClassicTemplate.php
+
+ -
+ message: '#^Parameter \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ClassicTemplate\:\:render\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/ClassicTemplate.php
+
+ -
+ message: '#^Callback expects 0 parameters, \$accepted_args is set to 2\.$#'
+ identifier: arguments.count
+ count: 1
+ path: src/Blocks/BlockTypes/ComingSoon.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ComingSoon\:\:enqueue_assets\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/ComingSoon.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ComingSoon\:\:enqueue_block_assets\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/ComingSoon.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ComingSoon\:\:initialize\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/ComingSoon.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ComingSoon\:\:register_block_type_assets\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/ComingSoon.php
+
+ -
+ message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/ComingSoon.php
+
+ -
+ message: '#^Parameter \#3 \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\AbstractBlock\:\:enqueue_assets\(\) expects WP_Block, Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/ComingSoon.php
+
+ -
+ message: '#^Parameter \#4 \$ver of function wp_enqueue_style expects bool\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Blocks/BlockTypes/ComingSoon.php
+
+ -
+ message: '#^Parameter \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ComingSoon\:\:enqueue_assets\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/ComingSoon.php
+
+ -
+ message: '#^Call to function is_null\(\) with mixed will always evaluate to false\.$#'
+ identifier: function.impossibleType
+ count: 1
+ path: src/Blocks/BlockTypes/CustomerAccount.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\CustomerAccount\:\:get_context_content\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Blocks/BlockTypes/CustomerAccount.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\CustomerAccount\:\:initialize\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/CustomerAccount.php
+
+ -
+ message: '#^Parameter \#1 \$context of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\CustomerAccount\:\:has_block_in_content\(\) expects array\|WP_Block_Template, array\|WP_Block_Template\|WP_Post given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/CustomerAccount.php
+
+ -
+ message: '#^Parameter \#1 \$context of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\CustomerAccount\:\:pattern_is_excluded\(\) expects array\|WP_Block_Template, array\|WP_Block_Template\|WP_Post given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/CustomerAccount.php
+
+ -
+ message: '#^Parameter \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\CustomerAccount\:\:render\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/CustomerAccount.php
+
+ -
+ message: '#^Parameter \$context of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\CustomerAccount\:\:modify_hooked_block_attributes\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block_Template\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/CustomerAccount.php
+
+ -
+ message: '#^Parameter \$context of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\CustomerAccount\:\:modify_hooked_block_attributes\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Post\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/CustomerAccount.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Blocks\\BlockTypes\\CustomerAccount\:\:\$hooked_block_placements \(array\) in isset\(\) is not nullable\.$#'
+ identifier: isset.property
+ count: 1
+ path: src/Blocks/BlockTypes/CustomerAccount.php
+
+ -
+ message: '#^Trying to invoke array\{\$this\(Automattic\\WooCommerce\\Blocks\\BlockTypes\\CustomerAccount\), mixed\} but it might not be a callable\.$#'
+ identifier: callable.nonCallable
+ count: 1
+ path: src/Blocks/BlockTypes/CustomerAccount.php
+
+ -
+ message: '#^Parameter \#1 \$str of function sanitize_text_field expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/EmailContent.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\EmptyMiniCartContentsBlock\:\:render_experimental_empty_mini_cart_contents\(\) should return string but returns string\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Blocks/BlockTypes/EmptyMiniCartContentsBlock.php
+
+ -
+ message: '#^Parameter \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\EmptyMiniCartContentsBlock\:\:render\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/EmptyMiniCartContentsBlock.php
+
+ -
+ message: '#^Parameter \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\EmptyMiniCartContentsBlock\:\:render_experimental_empty_mini_cart_contents\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/EmptyMiniCartContentsBlock.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\FeaturedCategory\:\:get_item_image\(\) should return string but returns string\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Blocks/BlockTypes/FeaturedCategory.php
+
+ -
+ message: '#^Parameter \#1 \$attachment_id of function wp_get_attachment_image_url expects int, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/FeaturedCategory.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\FeaturedItem\:\:enqueue_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/FeaturedItem.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\FeaturedItem\:\:get_image_url\(\) should return string but returns string\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Blocks/BlockTypes/FeaturedItem.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\FeaturedItem\:\:initialize\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/FeaturedItem.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\FeaturedItem\:\:replace_post_for_featured_item_inner_block\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/FeaturedItem.php
+
+ -
+ message: '#^Method WP_HTML_Tag_Processor\:\:next_tag\(\) invoked with 2 parameters, 0\-1 required\.$#'
+ identifier: arguments.count
+ count: 1
+ path: src/Blocks/BlockTypes/FeaturedItem.php
+
+ -
+ message: '#^Parameter \#1 \$query of method WP_HTML_Tag_Processor\:\:next_tag\(\) expects array\{tag_name\?\: string\|null, match_offset\?\: int\|null, class_name\?\: string\|null, tag_closers\?\: string\|null\}\|null, ''a'' given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/FeaturedItem.php
+
+ -
+ message: '#^Parameter \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\FeaturedItem\:\:render\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/FeaturedItem.php
+
+ -
+ message: '#^Parameter \$parent_block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\FeaturedItem\:\:update_context\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/FeaturedItem.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Blocks\\BlockTypes\\FeaturedItem\:\:\$current_item \(WC_Product\|WP_Term\|null\) does not accept WC_Product\|false\|null\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/Blocks/BlockTypes/FeaturedItem.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Blocks\\BlockTypes\\FeaturedItem\:\:\$current_item \(WC_Product\|WP_Term\|null\) is never assigned WP_Term so it can be removed from the property type\.$#'
+ identifier: property.unusedType
+ count: 1
+ path: src/Blocks/BlockTypes/FeaturedItem.php
+
+ -
+ message: '#^Variable \$aria_label in isset\(\) always exists and is not nullable\.$#'
+ identifier: isset.variable
+ count: 1
+ path: src/Blocks/BlockTypes/FeaturedItem.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\FeaturedProduct\:\:get_item\(\) should return WP_Term\|null but returns WC_Product\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Blocks/BlockTypes/FeaturedProduct.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\FeaturedProduct\:\:get_item_image\(\) should return string but returns string\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Blocks/BlockTypes/FeaturedProduct.php
+
+ -
+ message: '#^Parameter \#1 \$attachment_id of function wp_get_attachment_image_url expects int, string given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Blocks/BlockTypes/FeaturedProduct.php
+
+ -
+ message: '#^Parameter \#1 \$variation of function wc_get_formatted_variation expects array\|WC_Product_Variation, WC_Product given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/FeaturedProduct.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\FilledMiniCartContentsBlock\:\:render_experimental_filled_mini_cart_contents\(\) should return string but returns string\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Blocks/BlockTypes/FilledMiniCartContentsBlock.php
+
+ -
+ message: '#^Parameter \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\FilledMiniCartContentsBlock\:\:render\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/FilledMiniCartContentsBlock.php
+
+ -
+ message: '#^Parameter \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\FilledMiniCartContentsBlock\:\:render_experimental_filled_mini_cart_contents\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/FilledMiniCartContentsBlock.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\HandpickedProducts\:\:set_block_query_args\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/HandpickedProducts.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\HandpickedProducts\:\:set_visibility_query_args\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/HandpickedProducts.php
+
+ -
+ message: '#^Parameter \#1 \$default of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\AbstractDynamicBlock\:\:get_schema_boolean\(\) expects string, false given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Blocks/BlockTypes/HandpickedProducts.php
+
+ -
+ message: '#^Parameter \#1 \$default of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\AbstractDynamicBlock\:\:get_schema_number\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/HandpickedProducts.php
+
+ -
+ message: '#^Binary operation "\+" between mixed and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 2
+ path: src/Blocks/BlockTypes/MiniCart.php
+
+ -
+ message: '#^Call to function is_null\(\) with mixed will always evaluate to false\.$#'
+ identifier: function.impossibleType
+ count: 1
+ path: src/Blocks/BlockTypes/MiniCart.php
+
+ -
+ message: '#^Cannot call method allocate_and_return_block_type\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Blocks/BlockTypes/MiniCart.php
+
+ -
+ message: '#^Cannot call method get_delimiter_type\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Blocks/BlockTypes/MiniCart.php
+
+ -
+ message: '#^Cannot use array destructuring on mixed\.$#'
+ identifier: offsetAccess.nonArray
+ count: 1
+ path: src/Blocks/BlockTypes/MiniCart.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\MiniCart\:\:append_script_and_deps_src\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/MiniCart.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\MiniCart\:\:enable_interactivity_support\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/MiniCart.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\MiniCart\:\:enqueue_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/MiniCart.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\MiniCart\:\:get_block_type_script\(\) should return array\|string but empty return statement found\.$#'
+ identifier: return.empty
+ count: 1
+ path: src/Blocks/BlockTypes/MiniCart.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\MiniCart\:\:get_cart_instance\(\) should return WC_Cart but returns null\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Blocks/BlockTypes/MiniCart.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\MiniCart\:\:get_cart_price_markup\(\) should return string but empty return statement found\.$#'
+ identifier: return.empty
+ count: 1
+ path: src/Blocks/BlockTypes/MiniCart.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\MiniCart\:\:get_context_content\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Blocks/BlockTypes/MiniCart.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\MiniCart\:\:get_inner_blocks_translations\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/MiniCart.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\MiniCart\:\:get_tax_label\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/MiniCart.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\MiniCart\:\:get_template_part_contents\(\) should return string but returns string\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Blocks/BlockTypes/MiniCart.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\MiniCart\:\:initialize\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/MiniCart.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\MiniCart\:\:initialize_shared_config\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/MiniCart.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\MiniCart\:\:placeholder_image\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/MiniCart.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\MiniCart\:\:prevent_cache\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/MiniCart.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\MiniCart\:\:print_lazy_load_scripts\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/MiniCart.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\MiniCart\:\:register_empty_cart_message_block_pattern\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/MiniCart.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\MiniCart\:\:render_experimental_iapi_mini_cart\(\) should return string but returns string\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Blocks/BlockTypes/MiniCart.php
+
+ -
+ message: '#^Offset int\<0, max\>\|null might not exist on list\<bool\>\.$#'
+ identifier: offsetAccess.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/MiniCart.php
+
+ -
+ message: '#^PHPDoc tag @return has invalid value \(array;\)\: Unexpected token ";", expected TOKEN_HORIZONTAL_WS at offset 258 on line 6$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Blocks/BlockTypes/MiniCart.php
+
+ -
+ message: '#^PHPDoc tag @return has invalid value \(array\|string;\)\: Unexpected token ";", expected TOKEN_HORIZONTAL_WS at offset 148 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Blocks/BlockTypes/MiniCart.php
+
+ -
+ message: '#^Parameter \#1 \$arr1 of function array_merge expects array, array\<string\>\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/MiniCart.php
+
+ -
+ message: '#^Parameter \#1 \$content of function do_blocks expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/MiniCart.php
+
+ -
+ message: '#^Parameter \#1 \$context of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\MiniCart\:\:has_block_in_content\(\) expects array\|WP_Block_Template, array\|WP_Block_Template\|WP_Post given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/MiniCart.php
+
+ -
+ message: '#^Parameter \#1 \$context of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\MiniCart\:\:pattern_is_excluded\(\) expects array\|WP_Block_Template, array\|WP_Block_Template\|WP_Post given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/MiniCart.php
+
+ -
+ message: '#^Parameter \#1 \$html of function wp_interactivity_process_directives expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/MiniCart.php
+
+ -
+ message: '#^Parameter \#1 \$price of function wc_price expects float, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/MiniCart.php
+
+ -
+ message: '#^Parameter \#1 \$query of method WP_HTML_Tag_Processor\:\:next_tag\(\) expects array\{tag_name\?\: string\|null, match_offset\?\: int\|null, class_name\?\: string\|null, tag_closers\?\: string\|null\}\|null, ''bdi'' given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/MiniCart.php
+
+ -
+ message: '#^Parameter \#1 \$str of function rawurlencode expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/MiniCart.php
+
+ -
+ message: '#^Parameter \#2 \$start of function substr expects int, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/MiniCart.php
+
+ -
+ message: '#^Parameter \#3 \$length of function substr expects int, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/MiniCart.php
+
+ -
+ message: '#^Parameter \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\MiniCart\:\:render\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/MiniCart.php
+
+ -
+ message: '#^Parameter \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\MiniCart\:\:render_experimental_iapi_mini_cart\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/MiniCart.php
+
+ -
+ message: '#^Parameter \$context of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\MiniCart\:\:modify_hooked_block_attributes\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block_Template\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/MiniCart.php
+
+ -
+ message: '#^Parameter \$context of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\MiniCart\:\:modify_hooked_block_attributes\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Post\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/MiniCart.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Blocks\\BlockTypes\\MiniCart\:\:\$display_cart_prices_including_tax \(string\) does not accept default value of type false\.$#'
+ identifier: property.defaultValue
+ count: 1
+ path: src/Blocks/BlockTypes/MiniCart.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Blocks\\BlockTypes\\MiniCart\:\:\$hooked_block_placements \(array\) in isset\(\) is not nullable\.$#'
+ identifier: isset.property
+ count: 1
+ path: src/Blocks/BlockTypes/MiniCart.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Blocks\\BlockTypes\\MiniCart\:\:\$scripts_to_lazy_load \(array\<string\>\) does not accept array\<array\<string, bool\|string\>\|string\>\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/Blocks/BlockTypes/MiniCart.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Blocks\\BlockTypes\\MiniCart\:\:\$scripts_to_lazy_load \(array\<string\>\) does not accept array\<array\<string, mixed\>\|string\>\.$#'
+ identifier: assign.propertyType
+ count: 2
+ path: src/Blocks/BlockTypes/MiniCart.php
+
+ -
+ message: '#^Property WooCommerce\:\:\$cart \(WC_Cart\) in isset\(\) is not nullable\.$#'
+ identifier: isset.property
+ count: 1
+ path: src/Blocks/BlockTypes/MiniCart.php
+
+ -
+ message: '#^Result of && is always false\.$#'
+ identifier: booleanAnd.alwaysFalse
+ count: 1
+ path: src/Blocks/BlockTypes/MiniCart.php
+
+ -
+ message: '#^Ternary operator condition is always true\.$#'
+ identifier: ternary.alwaysTrue
+ count: 2
+ path: src/Blocks/BlockTypes/MiniCart.php
+
+ -
+ message: '#^Trying to invoke array\{\$this\(Automattic\\WooCommerce\\Blocks\\BlockTypes\\MiniCart\), mixed\} but it might not be a callable\.$#'
+ identifier: callable.nonCallable
+ count: 1
+ path: src/Blocks/BlockTypes/MiniCart.php
+
+ -
+ message: '#^Undefined variable\: \$attributes$#'
+ identifier: variable.undefined
+ count: 1
+ path: src/Blocks/BlockTypes/MiniCart.php
+
+ -
+ message: '#^Variable \$attributes in isset\(\) is never defined\.$#'
+ identifier: isset.variable
+ count: 1
+ path: src/Blocks/BlockTypes/MiniCart.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\MiniCartCartButtonBlock\:\:render_experimental_iapi_markup\(\) should return string but returns string\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Blocks/BlockTypes/MiniCartCartButtonBlock.php
+
+ -
+ message: '#^Parameter \#1 \$url of function esc_url expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/MiniCartCartButtonBlock.php
+
+ -
+ message: '#^Parameter \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\MiniCartCartButtonBlock\:\:render\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/MiniCartCartButtonBlock.php
+
+ -
+ message: '#^Parameter \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\MiniCartCartButtonBlock\:\:render_experimental_iapi_markup\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/MiniCartCartButtonBlock.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\MiniCartCheckoutButtonBlock\:\:render_experimental_iapi_markup\(\) should return string but returns string\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Blocks/BlockTypes/MiniCartCheckoutButtonBlock.php
+
+ -
+ message: '#^Parameter \#1 \$url of function esc_url expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/MiniCartCheckoutButtonBlock.php
+
+ -
+ message: '#^Parameter \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\MiniCartCheckoutButtonBlock\:\:render\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/MiniCartCheckoutButtonBlock.php
+
+ -
+ message: '#^Parameter \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\MiniCartCheckoutButtonBlock\:\:render_experimental_iapi_markup\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/MiniCartCheckoutButtonBlock.php
+
+ -
+ message: '#^Call to function is_array\(\) with array\{''\.wc\-block\-mini\-cart…'', ''\.wc\-block\-mini\-cart…'', ''\.wc\-block\-mini\-cart…'', ''\.wc\-block\-mini\-cart…'', ''\.wc\-block\-mini\-cart…'', ''\.wc\-block\-mini\-cart…'', ''\.wc\-block\-mini\-cart…''\} will always evaluate to true\.$#'
+ identifier: function.alreadyNarrowedType
+ count: 1
+ path: src/Blocks/BlockTypes/MiniCartContents.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\MiniCartContents\:\:enqueue_assets\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/MiniCartContents.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\MiniCartContents\:\:get_mini_cart_block_types\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/MiniCartContents.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\MiniCartContents\:\:render_experimental_iapi_mini_cart_contents\(\) should return string but returns string\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Blocks/BlockTypes/MiniCartContents.php
+
+ -
+ message: '#^PHPDoc tag @return has invalid value \(array;\)\: Unexpected token ";", expected TOKEN_HORIZONTAL_WS at offset 91 on line 4$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Blocks/BlockTypes/MiniCartContents.php
+
+ -
+ message: '#^PHPDoc tag @return has invalid value \(array\|string;\)\: Unexpected token ";", expected TOKEN_HORIZONTAL_WS at offset 152 on line 6$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Blocks/BlockTypes/MiniCartContents.php
+
+ -
+ message: '#^Parameter \#1 \$arr1 of function array_merge expects array, array\<string\>\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/MiniCartContents.php
+
+ -
+ message: '#^Parameter \#3 \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\AbstractBlock\:\:enqueue_assets\(\) expects WP_Block, Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/MiniCartContents.php
+
+ -
+ message: '#^Parameter \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\MiniCartContents\:\:enqueue_assets\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/MiniCartContents.php
+
+ -
+ message: '#^Parameter \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\MiniCartContents\:\:render\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/MiniCartContents.php
+
+ -
+ message: '#^Parameter \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\MiniCartContents\:\:render_experimental_iapi_mini_cart_contents\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/MiniCartContents.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\MiniCartFooterBlock\:\:enqueue_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/MiniCartFooterBlock.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\MiniCartFooterBlock\:\:get_cart_instance\(\) should return WC_Cart but returns null\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Blocks/BlockTypes/MiniCartFooterBlock.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\MiniCartFooterBlock\:\:render_experimental_iapi_mini_cart_footer\(\) should return string but returns string\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Blocks/BlockTypes/MiniCartFooterBlock.php
+
+ -
+ message: '#^Parameter \#1 \$query of method WP_HTML_Tag_Processor\:\:next_tag\(\) expects array\{tag_name\?\: string\|null, match_offset\?\: int\|null, class_name\?\: string\|null, tag_closers\?\: string\|null\}\|null, ''bdi'' given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/MiniCartFooterBlock.php
+
+ -
+ message: '#^Parameter \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\MiniCartFooterBlock\:\:render\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/MiniCartFooterBlock.php
+
+ -
+ message: '#^Parameter \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\MiniCartFooterBlock\:\:render_experimental_iapi_mini_cart_footer\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/MiniCartFooterBlock.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\MiniCartItemsBlock\:\:render_experimental_iapi_markup\(\) should return string but returns string\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Blocks/BlockTypes/MiniCartItemsBlock.php
+
+ -
+ message: '#^Parameter \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\MiniCartItemsBlock\:\:render\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/MiniCartItemsBlock.php
+
+ -
+ message: '#^Parameter \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\MiniCartItemsBlock\:\:render_experimental_iapi_markup\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/MiniCartItemsBlock.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\MiniCartProductsTableBlock\:\:render_experimental_iapi_markup\(\) should return string but returns string\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Blocks/BlockTypes/MiniCartProductsTableBlock.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\MiniCartProductsTableBlock\:\:render_experimental_iapi_product_details_item_markup\(\) should return string but returns string\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Blocks/BlockTypes/MiniCartProductsTableBlock.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\MiniCartProductsTableBlock\:\:render_experimental_iapi_product_details_markup\(\) should return string but returns string\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Blocks/BlockTypes/MiniCartProductsTableBlock.php
+
+ -
+ message: '#^Parameter \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\MiniCartProductsTableBlock\:\:render\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/MiniCartProductsTableBlock.php
+
+ -
+ message: '#^Parameter \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\MiniCartProductsTableBlock\:\:render_experimental_iapi_markup\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/MiniCartProductsTableBlock.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\MiniCartShoppingButtonBlock\:\:render_experimental_iapi_markup\(\) should return string but returns string\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Blocks/BlockTypes/MiniCartShoppingButtonBlock.php
+
+ -
+ message: '#^Parameter \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\MiniCartShoppingButtonBlock\:\:render\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/MiniCartShoppingButtonBlock.php
+
+ -
+ message: '#^Parameter \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\MiniCartShoppingButtonBlock\:\:render_experimental_iapi_markup\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/MiniCartShoppingButtonBlock.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\MiniCartTitleBlock\:\:render_experimental_iapi_title_block\(\) should return string but returns string\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Blocks/BlockTypes/MiniCartTitleBlock.php
+
+ -
+ message: '#^Parameter \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\MiniCartTitleBlock\:\:render\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/MiniCartTitleBlock.php
+
+ -
+ message: '#^Parameter \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\MiniCartTitleBlock\:\:render_experimental_iapi_title_block\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/MiniCartTitleBlock.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\MiniCartTitleItemsCounterBlock\:\:get_cart_instance\(\) should return WC_Cart but returns null\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Blocks/BlockTypes/MiniCartTitleItemsCounterBlock.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\MiniCartTitleItemsCounterBlock\:\:render_experimental_iapi_title_label_block\(\) should return string but returns string\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Blocks/BlockTypes/MiniCartTitleItemsCounterBlock.php
+
+ -
+ message: '#^Parameter \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\MiniCartTitleItemsCounterBlock\:\:render\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/MiniCartTitleItemsCounterBlock.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\MiniCartTitleLabelBlock\:\:render_experimental_iapi_title_label_block\(\) should return string but returns string\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Blocks/BlockTypes/MiniCartTitleLabelBlock.php
+
+ -
+ message: '#^Parameter \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\MiniCartTitleLabelBlock\:\:render\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/MiniCartTitleLabelBlock.php
+
+ -
+ message: '#^Parameter \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\MiniCartTitleLabelBlock\:\:render_experimental_iapi_title_label_block\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/MiniCartTitleLabelBlock.php
+
+ -
+ message: '#^Access to property \$context on an unknown class Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/NextPreviousButtons.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\NextPreviousButtons\:\:render\(\) should return string but returns string\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Blocks/BlockTypes/NextPreviousButtons.php
+
+ -
+ message: '#^Parameter \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\NextPreviousButtons\:\:render\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/NextPreviousButtons.php
+
+ -
+ message: '#^@param Automattic\\WooCommerce\\Blocks\\BlockTypes\\OrderConfirmation\\WC_Order \$order does not accept actual type of parameter\: WC_Order\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: src/Blocks/BlockTypes/OrderConfirmation/AbstractOrderConfirmationBlock.php
+
+ -
+ message: '#^Cannot cast mixed to int\.$#'
+ identifier: cast.int
+ count: 1
+ path: src/Blocks/BlockTypes/OrderConfirmation/AbstractOrderConfirmationBlock.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\OrderConfirmation\\AbstractOrderConfirmationBlock\:\:get_hook_content\(\) should return string but returns string\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Blocks/BlockTypes/OrderConfirmation/AbstractOrderConfirmationBlock.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\OrderConfirmation\\AbstractOrderConfirmationBlock\:\:get_order\(\) should return WC_Order\|null but returns bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Blocks/BlockTypes/OrderConfirmation/AbstractOrderConfirmationBlock.php
+
+ -
+ message: '#^Parameter \#1 \$email of function sanitize_email expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/OrderConfirmation/AbstractOrderConfirmationBlock.php
+
+ -
+ message: '#^Parameter \#1 \$key of method WC_Order\:\:key_is_valid\(\) expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/OrderConfirmation/AbstractOrderConfirmationBlock.php
+
+ -
+ message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/OrderConfirmation/AbstractOrderConfirmationBlock.php
+
+ -
+ message: '#^Parameter \#1 \$object_or_string of function is_a expects object, WC_DateTime\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/OrderConfirmation/AbstractOrderConfirmationBlock.php
+
+ -
+ message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/OrderConfirmation/AbstractOrderConfirmationBlock.php
+
+ -
+ message: '#^Parameter \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\OrderConfirmation\\AbstractOrderConfirmationBlock\:\:render\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\OrderConfirmation\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/OrderConfirmation/AbstractOrderConfirmationBlock.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\OrderConfirmation\\AdditionalFieldsWrapper\:\:enqueue_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/OrderConfirmation/AdditionalFieldsWrapper.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\OrderConfirmation\\AdditionalInformation\:\:remove_core_hooks\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/OrderConfirmation/AdditionalInformation.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\OrderConfirmation\\AdditionalInformation\:\:restore_core_hooks\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/OrderConfirmation/AdditionalInformation.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\OrderConfirmation\\BillingAddress\:\:enqueue_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/OrderConfirmation/BillingAddress.php
+
+ -
+ message: '#^Callback expects 3 parameters, \$accepted_args is set to 4\.$#'
+ identifier: arguments.count
+ count: 1
+ path: src/Blocks/BlockTypes/OrderConfirmation/CreateAccount.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\OrderConfirmation\\CreateAccount\:\:enqueue_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/OrderConfirmation/CreateAccount.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\OrderConfirmation\\CreateAccount\:\:initialize\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/OrderConfirmation/CreateAccount.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\OrderConfirmation\\CreateAccount\:\:initialize_hooks\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/OrderConfirmation/CreateAccount.php
+
+ -
+ message: '#^Parameter \#1 \$email of function sanitize_email expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/OrderConfirmation/CreateAccount.php
+
+ -
+ message: '#^Parameter \#1 \$text of function wp_specialchars_decode expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/OrderConfirmation/CreateAccount.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\OrderConfirmation\\Downloads\:\:enqueue_assets\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/OrderConfirmation/Downloads.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\OrderConfirmation\\Downloads\:\:render_order_downloads_column_headers\(\) invoked with 1 parameter, 0 required\.$#'
+ identifier: arguments.count
+ count: 1
+ path: src/Blocks/BlockTypes/OrderConfirmation/Downloads.php
+
+ -
+ message: '#^Parameter \#1 \$format of function date_i18n expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/OrderConfirmation/Downloads.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_attr expects string, \(int\|false\) given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/OrderConfirmation/Downloads.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_html expects string, float\|int\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/OrderConfirmation/Downloads.php
+
+ -
+ message: '#^Function get_transient invoked with 2 parameters, 1 required\.$#'
+ identifier: arguments.count
+ count: 1
+ path: src/Blocks/BlockTypes/OrderConfirmation/DownloadsWrapper.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\OrderConfirmation\\DownloadsWrapper\:\:enqueue_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/OrderConfirmation/DownloadsWrapper.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\OrderConfirmation\\ShippingAddress\:\:enqueue_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/OrderConfirmation/ShippingAddress.php
+
+ -
+ message: '#^@param Automattic\\WooCommerce\\Blocks\\BlockTypes\\OrderConfirmation\\WC_Order\|false \$order does not accept actual type of parameter\: WC_Order\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: src/Blocks/BlockTypes/OrderConfirmation/Status.php
+
+ -
+ message: '#^Parameter \#1 \$date of function wc_format_datetime expects WC_DateTime, WC_DateTime\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/OrderConfirmation/Status.php
+
+ -
+ message: '#^Parameter \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\OrderConfirmation\\Status\:\:render\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\OrderConfirmation\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/OrderConfirmation/Status.php
+
+ -
+ message: '#^Parameter \#1 \$date of function wc_format_datetime expects WC_DateTime, WC_DateTime\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/OrderConfirmation/Summary.php
+
+ -
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_product\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/OrderConfirmation/Totals.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\OrderConfirmation\\Totals\:\:enqueue_assets\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/OrderConfirmation/Totals.php
+
+ -
+ message: '#^Method WC_Product\:\:get_permalink\(\) invoked with 1 parameter, 0 required\.$#'
+ identifier: arguments.count
+ count: 1
+ path: src/Blocks/BlockTypes/OrderConfirmation/Totals.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_html expects string, int given\.$#'
+ identifier: argument.type
+ count: 3
+ path: src/Blocks/BlockTypes/OrderConfirmation/Totals.php
+
+ -
+ message: '#^Access to an undefined property WooCommerce\:\:\$payment_gateways\.$#'
+ identifier: property.notFound
+ count: 2
+ path: src/Blocks/BlockTypes/PaymentMethodIcons.php
+
+ -
+ message: '#^Cannot call method get_icon_url\(\) on class\-string\|object\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Blocks/BlockTypes/PaymentMethodIcons.php
+
+ -
+ message: '#^Constant WC_ABSPATH not found\.$#'
+ identifier: constant.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/PaymentMethodIcons.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\PaymentMethodIcons\:\:enqueue_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/PaymentMethodIcons.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\PaymentMethodIcons\:\:get_block_type_script\(\) should return array\|string but returns null\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Blocks/BlockTypes/PaymentMethodIcons.php
+
+ -
+ message: '#^Parameter \#1 \$arr1 of function array_merge expects array, array\<string\>\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/PaymentMethodIcons.php
+
+ -
+ message: '#^Cannot access property \$term_id on WP_Post\|WP_Post_Type\|WP_Term\|WP_User\|null\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: src/Blocks/BlockTypes/PriceFilter.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\PriceFilter\:\:enqueue_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/PriceFilter.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProceedToCheckoutBlock\:\:enqueue_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/ProceedToCheckoutBlock.php
+
+ -
+ message: '#^Access to property \$context on an unknown class Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/ProductAverageRating.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductAverageRating\:\:register_block_type_assets\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/ProductAverageRating.php
+
+ -
+ message: '#^Parameter \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductAverageRating\:\:render\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/ProductAverageRating.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductBestSellers\:\:set_block_query_args\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/ProductBestSellers.php
+
+ -
+ message: '#^Access to property \$context on an unknown class Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 4
+ path: src/Blocks/BlockTypes/ProductButton.php
+
+ -
+ message: '#^Expected 3 @param tags, found 1\.$#'
+ identifier: paramTag.count
+ count: 1
+ path: src/Blocks/BlockTypes/ProductButton.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductButton\:\:dequeue_add_to_cart_scripts\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/ProductButton.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductButton\:\:enqueue_assets\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/ProductButton.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductButton\:\:get_block_type_uses_context\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/ProductButton.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductButton\:\:initialize_shared_config\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/ProductButton.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductButton\:\:placeholder_image\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/ProductButton.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductButton\:\:prevent_cache\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/ProductButton.php
+
+ -
+ message: '#^Parameter \#3 \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\AbstractBlock\:\:enqueue_assets\(\) expects WP_Block, Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/ProductButton.php
+
+ -
+ message: '#^Parameter \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductButton\:\:enqueue_assets\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/ProductButton.php
+
+ -
+ message: '#^Parameter \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductButton\:\:render\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/ProductButton.php
+
+ -
+ message: '#^Property WooCommerce\:\:\$cart \(WC_Cart\) in isset\(\) is not nullable\.$#'
+ identifier: isset.property
+ count: 2
+ path: src/Blocks/BlockTypes/ProductButton.php
+
+ -
+ message: '#^Static property Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductButton\:\:\$cart is never read, only written\.$#'
+ identifier: property.onlyWritten
+ count: 1
+ path: src/Blocks/BlockTypes/ProductButton.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$count\.$#'
+ identifier: property.notFound
+ count: 4
+ path: src/Blocks/BlockTypes/ProductCategories.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductCategories\:\:renderListItems\(\) should return string but returns string\|null\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Blocks/BlockTypes/ProductCategories.php
+
+ -
+ message: '#^Parameter \#1 \$args of function get_terms expects array\{taxonomy\?\: array\<string\>\|string, object_ids\?\: array\<int\>\|int, orderby\?\: string, order\?\: string, hide_empty\?\: bool\|int, include\?\: array\<int\>\|string, exclude\?\: array\<int\>\|string, exclude_tree\?\: array\<int\>\|string, \.\.\.\}, ''product_cat'' given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Blocks/BlockTypes/ProductCategories.php
+
+ -
+ message: '#^Parameter \#1 \$attachment_id of function wp_get_attachment_image expects int, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/ProductCategories.php
+
+ -
+ message: '#^Parameter \#1 \$default of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\AbstractDynamicBlock\:\:get_schema_boolean\(\) expects string, false given\.$#'
+ identifier: argument.type
+ count: 4
+ path: src/Blocks/BlockTypes/ProductCategories.php
+
+ -
+ message: '#^Parameter \#1 \$default of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\AbstractDynamicBlock\:\:get_schema_boolean\(\) expects string, true given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Blocks/BlockTypes/ProductCategories.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_attr expects string, int given\.$#'
+ identifier: argument.type
+ count: 3
+ path: src/Blocks/BlockTypes/ProductCategories.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_attr expects string, string\|WP_Error given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Blocks/BlockTypes/ProductCategories.php
+
+ -
+ message: '#^Parameter \#3 \$uid of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductCategories\:\:renderDropdown\(\) expects int, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/ProductCategories.php
+
+ -
+ message: '#^Parameter \#3 \$uid of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductCategories\:\:renderList\(\) expects int, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/ProductCategories.php
+
+ -
+ message: '#^Parameter \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductCategories\:\:render\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/ProductCategories.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductCategory\:\:set_block_query_args\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/ProductCategory.php
+
+ -
+ message: '#^Parameter \#1 \$default of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\AbstractDynamicBlock\:\:get_schema_boolean\(\) expects string, true given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/ProductCategory.php
+
+ -
+ message: '#^Access to property \$context on an unknown class Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductCollection\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 6
+ path: src/Blocks/BlockTypes/ProductCollection/Controller.php
+
+ -
+ message: '#^Call to method get_param\(\) on an unknown class Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductCollection\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 12
+ path: src/Blocks/BlockTypes/ProductCollection/Controller.php
+
+ -
+ message: '#^Cannot access offset ''tax_query'' on WP_Query\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Blocks/BlockTypes/ProductCollection/Controller.php
+
+ -
+ message: '#^If condition is always false\.$#'
+ identifier: if.alwaysFalse
+ count: 1
+ path: src/Blocks/BlockTypes/ProductCollection/Controller.php
+
+ -
+ message: '#^Left side of && is always false\.$#'
+ identifier: booleanAnd.leftAlwaysFalse
+ count: 2
+ path: src/Blocks/BlockTypes/ProductCollection/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductCollection\\Controller\:\:add_support_for_filter_blocks\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/ProductCollection/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductCollection\\Controller\:\:build_frontend_query\(\) should return array but returns WP_Query\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Blocks/BlockTypes/ProductCollection/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductCollection\\Controller\:\:disable_enhanced_pagination\(\) should return string but returns array\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Blocks/BlockTypes/ProductCollection/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductCollection\\Controller\:\:enqueue_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/ProductCollection/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductCollection\\Controller\:\:initialize\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/ProductCollection/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductCollection\\Controller\:\:register_core_collections_and_set_handler_store\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/ProductCollection/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductCollection\\Controller\:\:register_settings\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/ProductCollection/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$collection_args of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductCollection\\QueryBuilder\:\:get_final_query_args\(\) expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/ProductCollection/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$collection_args of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductCollection\\QueryBuilder\:\:get_preview_query_args\(\) expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/ProductCollection/Controller.php
+
+ -
+ message: '#^Parameter \#2 \$callback of function remove_filter expects array\|\(callable\(\)\: mixed\)\|string, \(Closure\(mixed, mixed\)\: mixed\)\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/ProductCollection/Controller.php
+
+ -
+ message: '#^Parameter \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductCollection\\Controller\:\:build_frontend_query\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductCollection\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/ProductCollection/Controller.php
+
+ -
+ message: '#^Parameter \$request of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductCollection\\Controller\:\:update_rest_query_in_editor\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductCollection\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/ProductCollection/Controller.php
+
+ -
+ message: '#^Variable \$parsed_block on left side of \?\? is never defined\.$#'
+ identifier: nullCoalesce.variable
+ count: 1
+ path: src/Blocks/BlockTypes/ProductCollection/Controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_product_id\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/ProductCollection/HandlerRegistry.php
+
+ -
+ message: '#^Cannot call method get_items\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Blocks/BlockTypes/ProductCollection/HandlerRegistry.php
+
+ -
+ message: '#^Cannot call method get_upsell_ids\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Blocks/BlockTypes/ProductCollection/HandlerRegistry.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductCollection\\HandlerRegistry\:\:get_cart_product_ids\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Blocks/BlockTypes/ProductCollection/HandlerRegistry.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductCollection\\HandlerRegistry\:\:get_cart_product_ids\(\) should return array\<int\> but returns array\|stdClass\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Blocks/BlockTypes/ProductCollection/HandlerRegistry.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductCollection\\HandlerRegistry\:\:register_collection_handlers\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/ProductCollection/HandlerRegistry.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductCollection\\HandlerRegistry\:\:register_core_collections\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/ProductCollection/HandlerRegistry.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductCollection\\HandlerRegistry\:\:unregister_collection_handlers\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/ProductCollection/HandlerRegistry.php
+
+ -
+ message: '#^Unable to resolve the template type T in call to function rest_sanitize_boolean$#'
+ identifier: argument.templateType
+ count: 2
+ path: src/Blocks/BlockTypes/ProductCollection/HandlerRegistry.php
+
+ -
+ message: '#^Cannot access offset ''host'' on array\{scheme\?\: string, host\?\: string, port\?\: int\<0, 65535\>, user\?\: string, pass\?\: string, path\?\: string, query\?\: string, fragment\?\: string\}\|false\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Blocks/BlockTypes/ProductCollection/NoResults.php
+
+ -
+ message: '#^Cannot access offset ''scheme'' on array\{scheme\?\: string, host\?\: string, port\?\: int\<0, 65535\>, user\?\: string, pass\?\: string, path\?\: string, query\?\: string, fragment\?\: string\}\|false\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Blocks/BlockTypes/ProductCollection/NoResults.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductCollection\\NoResults\:\:get_current_url_without_filters\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/ProductCollection/NoResults.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductCollection\\NoResults\:\:modify_anchor_tag_urls\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/ProductCollection/NoResults.php
+
+ -
+ message: '#^Parameter \#1 \$haystack of function strpos expects string, int\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/ProductCollection/NoResults.php
+
+ -
+ message: '#^Parameter \#1 \$str of function sanitize_text_field expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/ProductCollection/NoResults.php
+
+ -
+ message: '#^Parameter \#1 \$url of function esc_url_raw expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/ProductCollection/NoResults.php
+
+ -
+ message: '#^Parameter \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductCollection\\NoResults\:\:render\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductCollection\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/ProductCollection/NoResults.php
+
+ -
+ message: '#^Call to function is_array\(\) with array\<array\<int\>\> will always evaluate to true\.$#'
+ identifier: function.alreadyNarrowedType
+ count: 1
+ path: src/Blocks/BlockTypes/ProductCollection/QueryBuilder.php
+
+ -
+ message: '#^Call to function is_array\(\) with array\<array\> will always evaluate to true\.$#'
+ identifier: function.alreadyNarrowedType
+ count: 1
+ path: src/Blocks/BlockTypes/ProductCollection/QueryBuilder.php
+
+ -
+ message: '#^Cannot access an offset on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: src/Blocks/BlockTypes/ProductCollection/QueryBuilder.php
+
+ -
+ message: '#^Cannot access offset ''taxonomy'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Blocks/BlockTypes/ProductCollection/QueryBuilder.php
+
+ -
+ message: '#^Cannot access offset ''terms'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Blocks/BlockTypes/ProductCollection/QueryBuilder.php
+
+ -
+ message: '#^Cannot access offset mixed on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Blocks/BlockTypes/ProductCollection/QueryBuilder.php
+
+ -
+ message: '#^Cannot access offset string on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Blocks/BlockTypes/ProductCollection/QueryBuilder.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductCollection\\QueryBuilder\:\:add_price_range_filter_posts_clauses\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/ProductCollection/QueryBuilder.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductCollection\\QueryBuilder\:\:array_merge_recursive_replace_non_array_properties\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/ProductCollection/QueryBuilder.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductCollection\\QueryBuilder\:\:get_final_frontend_query\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/ProductCollection/QueryBuilder.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductCollection\\QueryBuilder\:\:get_final_query_args\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/ProductCollection/QueryBuilder.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductCollection\\QueryBuilder\:\:get_preview_query_args\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/ProductCollection/QueryBuilder.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductCollection\\QueryBuilder\:\:merge_post__in\(\) should return array\<int\> but returns list\<array\<int\>\>\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Blocks/BlockTypes/ProductCollection/QueryBuilder.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductCollection\\QueryBuilder\:\:set_attributes_filter_query_args\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/ProductCollection/QueryBuilder.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductCollection\\QueryBuilder\:\:set_collection_handler\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/ProductCollection/QueryBuilder.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductCollection\\QueryBuilder\:\:set_collection_handler_store\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/ProductCollection/QueryBuilder.php
+
+ -
+ message: '#^Parameter \#1 \$collection_args of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductCollection\\QueryBuilder\:\:get_final_query_args\(\) expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/ProductCollection/QueryBuilder.php
+
+ -
+ message: '#^Parameter \#10 \.\.\.\$queries of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductCollection\\QueryBuilder\:\:merge_queries\(\) expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/ProductCollection/QueryBuilder.php
+
+ -
+ message: '#^Parameter \#2 \$search of function key_exists expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/ProductCollection/QueryBuilder.php
+
+ -
+ message: '#^Parameter \#2 \$str of function explode expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 3
+ path: src/Blocks/BlockTypes/ProductCollection/QueryBuilder.php
+
+ -
+ message: '#^Parameter \#3 \.\.\.\$queries of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductCollection\\QueryBuilder\:\:merge_queries\(\) expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/ProductCollection/QueryBuilder.php
+
+ -
+ message: '#^Parameter \$request of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductCollection\\QueryBuilder\:\:get_preview_query_args\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductCollection\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/ProductCollection/QueryBuilder.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductCollection\\Renderer\:\:add_navigation_link_directives\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/ProductCollection/Renderer.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductCollection\\Renderer\:\:add_store_notices_fallback\(\) should return string but returns string\|null\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Blocks/BlockTypes/ProductCollection/Renderer.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductCollection\\Renderer\:\:handle_block_dimensions\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/ProductCollection/Renderer.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductCollection\\Renderer\:\:render_interactivity_notices_region\(\) should return string but returns string\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Blocks/BlockTypes/ProductCollection/Renderer.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductCollection\\Renderer\:\:reset_render_state\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/ProductCollection/Renderer.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductCollection\\Renderer\:\:set_fixed_width_style\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/ProductCollection/Renderer.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductCollection\\Renderer\:\:set_parsed_block\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/ProductCollection/Renderer.php
+
+ -
+ message: '#^Parameter \#1 \$query of method WP_HTML_Tag_Processor\:\:next_tag\(\) expects array\{tag_name\?\: string\|null, match_offset\?\: int\|null, class_name\?\: string\|null, tag_closers\?\: string\|null\}\|null, ''A'' given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/ProductCollection/Renderer.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductCollection\\Renderer\:\:\$parsed_block \(array\) in isset\(\) is not nullable\.$#'
+ identifier: isset.property
+ count: 1
+ path: src/Blocks/BlockTypes/ProductCollection/Renderer.php
+
+ -
+ message: '#^Access to property \$context on an unknown class Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductCollection\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 6
+ path: src/Blocks/BlockTypes/ProductCollection/Utils.php
+
+ -
+ message: '#^Cannot access offset ''relation'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Blocks/BlockTypes/ProductCollection/Utils.php
+
+ -
+ message: '#^Cannot access offset string on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: src/Blocks/BlockTypes/ProductCollection/Utils.php
+
+ -
+ message: '#^Cannot cast mixed to int\.$#'
+ identifier: cast.int
+ count: 1
+ path: src/Blocks/BlockTypes/ProductCollection/Utils.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductCollection\\Utils\:\:prepare_and_execute_query\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/ProductCollection/Utils.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductCollection\\Utils\:\:remove_empty_array_recursive\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/ProductCollection/Utils.php
+
+ -
+ message: '#^Parameter \#1 \$block of function build_query_vars_from_query_block expects WP_Block, Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductCollection\\WP_Block given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Blocks/BlockTypes/ProductCollection/Utils.php
+
+ -
+ message: '#^Parameter \#1 \$object_or_string of function is_a expects object, WP_Post\|WP_Post_Type\|WP_Term\|WP_User\|null given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Blocks/BlockTypes/ProductCollection/Utils.php
+
+ -
+ message: '#^Parameter \#1 \$page of static method WC_Blocks_Utils\:\:has_block_in_page\(\) expects int\|WP_Post, WP_Post\|WP_Post_Type\|WP_Term\|WP_User given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Blocks/BlockTypes/ProductCollection/Utils.php
+
+ -
+ message: '#^Parameter \#1 \$queries of static method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductCollection\\Utils\:\:remove_query_array\(\) expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/ProductCollection/Utils.php
+
+ -
+ message: '#^Parameter \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductCollection\\Utils\:\:get_query_vars\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductCollection\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/ProductCollection/Utils.php
+
+ -
+ message: '#^Parameter \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductCollection\\Utils\:\:prepare_and_execute_query\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductCollection\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/ProductCollection/Utils.php
+
+ -
+ message: '#^Property WooCommerce\:\:\$cart \(WC_Cart\) in isset\(\) is not nullable\.$#'
+ identifier: isset.property
+ count: 1
+ path: src/Blocks/BlockTypes/ProductCollection/Utils.php
+
+ -
+ message: '#^Access to property \$context on an unknown class Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 2
+ path: src/Blocks/BlockTypes/ProductDescription.php
+
+ -
+ message: '#^Parameter \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductDescription\:\:render\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/ProductDescription.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductDetails\:\:enqueue_legacy_assets\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/ProductDetails.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductDetails\:\:render_tabs\(\) should return string but returns string\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Blocks/BlockTypes/ProductDetails.php
+
+ -
+ message: '#^One or more @param tags has an invalid name or invalid syntax\.$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Blocks/BlockTypes/ProductDetails.php
+
+ -
+ message: '#^PHPDoc tag @param has invalid value \(\{array\} \$hooked_blocks The blocks that are hooked into the Product Details block\.\)\: Unexpected token "\{", expected type at offset 169 on line 7$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Blocks/BlockTypes/ProductDetails.php
+
+ -
+ message: '#^PHPDoc tag @return has invalid value \(\{array\} The blocks that are hooked into the Product Details block\.\)\: Unexpected token "\{", expected type at offset 264 on line 8$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Blocks/BlockTypes/ProductDetails.php
+
+ -
+ message: '#^Parameter \#1 \$content of function parse_blocks expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/ProductDetails.php
+
+ -
+ message: '#^Parameter \#1 \$query of method WP_HTML_Tag_Processor\:\:next_tag\(\) expects array\{tag_name\?\: string\|null, match_offset\?\: int\|null, class_name\?\: string\|null, tag_closers\?\: string\|null\}\|null, ''h2'' given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/ProductDetails.php
+
+ -
+ message: '#^Parameter \#1 \$query of method WP_HTML_Tag_Processor\:\:next_tag\(\) expects array\{tag_name\?\: string\|null, match_offset\?\: int\|null, class_name\?\: string\|null, tag_closers\?\: string\|null\}\|null, ''iframe'' given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/ProductDetails.php
+
+ -
+ message: '#^Parameter \#1 \$query of method WP_HTML_Tag_Processor\:\:next_tag\(\) expects array\{tag_name\?\: string\|null, match_offset\?\: int\|null, class_name\?\: string\|null, tag_closers\?\: string\|null\}\|null, ''img'' given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/ProductDetails.php
+
+ -
+ message: '#^Parameter \#1 \$query of method WP_HTML_Tag_Processor\:\:next_tag\(\) expects array\{tag_name\?\: string\|null, match_offset\?\: int\|null, class_name\?\: string\|null, tag_closers\?\: string\|null\}\|null, ''meter'' given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/ProductDetails.php
+
+ -
+ message: '#^Parameter \#1 \$query of method WP_HTML_Tag_Processor\:\:next_tag\(\) expects array\{tag_name\?\: string\|null, match_offset\?\: int\|null, class_name\?\: string\|null, tag_closers\?\: string\|null\}\|null, ''video'' given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/ProductDetails.php
+
+ -
+ message: '#^Access to property \$context on an unknown class Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 2
+ path: src/Blocks/BlockTypes/ProductFilterActive.php
+
+ -
+ message: '#^Access to property \$parsed_block on an unknown class Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/ProductFilterActive.php
+
+ -
+ message: '#^Parameter \#1 \$extra_attributes of function get_block_wrapper_attributes expects array\<string, string\>, array\<string, string\|false\> given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/ProductFilterActive.php
+
+ -
+ message: '#^Parameter \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductFilterActive\:\:render\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/ProductFilterActive.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$attribute_id\.$#'
+ identifier: property.notFound
+ count: 2
+ path: src/Blocks/BlockTypes/ProductFilterAttribute.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$attribute_label\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/ProductFilterAttribute.php
+
+ -
+ message: '#^Access to property \$context on an unknown class Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 2
+ path: src/Blocks/BlockTypes/ProductFilterAttribute.php
+
+ -
+ message: '#^Access to property \$parsed_block on an unknown class Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/ProductFilterAttribute.php
+
+ -
+ message: '#^Cannot access offset mixed on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: src/Blocks/BlockTypes/ProductFilterAttribute.php
+
+ -
+ message: '#^Cannot access property \$attribute_id on mixed\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: src/Blocks/BlockTypes/ProductFilterAttribute.php
+
+ -
+ message: '#^Cannot access property \$name on stdClass\|null\.$#'
+ identifier: property.nonObject
+ count: 2
+ path: src/Blocks/BlockTypes/ProductFilterAttribute.php
+
+ -
+ message: '#^Cannot access property \$slug on stdClass\|null\.$#'
+ identifier: property.nonObject
+ count: 5
+ path: src/Blocks/BlockTypes/ProductFilterAttribute.php
+
+ -
+ message: '#^Cannot call method with\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Blocks/BlockTypes/ProductFilterAttribute.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductFilterAttribute\:\:delete_default_attribute_id_transient\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/ProductFilterAttribute.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductFilterAttribute\:\:enqueue_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/ProductFilterAttribute.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductFilterAttribute\:\:get_attribute_counts\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/ProductFilterAttribute.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductFilterAttribute\:\:initialize\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/ProductFilterAttribute.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductFilterAttribute\:\:register_block_patterns\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/ProductFilterAttribute.php
+
+ -
+ message: '#^Parameter \#1 \$args of function get_terms expects array\{taxonomy\?\: array\<string\>\|string, object_ids\?\: array\<int\>\|int, orderby\?\: string, order\?\: string, hide_empty\?\: bool\|int, include\?\: array\<int\>\|string, exclude\?\: array\<int\>\|string, exclude_tree\?\: array\<int\>\|string, \.\.\.\}, array\{taxonomy\: mixed, orderby\: string, order\: string, hide_empty\: false\}\|array\{taxonomy\: mixed, orderby\: string, order\: string, include\: list\<int\|string\>\} given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/ProductFilterAttribute.php
+
+ -
+ message: '#^Parameter \#1 \$block of static method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductCollection\\Utils\:\:get_query_vars\(\) expects Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductCollection\\WP_Block, Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/ProductFilterAttribute.php
+
+ -
+ message: '#^Parameter \#1 \$extra_attributes of function get_block_wrapper_attributes expects array\<string, string\>, array\<string, bool\|string\> given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/ProductFilterAttribute.php
+
+ -
+ message: '#^Parameter \#1 \$var of function intval expects array\|bool\|float\|int\|resource\|string\|null, string\|WP_Error given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/ProductFilterAttribute.php
+
+ -
+ message: '#^Parameter \#2 \$array of function array_map expects array, array\<int, WP_Term\>\|WP_Error given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/ProductFilterAttribute.php
+
+ -
+ message: '#^Parameter \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductFilterAttribute\:\:get_attribute_counts\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/ProductFilterAttribute.php
+
+ -
+ message: '#^Parameter \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductFilterAttribute\:\:render\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/ProductFilterAttribute.php
+
+ -
+ message: '#^Access to property \$context on an unknown class Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 2
+ path: src/Blocks/BlockTypes/ProductFilterCheckboxList.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductFilterCheckboxList\:\:render\(\) should return string but returns string\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Blocks/BlockTypes/ProductFilterCheckboxList.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_attr expects string, string\|true given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/ProductFilterCheckboxList.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_attr expects string, string\|true\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/ProductFilterCheckboxList.php
+
+ -
+ message: '#^Parameter \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductFilterCheckboxList\:\:render\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/ProductFilterCheckboxList.php
+
+ -
+ message: '#^Access to property \$context on an unknown class Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 5
+ path: src/Blocks/BlockTypes/ProductFilterChips.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductFilterChips\:\:render\(\) should return string but returns string\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Blocks/BlockTypes/ProductFilterChips.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_attr expects string, string\|true given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/ProductFilterChips.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_attr expects string, string\|true\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/ProductFilterChips.php
+
+ -
+ message: '#^Parameter \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductFilterChips\:\:render\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/ProductFilterChips.php
+
+ -
+ message: '#^Access to property \$context on an unknown class Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/ProductFilterClearButton.php
+
+ -
+ message: '#^Parameter \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductFilterClearButton\:\:render\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/ProductFilterClearButton.php
+
+ -
+ message: '#^Access to property \$context on an unknown class Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 2
+ path: src/Blocks/BlockTypes/ProductFilterPrice.php
+
+ -
+ message: '#^Access to property \$parsed_block on an unknown class Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 2
+ path: src/Blocks/BlockTypes/ProductFilterPrice.php
+
+ -
+ message: '#^Cannot call method with\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Blocks/BlockTypes/ProductFilterPrice.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductFilterPrice\:\:get_filtered_price\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/ProductFilterPrice.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductFilterPrice\:\:initialize\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/ProductFilterPrice.php
+
+ -
+ message: '#^Parameter \#1 \$block of static method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductCollection\\Utils\:\:get_query_vars\(\) expects Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductCollection\\WP_Block, Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/ProductFilterPrice.php
+
+ -
+ message: '#^Parameter \#1 \$extra_attributes of function get_block_wrapper_attributes expects array\<string, string\>, array\<string, bool\|string\> given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/ProductFilterPrice.php
+
+ -
+ message: '#^Parameter \#1 \$extra_attributes of function get_block_wrapper_attributes expects array\<string, string\>, array\<string, string\|false\> given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/ProductFilterPrice.php
+
+ -
+ message: '#^Parameter \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductFilterPrice\:\:get_filtered_price\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/ProductFilterPrice.php
+
+ -
+ message: '#^Parameter \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductFilterPrice\:\:render\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/ProductFilterPrice.php
+
+ -
+ message: '#^Access to property \$context on an unknown class Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 3
+ path: src/Blocks/BlockTypes/ProductFilterPriceSlider.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductFilterPriceSlider\:\:render\(\) should return string but empty return statement found\.$#'
+ identifier: return.empty
+ count: 1
+ path: src/Blocks/BlockTypes/ProductFilterPriceSlider.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductFilterPriceSlider\:\:render\(\) should return string but returns string\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Blocks/BlockTypes/ProductFilterPriceSlider.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_attr expects string, string\|true\|null given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Blocks/BlockTypes/ProductFilterPriceSlider.php
+
+ -
+ message: '#^Parameter \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductFilterPriceSlider\:\:render\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/ProductFilterPriceSlider.php
+
+ -
+ message: '#^Access to property \$context on an unknown class Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 2
+ path: src/Blocks/BlockTypes/ProductFilterRating.php
+
+ -
+ message: '#^Access to property \$parsed_block on an unknown class Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/ProductFilterRating.php
+
+ -
+ message: '#^Cannot call method with\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Blocks/BlockTypes/ProductFilterRating.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductFilterRating\:\:get_rating_counts\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/ProductFilterRating.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductFilterRating\:\:initialize\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/ProductFilterRating.php
+
+ -
+ message: '#^Parameter \#1 \$block of static method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductCollection\\Utils\:\:get_query_vars\(\) expects Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductCollection\\WP_Block, Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/ProductFilterRating.php
+
+ -
+ message: '#^Parameter \#1 \$extra_attributes of function get_block_wrapper_attributes expects array\<string, string\>, array\<string, bool\|string\> given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/ProductFilterRating.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_attr expects string, int given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Blocks/BlockTypes/ProductFilterRating.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_attr expects string, int\<0, max\> given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/ProductFilterRating.php
+
+ -
+ message: '#^Parameter \#2 \$callback of function array_filter expects \(callable\(mixed\)\: bool\)\|null, Closure\(mixed\)\: \(0\|1\) given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/ProductFilterRating.php
+
+ -
+ message: '#^Parameter \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductFilterRating\:\:get_rating_counts\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/ProductFilterRating.php
+
+ -
+ message: '#^Parameter \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductFilterRating\:\:render\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/ProductFilterRating.php
+
+ -
+ message: '#^Access to property \$context on an unknown class Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 2
+ path: src/Blocks/BlockTypes/ProductFilterRemovableChips.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductFilterRemovableChips\:\:render\(\) should return string but returns string\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Blocks/BlockTypes/ProductFilterRemovableChips.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_attr expects string, string\|true\|null given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Blocks/BlockTypes/ProductFilterRemovableChips.php
+
+ -
+ message: '#^Parameter \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductFilterRemovableChips\:\:render\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/ProductFilterRemovableChips.php
+
+ -
+ message: '#^Variable \$classes might not be defined\.$#'
+ identifier: variable.undefined
+ count: 1
+ path: src/Blocks/BlockTypes/ProductFilterRemovableChips.php
+
+ -
+ message: '#^Access to property \$context on an unknown class Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 2
+ path: src/Blocks/BlockTypes/ProductFilterStatus.php
+
+ -
+ message: '#^Access to property \$parsed_block on an unknown class Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/ProductFilterStatus.php
+
+ -
+ message: '#^Cannot call method with\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Blocks/BlockTypes/ProductFilterStatus.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductFilterStatus\:\:enqueue_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/ProductFilterStatus.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductFilterStatus\:\:get_stock_status_counts\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/ProductFilterStatus.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductFilterStatus\:\:initialize\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/ProductFilterStatus.php
+
+ -
+ message: '#^Parameter \#1 \$block of static method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductCollection\\Utils\:\:get_query_vars\(\) expects Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductCollection\\WP_Block, Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/ProductFilterStatus.php
+
+ -
+ message: '#^Parameter \#1 \$extra_attributes of function get_block_wrapper_attributes expects array\<string, string\>, array\<string, bool\|string\> given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/ProductFilterStatus.php
+
+ -
+ message: '#^Parameter \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductFilterStatus\:\:get_stock_status_counts\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/ProductFilterStatus.php
+
+ -
+ message: '#^Parameter \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductFilterStatus\:\:render\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/ProductFilterStatus.php
+
+ -
+ message: '#^Access to property \$context on an unknown class Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 2
+ path: src/Blocks/BlockTypes/ProductFilterTaxonomy.php
+
+ -
+ message: '#^Access to property \$parsed_block on an unknown class Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/ProductFilterTaxonomy.php
+
+ -
+ message: '#^Cannot call method get_hierarchy_map\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Blocks/BlockTypes/ProductFilterTaxonomy.php
+
+ -
+ message: '#^Cannot call method get_param\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 4
+ path: src/Blocks/BlockTypes/ProductFilterTaxonomy.php
+
+ -
+ message: '#^Cannot call method with\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Blocks/BlockTypes/ProductFilterTaxonomy.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductFilterTaxonomy\:\:enqueue_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/ProductFilterTaxonomy.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductFilterTaxonomy\:\:flatten_terms_list\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/ProductFilterTaxonomy.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductFilterTaxonomy\:\:get_hierarchical_terms\(\) never returns WP_Error so it can be removed from the return type\.$#'
+ identifier: return.unusedType
+ count: 1
+ path: src/Blocks/BlockTypes/ProductFilterTaxonomy.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductFilterTaxonomy\:\:get_sorted_terms\(\) should return array but returns array\|WP_Error\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Blocks/BlockTypes/ProductFilterTaxonomy.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductFilterTaxonomy\:\:initialize\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/ProductFilterTaxonomy.php
+
+ -
+ message: '#^Parameter \#1 \$block of static method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductCollection\\Utils\:\:get_query_vars\(\) expects Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductCollection\\WP_Block, Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/ProductFilterTaxonomy.php
+
+ -
+ message: '#^Parameter \#1 \$extra_attributes of function get_block_wrapper_attributes expects array\<string, string\>, array\<string, bool\|string\> given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/ProductFilterTaxonomy.php
+
+ -
+ message: '#^Parameter \#1 \$taxonomy of function get_taxonomy expects string, int\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/ProductFilterTaxonomy.php
+
+ -
+ message: '#^Parameter \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductFilterTaxonomy\:\:get_taxonomy_term_counts\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/ProductFilterTaxonomy.php
+
+ -
+ message: '#^Parameter \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductFilterTaxonomy\:\:render\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/ProductFilterTaxonomy.php
+
+ -
+ message: '#^Possibly invalid array key type mixed\.$#'
+ identifier: offsetAccess.invalidOffset
+ count: 4
+ path: src/Blocks/BlockTypes/ProductFilterTaxonomy.php
+
+ -
+ message: '#^Access to property \$context on an unknown class Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 3
+ path: src/Blocks/BlockTypes/ProductFilters.php
+
+ -
+ message: '#^Access to property \$parsed_block on an unknown class Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/ProductFilters.php
+
+ -
+ message: '#^Cannot access property \$parsed_block on mixed\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: src/Blocks/BlockTypes/ProductFilters.php
+
+ -
+ message: '#^Cannot call method get_param_keys\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Blocks/BlockTypes/ProductFilters.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductFilters\:\:enqueue_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/ProductFilters.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductFilters\:\:initialize_shared_config\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/ProductFilters.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductFilters\:\:placeholder_image\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/ProductFilters.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductFilters\:\:prevent_cache\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/ProductFilters.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductFilters\:\:render\(\) should return string but returns string\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Blocks/BlockTypes/ProductFilters.php
+
+ -
+ message: '#^Parameter \#1 \$extra_attributes of function get_block_wrapper_attributes expects array\<string, string\>, array\<string, bool\|string\|null\> given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/ProductFilters.php
+
+ -
+ message: '#^Parameter \#1 \$str of function md5 expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/ProductFilters.php
+
+ -
+ message: '#^Parameter \#1 \$string of function html_entity_decode expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/ProductFilters.php
+
+ -
+ message: '#^Parameter \#1 \$url of function esc_url_raw expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/ProductFilters.php
+
+ -
+ message: '#^Parameter \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductFilters\:\:render\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/ProductFilters.php
+
+ -
+ message: '#^Property WooCommerce\:\:\$cart \(WC_Cart\) in isset\(\) is not nullable\.$#'
+ identifier: isset.property
+ count: 1
+ path: src/Blocks/BlockTypes/ProductFilters.php
+
+ -
+ message: '#^Access to property \$context on an unknown class Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/ProductGallery.php
+
+ -
+ message: '#^Call to an undefined method WC_Product\:\:get_available_variations\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/ProductGallery.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductGallery\:\:render_dialog\(\) should return string but returns string\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Blocks/BlockTypes/ProductGallery.php
+
+ -
+ message: '#^Parameter \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductGallery\:\:render\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/ProductGallery.php
+
+ -
+ message: '#^Cannot access property \$name on mixed\.$#'
+ identifier: property.nonObject
+ count: 2
+ path: src/Blocks/BlockTypes/ProductGalleryLargeImage.php
+
+ -
+ message: '#^Cannot access property \$parsed_block on mixed\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: src/Blocks/BlockTypes/ProductGalleryLargeImage.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductGalleryLargeImage\:\:enqueue_assets\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/ProductGalleryLargeImage.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductGalleryLargeImage\:\:get_main_images_html\(\) should return array but returns string\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Blocks/BlockTypes/ProductGalleryLargeImage.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductGalleryLargeImage\:\:initialize\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/ProductGalleryLargeImage.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductGalleryLargeImage\:\:render\(\) should return string but returns string\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Blocks/BlockTypes/ProductGalleryLargeImage.php
+
+ -
+ message: '#^Parameter \#1 \$html of function wp_interactivity_process_directives expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/ProductGalleryLargeImage.php
+
+ -
+ message: '#^Parameter \#1 \$query of method WP_HTML_Tag_Processor\:\:next_tag\(\) expects array\{tag_name\?\: string\|null, match_offset\?\: int\|null, class_name\?\: string\|null, tag_closers\?\: string\|null\}\|null, ''a'' given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/ProductGalleryLargeImage.php
+
+ -
+ message: '#^Parameter \#1 \$query of method WP_HTML_Tag_Processor\:\:next_tag\(\) expects array\{tag_name\?\: string\|null, match_offset\?\: int\|null, class_name\?\: string\|null, tag_closers\?\: string\|null\}\|null, ''img'' given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/ProductGalleryLargeImage.php
+
+ -
+ message: '#^Parameter \#3 \$inner_block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductGalleryLargeImage\:\:get_main_images_html\(\) expects WP_Block, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/ProductGalleryLargeImage.php
+
+ -
+ message: '#^Access to property \$context on an unknown class Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 2
+ path: src/Blocks/BlockTypes/ProductGalleryThumbnails.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductGalleryThumbnails\:\:render\(\) should return string but returns string\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Blocks/BlockTypes/ProductGalleryThumbnails.php
+
+ -
+ message: '#^Parameter \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductGalleryThumbnails\:\:render\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/ProductGalleryThumbnails.php
+
+ -
+ message: '#^Access to property \$context on an unknown class Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 4
+ path: src/Blocks/BlockTypes/ProductImage.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductImage\:\:enqueue_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/ProductImage.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductImage\:\:get_block_type_uses_context\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/ProductImage.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductImage\:\:register_block_type_assets\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/ProductImage.php
+
+ -
+ message: '#^Parameter \#1 \$attachment_id of function wp_get_attachment_image expects int, int\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/ProductImage.php
+
+ -
+ message: '#^Parameter \#4 \$attr of function wp_get_attachment_image expects array\{src\?\: string, class\?\: string, alt\?\: string, srcset\?\: string, sizes\?\: string, loading\?\: string\|false, decoding\?\: string, fetchpriority\?\: string\}, array\{alt\: mixed, data\-testid\: ''product\-image'', data\-image\-id\: int\<min, \-1\>\|int\<1, max\>, style\: string\} given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/ProductImage.php
+
+ -
+ message: '#^Parameter \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductImage\:\:render\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/ProductImage.php
+
+ -
+ message: '#^Access to property \$context on an unknown class Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/ProductImageGallery.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductImageGallery\:\:enqueue_assets\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/ProductImageGallery.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductImageGallery\:\:enqueue_legacy_assets\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/ProductImageGallery.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductImageGallery\:\:register_block_type_assets\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/ProductImageGallery.php
+
+ -
+ message: '#^Parameter \#3 \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\AbstractBlock\:\:enqueue_assets\(\) expects WP_Block, Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/ProductImageGallery.php
+
+ -
+ message: '#^Parameter \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductImageGallery\:\:enqueue_assets\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/ProductImageGallery.php
+
+ -
+ message: '#^Parameter \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductImageGallery\:\:render\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/ProductImageGallery.php
+
+ -
+ message: '#^Return type \(null\) of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductMeta\:\:get_block_type_editor_script\(\) should be compatible with return type \(array\|string\) of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\AbstractBlock\:\:get_block_type_editor_script\(\)$#'
+ identifier: method.childReturnType
+ count: 1
+ path: src/Blocks/BlockTypes/ProductMeta.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductNew\:\:set_block_query_args\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/ProductNew.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductOnSale\:\:set_block_query_args\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/ProductOnSale.php
+
+ -
+ message: '#^Access to property \$context on an unknown class Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 4
+ path: src/Blocks/BlockTypes/ProductPrice.php
+
+ -
+ message: '#^Call to an undefined method WC_Product\:\:get_available_variations\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/ProductPrice.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductPrice\:\:get_block_type_uses_context\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/ProductPrice.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductPrice\:\:initialize_shared_config\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/ProductPrice.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductPrice\:\:placeholder_image\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/ProductPrice.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductPrice\:\:prevent_cache\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/ProductPrice.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductPrice\:\:register_block_type_assets\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/ProductPrice.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductPrice\:\:render\(\) should return string but return statement is missing\.$#'
+ identifier: return.missing
+ count: 1
+ path: src/Blocks/BlockTypes/ProductPrice.php
+
+ -
+ message: '#^Parameter \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductPrice\:\:render\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/ProductPrice.php
+
+ -
+ message: '#^Property WooCommerce\:\:\$cart \(WC_Cart\) in isset\(\) is not nullable\.$#'
+ identifier: isset.property
+ count: 1
+ path: src/Blocks/BlockTypes/ProductPrice.php
+
+ -
+ message: '#^Access to property \$context on an unknown class Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/ProductQuery.php
+
+ -
+ message: '#^Call to function is_array\(\) with array\<array\> will always evaluate to true\.$#'
+ identifier: function.alreadyNarrowedType
+ count: 1
+ path: src/Blocks/BlockTypes/ProductQuery.php
+
+ -
+ message: '#^Call to method get_param\(\) on an unknown class Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 4
+ path: src/Blocks/BlockTypes/ProductQuery.php
+
+ -
+ message: '#^Cannot access an offset on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: src/Blocks/BlockTypes/ProductQuery.php
+
+ -
+ message: '#^Cannot access offset ''offset'' on WP_Query\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Blocks/BlockTypes/ProductQuery.php
+
+ -
+ message: '#^Cannot access offset ''order'' on WP_Query\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Blocks/BlockTypes/ProductQuery.php
+
+ -
+ message: '#^Cannot access offset ''orderby'' on WP_Query\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: src/Blocks/BlockTypes/ProductQuery.php
+
+ -
+ message: '#^Cannot access offset ''posts_per_page'' on WP_Query\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Blocks/BlockTypes/ProductQuery.php
+
+ -
+ message: '#^Cannot access offset ''taxonomy'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Blocks/BlockTypes/ProductQuery.php
+
+ -
+ message: '#^Cannot access offset ''terms'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Blocks/BlockTypes/ProductQuery.php
+
+ -
+ message: '#^Cannot access offset mixed on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Blocks/BlockTypes/ProductQuery.php
+
+ -
+ message: '#^Cannot access offset string on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Blocks/BlockTypes/ProductQuery.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductQuery\:\:array_merge_recursive_replace_non_array_properties\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/ProductQuery.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductQuery\:\:build_query\(\) should return array but returns WP_Query\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Blocks/BlockTypes/ProductQuery.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductQuery\:\:check_if_post_template_has_support_for_grid_view\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/ProductQuery.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductQuery\:\:enqueue_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/ProductQuery.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductQuery\:\:initialize\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/ProductQuery.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductQuery\:\:update_query\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/ProductQuery.php
+
+ -
+ message: '#^Parameter \#1 \$query of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductQuery\:\:get_filter_by_taxonomies_query\(\) expects array, WP_Query given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/ProductQuery.php
+
+ -
+ message: '#^Parameter \#2 \$search of function key_exists expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/ProductQuery.php
+
+ -
+ message: '#^Parameter \#2 \$str of function explode expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 3
+ path: src/Blocks/BlockTypes/ProductQuery.php
+
+ -
+ message: '#^Parameter \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductQuery\:\:build_query\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/ProductQuery.php
+
+ -
+ message: '#^Parameter \$request of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductQuery\:\:update_rest_query\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_REST_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/ProductQuery.php
+
+ -
+ message: '#^Access to property \$context on an unknown class Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 2
+ path: src/Blocks/BlockTypes/ProductRating.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductRating\:\:get_block_type_style\(\) should return null but returns array\<mixed, mixed\>\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Blocks/BlockTypes/ProductRating.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductRating\:\:get_block_type_uses_context\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/ProductRating.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductRating\:\:register_block_type_assets\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/ProductRating.php
+
+ -
+ message: '#^Parameter \#1 \$arr1 of function array_merge expects array, array\<string\>\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/ProductRating.php
+
+ -
+ message: '#^Parameter \#1 \$url of function esc_url expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/ProductRating.php
+
+ -
+ message: '#^Parameter \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductRating\:\:render\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/ProductRating.php
+
+ -
+ message: '#^Access to property \$context on an unknown class Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/ProductRatingCounter.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductRatingCounter\:\:get_block_type_uses_context\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/ProductRatingCounter.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductRatingCounter\:\:register_block_type_assets\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/ProductRatingCounter.php
+
+ -
+ message: '#^Parameter \#1 \$url of function esc_url expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/ProductRatingCounter.php
+
+ -
+ message: '#^Parameter \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductRatingCounter\:\:render\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/ProductRatingCounter.php
+
+ -
+ message: '#^Access to property \$context on an unknown class Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/ProductRatingStars.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductRatingStars\:\:get_block_type_uses_context\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/ProductRatingStars.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductRatingStars\:\:register_block_type_assets\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/ProductRatingStars.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductRatingStars\:\:render\(\) should return string but return statement is missing\.$#'
+ identifier: return.missing
+ count: 1
+ path: src/Blocks/BlockTypes/ProductRatingStars.php
+
+ -
+ message: '#^Parameter \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductRatingStars\:\:render\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/ProductRatingStars.php
+
+ -
+ message: '#^Access to property \$context on an unknown class Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 2
+ path: src/Blocks/BlockTypes/ProductResultsCount.php
+
+ -
+ message: '#^Parameter \#1 \$html of class WP_HTML_Tag_Processor constructor expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/ProductResultsCount.php
+
+ -
+ message: '#^Parameter \#1 \$query of method WP_HTML_Tag_Processor\:\:next_tag\(\) expects array\{tag_name\?\: string\|null, match_offset\?\: int\|null, class_name\?\: string\|null, tag_closers\?\: string\|null\}\|null, ''div'' given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/ProductResultsCount.php
+
+ -
+ message: '#^Parameter \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductResultsCount\:\:render\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/ProductResultsCount.php
+
+ -
+ message: '#^Access to property \$context on an unknown class Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 2
+ path: src/Blocks/BlockTypes/ProductSKU.php
+
+ -
+ message: '#^Call to an undefined method WC_Product\:\:get_available_variations\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/ProductSKU.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductSKU\:\:get_block_type_uses_context\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/ProductSKU.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductSKU\:\:register_block_type_assets\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/ProductSKU.php
+
+ -
+ message: '#^Parameter \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductSKU\:\:render\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/ProductSKU.php
+
+ -
+ message: '#^@param Automattic\\WooCommerce\\Blocks\\BlockTypes\\WC_Product \$product does not accept actual type of parameter\: WC_Product\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: src/Blocks/BlockTypes/ProductSaleBadge.php
+
+ -
+ message: '#^Access to property \$context on an unknown class Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 2
+ path: src/Blocks/BlockTypes/ProductSaleBadge.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductSaleBadge\:\:get_block_type_uses_context\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/ProductSaleBadge.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductSaleBadge\:\:register_block_type_assets\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/ProductSaleBadge.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductSaleBadge\:\:render\(\) should return string but returns null\.$#'
+ identifier: return.type
+ count: 2
+ path: src/Blocks/BlockTypes/ProductSaleBadge.php
+
+ -
+ message: '#^Parameter \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductSaleBadge\:\:render\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/ProductSaleBadge.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Assets\\Api\:\:add_inline_script\(\) invoked with 3 parameters, 2 required\.$#'
+ identifier: arguments.count
+ count: 1
+ path: src/Blocks/BlockTypes/ProductSearch.php
+
+ -
+ message: '#^Parameter \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductSearch\:\:render\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/ProductSearch.php
+
+ -
+ message: '#^Access to property \$context on an unknown class Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 2
+ path: src/Blocks/BlockTypes/ProductSpecifications.php
+
+ -
+ message: '#^Call to an undefined method WC_Product\:\:get_available_variations\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/ProductSpecifications.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductSpecifications\:\:render\(\) should return string but returns string\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Blocks/BlockTypes/ProductSpecifications.php
+
+ -
+ message: '#^Parameter \#1 \$dimensions of function wc_format_dimensions expects array, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/ProductSpecifications.php
+
+ -
+ message: '#^Parameter \#1 \$url of function esc_url expects string, string\|WP_Error given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/ProductSpecifications.php
+
+ -
+ message: '#^Parameter \#1 \$weight of function wc_format_weight expects float, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/ProductSpecifications.php
+
+ -
+ message: '#^Parameter \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductSpecifications\:\:render\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/ProductSpecifications.php
+
+ -
+ message: '#^Access to property \$context on an unknown class Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 4
+ path: src/Blocks/BlockTypes/ProductStockIndicator.php
+
+ -
+ message: '#^Class Automattic\\WooCommerce\\Blocks\\BlockTypes\\WC_Product not found\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/ProductStockIndicator.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductStockIndicator\:\:enqueue_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/ProductStockIndicator.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductStockIndicator\:\:get_block_type_uses_context\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/ProductStockIndicator.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductStockIndicator\:\:initialize_shared_config\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/ProductStockIndicator.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductStockIndicator\:\:placeholder_image\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/ProductStockIndicator.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductStockIndicator\:\:prevent_cache\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/ProductStockIndicator.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductStockIndicator\:\:register_block_type_assets\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/ProductStockIndicator.php
+
+ -
+ message: '#^Parameter \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductStockIndicator\:\:render\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/ProductStockIndicator.php
+
+ -
+ message: '#^Property WooCommerce\:\:\$cart \(WC_Cart\) in isset\(\) is not nullable\.$#'
+ identifier: isset.property
+ count: 1
+ path: src/Blocks/BlockTypes/ProductStockIndicator.php
+
+ -
+ message: '#^Variable \$content in empty\(\) always exists and is always falsy\.$#'
+ identifier: empty.variable
+ count: 1
+ path: src/Blocks/BlockTypes/ProductStockIndicator.php
+
+ -
+ message: '#^Access to property \$context on an unknown class Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/ProductSummary.php
+
+ -
+ message: '#^Call to method get_description\(\) on an unknown class Automattic\\WooCommerce\\Blocks\\BlockTypes\\WC_Product\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/ProductSummary.php
+
+ -
+ message: '#^Call to method get_permalink\(\) on an unknown class Automattic\\WooCommerce\\Blocks\\BlockTypes\\WC_Product\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/ProductSummary.php
+
+ -
+ message: '#^Call to method get_short_description\(\) on an unknown class Automattic\\WooCommerce\\Blocks\\BlockTypes\\WC_Product\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/ProductSummary.php
+
+ -
+ message: '#^Cannot call method run_shortcode\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: src/Blocks/BlockTypes/ProductSummary.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductSummary\:\:get_block_type_uses_context\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/ProductSummary.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductSummary\:\:register_block_type_assets\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/ProductSummary.php
+
+ -
+ message: '#^Parameter \#1 \$product of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductSummary\:\:create_anchor\(\) expects Automattic\\WooCommerce\\Blocks\\BlockTypes\\WC_Product, WC_Product given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/ProductSummary.php
+
+ -
+ message: '#^Parameter \#1 \$product of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductSummary\:\:get_source\(\) expects Automattic\\WooCommerce\\Blocks\\BlockTypes\\WC_Product, WC_Product given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/ProductSummary.php
+
+ -
+ message: '#^Parameter \#1 \$string of function strlen expects string, string\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/ProductSummary.php
+
+ -
+ message: '#^Parameter \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductSummary\:\:render\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/ProductSummary.php
+
+ -
+ message: '#^Parameter \$product of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductSummary\:\:create_anchor\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\WC_Product\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/ProductSummary.php
+
+ -
+ message: '#^Parameter \$product of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductSummary\:\:get_source\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\WC_Product\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/ProductSummary.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductTag\:\:enqueue_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/ProductTag.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductTag\:\:set_block_query_args\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/ProductTag.php
+
+ -
+ message: '#^Parameter \#1 \$args of function wp_count_terms expects array\{taxonomy\?\: array\<string\>\|string, object_ids\?\: array\<int\>\|int, orderby\?\: string, order\?\: string, hide_empty\?\: bool\|int, include\?\: array\<int\>\|string, exclude\?\: array\<int\>\|string, exclude_tree\?\: array\<int\>\|string, \.\.\.\}, ''product_tag'' given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/ProductTag.php
+
+ -
+ message: '#^Parameter \#1 \$default of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\AbstractDynamicBlock\:\:get_schema_boolean\(\) expects string, false given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Blocks/BlockTypes/ProductTag.php
+
+ -
+ message: '#^Parameter \#1 \$default of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\AbstractDynamicBlock\:\:get_schema_number\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Blocks/BlockTypes/ProductTag.php
+
+ -
+ message: '#^Iterating over an object of an unknown class Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block_List\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/ProductTemplate.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductTemplate\:\:initialize\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/ProductTemplate.php
+
+ -
+ message: '#^Parameter \#1 \$block of static method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductCollection\\Utils\:\:prepare_and_execute_query\(\) expects Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductCollection\\WP_Block, WP_Block given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/ProductTemplate.php
+
+ -
+ message: '#^Parameter \#1 \$inner_blocks of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductTemplate\:\:block_core_post_template_uses_featured_image\(\) expects Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block_List, WP_Block_List given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/ProductTemplate.php
+
+ -
+ message: '#^Parameter \$inner_blocks of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductTemplate\:\:block_core_post_template_uses_featured_image\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block_List\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/ProductTemplate.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductTitle\:\:register_block_type_assets\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/ProductTitle.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductTopRated\:\:set_block_query_args\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/ProductTopRated.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ProductsByAttribute\:\:set_block_query_args\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/ProductsByAttribute.php
+
+ -
+ message: '#^Parameter \#1 \$default of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\AbstractDynamicBlock\:\:get_schema_boolean\(\) expects string, false given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Blocks/BlockTypes/ProductsByAttribute.php
+
+ -
+ message: '#^Parameter \#1 \$default of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\AbstractDynamicBlock\:\:get_schema_number\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Blocks/BlockTypes/ProductsByAttribute.php
+
+ -
+ message: '#^Parameter \#1 \$arr1 of function array_merge expects array, array\<string\>\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/RatingFilter.php
+
+ -
+ message: '#^Access to offset ''posts_per_page'' on an unknown class Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Query\.$#'
+ identifier: class.notFound
+ count: 2
+ path: src/Blocks/BlockTypes/RelatedProducts.php
+
+ -
+ message: '#^Cannot access property \$context on array\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: src/Blocks/BlockTypes/RelatedProducts.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\RelatedProducts\:\:build_query\(\) should return array but returns Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Query\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Blocks/BlockTypes/RelatedProducts.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\RelatedProducts\:\:initialize\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/RelatedProducts.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\RelatedProducts\:\:register_block_type_assets\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/RelatedProducts.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\RelatedProducts\:\:update_query\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/RelatedProducts.php
+
+ -
+ message: '#^Parameter \#2 \$callback of function array_filter expects \(callable\(WC_Product\|false\|null\)\: bool\)\|null, ''wc_products_array…'' given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/RelatedProducts.php
+
+ -
+ message: '#^Parameter \#2 \$limit of function wc_get_related_products expects int, float\|int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/RelatedProducts.php
+
+ -
+ message: '#^Parameter \#2 \$rendered_block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\RelatedProducts\:\:is_related_products_block\(\) expects array\|null, Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/RelatedProducts.php
+
+ -
+ message: '#^Parameter \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\RelatedProducts\:\:build_query\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/RelatedProducts.php
+
+ -
+ message: '#^Parameter \$query of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\RelatedProducts\:\:build_query\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Query\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/RelatedProducts.php
+
+ -
+ message: '#^Access to property \$context on an unknown class Automattic\\WooCommerce\\Blocks\\BlockTypes\\Reviews\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 2
+ path: src/Blocks/BlockTypes/Reviews/ProductReviewAuthorName.php
+
+ -
+ message: '#^Parameter \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\Reviews\\ProductReviewAuthorName\:\:render\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\Reviews\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/Reviews/ProductReviewAuthorName.php
+
+ -
+ message: '#^Access to property \$context on an unknown class Automattic\\WooCommerce\\Blocks\\BlockTypes\\Reviews\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 2
+ path: src/Blocks/BlockTypes/Reviews/ProductReviewContent.php
+
+ -
+ message: '#^Parameter \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\Reviews\\ProductReviewContent\:\:render\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\Reviews\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/Reviews/ProductReviewContent.php
+
+ -
+ message: '#^Access to property \$context on an unknown class Automattic\\WooCommerce\\Blocks\\BlockTypes\\Reviews\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 2
+ path: src/Blocks/BlockTypes/Reviews/ProductReviewDate.php
+
+ -
+ message: '#^Parameter \#1 \$from of function human_time_diff expects int, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/Reviews/ProductReviewDate.php
+
+ -
+ message: '#^Parameter \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\Reviews\\ProductReviewDate\:\:render\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\Reviews\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/Reviews/ProductReviewDate.php
+
+ -
+ message: '#^Access to property \$context on an unknown class Automattic\\WooCommerce\\Blocks\\BlockTypes\\Reviews\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 5
+ path: src/Blocks/BlockTypes/Reviews/ProductReviewForm.php
+
+ -
+ message: '#^Expected 1 @param tags, found 2\.$#'
+ identifier: paramTag.count
+ count: 1
+ path: src/Blocks/BlockTypes/Reviews/ProductReviewForm.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\Reviews\\ProductReviewForm\:\:render_stars\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/Reviews/ProductReviewForm.php
+
+ -
+ message: '#^Parameter \#1 \$query of method WP_HTML_Tag_Processor\:\:next_tag\(\) expects array\{tag_name\?\: string\|null, match_offset\?\: int\|null, class_name\?\: string\|null, tag_closers\?\: string\|null\}\|null, ''form'' given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/Reviews/ProductReviewForm.php
+
+ -
+ message: '#^Parameter \#3 \$subject of function str_replace expects array\<string\>\|string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/Reviews/ProductReviewForm.php
+
+ -
+ message: '#^Parameter \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\Reviews\\ProductReviewForm\:\:render\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\Reviews\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/Reviews/ProductReviewForm.php
+
+ -
+ message: '#^Variable \$interactivity_config in empty\(\) always exists and is not falsy\.$#'
+ identifier: empty.variable
+ count: 1
+ path: src/Blocks/BlockTypes/Reviews/ProductReviewForm.php
+
+ -
+ message: '#^Access to property \$context on an unknown class Automattic\\WooCommerce\\Blocks\\BlockTypes\\Reviews\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 2
+ path: src/Blocks/BlockTypes/Reviews/ProductReviewRating.php
+
+ -
+ message: '#^Parameter \#1 \$var of function intval expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/Reviews/ProductReviewRating.php
+
+ -
+ message: '#^Parameter \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\Reviews\\ProductReviewRating\:\:render\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\Reviews\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/Reviews/ProductReviewRating.php
+
+ -
+ message: '#^Access to property \$comment_ID on an unknown class Automattic\\WooCommerce\\Blocks\\BlockTypes\\Reviews\\WP_Comment\.$#'
+ identifier: class.notFound
+ count: 3
+ path: src/Blocks/BlockTypes/Reviews/ProductReviewTemplate.php
+
+ -
+ message: '#^Access to property \$comment_post_ID on an unknown class Automattic\\WooCommerce\\Blocks\\BlockTypes\\Reviews\\WP_Comment\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/Reviews/ProductReviewTemplate.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\Reviews\\ProductReviewTemplate\:\:render\(\) should return string but empty return statement found\.$#'
+ identifier: return.empty
+ count: 1
+ path: src/Blocks/BlockTypes/Reviews/ProductReviewTemplate.php
+
+ -
+ message: '#^Parameter \#1 \$input of function array_reverse expects array, array\<int\|WP_Comment\>\|int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/Reviews/ProductReviewTemplate.php
+
+ -
+ message: '#^Parameter \#1 \$var of function count expects array\|Countable, array\<int\|WP_Comment\>\|int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/Reviews/ProductReviewTemplate.php
+
+ -
+ message: '#^Parameter \$comments of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\Reviews\\ProductReviewTemplate\:\:block_product_review_template_render_comments\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\Reviews\\WP_Comment\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/Reviews/ProductReviewTemplate.php
+
+ -
+ message: '#^Access to property \$parsed_block on an unknown class Automattic\\WooCommerce\\Blocks\\BlockTypes\\Reviews\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/Reviews/ProductReviews.php
+
+ -
+ message: '#^Parameter \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\Reviews\\ProductReviews\:\:render\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\Reviews\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/Reviews/ProductReviews.php
+
+ -
+ message: '#^Parameter \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\Reviews\\ProductReviews\:\:render_legacy_block\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\Reviews\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/Reviews/ProductReviews.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\Reviews\\ProductReviewsPagination\:\:render\(\) should return string but empty return statement found\.$#'
+ identifier: return.empty
+ count: 1
+ path: src/Blocks/BlockTypes/Reviews/ProductReviewsPagination.php
+
+ -
+ message: '#^Parameter \#1 \$query of method WP_HTML_Tag_Processor\:\:next_tag\(\) expects array\{tag_name\?\: string\|null, match_offset\?\: int\|null, class_name\?\: string\|null, tag_closers\?\: string\|null\}\|null, ''a'' given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/Reviews/ProductReviewsPagination.php
+
+ -
+ message: '#^Parameter \#3 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/Reviews/ProductReviewsPaginationNumbers.php
+
+ -
+ message: '#^Access to property \$context on an unknown class Automattic\\WooCommerce\\Blocks\\BlockTypes\\Reviews\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/Reviews/ProductReviewsTitle.php
+
+ -
+ message: '#^Call to method get_review_count\(\) on an unknown class Automattic\\WooCommerce\\Blocks\\BlockTypes\\Reviews\\WC_Product\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/Reviews/ProductReviewsTitle.php
+
+ -
+ message: '#^Call to method get_title\(\) on an unknown class Automattic\\WooCommerce\\Blocks\\BlockTypes\\Reviews\\WC_Product\.$#'
+ identifier: class.notFound
+ count: 4
+ path: src/Blocks/BlockTypes/Reviews/ProductReviewsTitle.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\Reviews\\ProductReviewsTitle\:\:render\(\) should return string but empty return statement found\.$#'
+ identifier: return.empty
+ count: 1
+ path: src/Blocks/BlockTypes/Reviews/ProductReviewsTitle.php
+
+ -
+ message: '#^Parameter \#2 \$product of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\Reviews\\ProductReviewsTitle\:\:get_reviews_title\(\) expects Automattic\\WooCommerce\\Blocks\\BlockTypes\\Reviews\\WC_Product, WC_Product given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/Reviews/ProductReviewsTitle.php
+
+ -
+ message: '#^Parameter \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\Reviews\\ProductReviewsTitle\:\:render\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\Reviews\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/Reviews/ProductReviewsTitle.php
+
+ -
+ message: '#^Parameter \$product of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\Reviews\\ProductReviewsTitle\:\:get_reviews_title\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\Reviews\\WC_Product\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/Reviews/ProductReviewsTitle.php
+
+ -
+ message: '#^Right side of && is always true\.$#'
+ identifier: booleanAnd.rightAlwaysTrue
+ count: 2
+ path: src/Blocks/BlockTypes/Reviews/ProductReviewsTitle.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ReviewsByCategory\:\:enqueue_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/ReviewsByCategory.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\ReviewsByProduct\:\:enqueue_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/ReviewsByProduct.php
+
+ -
+ message: '#^Access to property \$context on an unknown class Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/SingleProduct.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\SingleProduct\:\:initialize\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/SingleProduct.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\SingleProduct\:\:replace_post_for_single_product_inner_block\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/SingleProduct.php
+
+ -
+ message: '#^PHPDoc tag @var above a method has no effect\.$#'
+ identifier: varTag.misplaced
+ count: 1
+ path: src/Blocks/BlockTypes/SingleProduct.php
+
+ -
+ message: '#^PHPDoc tag @var does not specify variable name\.$#'
+ identifier: varTag.noVariable
+ count: 1
+ path: src/Blocks/BlockTypes/SingleProduct.php
+
+ -
+ message: '#^Parameter \#3 \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\AbstractBlock\:\:render\(\) expects WP_Block, Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/SingleProduct.php
+
+ -
+ message: '#^Parameter \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\SingleProduct\:\:render\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/SingleProduct.php
+
+ -
+ message: '#^Parameter \$parent_block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\SingleProduct\:\:update_context\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/SingleProduct.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\StockFilter\:\:enqueue_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/StockFilter.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypes\\StockFilter\:\:get_stock_status_query_var_values\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypes/StockFilter.php
+
+ -
+ message: '#^Parameter \#1 \$arr1 of function array_merge expects array, array\<string\>\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypes/StockFilter.php
+
+ -
+ message: '#^Parameter \$block of method Automattic\\WooCommerce\\Blocks\\BlockTypes\\StoreNotices\:\:render\(\) has invalid type Automattic\\WooCommerce\\Blocks\\BlockTypes\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/BlockTypes/StoreNotices.php
+
+ -
+ message: '#^Callback expects 1 parameter, \$accepted_args is set to 2\.$#'
+ identifier: arguments.count
+ count: 1
+ path: src/Blocks/BlockTypesController.php
+
+ -
+ message: '#^Constant WC_ABSPATH not found\.$#'
+ identifier: constant.notFound
+ count: 2
+ path: src/Blocks/BlockTypesController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypesController\:\:delete_product_transients\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypesController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypesController\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypesController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypesController\:\:redirect_to_field\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypesController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypesController\:\:register_block_categories\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypesController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypesController\:\:register_block_metadata\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypesController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypesController\:\:register_block_patterns\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypesController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\BlockTypesController\:\:register_blocks\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/BlockTypesController.php
+
+ -
+ message: '#^Parameter \#1 \$str of function strtolower expects string, string\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypesController.php
+
+ -
+ message: '#^Parameter \#1 \$url of function esc_url_raw expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypesController.php
+
+ -
+ message: '#^Parameter \#2 \$value of method WP_HTML_Tag_Processor\:\:set_attribute\(\) expects bool\|string, float\|int\|string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/BlockTypesController.php
+
+ -
+ message: '#^Cannot call method container\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 4
+ path: src/Blocks/Domain/Bootstrap.php
+
+ -
+ message: '#^Cannot call method init\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 14
+ path: src/Blocks/Domain/Bootstrap.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Domain\\Bootstrap\:\:add_build_notice\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Domain/Bootstrap.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Domain\\Bootstrap\:\:deprecated_dependency\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Domain/Bootstrap.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Domain\\Bootstrap\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Domain/Bootstrap.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Domain\\Bootstrap\:\:register_dependencies\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Domain/Bootstrap.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Domain\\Bootstrap\:\:register_payment_methods\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Domain/Bootstrap.php
+
+ -
+ message: '#^Parameter \#1 \$asset_api of class Automattic\\WooCommerce\\Blocks\\AssetsController constructor expects Automattic\\WooCommerce\\Blocks\\Assets\\Api, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/Domain/Bootstrap.php
+
+ -
+ message: '#^Parameter \#1 \$asset_api of class Automattic\\WooCommerce\\Blocks\\Assets\\AssetDataRegistry constructor expects Automattic\\WooCommerce\\Blocks\\Assets\\Api, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/Domain/Bootstrap.php
+
+ -
+ message: '#^Parameter \#1 \$asset_api of class Automattic\\WooCommerce\\Blocks\\BlockTypesController constructor expects Automattic\\WooCommerce\\Blocks\\Assets\\Api, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/Domain/Bootstrap.php
+
+ -
+ message: '#^Parameter \#1 \$asset_api of class Automattic\\WooCommerce\\Blocks\\Domain\\Services\\GoogleAnalytics constructor expects Automattic\\WooCommerce\\Blocks\\Assets\\Api, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/Domain/Bootstrap.php
+
+ -
+ message: '#^Parameter \#1 \$asset_api of class Automattic\\WooCommerce\\Blocks\\Payments\\Integrations\\BankTransfer constructor expects Automattic\\WooCommerce\\Blocks\\Assets\\Api, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/Domain/Bootstrap.php
+
+ -
+ message: '#^Parameter \#1 \$asset_api of class Automattic\\WooCommerce\\Blocks\\Payments\\Integrations\\CashOnDelivery constructor expects Automattic\\WooCommerce\\Blocks\\Assets\\Api, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/Domain/Bootstrap.php
+
+ -
+ message: '#^Parameter \#1 \$asset_api of class Automattic\\WooCommerce\\Blocks\\Payments\\Integrations\\Cheque constructor expects Automattic\\WooCommerce\\Blocks\\Assets\\Api, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/Domain/Bootstrap.php
+
+ -
+ message: '#^Parameter \#1 \$asset_api of class Automattic\\WooCommerce\\Blocks\\Payments\\Integrations\\PayPal constructor expects Automattic\\WooCommerce\\Blocks\\Assets\\Api, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/Domain/Bootstrap.php
+
+ -
+ message: '#^Parameter \#1 \$asset_data_registry of class Automattic\\WooCommerce\\Blocks\\Domain\\Services\\CheckoutFields constructor expects Automattic\\WooCommerce\\Blocks\\Assets\\AssetDataRegistry, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/Domain/Bootstrap.php
+
+ -
+ message: '#^Parameter \#1 \$asset_data_registry of class Automattic\\WooCommerce\\Blocks\\Domain\\Services\\Hydration constructor expects Automattic\\WooCommerce\\Blocks\\Assets\\AssetDataRegistry, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/Domain/Bootstrap.php
+
+ -
+ message: '#^Parameter \#1 \$asset_data_registry of class Automattic\\WooCommerce\\Blocks\\Templates\\ClassicTemplatesCompatibility constructor expects Automattic\\WooCommerce\\Blocks\\Assets\\AssetDataRegistry, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/Domain/Bootstrap.php
+
+ -
+ message: '#^Parameter \#1 \$checkout_fields_controller of class Automattic\\WooCommerce\\Blocks\\Domain\\Services\\CheckoutFieldsAdmin constructor expects Automattic\\WooCommerce\\Blocks\\Domain\\Services\\CheckoutFields, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/Domain/Bootstrap.php
+
+ -
+ message: '#^Parameter \#1 \$checkout_fields_controller of class Automattic\\WooCommerce\\Blocks\\Domain\\Services\\CheckoutFieldsFrontend constructor expects Automattic\\WooCommerce\\Blocks\\Domain\\Services\\CheckoutFields, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/Domain/Bootstrap.php
+
+ -
+ message: '#^Parameter \#1 \$package of class Automattic\\WooCommerce\\Blocks\\Assets\\Api constructor expects Automattic\\WooCommerce\\Blocks\\Domain\\Package, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/Domain/Bootstrap.php
+
+ -
+ message: '#^Parameter \#1 \$package of class Automattic\\WooCommerce\\Blocks\\Domain\\Services\\DraftOrders constructor expects Automattic\\WooCommerce\\Blocks\\Domain\\Package, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/Domain/Bootstrap.php
+
+ -
+ message: '#^Parameter \#1 \$package of class Automattic\\WooCommerce\\Blocks\\Domain\\Services\\Notices constructor expects Automattic\\WooCommerce\\Blocks\\Domain\\Package, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/Domain/Bootstrap.php
+
+ -
+ message: '#^Parameter \#1 \$payment_method_registry of class Automattic\\WooCommerce\\Blocks\\Payments\\Api constructor expects Automattic\\WooCommerce\\Blocks\\Payments\\PaymentMethodRegistry, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/Domain/Bootstrap.php
+
+ -
+ message: '#^Parameter \#1 \$ptk_client of class Automattic\\WooCommerce\\Blocks\\Patterns\\PTKPatternsStore constructor expects Automattic\\WooCommerce\\Blocks\\Patterns\\PTKClient, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/Domain/Bootstrap.php
+
+ -
+ message: '#^Parameter \#1 \$version1 of function version_compare expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/Domain/Bootstrap.php
+
+ -
+ message: '#^Parameter \#2 \$asset_data_registry of class Automattic\\WooCommerce\\Blocks\\BlockTypesController constructor expects Automattic\\WooCommerce\\Blocks\\Assets\\AssetDataRegistry, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/Domain/Bootstrap.php
+
+ -
+ message: '#^Parameter \#2 \$asset_registry of class Automattic\\WooCommerce\\Blocks\\Payments\\Api constructor expects Automattic\\WooCommerce\\Blocks\\Assets\\AssetDataRegistry, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/Domain/Bootstrap.php
+
+ -
+ message: '#^Parameter \#3 \$ptk_patterns_store of class Automattic\\WooCommerce\\Blocks\\BlockPatterns constructor expects Automattic\\WooCommerce\\Blocks\\Patterns\\PTKPatternsStore, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/Domain/Bootstrap.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Blocks\\Domain\\Bootstrap\:\:\$package \(Automattic\\WooCommerce\\Blocks\\Domain\\Package\) does not accept mixed\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/Blocks/Domain/Bootstrap.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Domain\\Package\:\:get_version_stored_on_db\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Blocks/Domain/Package.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Domain\\Package\:\:set_version_stored_on_db\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Domain/Package.php
+
+ -
+ message: '#^@param tag must not be named \$this\. Choose a descriptive alias, for example \$instance\.$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Blocks/Domain/Services/CheckoutFields.php
+
+ -
+ message: '#^Cannot access offset ''label'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Blocks/Domain/Services/CheckoutFields.php
+
+ -
+ message: '#^Cannot access offset ''value'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Blocks/Domain/Services/CheckoutFields.php
+
+ -
+ message: '#^Instanceof between WC_Data and WC_Data will always evaluate to true\.$#'
+ identifier: instanceof.alwaysTrue
+ count: 1
+ path: src/Blocks/Domain/Services/CheckoutFields.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Domain\\Services\\CheckoutFields\:\:add_fields_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Domain/Services/CheckoutFields.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Domain\\Services\\CheckoutFields\:\:deregister_checkout_field\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Domain/Services/CheckoutFields.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Domain\\Services\\CheckoutFields\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Domain/Services/CheckoutFields.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Domain\\Services\\CheckoutFields\:\:process_checkbox_field\(\) never returns false so it can be removed from the return type\.$#'
+ identifier: return.unusedType
+ count: 1
+ path: src/Blocks/Domain/Services/CheckoutFields.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Domain\\Services\\CheckoutFields\:\:process_field_options\(\) should return array but returns array\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Blocks/Domain/Services/CheckoutFields.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Domain\\Services\\CheckoutFields\:\:sync_customer_additional_fields_with_order\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Domain/Services/CheckoutFields.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Domain\\Services\\CheckoutFields\:\:sync_order_additional_fields_with_customer\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Domain/Services/CheckoutFields.php
+
+ -
+ message: '#^PHPDoc tag @param has invalid value \(CheckoutFields \$this The CheckoutFields instance\.\)\: Unexpected token "\$this", expected variable at offset 732 on line 14$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Blocks/Domain/Services/CheckoutFields.php
+
+ -
+ message: '#^PHPDoc tag @param has invalid value \(bool Whether the field should be shown\.\)\: Unexpected token "Whether", expected variable at offset 333 on line 10$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Blocks/Domain/Services/CheckoutFields.php
+
+ -
+ message: '#^Parameter \#1 \$str of function sanitize_text_field expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Blocks/Domain/Services/CheckoutFields.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_attr expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/Domain/Services/CheckoutFields.php
+
+ -
+ message: '#^Parameter \#1 \$value of method Automattic\\WooCommerce\\Blocks\\Domain\\Services\\CheckoutFields\:\:format_additional_field_value\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/Domain/Services/CheckoutFields.php
+
+ -
+ message: '#^Parameter \#2 \$callback of function array_filter expects \(callable\(mixed\)\: bool\)\|null, Closure\(mixed\)\: array given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/Domain/Services/CheckoutFields.php
+
+ -
+ message: '#^Parameter \#2 \$value of method WC_Data\:\:update_meta_data\(\) expects array\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/Domain/Services/CheckoutFields.php
+
+ -
+ message: '#^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, array given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Blocks/Domain/Services/CheckoutFields.php
+
+ -
+ message: '#^Parameter \#3 \$context of static method Automattic\\WooCommerce\\Blocks\\Domain\\Services\\CheckoutFieldsSchema\\Validation\:\:get_field_schema_with_context\(\) expects string, string\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/Domain/Services/CheckoutFields.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Domain\\Services\\CheckoutFieldsAdmin\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Domain/Services/CheckoutFieldsAdmin.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Domain\\Services\\CheckoutFieldsAdmin\:\:update_callback\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Domain/Services/CheckoutFieldsAdmin.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Domain\\Services\\CheckoutFieldsFrontend\:\:edit_account_form_fields\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Domain/Services/CheckoutFieldsFrontend.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Domain\\Services\\CheckoutFieldsFrontend\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Domain/Services/CheckoutFieldsFrontend.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Domain\\Services\\CheckoutFieldsFrontend\:\:render_address_fields\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Domain/Services/CheckoutFieldsFrontend.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Domain\\Services\\CheckoutFieldsFrontend\:\:render_order_address_fields\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Domain/Services/CheckoutFieldsFrontend.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Domain\\Services\\CheckoutFieldsFrontend\:\:render_order_other_fields\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Domain/Services/CheckoutFieldsFrontend.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Domain\\Services\\CheckoutFieldsFrontend\:\:save_account_form_fields\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Domain/Services/CheckoutFieldsFrontend.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Domain\\Services\\CheckoutFieldsFrontend\:\:save_address_fields\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Domain/Services/CheckoutFieldsFrontend.php
+
+ -
+ message: '#^Negated boolean expression is always false\.$#'
+ identifier: booleanNot.alwaysFalse
+ count: 1
+ path: src/Blocks/Domain/Services/CheckoutFieldsFrontend.php
+
+ -
+ message: '#^Parameter \#1 \$value of method Automattic\\WooCommerce\\Blocks\\Domain\\Services\\CheckoutFields\:\:format_additional_field_value\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/Domain/Services/CheckoutFieldsFrontend.php
+
+ -
+ message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/Domain/Services/CheckoutFieldsFrontend.php
+
+ -
+ message: '#^Parameter \#3 \$value of function woocommerce_form_field expects string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/Domain/Services/CheckoutFieldsFrontend.php
+
+ -
+ message: '#^Cannot call method get\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: src/Blocks/Domain/Services/CheckoutFieldsSchema/DocumentObject.php
+
+ -
+ message: '#^Cannot call method get_id\(\) on WC_Customer\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Blocks/Domain/Services/CheckoutFieldsSchema/DocumentObject.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Domain\\Services\\CheckoutFieldsSchema\\DocumentObject\:\:set_cart\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Domain/Services/CheckoutFieldsSchema/DocumentObject.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Domain\\Services\\CheckoutFieldsSchema\\DocumentObject\:\:set_context\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Domain/Services/CheckoutFieldsSchema/DocumentObject.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Domain\\Services\\CheckoutFieldsSchema\\DocumentObject\:\:set_customer\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Domain/Services/CheckoutFieldsSchema/DocumentObject.php
+
+ -
+ message: '#^Parameter \#1 \$arr1 of function array_merge expects array, list\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/Domain/Services/CheckoutFieldsSchema/DocumentObject.php
+
+ -
+ message: '#^Parameter \#2 \$defaults of function wp_parse_args expects array, array\|Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\stdClass given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Blocks/Domain/Services/CheckoutFieldsSchema/DocumentObject.php
+
+ -
+ message: '#^Property WooCommerce\:\:\$customer \(WC_Customer\) in empty\(\) is not falsy\.$#'
+ identifier: empty.property
+ count: 1
+ path: src/Blocks/Domain/Services/CheckoutFieldsSchema/DocumentObject.php
+
+ -
+ message: '#^Parameter \#2 \$schema of method Opis\\JsonSchema\\Validator\:\:validate\(\) expects bool\|object\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/Domain/Services/CheckoutFieldsSchema/Validation.php
+
+ -
+ message: '#^Static property Automattic\\WooCommerce\\Blocks\\Domain\\Services\\CheckoutFieldsSchema\\Validation\:\:\$meta_schema_json \(string\) does not accept string\|false\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/Blocks/Domain/Services/CheckoutFieldsSchema/Validation.php
+
+ -
+ message: '#^Call to an undefined method WC_Session\:\:has_session\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Blocks/Domain/Services/CheckoutLink.php
+
+ -
+ message: '#^Cannot access offset ''\^checkout\-link\$'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Blocks/Domain/Services/CheckoutLink.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Domain\\Services\\CheckoutLink\:\:add_checkout_link_endpoint\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Domain/Services/CheckoutLink.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Domain\\Services\\CheckoutLink\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Domain/Services/CheckoutLink.php
+
+ -
+ message: '#^Parameter \#1 \$value of function wc_format_coupon_code expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/Domain/Services/CheckoutLink.php
+
+ -
+ message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/Domain/Services/CheckoutLink.php
+
+ -
+ message: '#^Parameter \#2 \$str of function explode expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/Domain/Services/CheckoutLink.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Domain\\Services\\CreateAccount\:\:customer_new_account\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Domain/Services/CreateAccount.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Domain\\Services\\CreateAccount\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Domain/Services/CreateAccount.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Blocks\\Domain\\Services\\CreateAccount\:\:\$package is never read, only written\.$#'
+ identifier: property.onlyWritten
+ count: 1
+ path: src/Blocks/Domain/Services/CreateAccount.php
+
+ -
+ message: '#^Action callback returns array but should not return anything\.$#'
+ identifier: return.void
+ count: 1
+ path: src/Blocks/Domain/Services/DraftOrders.php
+
+ -
+ message: '#^Argument of an invalid type array\<WC_Order\>\|stdClass supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
+ count: 1
+ path: src/Blocks/Domain/Services/DraftOrders.php
+
+ -
+ message: '#^Function as_schedule_recurring_action not found\.$#'
+ identifier: function.notFound
+ count: 1
+ path: src/Blocks/Domain/Services/DraftOrders.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Domain\\Services\\DraftOrders\:\:assert_order_results\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Domain/Services/DraftOrders.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Domain\\Services\\DraftOrders\:\:delete_expired_draft_orders\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Domain/Services/DraftOrders.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Domain\\Services\\DraftOrders\:\:ensure_draft_status_registered\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Domain/Services/DraftOrders.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Domain\\Services\\DraftOrders\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Domain/Services/DraftOrders.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Domain\\Services\\DraftOrders\:\:install\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Domain/Services/DraftOrders.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Domain\\Services\\DraftOrders\:\:maybe_create_cronjobs\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Domain/Services/DraftOrders.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Domain\\Services\\DraftOrders\:\:unschedule_cronjobs\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Domain/Services/DraftOrders.php
+
+ -
+ message: '#^Parameter \#1 \$function of function call_user_func expects callable\(\)\: mixed, ''as_has_scheduled…''\|''as_next_scheduled…'' given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/Domain/Services/DraftOrders.php
+
+ -
+ message: '#^Parameter \#1 \$order_results of method Automattic\\WooCommerce\\Blocks\\Domain\\Services\\DraftOrders\:\:assert_order_results\(\) expects array\<WC_Order\>, array\<WC_Order\>\|stdClass given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/Domain/Services/DraftOrders.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Blocks\\Domain\\Services\\DraftOrders\:\:\$package is never read, only written\.$#'
+ identifier: property.onlyWritten
+ count: 1
+ path: src/Blocks/Domain/Services/DraftOrders.php
+
+ -
+ message: '#^Constructor of class Automattic\\WooCommerce\\Blocks\\Domain\\Services\\Email\\CustomerNewAccount has an unused parameter \$package\.$#'
+ identifier: constructor.unusedParameter
+ count: 1
+ path: src/Blocks/Domain/Services/Email/CustomerNewAccount.php
+
+ -
+ message: '#^Constructor of class Automattic\\WooCommerce\\Blocks\\Domain\\Services\\FeatureGating has an unused parameter \$environment\.$#'
+ identifier: constructor.unusedParameter
+ count: 1
+ path: src/Blocks/Domain/Services/FeatureGating.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Domain\\Services\\GoogleAnalytics\:\:enqueue_scripts\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Domain/Services/GoogleAnalytics.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Domain\\Services\\GoogleAnalytics\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Domain/Services/GoogleAnalytics.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Domain\\Services\\GoogleAnalytics\:\:register_assets\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Domain/Services/GoogleAnalytics.php
+
+ -
+ message: '#^Parameter \#1 \$args of function wp_parse_args expects array\|object\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/Domain/Services/GoogleAnalytics.php
+
+ -
+ message: '#^@param Automattic\\WooCommerce\\Blocks\\Domain\\Services\\WP_REST_Request \$request does not accept actual type of parameter\: WP_REST_Request\<array\>\.$#'
+ identifier: parameter.phpDocType
+ count: 2
+ path: src/Blocks/Domain/Services/Hydration.php
+
+ -
+ message: '#^Cannot call method get\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: src/Blocks/Domain/Services/Hydration.php
+
+ -
+ message: '#^Cannot call method get_data\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Blocks/Domain/Services/Hydration.php
+
+ -
+ message: '#^Cannot call method get_headers\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Blocks/Domain/Services/Hydration.php
+
+ -
+ message: '#^Default value of the parameter \#1 \$path \(string\) of method Automattic\\WooCommerce\\Blocks\\Domain\\Services\\Hydration\:\:get_rest_api_response_data\(\) is incompatible with type array\.$#'
+ identifier: parameter.defaultValue
+ count: 1
+ path: src/Blocks/Domain/Services/Hydration.php
+
+ -
+ message: '#^Invalid array key type array\.$#'
+ identifier: offsetAccess.invalidOffset
+ count: 1
+ path: src/Blocks/Domain/Services/Hydration.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Domain\\Services\\Hydration\:\:cache_store_notices\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Domain/Services/Hydration.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Domain\\Services\\Hydration\:\:disable_nonce_check\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Domain/Services/Hydration.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Domain\\Services\\Hydration\:\:disable_nonce_check_callback\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Domain/Services/Hydration.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Domain\\Services\\Hydration\:\:restore_cached_store_notices\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Domain/Services/Hydration.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Domain\\Services\\Hydration\:\:restore_nonce_check\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Domain/Services/Hydration.php
+
+ -
+ message: '#^Parameter \#1 \$haystack of function str_starts_with expects string\|null, array given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/Domain/Services/Hydration.php
+
+ -
+ message: '#^Parameter \#1 \$path of method Automattic\\WooCommerce\\Blocks\\Domain\\Services\\Hydration\:\:match_route_to_handler\(\) expects string, array given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/Domain/Services/Hydration.php
+
+ -
+ message: '#^Parameter \#2 \$path of function rest_preload_api_request expects string, array given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/Domain/Services/Hydration.php
+
+ -
+ message: '#^Parameter \#2 \$path of method Automattic\\WooCommerce\\Blocks\\Domain\\Services\\Hydration\:\:get_response_from_controller\(\) expects string, array given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/Domain/Services/Hydration.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Domain\\Services\\Notices\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Domain/Services/Notices.php
+
+ -
+ message: '#^Function __experimental_woocommerce_blocks_register_checkout_field\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Domain/Services/functions.php
+
+ -
+ message: '#^Function __internal_woocommerce_blocks_deregister_checkout_field\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Domain/Services/functions.php
+
+ -
+ message: '#^Function woocommerce_register_additional_checkout_field\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Domain/Services/functions.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\InboxNotifications\:\:delete_surface_cart_checkout_blocks_notification\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/InboxNotifications.php
+
+ -
+ message: '#^Cannot cast mixed to int\.$#'
+ identifier: cast.int
+ count: 1
+ path: src/Blocks/Installer.php
+
+ -
+ message: '#^Constant DB_NAME not found\.$#'
+ identifier: constant.notFound
+ count: 1
+ path: src/Blocks/Installer.php
+
+ -
+ message: '#^Constant DB_USER not found\.$#'
+ identifier: constant.notFound
+ count: 1
+ path: src/Blocks/Installer.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Installer\:\:add_create_table_notice\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Installer.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Installer\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Installer.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Installer\:\:install\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Installer.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Installer\:\:maybe_create_tables\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Installer.php
+
+ -
+ message: '#^Strict comparison using \!\=\= between 0 and int\<260, max\> will always evaluate to true\.$#'
+ identifier: notIdentical.alwaysTrue
+ count: 1
+ path: src/Blocks/Installer.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Integrations\\IntegrationInterface\:\:initialize\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Integrations/IntegrationInterface.php
+
+ -
+ message: '#^@param tag must not be named \$this\. Choose a descriptive alias, for example \$instance\.$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Blocks/Integrations/IntegrationRegistry.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Integrations\\IntegrationRegistry\:\:initialize\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Integrations/IntegrationRegistry.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Library\:\:define_tables\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Library.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Library\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Library.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Library\:\:register_blocks\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Library.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Package\:\:container\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Package.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Package\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Package.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Patterns\\PTKClient\:\:fetch_patterns\(\) should return array\|WP_Error but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Blocks/Patterns/PTKClient.php
+
+ -
+ message: '#^Parameter \#1 \$patterns of method Automattic\\WooCommerce\\Blocks\\Patterns\\PTKClient\:\:is_valid_schema\(\) expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/Patterns/PTKClient.php
+
+ -
+ message: '#^Callback expects 0 parameters, \$accepted_args is set to 2\.$#'
+ identifier: arguments.count
+ count: 3
+ path: src/Blocks/Patterns/PTKPatternsStore.php
+
+ -
+ message: '#^Function as_has_scheduled_action not found\.$#'
+ identifier: function.notFound
+ count: 1
+ path: src/Blocks/Patterns/PTKPatternsStore.php
+
+ -
+ message: '#^Function as_schedule_recurring_action not found\.$#'
+ identifier: function.notFound
+ count: 1
+ path: src/Blocks/Patterns/PTKPatternsStore.php
+
+ -
+ message: '#^Function as_unschedule_all_actions not found\.$#'
+ identifier: function.notFound
+ count: 1
+ path: src/Blocks/Patterns/PTKPatternsStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Patterns\\PTKPatternsStore\:\:get_patterns\(\) should return array but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Blocks/Patterns/PTKPatternsStore.php
+
+ -
+ message: '#^Parameter \#1 \$patterns of method Automattic\\WooCommerce\\Blocks\\Patterns\\PTKClient\:\:is_valid_schema\(\) expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/Patterns/PTKPatternsStore.php
+
+ -
+ message: '#^Cannot access offset ''title'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Blocks/Patterns/PatternRegistry.php
+
+ -
+ message: '#^Parameter \#1 \$input of function array_filter expects array, list\<string\>\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/Patterns/PatternRegistry.php
+
+ -
+ message: '#^Access to an undefined property WooCommerce\:\:\$payment_gateways\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/Blocks/Payments/Api.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$enabled\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/Blocks/Payments/Api.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Payments\\Api\:\:add_payment_method_script_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Payments/Api.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Payments\\Api\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Payments/Api.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Payments\\Api\:\:register_payment_method_integrations\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Payments/Api.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Payments\\Api\:\:verify_payment_methods_dependencies\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Payments/Api.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Payments\\Integrations\\BankTransfer\:\:initialize\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Payments/Integrations/BankTransfer.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Blocks\\Payments\\Integrations\\AbstractPaymentMethodType\:\:\$settings \(array\) does not accept mixed\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/Blocks/Payments/Integrations/BankTransfer.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Payments\\Integrations\\CashOnDelivery\:\:get_enable_for_methods\(\) should return array but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Blocks/Payments/Integrations/CashOnDelivery.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Payments\\Integrations\\CashOnDelivery\:\:initialize\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Payments/Integrations/CashOnDelivery.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Blocks\\Payments\\Integrations\\AbstractPaymentMethodType\:\:\$settings \(array\) does not accept mixed\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/Blocks/Payments/Integrations/CashOnDelivery.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Payments\\Integrations\\Cheque\:\:initialize\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Payments/Integrations/Cheque.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Blocks\\Payments\\Integrations\\AbstractPaymentMethodType\:\:\$settings \(array\) does not accept mixed\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/Blocks/Payments/Integrations/Cheque.php
+
+ -
+ message: '#^Binary operation "\.\=" between mixed and non\-falsy\-string results in an error\.$#'
+ identifier: assignOp.invalid
+ count: 1
+ path: src/Blocks/Payments/Integrations/PayPal.php
+
+ -
+ message: '#^Constant WC_ABSPATH not found\.$#'
+ identifier: constant.notFound
+ count: 1
+ path: src/Blocks/Payments/Integrations/PayPal.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Payments\\Integrations\\PayPal\:\:initialize\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Payments/Integrations/PayPal.php
+
+ -
+ message: '#^Parameter \#1 \$str of function trim expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/Payments/Integrations/PayPal.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Blocks\\Payments\\Integrations\\AbstractPaymentMethodType\:\:\$settings \(array\) does not accept mixed\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/Blocks/Payments/Integrations/PayPal.php
+
+ -
+ message: '#^Call to an undefined method Automattic\\WooCommerce\\Blocks\\Integrations\\IntegrationInterface\:\:is_active\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Blocks/Payments/PaymentMethodRegistry.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Payments\\PaymentMethodRegistry\:\:get_all_active_registered\(\) should return array\<Automattic\\WooCommerce\\Blocks\\Payments\\PaymentMethodTypeInterface\> but returns array\<Automattic\\WooCommerce\\Blocks\\Integrations\\IntegrationInterface\>\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Blocks/Payments/PaymentMethodRegistry.php
+
+ -
+ message: '#^Cannot call method get_lookup_table_name\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Blocks/QueryFilters.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\QueryFilters\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/QueryFilters.php
+
+ -
+ message: '#^Parameter \#1 \$input_list of function wp_list_pluck expects array, array\<int, WP_Term\>\|WP_Error given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/QueryFilters.php
+
+ -
+ message: '#^Parameter \#1 \$var of function intval expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Blocks/QueryFilters.php
+
+ -
+ message: '#^Parameter \#2 \$str of function explode expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/QueryFilters.php
+
+ -
+ message: '#^Parameter \#2 \$str of function explode expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/QueryFilters.php
+
+ -
+ message: '#^Variable \$chosen_attributes in empty\(\) always exists and is not falsy\.$#'
+ identifier: empty.variable
+ count: 1
+ path: src/Blocks/QueryFilters.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Registry\\Container\:\:register\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Registry/Container.php
+
+ -
+ message: '#^Result of method Automattic\\WooCommerce\\Blocks\\Registry\\AbstractDependencyType\:\:get\(\) \(void\) is used\.$#'
+ identifier: method.void
+ count: 1
+ path: src/Blocks/Registry/Container.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Shipping\\PickupLocation\:\:admin_options\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Shipping/PickupLocation.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Shipping\\PickupLocation\:\:calculate_shipping\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Shipping/PickupLocation.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Shipping\\PickupLocation\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Shipping/PickupLocation.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Blocks\\Shipping\\PickupLocation\:\:\$cost \(string\) does not accept mixed\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/Blocks/Shipping/PickupLocation.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Blocks\\Shipping\\PickupLocation\:\:\$pickup_locations \(array\) does not accept mixed\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/Blocks/Shipping/PickupLocation.php
+
+ -
+ message: '#^Property WC_Shipping_Method\:\:\$enabled \(string\) does not accept mixed\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/Blocks/Shipping/PickupLocation.php
+
+ -
+ message: '#^Property WC_Shipping_Method\:\:\$tax_status \(string\) does not accept mixed\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/Blocks/Shipping/PickupLocation.php
+
+ -
+ message: '#^Property WC_Shipping_Method\:\:\$title \(string\) does not accept mixed\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/Blocks/Shipping/PickupLocation.php
+
+ -
+ message: '#^@param string \$tax_display does not accept actual type of parameter\: mixed\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: src/Blocks/Shipping/ShippingController.php
+
+ -
+ message: '#^Access to an undefined property WooCommerce\:\:\$shipping\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/Blocks/Shipping/ShippingController.php
+
+ -
+ message: '#^Action callback returns bool but should not return anything\.$#'
+ identifier: return.void
+ count: 1
+ path: src/Blocks/Shipping/ShippingController.php
+
+ -
+ message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
+ count: 1
+ path: src/Blocks/Shipping/ShippingController.php
+
+ -
+ message: '#^Cannot access offset ''address'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 7
+ path: src/Blocks/Shipping/ShippingController.php
+
+ -
+ message: '#^Cannot access offset ''city'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Blocks/Shipping/ShippingController.php
+
+ -
+ message: '#^Cannot access offset ''country'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: src/Blocks/Shipping/ShippingController.php
+
+ -
+ message: '#^Cannot access offset ''details'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Blocks/Shipping/ShippingController.php
+
+ -
+ message: '#^Cannot access offset ''enabled'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Blocks/Shipping/ShippingController.php
+
+ -
+ message: '#^Cannot access offset ''name'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Blocks/Shipping/ShippingController.php
+
+ -
+ message: '#^Cannot access offset ''postcode'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Blocks/Shipping/ShippingController.php
+
+ -
+ message: '#^Cannot access offset ''state'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Blocks/Shipping/ShippingController.php
+
+ -
+ message: '#^Cannot access offset 0\|string on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 5
+ path: src/Blocks/Shipping/ShippingController.php
+
+ -
+ message: '#^Cannot call method get_data\(\) on bool\|WC_Shipping_Zone\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Blocks/Shipping/ShippingController.php
+
+ -
+ message: '#^Cannot call method get_meta\(\) on WC_Order_Item_Shipping\|false\.$#'
+ identifier: method.nonObject
+ count: 3
+ path: src/Blocks/Shipping/ShippingController.php
+
+ -
+ message: '#^Cannot call method get_method_id\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Blocks/Shipping/ShippingController.php
+
+ -
+ message: '#^Cannot call method get_shipping_methods\(\) on bool\|WC_Shipping_Zone\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Blocks/Shipping/ShippingController.php
+
+ -
+ message: '#^Cannot call method get_total\(\) on WC_Order_Item_Shipping\|false\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Blocks/Shipping/ShippingController.php
+
+ -
+ message: '#^Cannot call method get_total_tax\(\) on WC_Order_Item_Shipping\|false\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Blocks/Shipping/ShippingController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Shipping\\ShippingController\:\:admin_scripts\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Shipping/ShippingController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Shipping\\ShippingController\:\:hydrate_client_settings\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Shipping/ShippingController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Shipping\\ShippingController\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Shipping/ShippingController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Shipping\\ShippingController\:\:register_local_pickup\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Shipping/ShippingController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Shipping\\ShippingController\:\:register_settings\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Shipping/ShippingController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Shipping\\ShippingController\:\:track_local_pickup\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Blocks/Shipping/ShippingController.php
+
+ -
+ message: '#^Parameter \#1 \$array_arg of function current expects array\|object, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/Shipping/ShippingController.php
+
+ -
+ message: '#^Parameter \#1 \$data of function wp_kses_post expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/Shipping/ShippingController.php
+
+ -
+ message: '#^Parameter \#1 \$price of function wc_price expects float, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/Shipping/ShippingController.php
+
+ -
+ message: '#^Parameter \#1 \$string of function wc_string_to_bool expects bool\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Blocks/Shipping/ShippingController.php
+
+ -
+ message: '#^Parameter \#2 \$str of function explode expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Blocks/Shipping/ShippingController.php
+
+ -
+ message: '#^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/Shipping/ShippingController.php
+
+ -
+ message: '#^Parameter \#3 \$subject of function str_replace expects array\<string\>\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/Shipping/ShippingController.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Blocks\\Shipping\\ShippingController\:\:\$local_pickup_enabled is never read, only written\.$#'
+ identifier: property.onlyWritten
+ count: 1
+ path: src/Blocks/Shipping/ShippingController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\TemplateOptions\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/TemplateOptions.php
+
+ -
+ message: '#^Parameter \#1 \$string of function wc_string_to_bool expects bool\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/TemplateOptions.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Templates\\AbstractPageTemplate\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Templates/AbstractPageTemplate.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Templates\\AbstractPageTemplate\:\:page_template_hierarchy\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Templates/AbstractPageTemplate.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Templates\\AbstractTemplate\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Templates/AbstractTemplate.php
+
+ -
+ message: '#^Cannot access offset ''function'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Blocks/Templates/AbstractTemplateCompatibility.php
+
+ -
+ message: '#^Cannot access offset ''hook'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Blocks/Templates/AbstractTemplateCompatibility.php
+
+ -
+ message: '#^Cannot access offset ''priority'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Blocks/Templates/AbstractTemplateCompatibility.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Templates\\AbstractTemplateCompatibility\:\:get_hooks_buffer\(\) should return string but returns string\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Blocks/Templates/AbstractTemplateCompatibility.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Templates\\AbstractTemplateCompatibility\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Templates/AbstractTemplateCompatibility.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Templates\\AbstractTemplateCompatibility\:\:remove_default_hooks\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Templates/AbstractTemplateCompatibility.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Templates\\AbstractTemplateCompatibility\:\:set_hook_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Templates/AbstractTemplateCompatibility.php
+
+ -
+ message: '#^One or more @param tags has an invalid name or invalid syntax\.$#'
+ identifier: phpDoc.parseError
+ count: 2
+ path: src/Blocks/Templates/AbstractTemplateCompatibility.php
+
+ -
+ message: '#^PHPDoc tag @param has invalid value \(boolean\.\)\: Unexpected token "\.", expected variable at offset 211 on line 7$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Blocks/Templates/AbstractTemplateCompatibility.php
+
+ -
+ message: '#^PHPDoc tag @param has invalid value \(boolean\.\)\: Unexpected token "\.", expected variable at offset 221 on line 7$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Blocks/Templates/AbstractTemplateCompatibility.php
+
+ -
+ message: '#^Parameter \#1 \$hook_name of function remove_action expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/Templates/AbstractTemplateCompatibility.php
+
+ -
+ message: '#^Parameter \#2 \$callback of function remove_action expects array\|\(callable\(\)\: mixed\)\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/Templates/AbstractTemplateCompatibility.php
+
+ -
+ message: '#^Parameter \#3 \$priority of function remove_action expects int, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/Templates/AbstractTemplateCompatibility.php
+
+ -
+ message: '#^Parameter \$parent_block of method Automattic\\WooCommerce\\Blocks\\Templates\\AbstractTemplateCompatibility\:\:update_render_block_data\(\) has invalid type Automattic\\WooCommerce\\Blocks\\Templates\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/Templates/AbstractTemplateCompatibility.php
+
+ -
+ message: '#^Binary operation "\+" between int\|string and 1 results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 3
+ path: src/Blocks/Templates/AbstractTemplateWithFallback.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Templates\\AbstractTemplateWithFallback\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Templates/AbstractTemplateWithFallback.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Templates\\AbstractTemplateWithFallback\:\:render_block_template\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Templates/AbstractTemplateWithFallback.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Templates\\AbstractTemplateWithFallback\:\:template_hierarchy\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Templates/AbstractTemplateWithFallback.php
+
+ -
+ message: '#^Cannot access offset ''attrs'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Blocks/Templates/ArchiveProductTemplatesCompatibility.php
+
+ -
+ message: '#^Cannot access offset ''blockName'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Blocks/Templates/ArchiveProductTemplatesCompatibility.php
+
+ -
+ message: '#^Cannot access offset ''isInherited'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Blocks/Templates/ArchiveProductTemplatesCompatibility.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Templates\\ArchiveProductTemplatesCompatibility\:\:inject_attribute\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Templates/ArchiveProductTemplatesCompatibility.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Templates\\ArchiveProductTemplatesCompatibility\:\:inject_hooks\(\) should return string but returns array\|float\|int\|string\|false\|null\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Blocks/Templates/ArchiveProductTemplatesCompatibility.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Templates\\ArchiveProductTemplatesCompatibility\:\:inject_hooks\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 4
+ path: src/Blocks/Templates/ArchiveProductTemplatesCompatibility.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Templates\\ArchiveProductTemplatesCompatibility\:\:inner_blocks_walker\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Templates/ArchiveProductTemplatesCompatibility.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Templates\\ArchiveProductTemplatesCompatibility\:\:is_archive_template\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Templates/ArchiveProductTemplatesCompatibility.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Templates\\ArchiveProductTemplatesCompatibility\:\:is_block_inherited\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Templates/ArchiveProductTemplatesCompatibility.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Templates\\ArchiveProductTemplatesCompatibility\:\:is_block_within_namespace\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Templates/ArchiveProductTemplatesCompatibility.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Templates\\ArchiveProductTemplatesCompatibility\:\:is_null_post_template\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Templates/ArchiveProductTemplatesCompatibility.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Templates\\ArchiveProductTemplatesCompatibility\:\:is_post_or_product_template\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Templates/ArchiveProductTemplatesCompatibility.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Templates\\ArchiveProductTemplatesCompatibility\:\:is_post_template\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Templates/ArchiveProductTemplatesCompatibility.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Templates\\ArchiveProductTemplatesCompatibility\:\:is_product_collection_block_with_inherit_query\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Templates/ArchiveProductTemplatesCompatibility.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Templates\\ArchiveProductTemplatesCompatibility\:\:is_product_template\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Templates/ArchiveProductTemplatesCompatibility.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Templates\\ArchiveProductTemplatesCompatibility\:\:is_products_block_with_inherit_query\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Templates/ArchiveProductTemplatesCompatibility.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Templates\\ArchiveProductTemplatesCompatibility\:\:restore_default_hooks\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Templates/ArchiveProductTemplatesCompatibility.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Templates\\ArchiveProductTemplatesCompatibility\:\:set_hook_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Templates/ArchiveProductTemplatesCompatibility.php
+
+ -
+ message: '#^Parameter \#1 \$block of method Automattic\\WooCommerce\\Blocks\\Templates\\ArchiveProductTemplatesCompatibility\:\:is_null_post_template\(\) expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/Templates/ArchiveProductTemplatesCompatibility.php
+
+ -
+ message: '#^Parameter \#1 \$block_name of method Automattic\\WooCommerce\\Blocks\\Templates\\ArchiveProductTemplatesCompatibility\:\:is_post_or_product_template\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/Templates/ArchiveProductTemplatesCompatibility.php
+
+ -
+ message: '#^Parameter \#1 \$str of function trim expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/Templates/ArchiveProductTemplatesCompatibility.php
+
+ -
+ message: '#^Parameter \#3 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 3
+ path: src/Blocks/Templates/ArchiveProductTemplatesCompatibility.php
+
+ -
+ message: '#^Parameter \$parent_block of method Automattic\\WooCommerce\\Blocks\\Templates\\ArchiveProductTemplatesCompatibility\:\:update_render_block_data\(\) has invalid type Automattic\\WooCommerce\\Blocks\\Templates\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/Templates/ArchiveProductTemplatesCompatibility.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Templates\\CartTemplate\:\:page_template_hierarchy\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Templates/CartTemplate.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Templates\\CheckoutHeaderTemplate\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Templates/CheckoutHeaderTemplate.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Templates\\CheckoutTemplate\:\:page_template_hierarchy\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Templates/CheckoutTemplate.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Templates\\ClassicTemplatesCompatibility\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Templates/ClassicTemplatesCompatibility.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Templates\\ComingSoonSocialLinksTemplate\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Templates/ComingSoonSocialLinksTemplate.php
+
+ -
+ message: '#^Cannot access offset ''fontFamilies'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Blocks/Templates/ComingSoonTemplate.php
+
+ -
+ message: '#^Cannot access offset ''slug'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Blocks/Templates/ComingSoonTemplate.php
+
+ -
+ message: '#^Cannot access offset ''theme'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Blocks/Templates/ComingSoonTemplate.php
+
+ -
+ message: '#^Cannot access offset ''typography'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Blocks/Templates/ComingSoonTemplate.php
+
+ -
+ message: '#^Parameter \#3 \$subject of function str_replace expects array\<string\>\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/Templates/ComingSoonTemplate.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Templates\\ExternalProductAddToCartWithOptionsTemplate\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Templates/ExternalProductAddToCartWithOptionsTemplate.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Templates\\GroupedProductAddToCartWithOptionsTemplate\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Templates/GroupedProductAddToCartWithOptionsTemplate.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Templates\\MiniCartTemplate\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Templates/MiniCartTemplate.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Templates\\OrderConfirmationTemplate\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Templates/OrderConfirmationTemplate.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Templates\\OrderConfirmationTemplate\:\:remove_edit_page_link\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Templates/OrderConfirmationTemplate.php
+
+ -
+ message: '#^Access to an undefined property WP_Post\|WP_Post_Type\|WP_Term\|WP_User\:\:\$taxonomy\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/Blocks/Templates/ProductAttributeTemplate.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Templates\\ProductAttributeTemplate\:\:render_block_template\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Templates/ProductAttributeTemplate.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Templates\\ProductAttributeTemplate\:\:template_hierarchy\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Templates/ProductAttributeTemplate.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Templates\\ProductBrandTemplate\:\:render_block_template\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Templates/ProductBrandTemplate.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Templates\\ProductCatalogTemplate\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Templates/ProductCatalogTemplate.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Templates\\ProductCatalogTemplate\:\:render_block_template\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Templates/ProductCatalogTemplate.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Templates\\ProductCategoryTemplate\:\:render_block_template\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Templates/ProductCategoryTemplate.php
+
+ -
+ message: '#^Callback expects 1 parameter, \$accepted_args is set to 3\.$#'
+ identifier: arguments.count
+ count: 1
+ path: src/Blocks/Templates/ProductSearchResultsTemplate.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Templates\\ProductSearchResultsTemplate\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Templates/ProductSearchResultsTemplate.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Templates\\ProductSearchResultsTemplate\:\:render_block_template\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Templates/ProductSearchResultsTemplate.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Templates\\ProductSearchResultsTemplate\:\:update_search_template_hierarchy\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Templates/ProductSearchResultsTemplate.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Templates\\ProductTagTemplate\:\:render_block_template\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Templates/ProductTagTemplate.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Templates\\SimpleProductAddToCartWithOptionsTemplate\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Templates/SimpleProductAddToCartWithOptionsTemplate.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Templates\\SingleProductTemplate\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Templates/SingleProductTemplate.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Templates\\SingleProductTemplate\:\:initialize_shared_config\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Templates/SingleProductTemplate.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Templates\\SingleProductTemplate\:\:placeholder_image\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Templates/SingleProductTemplate.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Templates\\SingleProductTemplate\:\:prevent_cache\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Templates/SingleProductTemplate.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Templates\\SingleProductTemplate\:\:render_block_template\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Templates/SingleProductTemplate.php
+
+ -
+ message: '#^Parameter \#1 \$arr1 of function array_merge expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Blocks/Templates/SingleProductTemplate.php
+
+ -
+ message: '#^Property WooCommerce\:\:\$cart \(WC_Cart\) in isset\(\) is not nullable\.$#'
+ identifier: isset.property
+ count: 1
+ path: src/Blocks/Templates/SingleProductTemplate.php
+
+ -
+ message: '#^Binary operation "\+" between mixed and 1 results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: src/Blocks/Templates/SingleProductTemplateCompatibility.php
+
+ -
+ message: '#^Cannot access an offset on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 3
+ path: src/Blocks/Templates/SingleProductTemplateCompatibility.php
+
+ -
+ message: '#^Cannot access offset ''__wooCommerceIsFirstBlock'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: src/Blocks/Templates/SingleProductTemplateCompatibility.php
+
+ -
+ message: '#^Cannot access offset ''__wooCommerceIsLastBlock'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 3
+ path: src/Blocks/Templates/SingleProductTemplateCompatibility.php
+
+ -
+ message: '#^Cannot access offset ''attrs'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 4
+ path: src/Blocks/Templates/SingleProductTemplateCompatibility.php
+
+ -
+ message: '#^Cannot access offset ''blockName'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Blocks/Templates/SingleProductTemplateCompatibility.php
+
+ -
+ message: '#^Cannot access offset ''first_block'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: src/Blocks/Templates/SingleProductTemplateCompatibility.php
+
+ -
+ message: '#^Cannot access offset ''index'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 5
+ path: src/Blocks/Templates/SingleProductTemplateCompatibility.php
+
+ -
+ message: '#^Cannot access offset ''last_block'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 4
+ path: src/Blocks/Templates/SingleProductTemplateCompatibility.php
+
+ -
+ message: '#^Cannot access offset ''template'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 4
+ path: src/Blocks/Templates/SingleProductTemplateCompatibility.php
+
+ -
+ message: '#^Cannot access offset mixed on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Blocks/Templates/SingleProductTemplateCompatibility.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Templates\\SingleProductTemplateCompatibility\:\:inject_hook_to_first_and_last_blocks\(\) should return string but return statement is missing\.$#'
+ identifier: return.missing
+ count: 1
+ path: src/Blocks/Templates/SingleProductTemplateCompatibility.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Templates\\SingleProductTemplateCompatibility\:\:inject_hooks\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Blocks/Templates/SingleProductTemplateCompatibility.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Templates\\SingleProductTemplateCompatibility\:\:inject_hooks_after_the_wrapper\(\) should return array but returns string\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Blocks/Templates/SingleProductTemplateCompatibility.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Templates\\SingleProductTemplateCompatibility\:\:set_hook_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Templates/SingleProductTemplateCompatibility.php
+
+ -
+ message: '#^Parameter \#1 \$block of function serialize_block expects array\{blockName\?\: string, attrs\?\: array, innerBlocks\?\: array\<array\>, innerHTML\?\: string, innerContent\?\: array\}, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/Templates/SingleProductTemplateCompatibility.php
+
+ -
+ message: '#^Parameter \#1 \$block_content of method Automattic\\WooCommerce\\Blocks\\Templates\\SingleProductTemplateCompatibility\:\:inject_hooks_after_the_wrapper\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Blocks/Templates/SingleProductTemplateCompatibility.php
+
+ -
+ message: '#^Parameter \#1 \$blocks of function serialize_blocks expects array\<int\|string, array\{blockName\: string, attrs\: array, innerBlocks\: array\<array\>, innerHTML\: string, innerContent\: array\}\>, array\<mixed, mixed\> given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/Templates/SingleProductTemplateCompatibility.php
+
+ -
+ message: '#^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, array given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Blocks/Templates/SingleProductTemplateCompatibility.php
+
+ -
+ message: '#^Parameter \#3 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Blocks/Templates/SingleProductTemplateCompatibility.php
+
+ -
+ message: '#^Parameter \$parent_block of method Automattic\\WooCommerce\\Blocks\\Templates\\SingleProductTemplateCompatibility\:\:update_render_block_data\(\) has invalid type Automattic\\WooCommerce\\Blocks\\Templates\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/Templates/SingleProductTemplateCompatibility.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Templates\\VariableProductAddToCartWithOptionsTemplate\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Templates/VariableProductAddToCartWithOptionsTemplate.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$content\.$#'
+ identifier: property.notFound
+ count: 2
+ path: src/Blocks/Utils/BlockTemplateUtils.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$path\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/Blocks/Utils/BlockTemplateUtils.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$slug\.$#'
+ identifier: property.notFound
+ count: 3
+ path: src/Blocks/Utils/BlockTemplateUtils.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$source\.$#'
+ identifier: property.notFound
+ count: 2
+ path: src/Blocks/Utils/BlockTemplateUtils.php
+
+ -
+ message: '#^Access to property \$area on an unknown class Automattic\\WooCommerce\\Blocks\\Utils\\WP_Block_Template\.$#'
+ identifier: class.notFound
+ count: 4
+ path: src/Blocks/Utils/BlockTemplateUtils.php
+
+ -
+ message: '#^Access to property \$description on an unknown class Automattic\\WooCommerce\\Blocks\\Utils\\WP_Block_Template\.$#'
+ identifier: class.notFound
+ count: 3
+ path: src/Blocks/Utils/BlockTemplateUtils.php
+
+ -
+ message: '#^Access to property \$fallback_template on an unknown class Automattic\\WooCommerce\\Blocks\\Utils\\AbstractTemplate\.$#'
+ identifier: class.notFound
+ count: 2
+ path: src/Blocks/Utils/BlockTemplateUtils.php
+
+ -
+ message: '#^Access to property \$fallback_template on an unknown class Automattic\\WooCommerce\\Blocks\\Utils\\AbstractTemplatePart\.$#'
+ identifier: class.notFound
+ count: 2
+ path: src/Blocks/Utils/BlockTemplateUtils.php
+
+ -
+ message: '#^Access to property \$slug on an unknown class Automattic\\WooCommerce\\Blocks\\Utils\\WP_Block_Template\.$#'
+ identifier: class.notFound
+ count: 4
+ path: src/Blocks/Utils/BlockTemplateUtils.php
+
+ -
+ message: '#^Access to property \$template_area on an unknown class Automattic\\WooCommerce\\Blocks\\Utils\\AbstractTemplate\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/Utils/BlockTemplateUtils.php
+
+ -
+ message: '#^Access to property \$template_area on an unknown class Automattic\\WooCommerce\\Blocks\\Utils\\AbstractTemplatePart\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/Utils/BlockTemplateUtils.php
+
+ -
+ message: '#^Access to property \$title on an unknown class Automattic\\WooCommerce\\Blocks\\Utils\\WP_Block_Template\.$#'
+ identifier: class.notFound
+ count: 4
+ path: src/Blocks/Utils/BlockTemplateUtils.php
+
+ -
+ message: '#^Call to method get_template_description\(\) on an unknown class Automattic\\WooCommerce\\Blocks\\Utils\\AbstractTemplate\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/Utils/BlockTemplateUtils.php
+
+ -
+ message: '#^Call to method get_template_description\(\) on an unknown class Automattic\\WooCommerce\\Blocks\\Utils\\AbstractTemplatePart\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/Utils/BlockTemplateUtils.php
+
+ -
+ message: '#^Call to method get_template_title\(\) on an unknown class Automattic\\WooCommerce\\Blocks\\Utils\\AbstractTemplate\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/Utils/BlockTemplateUtils.php
+
+ -
+ message: '#^Call to method get_template_title\(\) on an unknown class Automattic\\WooCommerce\\Blocks\\Utils\\AbstractTemplatePart\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/Utils/BlockTemplateUtils.php
+
+ -
+ message: '#^Cannot access an offset on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: src/Blocks/Utils/BlockTemplateUtils.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Utils\\BlockTemplateUtils\:\:get_block_templates_from_db\(\) should return array\<WP_Block_Template\> but returns array\<WP_Block_Template\|WP_Error\>\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Blocks/Utils/BlockTemplateUtils.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Utils\\BlockTemplateUtils\:\:get_template\(\) has invalid return type Automattic\\WooCommerce\\Blocks\\Utils\\AbstractTemplate\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/Utils/BlockTemplateUtils.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Utils\\BlockTemplateUtils\:\:get_template\(\) has invalid return type Automattic\\WooCommerce\\Blocks\\Utils\\AbstractTemplatePart\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/Utils/BlockTemplateUtils.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Utils\\BlockTemplateUtils\:\:get_template_part\(\) should return string but returns string\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Blocks/Utils/BlockTemplateUtils.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Utils\\BlockTemplateUtils\:\:update_template_data\(\) has invalid return type Automattic\\WooCommerce\\Blocks\\Utils\\WP_Block_Template\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/Utils/BlockTemplateUtils.php
+
+ -
+ message: '#^Parameter \#1 \$post of static method Automattic\\WooCommerce\\Blocks\\Utils\\BlockTemplateUtils\:\:build_template_result_from_post\(\) expects WP_Post, int\|WP_Post given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/Utils/BlockTemplateUtils.php
+
+ -
+ message: '#^Parameter \#1 \$str of function ucwords expects string, string\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/Utils/BlockTemplateUtils.php
+
+ -
+ message: '#^Parameter \#1 \$string of function wc_string_to_bool expects bool\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/Utils/BlockTemplateUtils.php
+
+ -
+ message: '#^Parameter \#1 \$template_content of static method Automattic\\WooCommerce\\Blocks\\Utils\\BlockTemplateUtils\:\:inject_theme_attribute_in_content\(\) expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/Utils/BlockTemplateUtils.php
+
+ -
+ message: '#^Parameter \#2 \$blocks of static method Automattic\\WooCommerce\\Blocks\\Utils\\BlockTemplateUtils\:\:has_block_including_patterns\(\) expects array\<Automattic\\WooCommerce\\Blocks\\Utils\\WP_Block\>, array\<int\|string, array\<string, array\|string\>\> given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Blocks/Utils/BlockTemplateUtils.php
+
+ -
+ message: '#^Parameter \$blocks of method Automattic\\WooCommerce\\Blocks\\Utils\\BlockTemplateUtils\:\:has_block_including_patterns\(\) has invalid type Automattic\\WooCommerce\\Blocks\\Utils\\WP_Block\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/Utils/BlockTemplateUtils.php
+
+ -
+ message: '#^Parameter \$template of method Automattic\\WooCommerce\\Blocks\\Utils\\BlockTemplateUtils\:\:update_template_data\(\) has invalid type Automattic\\WooCommerce\\Blocks\\Utils\\WP_Block_Template\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/Utils/BlockTemplateUtils.php
+
+ -
+ message: '#^Cannot access offset ''value'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Blocks/Utils/BlocksWpQuery.php
+
+ -
+ message: '#^Cannot access offset ''version'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Blocks/Utils/BlocksWpQuery.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Utils\\BlocksWpQuery\:\:get_cached_posts\(\) has invalid return type Automattic\\WooCommerce\\Blocks\\Utils\\WP_Post\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Blocks/Utils/BlocksWpQuery.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Utils\\BlocksWpQuery\:\:get_cached_posts\(\) should return array\<Automattic\\WooCommerce\\Blocks\\Utils\\WP_Post\|int\> but returns array\<int\|WP_Post\>\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Blocks/Utils/BlocksWpQuery.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Utils\\BlocksWpQuery\:\:get_cached_posts\(\) should return array\<Automattic\\WooCommerce\\Blocks\\Utils\\WP_Post\|int\> but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Blocks/Utils/BlocksWpQuery.php
+
+ -
+ message: '#^Parameter \#1 \$str of function md5 expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/Utils/BlocksWpQuery.php
+
+ -
+ message: '#^Cannot access an offset on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Blocks/Utils/CartCheckoutUtils.php
+
+ -
+ message: '#^Cannot access offset ''product_id'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Blocks/Utils/CartCheckoutUtils.php
+
+ -
+ message: '#^Cannot call method allocate_and_return_parsed_attributes\(\) on Automattic\\Block_Scanner\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Blocks/Utils/CartCheckoutUtils.php
+
+ -
+ message: '#^Cannot call method next_delimiter\(\) on Automattic\\Block_Scanner\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Blocks/Utils/CartCheckoutUtils.php
+
+ -
+ message: '#^Cannot call method opens_block\(\) on Automattic\\Block_Scanner\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Blocks/Utils/CartCheckoutUtils.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Utils\\CartCheckoutUtils\:\:find_express_checkout_attributes_in_parsed_blocks\(\) should return array but return statement is missing\.$#'
+ identifier: return.missing
+ count: 1
+ path: src/Blocks/Utils/CartCheckoutUtils.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Utils\\CartCheckoutUtils\:\:get_address_2_field_visibility\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 2
+ path: src/Blocks/Utils/CartCheckoutUtils.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Utils\\CartCheckoutUtils\:\:get_company_field_visibility\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 2
+ path: src/Blocks/Utils/CartCheckoutUtils.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Utils\\CartCheckoutUtils\:\:get_phone_field_visibility\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 2
+ path: src/Blocks/Utils/CartCheckoutUtils.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Utils\\CartCheckoutUtils\:\:migrate_checkout_block_field_visibility_attributes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Utils/CartCheckoutUtils.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Utils\\CartCheckoutUtils\:\:update_blocks_with_new_attrs\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Blocks/Utils/CartCheckoutUtils.php
+
+ -
+ message: '#^Parameter \#1 \$string of function html_entity_decode expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/Utils/CartCheckoutUtils.php
+
+ -
+ message: '#^Parameter \#1 \$var of function intval expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/Utils/CartCheckoutUtils.php
+
+ -
+ message: '#^Parameter \#2 \$array of function array_map expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/Utils/CartCheckoutUtils.php
+
+ -
+ message: '#^Parameter \#2 \$fallback of function wc_get_page_permalink expects bool\|string\|null, int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/Utils/CartCheckoutUtils.php
+
+ -
+ message: '#^Property WC_Shipping_Method\:\:\$enabled \(string\) in isset\(\) is not nullable\.$#'
+ identifier: isset.property
+ count: 1
+ path: src/Blocks/Utils/CartCheckoutUtils.php
+
+ -
+ message: '#^Static property Automattic\\WooCommerce\\Blocks\\Utils\\CartCheckoutUtils\:\:\$is_cart_page \(bool\) does not accept bool\|null\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/Blocks/Utils/CartCheckoutUtils.php
+
+ -
+ message: '#^Static property Automattic\\WooCommerce\\Blocks\\Utils\\CartCheckoutUtils\:\:\$is_checkout_page \(bool\) does not accept bool\|null\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/Blocks/Utils/CartCheckoutUtils.php
+
+ -
+ message: '#^Call to an undefined method WC_Product\:\:has_purchasable_variations\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Blocks/Utils/ProductAvailabilityUtils.php
+
+ -
+ message: '#^Argument of an invalid type list\<string\>\|false supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
+ count: 1
+ path: src/Blocks/Utils/StyleAttributesUtils.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Blocks\\Utils\\StyleAttributesUtils\:\:join_styles\(\) should return array but returns string\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Blocks/Utils/StyleAttributesUtils.php
+
+ -
+ message: '#^Parameter \#1 \$color_value of static method Automattic\\WooCommerce\\Blocks\\Utils\\StyleAttributesUtils\:\:get_color_value\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/Utils/StyleAttributesUtils.php
+
+ -
+ message: '#^Parameter \#1 \$haystack of function strstr expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Blocks/Utils/StyleAttributesUtils.php
+
+ -
+ message: '#^Parameter \#2 \$str of function explode expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Blocks/Utils/StyleAttributesUtils.php
+
+ -
+ message: '#^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Blocks/Utils/StyleAttributesUtils.php
+
+ -
+ message: '#^Parameter \#1 \$version1 of function version_compare expects string, string\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/Utils/Utils.php
+
+ -
+ message: '#^Parameter \#2 \$version2 of function version_compare expects string, string\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/Utils/Utils.php
+
+ -
+ message: '#^Parameter \#3 \$subject of function preg_replace expects array\<float\|int\|string\>\|string, float\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Blocks/Utils/Utils.php
+
+ -
+ message: '#^Cannot call method get_id\(\) on array\|object\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Caches/OrderCache.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Caches\\OrderCacheController\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Caches/OrderCacheController.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Caches\\OrderCacheController\:\:\$features_controller is unused\.$#'
+ identifier: property.unused
+ count: 1
+ path: src/Caches/OrderCacheController.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Caches\\OrderCacheController\:\:\$order_cache is never read, only written\.$#'
+ identifier: property.onlyWritten
+ count: 1
+ path: src/Caches/OrderCacheController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Caches\\OrderCountCache\:\:decrement\(\) should return int but returns int\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Caches/OrderCountCache.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Caches\\OrderCountCache\:\:get\(\) should return array\<int\> but returns null\.$#'
+ identifier: return.type
+ count: 2
+ path: src/Caches/OrderCountCache.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Caches\\OrderCountCache\:\:get_saved_statuses_for_type\(\) should return array\<string\> but returns array\<mixed\>\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Caches/OrderCountCache.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Caches\\OrderCountCache\:\:increment\(\) should return int but returns int\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Caches/OrderCountCache.php
+
+ -
+ message: '#^Function as_schedule_recurring_action not found\.$#'
+ identifier: function.notFound
+ count: 1
+ path: src/Caches/OrderCountCacheService.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Caches\\OrderCountCacheService\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Caches/OrderCountCacheService.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Caches\\OrderCountCacheService\:\:unschedule_background_actions\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Caches/OrderCountCacheService.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Caches\\OrderCountCacheService\:\:update_on_new_order\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Caches/OrderCountCacheService.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Caches\\OrderCountCacheService\:\:update_on_order_deleted\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Caches/OrderCountCacheService.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Caches\\OrderCountCacheService\:\:update_on_order_status_changed\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Caches/OrderCountCacheService.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Caches\\OrderCountCacheService\:\:update_on_order_trashed\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Caches/OrderCountCacheService.php
+
+ -
+ message: '#^Parameter \#2 \$code of method Exception\:\:__construct\(\) expects int, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Caching/CacheException.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Caching\\ObjectCache\:\:get_cache_engine_instance\(\) should return Automattic\\WooCommerce\\Caching\\CacheEngine but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Caching/ObjectCache.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Caching\\ObjectCache\:\:get_id_from_object_if_null\(\) never returns null so it can be removed from the return type\.$#'
+ identifier: return.unusedType
+ count: 1
+ path: src/Caching/ObjectCache.php
+
+ -
+ message: '#^Parameter \#1 \$id of method Automattic\\WooCommerce\\Caching\\ObjectCache\:\:is_cached\(\) expects int\|string, int\|string\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Caching/ObjectCache.php
+
+ -
+ message: '#^Parameter \#1 \$key of method Automattic\\WooCommerce\\Caching\\CacheEngine\:\:cache_object\(\) expects string, int\|string\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Caching/ObjectCache.php
+
+ -
+ message: '#^Parameter \#1 \$key of method Automattic\\WooCommerce\\Caching\\CacheEngine\:\:delete_cached_object\(\) expects string, int\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Caching/ObjectCache.php
+
+ -
+ message: '#^Parameter \#1 \$key of method Automattic\\WooCommerce\\Caching\\CacheEngine\:\:get_cached_object\(\) expects string, int\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Caching/ObjectCache.php
+
+ -
+ message: '#^Parameter \#1 \$key of method Automattic\\WooCommerce\\Caching\\CacheEngine\:\:is_cached\(\) expects string, int\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Caching/ObjectCache.php
+
+ -
+ message: '#^Parameter \#1 \$num of function dechex expects int, float given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Caching/ObjectCache.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Caching\\ObjectCache\:\:\$last_cached_data \(array\) does not accept array\|object\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/Caching/ObjectCache.php
+
+ -
+ message: '#^Argument of an invalid type array\<string, string\>\|false supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
+ count: 1
+ path: src/Caching/WPCacheEngine.php
+
+ -
+ message: '#^Binary operation "\." between ''wc_cache_'' and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: src/Caching/WPCacheEngine.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Caching\\WPCacheEngine\:\:get_cached_object\(\) should return array\|object\|null but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Caching/WPCacheEngine.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Caching\\WPCacheEngine\:\:incr_cache_prefix\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Caching/WPCacheEngine.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Caching\\WPCacheEngine\:\:invalidate_cache_group\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Caching/WPCacheEngine.php
+
+ -
+ message: '#^Parameter \#1 \$data of function wp_cache_set_multiple expects array, array\<string, mixed\>\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Caching/WPCacheEngine.php
+
+ -
+ message: '#^Parameter \#1 \$input of function array_values expects array\<string\>, array\<string, string\>\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Caching/WPCacheEngine.php
+
+ -
+ message: '#^@param Automattic\\WooCommerce\\Checkout\\Helpers\\WC_Order \$order does not accept actual type of parameter\: WC_Order\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: src/Checkout/Helpers/ReserveStock.php
+
+ -
+ message: '#^@param Automattic\\WooCommerce\\Checkout\\Helpers\\WC_Order_Item_Product \$item does not accept actual type of parameter\: WC_Order_Item\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: src/Checkout/Helpers/ReserveStock.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_query_for_stock\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Checkout/Helpers/ReserveStock.php
+
+ -
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_product\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: src/Checkout/Helpers/ReserveStock.php
+
+ -
+ message: '#^Cannot cast mixed to int\.$#'
+ identifier: cast.int
+ count: 1
+ path: src/Checkout/Helpers/ReserveStock.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Checkout\\Helpers\\ReserveStock\:\:get_query_for_reserved_stock\(\) never returns void so it can be removed from the return type\.$#'
+ identifier: return.unusedType
+ count: 1
+ path: src/Checkout/Helpers/ReserveStock.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Checkout\\Helpers\\ReserveStock\:\:release_stock_for_order\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Checkout/Helpers/ReserveStock.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Checkout\\Helpers\\ReserveStock\:\:reserve_stock_for_order\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Checkout/Helpers/ReserveStock.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Checkout\\Helpers\\ReserveStock\:\:reserve_stock_for_product\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Checkout/Helpers/ReserveStock.php
+
+ -
+ message: '#^Parameter \#2 \$is_customer_note of method WC_Order\:\:add_order_note\(\) expects int, false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Checkout/Helpers/ReserveStock.php
+
+ -
+ message: '#^Parameter \#2 \$stock_quantity of method Automattic\\WooCommerce\\Checkout\\Helpers\\ReserveStock\:\:reserve_stock_for_product\(\) expects int, float\|int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Checkout/Helpers/ReserveStock.php
+
+ -
+ message: '#^Template type T of method Automattic\\WooCommerce\\Container\:\:get\(\) is not referenced in a parameter\.$#'
+ identifier: method.templateTypeNotInParameter
+ count: 1
+ path: src/Container.php
+
+ -
+ message: '#^Call to static method add_command\(\) on an unknown class WP_CLI\.$#'
+ identifier: class.notFound
+ count: 10
+ path: src/Database/Migrations/CustomOrderTable/CLIRunner.php
+
+ -
+ message: '#^Call to static method colorize\(\) on an unknown class WP_CLI\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Database/Migrations/CustomOrderTable/CLIRunner.php
+
+ -
+ message: '#^Call to static method debug\(\) on an unknown class WP_CLI\.$#'
+ identifier: class.notFound
+ count: 5
+ path: src/Database/Migrations/CustomOrderTable/CLIRunner.php
+
+ -
+ message: '#^Call to static method error\(\) on an unknown class WP_CLI\.$#'
+ identifier: class.notFound
+ count: 17
+ path: src/Database/Migrations/CustomOrderTable/CLIRunner.php
+
+ -
+ message: '#^Call to static method log\(\) on an unknown class WP_CLI\.$#'
+ identifier: class.notFound
+ count: 15
+ path: src/Database/Migrations/CustomOrderTable/CLIRunner.php
+
+ -
+ message: '#^Call to static method success\(\) on an unknown class WP_CLI\.$#'
+ identifier: class.notFound
+ count: 10
+ path: src/Database/Migrations/CustomOrderTable/CLIRunner.php
+
+ -
+ message: '#^Call to static method warning\(\) on an unknown class WP_CLI\.$#'
+ identifier: class.notFound
+ count: 23
+ path: src/Database/Migrations/CustomOrderTable/CLIRunner.php
+
+ -
+ message: '#^Cannot access property \$queries on mixed\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: src/Database/Migrations/CustomOrderTable/CLIRunner.php
+
+ -
+ message: '#^Cannot call method backfill_order_to_datastore\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Database/Migrations/CustomOrderTable/CLIRunner.php
+
+ -
+ message: '#^Cannot call method change_feature_enable\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: src/Database/Migrations/CustomOrderTable/CLIRunner.php
+
+ -
+ message: '#^Cannot call method check_orders_table_exists\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: src/Database/Migrations/CustomOrderTable/CLIRunner.php
+
+ -
+ message: '#^Cannot call method cleanup_post_data\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Database/Migrations/CustomOrderTable/CLIRunner.php
+
+ -
+ message: '#^Cannot call method count_orders_for_cleanup\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: src/Database/Migrations/CustomOrderTable/CLIRunner.php
+
+ -
+ message: '#^Cannot call method create_database_tables\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Database/Migrations/CustomOrderTable/CLIRunner.php
+
+ -
+ message: '#^Cannot call method custom_orders_table_usage_is_enabled\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 4
+ path: src/Database/Migrations/CustomOrderTable/CLIRunner.php
+
+ -
+ message: '#^Cannot call method flush\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Database/Migrations/CustomOrderTable/CLIRunner.php
+
+ -
+ message: '#^Cannot call method get_compatible_plugins_for_feature\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: src/Database/Migrations/CustomOrderTable/CLIRunner.php
+
+ -
+ message: '#^Cannot call method get_diff_for_order\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Database/Migrations/CustomOrderTable/CLIRunner.php
+
+ -
+ message: '#^Cannot call method get_items_considered_incompatible\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Database/Migrations/CustomOrderTable/CLIRunner.php
+
+ -
+ message: '#^Cannot call method get_orders_for_cleanup\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Database/Migrations/CustomOrderTable/CLIRunner.php
+
+ -
+ message: '#^Cannot call method get_total_pending_count\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: src/Database/Migrations/CustomOrderTable/CLIRunner.php
+
+ -
+ message: '#^Function WP_CLI\\Utils\\format_items not found\.$#'
+ identifier: function.notFound
+ count: 1
+ path: src/Database/Migrations/CustomOrderTable/CLIRunner.php
+
+ -
+ message: '#^Function WP_CLI\\Utils\\make_progress_bar not found\.$#'
+ identifier: function.notFound
+ count: 3
+ path: src/Database/Migrations/CustomOrderTable/CLIRunner.php
+
+ -
+ message: '#^If condition is always false\.$#'
+ identifier: if.alwaysFalse
+ count: 2
+ path: src/Database/Migrations/CustomOrderTable/CLIRunner.php
+
+ -
+ message: '#^If condition is always true\.$#'
+ identifier: if.alwaysTrue
+ count: 1
+ path: src/Database/Migrations/CustomOrderTable/CLIRunner.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Database\\Migrations\\CustomOrderTable\\CLIRunner\:\:backfill\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Database/Migrations/CustomOrderTable/CLIRunner.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Database\\Migrations\\CustomOrderTable\\CLIRunner\:\:cleanup_post_data\(\) with return type void returns mixed but should not return anything\.$#'
+ identifier: return.void
+ count: 1
+ path: src/Database/Migrations/CustomOrderTable/CLIRunner.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Database\\Migrations\\CustomOrderTable\\CLIRunner\:\:diff\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Database/Migrations/CustomOrderTable/CLIRunner.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Database\\Migrations\\CustomOrderTable\\CLIRunner\:\:disable\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Database/Migrations/CustomOrderTable/CLIRunner.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Database\\Migrations\\CustomOrderTable\\CLIRunner\:\:free_in_memory_usage\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Database/Migrations/CustomOrderTable/CLIRunner.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Database\\Migrations\\CustomOrderTable\\CLIRunner\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Database/Migrations/CustomOrderTable/CLIRunner.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Database\\Migrations\\CustomOrderTable\\CLIRunner\:\:is_enabled\(\) is unused\.$#'
+ identifier: method.unused
+ count: 1
+ path: src/Database/Migrations/CustomOrderTable/CLIRunner.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Database\\Migrations\\CustomOrderTable\\CLIRunner\:\:log\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Database/Migrations/CustomOrderTable/CLIRunner.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Database\\Migrations\\CustomOrderTable\\CLIRunner\:\:migrate\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Database/Migrations/CustomOrderTable/CLIRunner.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Database\\Migrations\\CustomOrderTable\\CLIRunner\:\:register_commands\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Database/Migrations/CustomOrderTable/CLIRunner.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Database\\Migrations\\CustomOrderTable\\CLIRunner\:\:status\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Database/Migrations/CustomOrderTable/CLIRunner.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Database\\Migrations\\CustomOrderTable\\CLIRunner\:\:sync\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Database/Migrations/CustomOrderTable/CLIRunner.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Database\\Migrations\\CustomOrderTable\\CLIRunner\:\:verify_cot_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Database/Migrations/CustomOrderTable/CLIRunner.php
+
+ -
+ message: '#^PHPDoc tag @var has invalid value \(DataSynchronizer;\)\: Unexpected token ";", expected TOKEN_HORIZONTAL_WS at offset 64 on line 4$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Database/Migrations/CustomOrderTable/CLIRunner.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Database\\Migrations\\CustomOrderTable\\CLIRunner\:\:\$synchronizer has no type specified\.$#'
+ identifier: missingType.property
+ count: 1
+ path: src/Database/Migrations/CustomOrderTable/CLIRunner.php
+
+ -
+ message: '#^Variable \$diff might not be defined\.$#'
+ identifier: variable.undefined
+ count: 1
+ path: src/Database/Migrations/CustomOrderTable/CLIRunner.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Database\\Migrations\\CustomOrderTable\\PostToOrderAddressTableMigrator\:\:get_core_column_mapping\(\) has invalid return type string\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Database/Migrations/CustomOrderTable/PostToOrderAddressTableMigrator.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Database\\Migrations\\CustomOrderTable\\PostToOrderAddressTableMigrator\:\:get_core_column_mapping\(\) should return array\<array\<string\>\> but returns array\<string, array\<string, string\>\>\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Database/Migrations/CustomOrderTable/PostToOrderAddressTableMigrator.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Database\\Migrations\\CustomOrderTable\\PostToOrderAddressTableMigrator\:\:get_meta_column_config\(\) has invalid return type string\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Database/Migrations/CustomOrderTable/PostToOrderAddressTableMigrator.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Database\\Migrations\\CustomOrderTable\\PostToOrderAddressTableMigrator\:\:get_meta_column_config\(\) should return array\<array\<string\>\> but returns array\<string, array\<string, string\>\>\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Database/Migrations/CustomOrderTable/PostToOrderAddressTableMigrator.php
+
+ -
+ message: '#^PHPDoc tag @var has invalid value \(\$type\)\: Unexpected token "\$type", expected type at offset 80 on line 4$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Database/Migrations/CustomOrderTable/PostToOrderAddressTableMigrator.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Database\\Migrations\\CustomOrderTable\\PostToOrderAddressTableMigrator\:\:\$type has no type specified\.$#'
+ identifier: missingType.property
+ count: 1
+ path: src/Database/Migrations/CustomOrderTable/PostToOrderAddressTableMigrator.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Database\\Migrations\\CustomOrderTable\\PostToOrderOpTableMigrator\:\:get_core_column_mapping\(\) has invalid return type string\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Database/Migrations/CustomOrderTable/PostToOrderOpTableMigrator.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Database\\Migrations\\CustomOrderTable\\PostToOrderOpTableMigrator\:\:get_core_column_mapping\(\) should return array\<array\<string\>\> but returns array\<string, array\<string, string\>\>\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Database/Migrations/CustomOrderTable/PostToOrderOpTableMigrator.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Database\\Migrations\\CustomOrderTable\\PostToOrderOpTableMigrator\:\:get_meta_column_config\(\) has invalid return type string\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Database/Migrations/CustomOrderTable/PostToOrderOpTableMigrator.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Database\\Migrations\\CustomOrderTable\\PostToOrderOpTableMigrator\:\:get_meta_column_config\(\) should return array\<array\<string\>\> but returns array\<string, array\<string, string\>\>\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Database/Migrations/CustomOrderTable/PostToOrderOpTableMigrator.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Database\\Migrations\\CustomOrderTable\\PostToOrderTableMigrator\:\:get_core_column_mapping\(\) has invalid return type string\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Database/Migrations/CustomOrderTable/PostToOrderTableMigrator.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Database\\Migrations\\CustomOrderTable\\PostToOrderTableMigrator\:\:get_core_column_mapping\(\) should return array\<array\<string\>\> but returns array\<string, array\<string, string\>\>\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Database/Migrations/CustomOrderTable/PostToOrderTableMigrator.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Database\\Migrations\\CustomOrderTable\\PostToOrderTableMigrator\:\:get_meta_column_config\(\) has invalid return type string\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Database/Migrations/CustomOrderTable/PostToOrderTableMigrator.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Database\\Migrations\\CustomOrderTable\\PostToOrderTableMigrator\:\:get_meta_column_config\(\) should return array\<array\<string\>\> but returns array\<string, array\<string, string\>\>\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Database/Migrations/CustomOrderTable/PostToOrderTableMigrator.php
+
+ -
+ message: '#^Cannot access property \$last_error on mixed\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: src/Database/Migrations/CustomOrderTable/PostsToOrdersMigrationController.php
+
+ -
+ message: '#^Cannot call method clear_cached_data\(\) on class\-string\|object\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Database/Migrations/CustomOrderTable/PostsToOrdersMigrationController.php
+
+ -
+ message: '#^Cannot call method query\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Database/Migrations/CustomOrderTable/PostsToOrdersMigrationController.php
+
+ -
+ message: '#^Cannot call method suppress_errors\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: src/Database/Migrations/CustomOrderTable/PostsToOrdersMigrationController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Database\\Migrations\\CustomOrderTable\\PostsToOrdersMigrationController\:\:handle_migration_error\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Database/Migrations/CustomOrderTable/PostsToOrdersMigrationController.php
+
+ -
+ message: '#^Part \$transaction_isolation_level \(mixed\) of encapsed string cannot be cast to string\.$#'
+ identifier: encapsedStringPart.nonString
+ count: 1
+ path: src/Database/Migrations/CustomOrderTable/PostsToOrdersMigrationController.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Database\\Migrations\\CustomOrderTable\\PostsToOrdersMigrationController\:\:\$error_logger \(WC_Logger\) does not accept WC_Logger_Interface\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/Database/Migrations/CustomOrderTable/PostsToOrdersMigrationController.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Database\\Migrations\\CustomOrderTable\\PostsToOrdersMigrationController\:\:\$error_logger \(WC_Logger\) does not accept mixed\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/Database/Migrations/CustomOrderTable/PostsToOrdersMigrationController.php
+
+ -
+ message: '#^Binary operation "/" between mixed and 2 results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: src/Database/Migrations/MetaToCustomTableMigrator.php
+
+ -
+ message: '#^Cannot cast mixed to int\.$#'
+ identifier: cast.int
+ count: 1
+ path: src/Database/Migrations/MetaToCustomTableMigrator.php
+
+ -
+ message: '#^Parameter \#1 \$array of function array_column expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Database/Migrations/MetaToCustomTableMigrator.php
+
+ -
+ message: '#^Parameter \#1 \$datetime of class DateTime constructor expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Database/Migrations/MetaToCustomTableMigrator.php
+
+ -
+ message: '#^Parameter \#1 \$entity_data of method Automattic\\WooCommerce\\Database\\Migrations\\MetaToCustomTableMigrator\:\:process_and_sanitize_data\(\) expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Database/Migrations/MetaToCustomTableMigrator.php
+
+ -
+ message: '#^Parameter \#1 \$string of function wc_string_to_bool expects bool\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Database/Migrations/MetaToCustomTableMigrator.php
+
+ -
+ message: '#^Parameter \#1 \$var of function floatval expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Database/Migrations/MetaToCustomTableMigrator.php
+
+ -
+ message: '#^Parameter \#2 \$meta_data of method Automattic\\WooCommerce\\Database\\Migrations\\MetaToCustomTableMigrator\:\:process_and_sanitize_data\(\) expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Database/Migrations/MetaToCustomTableMigrator.php
+
+ -
+ message: '#^Parameter \#2 \$received_rows_count of method Automattic\\WooCommerce\\Database\\Migrations\\TableMigrator\:\:maybe_add_insert_or_update_error\(\) expects array\|bool, \(float\|int\) given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Database/Migrations/MetaToCustomTableMigrator.php
+
+ -
+ message: '#^Parameter \#2 \$received_rows_count of method Automattic\\WooCommerce\\Database\\Migrations\\TableMigrator\:\:maybe_add_insert_or_update_error\(\) expects array\|bool, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Database/Migrations/MetaToCustomTableMigrator.php
+
+ -
+ message: '#^Part \$value \(mixed\) of encapsed string cannot be cast to string\.$#'
+ identifier: encapsedStringPart.nonString
+ count: 1
+ path: src/Database/Migrations/MetaToCustomTableMigrator.php
+
+ -
+ message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
+ count: 1
+ path: src/Database/Migrations/MetaToMetaTableMigrator.php
+
+ -
+ message: '#^Cannot access property \$entity_id on mixed\.$#'
+ identifier: property.nonObject
+ count: 10
+ path: src/Database/Migrations/MetaToMetaTableMigrator.php
+
+ -
+ message: '#^Cannot access property \$meta_id on mixed\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: src/Database/Migrations/MetaToMetaTableMigrator.php
+
+ -
+ message: '#^Cannot access property \$meta_key on mixed\.$#'
+ identifier: property.nonObject
+ count: 6
+ path: src/Database/Migrations/MetaToMetaTableMigrator.php
+
+ -
+ message: '#^Cannot access property \$meta_value on mixed\.$#'
+ identifier: property.nonObject
+ count: 2
+ path: src/Database/Migrations/MetaToMetaTableMigrator.php
+
+ -
+ message: '#^Parameter \#2 \$received_rows_count of method Automattic\\WooCommerce\\Database\\Migrations\\TableMigrator\:\:maybe_add_insert_or_update_error\(\) expects array\|bool, mixed given\.$#'
+ identifier: argument.type
+ count: 3
+ path: src/Database/Migrations/MetaToMetaTableMigrator.php
+
+ -
+ message: '#^Binary operation "\." between ''`'' and array\<string\>\|string results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: src/Database/Migrations/MigrationHelper.php
+
+ -
+ message: '#^Cannot call method check_orders_table_exists\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Database/Migrations/MigrationHelper.php
+
+ -
+ message: '#^Cannot call method generate_on_duplicate_statement_clause\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Database/Migrations/MigrationHelper.php
+
+ -
+ message: '#^Parameter \#1 \$string of function substr expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Database/Migrations/MigrationHelper.php
+
+ -
+ message: '#^Parameter \#1 \$string of static method Automattic\\WooCommerce\\Utilities\\StringUtil\:\:starts_with\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Database/Migrations/MigrationHelper.php
+
+ -
+ message: '#^Cannot access property \$last_error on mixed\.$#'
+ identifier: property.nonObject
+ count: 4
+ path: src/Database/Migrations/TableMigrator.php
+
+ -
+ message: '#^Cannot call method get_results\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Database/Migrations/TableMigrator.php
+
+ -
+ message: '#^Cannot call method query\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Database/Migrations/TableMigrator.php
+
+ -
+ message: '#^Unsafe usage of new static\(\)\.$#'
+ identifier: new.static
+ count: 1
+ path: src/Gateways/PayPal/AddressRequirements.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$payload\.$#'
+ identifier: property.notFound
+ count: 2
+ path: src/Internal/AddressProvider/AbstractAutomatticAddressProvider.php
+
+ -
+ message: '#^Binary operation "\+" between mixed and 1 results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: src/Internal/AddressProvider/AbstractAutomatticAddressProvider.php
+
+ -
+ message: '#^Cannot access offset ''attempts'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: src/Internal/AddressProvider/AbstractAutomatticAddressProvider.php
+
+ -
+ message: '#^Cannot access offset ''try_after'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: src/Internal/AddressProvider/AbstractAutomatticAddressProvider.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\AddressProvider\\AbstractAutomatticAddressProvider\:\:delete_cached_option\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/AddressProvider/AbstractAutomatticAddressProvider.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\AddressProvider\\AbstractAutomatticAddressProvider\:\:get_jwt_cache_duration\(\) should return int but return statement is missing\.$#'
+ identifier: return.missing
+ count: 1
+ path: src/Internal/AddressProvider/AbstractAutomatticAddressProvider.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\AddressProvider\\AbstractAutomatticAddressProvider\:\:load_scripts\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/AddressProvider/AbstractAutomatticAddressProvider.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\AddressProvider\\AbstractAutomatticAddressProvider\:\:set_jwt\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/AddressProvider/AbstractAutomatticAddressProvider.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\AddressProvider\\AbstractAutomatticAddressProvider\:\:update_cached_option\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/AddressProvider/AbstractAutomatticAddressProvider.php
+
+ -
+ message: '#^Parameter \#1 \$jwt of method Automattic\\WooCommerce\\Internal\\AddressProvider\\AbstractAutomatticAddressProvider\:\:set_jwt\(\) expects string, null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/AddressProvider/AbstractAutomatticAddressProvider.php
+
+ -
+ message: '#^Parameter \#1 \$string of function wc_string_to_bool expects bool\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Internal/AddressProvider/AbstractAutomatticAddressProvider.php
+
+ -
+ message: '#^Parameter \#2 \$context of method WC_Logger_Interface\:\:error\(\) expects array, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/AddressProvider/AbstractAutomatticAddressProvider.php
+
+ -
+ message: '#^Parameter \#2 \$plugin of function plugins_url expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/AddressProvider/AbstractAutomatticAddressProvider.php
+
+ -
+ message: '#^Parameter \#4 \$ver of function wp_register_script expects bool\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/AddressProvider/AbstractAutomatticAddressProvider.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Internal\\AddressProvider\\AbstractAutomatticAddressProvider\:\:\$jwt \(string\) does not accept null\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/Internal/AddressProvider/AbstractAutomatticAddressProvider.php
+
+ -
+ message: '#^Call to function is_array\(\) with array\{\} will always evaluate to true\.$#'
+ identifier: function.alreadyNarrowedType
+ count: 1
+ path: src/Internal/AddressProvider/AddressProviderController.php
+
+ -
+ message: '#^Call to function is_array\(\) with non\-empty\-array will always evaluate to true\.$#'
+ identifier: function.alreadyNarrowedType
+ count: 1
+ path: src/Internal/AddressProvider/AddressProviderController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\AddressProvider\\AddressProviderController\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/AddressProvider/AddressProviderController.php
+
+ -
+ message: '#^Parameter \#1 \$object_or_string of function is_a expects object, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/AddressProvider/AddressProviderController.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Internal\\AddressProvider\\AddressProviderController\:\:\$preferred_provider_option \(string\) does not accept mixed\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/Internal/AddressProvider/AddressProviderController.php
+
+ -
+ message: '#^Property WC_Address_Provider\:\:\$id \(string\) on left side of \?\? is not nullable\.$#'
+ identifier: nullCoalesce.property
+ count: 1
+ path: src/Internal/AddressProvider/AddressProviderController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\ActivityPanels\:\:component_settings\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/ActivityPanels.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\ActivityPanels\:\:get_instance\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/ActivityPanels.php
+
+ -
+ message: '#^Parameter \#1 \$type of static method Automattic\\WooCommerce\\Admin\\Notes\\Notes\:\:get_notes_count\(\) expects string, array\<int, string\> given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/ActivityPanels.php
+
+ -
+ message: '#^Parameter \#2 \$status of static method Automattic\\WooCommerce\\Admin\\Notes\\Notes\:\:get_notes_count\(\) expects string, array\<int, string\> given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/ActivityPanels.php
+
+ -
+ message: '#^Action callback returns bool but should not return anything\.$#'
+ identifier: return.void
+ count: 1
+ path: src/Internal/Admin/Agentic/AgenticCommerceIntegration.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Agentic\\AgenticCommerceIntegration\:\:admin_options\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Agentic/AgenticCommerceIntegration.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Agentic\\AgenticCommerceIntegration\:\:process_admin_options\(\) should return bool but return statement is missing\.$#'
+ identifier: return.missing
+ count: 1
+ path: src/Internal/Admin/Agentic/AgenticCommerceIntegration.php
+
+ -
+ message: '#^Cannot call method register\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/Agentic/AgenticController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Agentic\\AgenticController\:\:on_init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Agentic/AgenticController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Agentic\\AgenticSettingsPage\:\:get_registry\(\) should return array but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/Admin/Agentic/AgenticSettingsPage.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Agentic\\AgenticSettingsPage\:\:save_settings\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Agentic/AgenticSettingsPage.php
+
+ -
+ message: '#^Parameter \#1 \$key of function sanitize_key expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Agentic/AgenticSettingsPage.php
+
+ -
+ message: '#^Parameter \#1 \$post of function get_permalink expects int\|WP_Post, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Agentic/AgenticSettingsPage.php
+
+ -
+ message: '#^Parameter \#1 \$str of function sanitize_text_field expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Agentic/AgenticSettingsPage.php
+
+ -
+ message: '#^Parameter \#1 \$url of function esc_url expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Internal/Admin/Agentic/AgenticSettingsPage.php
+
+ -
+ message: '#^@param WC_Order \$order does not accept actual type of parameter\: WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: src/Internal/Admin/Agentic/AgenticWebhookManager.php
+
+ -
+ message: '#^Cannot call method get_meta\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: src/Internal/Admin/Agentic/AgenticWebhookManager.php
+
+ -
+ message: '#^Cannot call method save\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/Agentic/AgenticWebhookManager.php
+
+ -
+ message: '#^Cannot call method update_meta_data\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/Agentic/AgenticWebhookManager.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Agentic\\AgenticWebhookManager\:\:handle_order_created\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Agentic/AgenticWebhookManager.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Agentic\\AgenticWebhookManager\:\:handle_order_refunded\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Agentic/AgenticWebhookManager.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Agentic\\AgenticWebhookManager\:\:handle_order_status_changed\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Agentic/AgenticWebhookManager.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Agentic\\AgenticWebhookManager\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Agentic/AgenticWebhookManager.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Agentic\\AgenticWebhookManager\:\:mark_first_event_delivered\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Agentic/AgenticWebhookManager.php
+
+ -
+ message: '#^Parameter \#1 \$order of method Automattic\\WooCommerce\\Internal\\Admin\\Agentic\\AgenticWebhookManager\:\:should_trigger_webhook\(\) expects WC_Order, WC_Order\|WC_Order_Refund\|true given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Agentic/AgenticWebhookManager.php
+
+ -
+ message: '#^Parameter \#1 \$response of function wp_remote_retrieve_response_code expects array\|WP_Error, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Agentic/AgenticWebhookManager.php
+
+ -
+ message: '#^Parameter \#2 \$order of method Automattic\\WooCommerce\\Internal\\Admin\\Agentic\\AgenticWebhookPayloadBuilder\:\:build_payload\(\) expects WC_Order, WC_Order\|WC_Order_Refund\|true given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Agentic/AgenticWebhookManager.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Agentic\\AgenticWebhookPayloadBuilder\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Agentic/AgenticWebhookPayloadBuilder.php
+
+ -
+ message: '#^Cannot call method feature_is_enabled\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/Analytics.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Analytics\:\:get_instance\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Analytics.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Analytics\:\:get_report_pages\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Analytics.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Analytics\:\:maybe_reload_page\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Analytics.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Analytics\:\:register_pages\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Analytics.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Analytics\:\:reload_page_on_toggle\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Analytics.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Analytics\:\:run_clear_cache_tool\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Analytics.php
+
+ -
+ message: '#^Parameter \#1 \$location of function wp_safe_redirect expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Analytics.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\BlockTemplates\\AbstractBlock\:\:remove\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/BlockTemplates/AbstractBlock.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\BlockTemplates\\AbstractBlock\:\:remove_disable_condition\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/BlockTemplates/AbstractBlock.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\BlockTemplates\\AbstractBlock\:\:remove_hide_condition\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/BlockTemplates/AbstractBlock.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\BlockTemplates\\AbstractBlock\:\:set_attribute\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/BlockTemplates/AbstractBlock.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\BlockTemplates\\AbstractBlock\:\:set_attributes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/BlockTemplates/AbstractBlock.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\BlockTemplates\\AbstractBlock\:\:set_order\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/BlockTemplates/AbstractBlock.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\BlockTemplates\\AbstractBlock\:\:validate\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/BlockTemplates/AbstractBlock.php
+
+ -
+ message: '#^PHPDoc tag @param for parameter \$parent with type Automattic\\WooCommerce\\Internal\\Admin\\BlockTemplates\\BlockContainerInterface\|null is not subtype of native type Automattic\\WooCommerce\\Admin\\BlockTemplates\\ContainerInterface\|null\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: src/Internal/Admin/BlockTemplates/AbstractBlock.php
+
+ -
+ message: '#^Parameter \$parent of method Automattic\\WooCommerce\\Internal\\Admin\\BlockTemplates\\AbstractBlock\:\:__construct\(\) has invalid type Automattic\\WooCommerce\\Internal\\Admin\\BlockTemplates\\BlockContainerInterface\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/Admin/BlockTemplates/AbstractBlock.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Internal\\Admin\\BlockTemplates\\AbstractBlock\:\:\$root_template \(Automattic\\WooCommerce\\Internal\\Admin\\BlockTemplates\\BlockTemplate\) does not accept Automattic\\WooCommerce\\Admin\\BlockTemplates\\BlockTemplateInterface\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/Internal/Admin/BlockTemplates/AbstractBlock.php
+
+ -
+ message: '#^Call to an undefined method Automattic\\WooCommerce\\Admin\\BlockTemplates\\BlockTemplateInterface\:\:cache_block\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Internal/Admin/BlockTemplates/AbstractBlockTemplate.php
+
+ -
+ message: '#^Call to an undefined method Automattic\\WooCommerce\\Admin\\BlockTemplates\\BlockTemplateInterface\:\:uncache_block\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Internal/Admin/BlockTemplates/AbstractBlockTemplate.php
+
+ -
+ message: '#^Call to an undefined method Automattic\\WooCommerce\\Admin\\BlockTemplates\\ContainerInterface\:\:remove_inner_block\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Internal/Admin/BlockTemplates/AbstractBlockTemplate.php
+
+ -
+ message: '#^Call to an undefined method Automattic\\WooCommerce\\Internal\\Admin\\BlockTemplates\\AbstractBlockTemplate\:\:get_attributes\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Internal/Admin/BlockTemplates/AbstractBlockTemplate.php
+
+ -
+ message: '#^Call to an undefined method Automattic\\WooCommerce\\Internal\\Admin\\BlockTemplates\\AbstractBlockTemplate\:\:get_disable_conditions\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: src/Internal/Admin/BlockTemplates/AbstractBlockTemplate.php
+
+ -
+ message: '#^Call to an undefined method Automattic\\WooCommerce\\Internal\\Admin\\BlockTemplates\\AbstractBlockTemplate\:\:get_hide_conditions\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: src/Internal/Admin/BlockTemplates/AbstractBlockTemplate.php
+
+ -
+ message: '#^Call to an undefined method Automattic\\WooCommerce\\Internal\\Admin\\BlockTemplates\\AbstractBlockTemplate\:\:get_name\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Internal/Admin/BlockTemplates/AbstractBlockTemplate.php
+
+ -
+ message: '#^Call to an undefined method Automattic\\WooCommerce\\Internal\\Admin\\BlockTemplates\\AbstractBlockTemplate\:\:get_order\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Internal/Admin/BlockTemplates/AbstractBlockTemplate.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\BlockTemplates\\AbstractBlockTemplate\:\:cache_block\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/BlockTemplates/AbstractBlockTemplate.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\BlockTemplates\\AbstractBlockTemplate\:\:do_after_add_block_action\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/BlockTemplates/AbstractBlockTemplate.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\BlockTemplates\\AbstractBlockTemplate\:\:do_after_add_block_error_action\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/BlockTemplates/AbstractBlockTemplate.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\BlockTemplates\\AbstractBlockTemplate\:\:do_after_add_specific_block_action\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/BlockTemplates/AbstractBlockTemplate.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\BlockTemplates\\AbstractBlockTemplate\:\:do_after_remove_block_action\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/BlockTemplates/AbstractBlockTemplate.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\BlockTemplates\\AbstractBlockTemplate\:\:do_after_remove_block_error_action\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/BlockTemplates/AbstractBlockTemplate.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\BlockTemplates\\AbstractBlockTemplate\:\:do_after_remove_specific_block_action\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/BlockTemplates/AbstractBlockTemplate.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\BlockTemplates\\AbstractBlockTemplate\:\:remove_block\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/BlockTemplates/AbstractBlockTemplate.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\BlockTemplates\\AbstractBlockTemplate\:\:remove_blocks\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/BlockTemplates/AbstractBlockTemplate.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\BlockTemplates\\AbstractBlockTemplate\:\:remove_inner_block\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/BlockTemplates/AbstractBlockTemplate.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\BlockTemplates\\AbstractBlockTemplate\:\:uncache_block\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/BlockTemplates/AbstractBlockTemplate.php
+
+ -
+ message: '#^ Parameter \#2 \$root_template of class Automattic\\WooCommerce\\Internal\\Admin\\BlockTemplates\\Block constructor is passed by reference, so it expects variables only$#'
+ identifier: argument.byRef
+ count: 1
+ path: src/Internal/Admin/BlockTemplates/Block.php
+
+ -
+ message: '#^Call to an undefined method Automattic\\WooCommerce\\Admin\\BlockTemplates\\BlockTemplateInterface\:\:cache_block\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Internal/Admin/BlockTemplates/Block.php
+
+ -
+ message: '#^Call to an undefined method Automattic\\WooCommerce\\Admin\\BlockTemplates\\BlockTemplateInterface\:\:uncache_block\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Internal/Admin/BlockTemplates/Block.php
+
+ -
+ message: '#^Call to an undefined method Automattic\\WooCommerce\\Admin\\BlockTemplates\\ContainerInterface\:\:remove_inner_block\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Internal/Admin/BlockTemplates/Block.php
+
+ -
+ message: '#^Call to function method_exists\(\) with \$this\(Automattic\\WooCommerce\\Internal\\Admin\\BlockTemplates\\Block\) and ''is_detached'' will always evaluate to true\.$#'
+ identifier: function.alreadyNarrowedType
+ count: 1
+ path: src/Internal/Admin/BlockTemplates/Block.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\BlockTemplates\\Block\:\:do_after_add_block_action\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/BlockTemplates/Block.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\BlockTemplates\\Block\:\:do_after_add_block_error_action\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/BlockTemplates/Block.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\BlockTemplates\\Block\:\:do_after_add_specific_block_action\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/BlockTemplates/Block.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\BlockTemplates\\Block\:\:do_after_remove_block_action\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/BlockTemplates/Block.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\BlockTemplates\\Block\:\:do_after_remove_block_error_action\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/BlockTemplates/Block.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\BlockTemplates\\Block\:\:do_after_remove_specific_block_action\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/BlockTemplates/Block.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\BlockTemplates\\Block\:\:remove_block\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/BlockTemplates/Block.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\BlockTemplates\\Block\:\:remove_blocks\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/BlockTemplates/Block.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\BlockTemplates\\Block\:\:remove_inner_block\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/BlockTemplates/Block.php
+
+ -
+ message: '#^ Parameter \#2 \$root_template of class Automattic\\WooCommerce\\Internal\\Admin\\BlockTemplates\\Block constructor is passed by reference, so it expects variables only$#'
+ identifier: argument.byRef
+ count: 1
+ path: src/Internal/Admin/BlockTemplates/BlockTemplate.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\BlockTemplates\\BlockTemplateLogger\:\:add_template_event\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/BlockTemplates/BlockTemplateLogger.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\BlockTemplates\\BlockTemplateLogger\:\:has_template_events_changed\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/BlockTemplates/BlockTemplateLogger.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\BlockTemplates\\BlockTemplateLogger\:\:log\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/BlockTemplates/BlockTemplateLogger.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\BlockTemplates\\BlockTemplateLogger\:\:log_template_events_to_file\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/BlockTemplates/BlockTemplateLogger.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\BlockTemplates\\BlockTemplateLogger\:\:set_template_events_log_hash\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/BlockTemplates/BlockTemplateLogger.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\BlockTemplates\\BlockTemplateLogger\:\:should_handle\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/BlockTemplates/BlockTemplateLogger.php
+
+ -
+ message: '#^Parameter \#1 \$level of static method WC_Log_Levels\:\:get_level_severity\(\) expects string, int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/BlockTemplates/BlockTemplateLogger.php
+
+ -
+ message: '#^Parameter \#1 \$level of static method WC_Log_Levels\:\:get_level_severity\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/BlockTemplates/BlockTemplateLogger.php
+
+ -
+ message: '#^Parameter \#1 \$level of static method WC_Log_Levels\:\:is_valid_level\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/BlockTemplates/BlockTemplateLogger.php
+
+ -
+ message: '#^Parameter \#1 \$str of function md5 expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/BlockTemplates/BlockTemplateLogger.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Internal\\Admin\\BlockTemplates\\BlockTemplateLogger\:\:\$logger \(WC_Logger\) does not accept WC_Logger_Interface\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/Internal/Admin/BlockTemplates/BlockTemplateLogger.php
+
+ -
+ message: '#^Cannot access an offset on array\|WP_Error\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/Admin/CategoryLookup.php
+
+ -
+ message: '#^Cannot access property \$parent on WP_Error\|WP_Term\|null\.$#'
+ identifier: property.nonObject
+ count: 2
+ path: src/Internal/Admin/CategoryLookup.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\CategoryLookup\:\:before_edit\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/CategoryLookup.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\CategoryLookup\:\:define_category_lookup_tables_in_wpdb\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/CategoryLookup.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\CategoryLookup\:\:get_term_insert_values\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/CategoryLookup.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\CategoryLookup\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/CategoryLookup.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\CategoryLookup\:\:on_create\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/CategoryLookup.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\CategoryLookup\:\:on_edit\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/CategoryLookup.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\CategoryLookup\:\:regenerate\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/CategoryLookup.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\CategoryLookup\:\:unflatten_terms\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/CategoryLookup.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\CategoryLookup\:\:update\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/CategoryLookup.php
+
+ -
+ message: '#^Parameter \#1 \$args of function get_terms expects array\{taxonomy\?\: array\<string\>\|string, object_ids\?\: array\<int\>\|int, orderby\?\: string, order\?\: string, hide_empty\?\: bool\|int, include\?\: array\<int\>\|string, exclude\?\: array\<int\>\|string, exclude_tree\?\: array\<int\>\|string, \.\.\.\}, ''product_cat'' given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/CategoryLookup.php
+
+ -
+ message: '#^Parameter \#1 \$input of function array_filter expects array, array\|\(ArrayAccess&WP_Error\) given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/CategoryLookup.php
+
+ -
+ message: '#^Parameter \#1 \$input of function array_filter expects array, array\|WP_Error given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/CategoryLookup.php
+
+ -
+ message: '#^Parameter \#2 \$terms of method Automattic\\WooCommerce\\Internal\\Admin\\CategoryLookup\:\:unflatten_terms\(\) expects array, array\<int, WP_Term\>\|WP_Error given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/CategoryLookup.php
+
+ -
+ message: '#^Unsafe usage of new static\(\)\.$#'
+ identifier: new.static
+ count: 1
+ path: src/Internal/Admin/CategoryLookup.php
+
+ -
+ message: '#^Action callback returns array but should not return anything\.$#'
+ identifier: return.void
+ count: 1
+ path: src/Internal/Admin/Coupons.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Coupons\:\:coupon_menu_moved\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Coupons.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Coupons\:\:display_legacy_menu\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Coupons.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Coupons\:\:fix_coupon_menu_highlight\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Coupons.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Coupons\:\:get_instance\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Coupons.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Coupons\:\:maybe_add_coupon_menu_redirect\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Coupons.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Coupons\:\:maybe_add_marketing_coupon_script\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Coupons.php
+
+ -
+ message: '#^Access to property \$post_type on an unknown class Automattic\\WooCommerce\\Internal\\Admin\\Post\.$#'
+ identifier: class.notFound
+ count: 2
+ path: src/Internal/Admin/CustomerEffortScoreTracks.php
+
+ -
+ message: '#^Callback expects 0 parameters, \$accepted_args is set to 3\.$#'
+ identifier: arguments.count
+ count: 6
+ path: src/Internal/Admin/CustomerEffortScoreTracks.php
+
+ -
+ message: '#^Cannot access offset ''action'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/Admin/CustomerEffortScoreTracks.php
+
+ -
+ message: '#^Cannot access offset ''adminpage'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: src/Internal/Admin/CustomerEffortScoreTracks.php
+
+ -
+ message: '#^Cannot access offset ''pagenow'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: src/Internal/Admin/CustomerEffortScoreTracks.php
+
+ -
+ message: '#^Cannot access property \$post_type on WP_Screen\|null\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: src/Internal/Admin/CustomerEffortScoreTracks.php
+
+ -
+ message: '#^Cannot access property \$total on array\|object\.$#'
+ identifier: property.nonObject
+ count: 2
+ path: src/Internal/Admin/CustomerEffortScoreTracks.php
+
+ -
+ message: '#^Constant WC_VERSION not found\.$#'
+ identifier: constant.notFound
+ count: 2
+ path: src/Internal/Admin/CustomerEffortScoreTracks.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\CustomerEffortScoreTracks\:\:add_script_track_product_categories\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/CustomerEffortScoreTracks.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\CustomerEffortScoreTracks\:\:add_script_track_product_tags\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/CustomerEffortScoreTracks.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\CustomerEffortScoreTracks\:\:enable_survey_enqueing_if_tracking_is_enabled\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/CustomerEffortScoreTracks.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\CustomerEffortScoreTracks\:\:enqueue_ces_survey_for_edited_product\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/CustomerEffortScoreTracks.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\CustomerEffortScoreTracks\:\:enqueue_ces_survey_for_edited_shop_order\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/CustomerEffortScoreTracks.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\CustomerEffortScoreTracks\:\:enqueue_ces_survey_for_new_product\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/CustomerEffortScoreTracks.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\CustomerEffortScoreTracks\:\:enqueue_ces_survey_for_search\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/CustomerEffortScoreTracks.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\CustomerEffortScoreTracks\:\:enqueue_to_ces_tracks\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/CustomerEffortScoreTracks.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\CustomerEffortScoreTracks\:\:maybe_clear_ces_tracks_queue\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/CustomerEffortScoreTracks.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\CustomerEffortScoreTracks\:\:maybe_enqueue_ces_survey_for_product\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/CustomerEffortScoreTracks.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\CustomerEffortScoreTracks\:\:run_on_add_product_attributes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/CustomerEffortScoreTracks.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\CustomerEffortScoreTracks\:\:run_on_load_edit_php\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/CustomerEffortScoreTracks.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\CustomerEffortScoreTracks\:\:run_on_product_import\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/CustomerEffortScoreTracks.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\CustomerEffortScoreTracks\:\:run_on_transition_post_status\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/CustomerEffortScoreTracks.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\CustomerEffortScoreTracks\:\:run_on_update_options\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/CustomerEffortScoreTracks.php
+
+ -
+ message: '#^Parameter \#2 \$haystack of function in_array expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/CustomerEffortScoreTracks.php
+
+ -
+ message: '#^Parameter \$post of method Automattic\\WooCommerce\\Internal\\Admin\\CustomerEffortScoreTracks\:\:run_on_transition_post_status\(\) has invalid type Automattic\\WooCommerce\\Internal\\Admin\\Post\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/Admin/CustomerEffortScoreTracks.php
+
+ -
+ message: '#^Call to function is_object\(\) with WC_Email will always evaluate to true\.$#'
+ identifier: function.alreadyNarrowedType
+ count: 1
+ path: src/Internal/Admin/EmailImprovements/EmailImprovements.php
+
+ -
+ message: '#^Instanceof between WC_Email and WC_Email will always evaluate to true\.$#'
+ identifier: instanceof.alwaysTrue
+ count: 1
+ path: src/Internal/Admin/EmailImprovements/EmailImprovements.php
+
+ -
+ message: '#^Parameter \#2 \$str of function explode expects string, int\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/EmailImprovements/EmailImprovements.php
+
+ -
+ message: '#^@param string \$email_type does not accept actual type of parameter\: string\|null\.$#'
+ identifier: parameter.phpDocType
+ count: 6
+ path: src/Internal/Admin/EmailPreview/EmailPreview.php
+
+ -
+ message: '#^Access to an undefined property WC_Email\:\:\$customer_note\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/Internal/Admin/EmailPreview/EmailPreview.php
+
+ -
+ message: '#^Access to an undefined property WC_Email\:\:\$partial_refund\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/Internal/Admin/EmailPreview/EmailPreview.php
+
+ -
+ message: '#^Access to an undefined property WC_Email\:\:\$user_email\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/Internal/Admin/EmailPreview/EmailPreview.php
+
+ -
+ message: '#^Access to an undefined property WC_Email\:\:\$user_login\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/Internal/Admin/EmailPreview/EmailPreview.php
+
+ -
+ message: '#^Binary operation "\*" between string and 2 results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 2
+ path: src/Internal/Admin/EmailPreview/EmailPreview.php
+
+ -
+ message: '#^Cannot access offset string on array\<class\-string\<WC_Email\>, WC_Email\>\|false\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/Admin/EmailPreview/EmailPreview.php
+
+ -
+ message: '#^Cannot call method get_content_html\(\) on WC_Email\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/EmailPreview/EmailPreview.php
+
+ -
+ message: '#^Cannot call method get_content_plain\(\) on WC_Email\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/EmailPreview/EmailPreview.php
+
+ -
+ message: '#^Cannot call method get_email_type\(\) on WC_Email\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/EmailPreview/EmailPreview.php
+
+ -
+ message: '#^Cannot call method get_woo_content\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/EmailPreview/EmailPreview.php
+
+ -
+ message: '#^Cannot call method style_inline\(\) on WC_Email\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/EmailPreview/EmailPreview.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\EmailPreview\\EmailPreview\:\:clean_up_filters\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/EmailPreview/EmailPreview.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\EmailPreview\\EmailPreview\:\:ensure_links_open_in_new_tab\(\) should return string but returns string\|null\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/Admin/EmailPreview/EmailPreview.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\EmailPreview\\EmailPreview\:\:get_all_email_setting_ids\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/EmailPreview/EmailPreview.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\EmailPreview\\EmailPreview\:\:get_email\(\) should return WC_Email but returns WC_Email\|null\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/Admin/EmailPreview/EmailPreview.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\EmailPreview\\EmailPreview\:\:get_email_content_setting_ids\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/EmailPreview/EmailPreview.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\EmailPreview\\EmailPreview\:\:get_email_style_setting_ids\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/EmailPreview/EmailPreview.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\EmailPreview\\EmailPreview\:\:restore_locale\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/EmailPreview/EmailPreview.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\EmailPreview\\EmailPreview\:\:set_email_type\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/EmailPreview/EmailPreview.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\EmailPreview\\EmailPreview\:\:set_up_filters\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/EmailPreview/EmailPreview.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\EmailPreview\\EmailPreview\:\:switch_to_site_locale\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/EmailPreview/EmailPreview.php
+
+ -
+ message: '#^Parameter \#1 \$date of function wc_format_datetime expects WC_DateTime, WC_DateTime\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/EmailPreview/EmailPreview.php
+
+ -
+ message: '#^Parameter \#1 \$input of function array_keys expects array, array\<class\-string\<WC_Email\>, WC_Email\>\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/EmailPreview/EmailPreview.php
+
+ -
+ message: '#^Parameter \#1 \$object_or_string of function is_a expects object, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/EmailPreview/EmailPreview.php
+
+ -
+ message: '#^Parameter \#1 \$price of method WC_Product\:\:set_price\(\) expects string, int given\.$#'
+ identifier: argument.type
+ count: 3
+ path: src/Internal/Admin/EmailPreview/EmailPreview.php
+
+ -
+ message: '#^Parameter \#1 \$value of method WC_Abstract_Order\:\:set_discount_total\(\) expects string, int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/EmailPreview/EmailPreview.php
+
+ -
+ message: '#^Parameter \#1 \$value of method WC_Abstract_Order\:\:set_shipping_total\(\) expects string, int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/EmailPreview/EmailPreview.php
+
+ -
+ message: '#^Parameter \#1 \$value of method WC_Abstract_Order\:\:set_total\(\) expects string, int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/EmailPreview/EmailPreview.php
+
+ -
+ message: '#^Parameter \#2 \$callback of function add_filter expects callable\(\)\: mixed, array\{mixed, ''prepare_css''\} given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/EmailPreview/EmailPreview.php
+
+ -
+ message: '#^Parameter \#3 \$subject of function preg_replace expects array\<float\|int\|string\>\|string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/EmailPreview/EmailPreview.php
+
+ -
+ message: '#^Unsafe usage of new static\(\)\.$#'
+ identifier: new.static
+ count: 1
+ path: src/Internal/Admin/EmailPreview/EmailPreview.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\EmailPreview\\EmailPreviewRestController\:\:check_permissions\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/Admin/EmailPreview/EmailPreviewRestController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\EmailPreview\\EmailPreviewRestController\:\:get_schema_for_preview_subject\(\) should return array\<array\> but returns array\<string, array\<string, array\<string, bool\|list\<string\>\|string\>\>\|string\>\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/Admin/EmailPreview/EmailPreviewRestController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\EmailPreview\\EmailPreviewRestController\:\:get_schema_with_message\(\) should return array\<array\> but returns array\<string, array\<string, array\<string, bool\|list\<string\>\|string\>\>\|string\>\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/Admin/EmailPreview/EmailPreviewRestController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\EmailPreview\\EmailPreviewRestController\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/EmailPreview/EmailPreviewRestController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\EmailPreview\\EmailPreviewRestController\:\:save_transient\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/Admin/EmailPreview/EmailPreviewRestController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\EmailPreview\\EmailPreviewRestController\:\:send_email_preview\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/Admin/EmailPreview/EmailPreviewRestController.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Internal\\Admin\\EmailPreview\\EmailPreviewRestController\:\:\$email_preview \(Automattic\\WooCommerce\\Internal\\Admin\\EmailPreview\\EmailPreview\) does not accept mixed\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/Internal/Admin/EmailPreview/EmailPreviewRestController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Emails\\EmailListingRestController\:\:check_permissions\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/Admin/Emails/EmailListingRestController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Emails\\EmailListingRestController\:\:get_schema_with_message\(\) should return array\<array\> but returns array\<string, array\<string, array\<string, bool\|list\<string\>\|string\>\>\|string\>\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/Admin/Emails/EmailListingRestController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Emails\\EmailListingRestController\:\:initialize_template_generator\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Emails/EmailListingRestController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Emails\\EmailListingRestController\:\:recreate_email_post\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/Admin/Emails/EmailListingRestController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Emails\\EmailListingRestController\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Emails/EmailListingRestController.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$id\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/Internal/Admin/Events.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Events\:\:do_wc_admin_daily\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Events.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Events\:\:get_note_from_db\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Events.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Events\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Events.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Events\:\:possibly_add_notes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Events.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Events\:\:possibly_delete_notes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Events.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Events\:\:possibly_refresh_data_source_pollers\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Events.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Events\:\:possibly_update_notes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Events.php
+
+ -
+ message: '#^Parameter \#2 \$haystack of function in_array expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Events.php
+
+ -
+ message: '#^Unsafe usage of new static\(\)\.$#'
+ identifier: new.static
+ count: 1
+ path: src/Internal/Admin/Events.php
+
+ -
+ message: '#^Call to an undefined method object\:\:init\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: src/Internal/Admin/FeaturePlugin.php
+
+ -
+ message: '#^Constant WC_ABSPATH not found\.$#'
+ identifier: constant.notFound
+ count: 1
+ path: src/Internal/Admin/FeaturePlugin.php
+
+ -
+ message: '#^Constant WC_ADMIN_ABSPATH not found\.$#'
+ identifier: constant.notFound
+ count: 6
+ path: src/Internal/Admin/FeaturePlugin.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\FeaturePlugin\:\:define\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/FeaturePlugin.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\FeaturePlugin\:\:define_constants\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/FeaturePlugin.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\FeaturePlugin\:\:hooks\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/FeaturePlugin.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\FeaturePlugin\:\:includes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/FeaturePlugin.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\FeaturePlugin\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/FeaturePlugin.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\FeaturePlugin\:\:replace_supported_features\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/FeaturePlugin.php
+
+ -
+ message: '#^PHPDoc tag @var does not specify variable name\.$#'
+ identifier: varTag.noVariable
+ count: 4
+ path: src/Internal/Admin/FeaturePlugin.php
+
+ -
+ message: '#^Unsafe usage of new static\(\)\.$#'
+ identifier: new.static
+ count: 1
+ path: src/Internal/Admin/FeaturePlugin.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_zones\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Internal/Admin/Homescreen.php
+
+ -
+ message: '#^Call to function method_exists\(\) with ''WC_Admin_Menus'' and ''can_view…'' will always evaluate to true\.$#'
+ identifier: function.alreadyNarrowedType
+ count: 1
+ path: src/Internal/Admin/Homescreen.php
+
+ -
+ message: '#^Constant WC_ABSPATH not found\.$#'
+ identifier: constant.notFound
+ count: 1
+ path: src/Internal/Admin/Homescreen.php
+
+ -
+ message: '#^Constant WC_VERSION not found\.$#'
+ identifier: constant.notFound
+ count: 1
+ path: src/Internal/Admin/Homescreen.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Homescreen\:\:get_instance\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Homescreen.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Homescreen\:\:possibly_remove_woocommerce_menu\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Homescreen.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Homescreen\:\:register_page\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Homescreen.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Homescreen\:\:update_link_structure\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Homescreen.php
+
+ -
+ message: '#^Result of && is always false\.$#'
+ identifier: booleanAnd.alwaysFalse
+ count: 2
+ path: src/Internal/Admin/Homescreen.php
+
+ -
+ message: '#^Strict comparison using \=\=\= between ''US'' and ''AR''\|''AT''\|''AU''\|''BE''\|''BR''\|''CA''\|''CL''\|''DE''\|''ES''\|''FR''\|''GB''\|''GT''\|''HK''\|''IT''\|''NL''\|''NZ''\|''PE''\|''SG''\|''UY'' will always evaluate to false\.$#'
+ identifier: identical.alwaysFalse
+ count: 1
+ path: src/Internal/Admin/Homescreen.php
+
+ -
+ message: '#^Binary operation "\." between non\-falsy\-string and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: src/Internal/Admin/ImportExport/CSVUploadHelper.php
+
+ -
+ message: '#^Cannot access offset ''id'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/Admin/ImportExport/CSVUploadHelper.php
+
+ -
+ message: '#^Cannot access offset ''name'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: src/Internal/Admin/ImportExport/CSVUploadHelper.php
+
+ -
+ message: '#^Cannot access offset ''tmp_name'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/Admin/ImportExport/CSVUploadHelper.php
+
+ -
+ message: '#^Parameter \#1 \$path of function is_uploaded_file expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/ImportExport/CSVUploadHelper.php
+
+ -
+ message: '#^Parameter \#1 \$post_id of function wp_delete_attachment expects int, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/ImportExport/CSVUploadHelper.php
+
+ -
+ message: '#^Argument of an invalid type array\|WP_Error supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
+ count: 2
+ path: src/Internal/Admin/Loader.php
+
+ -
+ message: '#^Call to static method allow_suggestions\(\) on an unknown class Automattic\\WooCommerce\\Internal\\Admin\\WC_Marketplace_Suggestions\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/Admin/Loader.php
+
+ -
+ message: '#^Call to static method get_active_plugins\(\) on an unknown class Automattic\\WooCommerce\\Internal\\Admin\\Plugins\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/Admin/Loader.php
+
+ -
+ message: '#^Constant WC_ADMIN_IMAGES_FOLDER_URL not found\.$#'
+ identifier: constant.notFound
+ count: 1
+ path: src/Internal/Admin/Loader.php
+
+ -
+ message: '#^Constant WC_VERSION not found\.$#'
+ identifier: constant.notFound
+ count: 1
+ path: src/Internal/Admin/Loader.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Loader\:\:add_admin_body_classes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Loader.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Loader\:\:add_appearance_theme_view_tracks_event\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Loader.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Loader\:\:delete_homepage\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Loader.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Loader\:\:embed_page_header\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Loader.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Loader\:\:get_embed_breadcrumbs\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Loader.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Loader\:\:get_instance\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Loader.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Loader\:\:inject_after_notices\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Loader.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Loader\:\:inject_before_notices\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Loader.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Loader\:\:output_heading\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Loader.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Loader\:\:page_wrapper\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Loader.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Loader\:\:remove_notices\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Loader.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Loader\:\:smart_app_banner\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Loader.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Loader\:\:update_admin_title\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Loader.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_html expects string, array given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Loader.php
+
+ -
+ message: '#^Parameter \#1 \$var of function intval expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Loader.php
+
+ -
+ message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Loader.php
+
+ -
+ message: '#^Parameter \#2 \$callback of function array_reduce expects callable\(array\|null, mixed\)\: \(array\|null\), ''rest_preload_api…'' given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Loader.php
+
+ -
+ message: '#^Negated boolean expression is always true\.$#'
+ identifier: booleanNot.alwaysTrue
+ count: 1
+ path: src/Internal/Admin/Logging/FileV2/File.php
+
+ -
+ message: '#^Parameter \#1 \$fp of function fclose expects resource, resource\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Logging/FileV2/File.php
+
+ -
+ message: '#^Parameter \#1 \$fp of function fwrite expects resource, resource\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Logging/FileV2/File.php
+
+ -
+ message: '#^Parameter \#3 \$key of function hash_hmac expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Logging/FileV2/File.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Internal\\Admin\\Logging\\FileV2\\File\:\:\$created \(int\) does not accept int\<0, max\>\|false\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/Internal/Admin/Logging/FileV2/File.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Internal\\Admin\\Logging\\FileV2\\File\:\:\$stream \(resource\) does not accept resource\|false\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/Internal/Admin/Logging/FileV2/File.php
+
+ -
+ message: '#^Result of \|\| is always true\.$#'
+ identifier: booleanOr.alwaysTrue
+ count: 1
+ path: src/Internal/Admin/Logging/FileV2/File.php
+
+ -
+ message: '#^Argument of an invalid type array\<Automattic\\WooCommerce\\Internal\\Admin\\Logging\\FileV2\\File\>\|int supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
+ count: 1
+ path: src/Internal/Admin/Logging/FileV2/FileController.php
+
+ -
+ message: '#^Cannot access offset ''query'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/Admin/Logging/FileV2/FileController.php
+
+ -
+ message: '#^Cannot access offset ''results'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: src/Internal/Admin/Logging/FileV2/FileController.php
+
+ -
+ message: '#^Cannot call method getSize\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/Logging/FileV2/FileController.php
+
+ -
+ message: '#^Constant PCLZIP_OPT_REMOVE_ALL_PATH not found\.$#'
+ identifier: constant.notFound
+ count: 1
+ path: src/Internal/Admin/Logging/FileV2/FileController.php
+
+ -
+ message: '#^Method PclZip\:\:create\(\) invoked with 2 parameters, 1 required\.$#'
+ identifier: arguments.count
+ count: 1
+ path: src/Internal/Admin/Logging/FileV2/FileController.php
+
+ -
+ message: '#^Parameter \#1 \$directory of class RecursiveDirectoryIterator constructor expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Logging/FileV2/FileController.php
+
+ -
+ message: '#^Parameter \#1 \$fp of function feof expects resource, resource\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Logging/FileV2/FileController.php
+
+ -
+ message: '#^Parameter \#1 \$fp of function fgets expects resource, resource\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Logging/FileV2/FileController.php
+
+ -
+ message: '#^Parameter \#1 \$input of function array_slice expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Logging/FileV2/FileController.php
+
+ -
+ message: '#^Parameter \#1 \$path of function wp_is_writable expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Logging/FileV2/FileController.php
+
+ -
+ message: '#^Parameter \#1 \$paths of method Automattic\\WooCommerce\\Internal\\Admin\\Logging\\FileV2\\FileController\:\:convert_paths_to_objects\(\) expects array, list\<string\>\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Logging/FileV2/FileController.php
+
+ -
+ message: '#^Parameter \#1 \$var of function count expects array\|Countable, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Logging/FileV2/FileController.php
+
+ -
+ message: '#^Parameter \#2 \$mode of class RecursiveIteratorIterator constructor expects 0\|1\|2, 16 given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Logging/FileV2/FileController.php
+
+ -
+ message: '#^Right side of \|\| is always true\.$#'
+ identifier: booleanOr.rightAlwaysTrue
+ count: 8
+ path: src/Internal/Admin/Logging/FileV2/FileController.php
+
+ -
+ message: '#^Variable \$sort_callback might not be defined\.$#'
+ identifier: variable.undefined
+ count: 1
+ path: src/Internal/Admin/Logging/FileV2/FileController.php
+
+ -
+ message: '#^Parameter \#1 \$fp of function fclose expects resource, resource\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Logging/FileV2/FileExporter.php
+
+ -
+ message: '#^Binary operation "/" between array\<Automattic\\WooCommerce\\Internal\\Admin\\Logging\\FileV2\\File\>\|int and int results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: src/Internal/Admin/Logging/FileV2/FileListTable.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Logging\\FileV2\\FileListTable\:\:column_cb\(\) should return string but returns string\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/Admin/Logging/FileV2/FileListTable.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Logging\\FileV2\\FileListTable\:\:column_size\(\) should return string but returns string\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/Admin/Logging/FileV2/FileListTable.php
+
+ -
+ message: '#^Parameter \#1 \$args of method WP_List_Table\:\:set_pagination_args\(\) expects array\{total_items\?\: int, total_pages\?\: int, per_page\?\: int\}, array\{per_page\: int, total_items\: array\<Automattic\\WooCommerce\\Internal\\Admin\\Logging\\FileV2\\File\>\|int, total_pages\: \(float\|false\)\} given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Logging/FileV2/FileListTable.php
+
+ -
+ message: '#^Parameter \#1 \$bytes of function size_format expects int\|string, int\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Logging/FileV2/FileListTable.php
+
+ -
+ message: '#^Parameter \#1 \$format of function gmdate expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Logging/FileV2/FileListTable.php
+
+ -
+ message: '#^Parameter \#1 \$source of static method Automattic\\WooCommerce\\Internal\\Admin\\Logging\\FileV2\\File\:\:sanitize_source\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Logging/FileV2/FileListTable.php
+
+ -
+ message: '#^Parameter \#2 \$timestamp of function gmdate expects int, int\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Logging/FileV2/FileListTable.php
+
+ -
+ message: '#^Property WP_List_Table\:\:\$items \(array\) does not accept array\<Automattic\\WooCommerce\\Internal\\Admin\\Logging\\FileV2\\File\>\|int\|WP_Error\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/Internal/Admin/Logging/FileV2/FileListTable.php
+
+ -
+ message: '#^Binary operation "/" between array\|int and int results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: src/Internal/Admin/Logging/FileV2/SearchListTable.php
+
+ -
+ message: '#^Call to function is_array\(\) with list\<array\{string, int\}\> will always evaluate to true\.$#'
+ identifier: function.alreadyNarrowedType
+ count: 1
+ path: src/Internal/Admin/Logging/FileV2/SearchListTable.php
+
+ -
+ message: '#^Parameter \#1 \$args of method WP_List_Table\:\:set_pagination_args\(\) expects array\{total_items\?\: int, total_pages\?\: int, per_page\?\: int\}, array\{per_page\: int, total_items\: array\|int, total_pages\: \(float\|false\)\} given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Logging/FileV2/SearchListTable.php
+
+ -
+ message: '#^Property WP_List_Table\:\:\$items \(array\) does not accept array\|int\|WP_Error\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/Internal/Admin/Logging/FileV2/SearchListTable.php
+
+ -
+ message: '#^Offset ''dirname'' might not exist on array\{dirname\?\: string, basename\: string, extension\?\: string, filename\: string\}\.$#'
+ identifier: offsetAccess.notFound
+ count: 1
+ path: src/Internal/Admin/Logging/LogHandlerFileV2.php
+
+ -
+ message: '#^Parameter \#1 \$input of function array_filter expects array, array\<Automattic\\WooCommerce\\Internal\\Admin\\Logging\\FileV2\\File\>\|int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Logging/LogHandlerFileV2.php
+
+ -
+ message: '#^Parameter \#1 \$value of function trailingslashit expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Internal/Admin/Logging/LogHandlerFileV2.php
+
+ -
+ message: '#^Parameter \#1 \$var of function count expects array\|Countable, array\<Automattic\\WooCommerce\\Internal\\Admin\\Logging\\FileV2\\File\>\|int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Logging/LogHandlerFileV2.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Internal\\Admin\\Logging\\LogHandlerFileV2\:\:\$file_controller \(Automattic\\WooCommerce\\Internal\\Admin\\Logging\\FileV2\\FileController\) does not accept mixed\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/Internal/Admin/Logging/LogHandlerFileV2.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Internal\\Admin\\Logging\\LogHandlerFileV2\:\:\$settings \(Automattic\\WooCommerce\\Internal\\Admin\\Logging\\Settings\) does not accept mixed\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/Internal/Admin/Logging/LogHandlerFileV2.php
+
+ -
+ message: '#^Call to protected method prepare_column_headers\(\) of class WC_Admin_Log_Table_List\.$#'
+ identifier: method.protected
+ count: 1
+ path: src/Internal/Admin/Logging/PageController.php
+
+ -
+ message: '#^Parameter \#1 \$file_id of method Automattic\\WooCommerce\\Internal\\Admin\\Logging\\FileV2\\FileController\:\:export_single_file\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Logging/PageController.php
+
+ -
+ message: '#^Parameter \#1 \$fp of function feof expects resource, resource\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Logging/PageController.php
+
+ -
+ message: '#^Parameter \#1 \$fp of function fgets expects resource, resource\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Logging/PageController.php
+
+ -
+ message: '#^Parameter \#1 \$str of function stripslashes expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Logging/PageController.php
+
+ -
+ message: '#^Parameter \#1 \$var of function count expects array\|Countable, array\<Automattic\\WooCommerce\\Internal\\Admin\\Logging\\FileV2\\File\>\|WP_Error given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Logging/PageController.php
+
+ -
+ message: '#^Parameter \#2 \$query of function remove_query_arg expects string\|false, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Logging/PageController.php
+
+ -
+ message: '#^Parameter \#3 \$name of function submit_button expects string, null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Logging/PageController.php
+
+ -
+ message: '#^Cannot call method call_function\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/Logging/Settings.php
+
+ -
+ message: '#^Cannot call method get_log_directory_size\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/Logging/Settings.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Logging\\Settings\:\:get_level_threshold\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/Admin/Logging/Settings.php
+
+ -
+ message: '#^Parameter \#1 \$classname of function class_exists expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Logging/Settings.php
+
+ -
+ message: '#^Parameter \#1 \$level of static method WC_Log_Levels\:\:is_valid_level\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Logging/Settings.php
+
+ -
+ message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Logging/Settings.php
+
+ -
+ message: '#^Parameter \#1 \$value of function trailingslashit expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Logging/Settings.php
+
+ -
+ message: '#^Ternary operator condition is always true\.$#'
+ identifier: ternary.alwaysTrue
+ count: 1
+ path: src/Internal/Admin/Logging/Settings.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Marketing\:\:add_parent_menu_item\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Marketing.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Marketing\:\:display_legacy_menu\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Marketing.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Marketing\:\:get_instance\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Marketing.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Marketing\:\:register_overview_page\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Marketing.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Marketing\:\:register_pages\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Marketing.php
+
+ -
+ message: '#^Parameter \#5 \$callback of function add_menu_page expects ''''\|\(callable\(\)\: mixed\), null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Marketing.php
+
+ -
+ message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
+ count: 1
+ path: src/Internal/Admin/Marketing/MarketingSpecs.php
+
+ -
+ message: '#^Cannot access offset ''_embedded'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/Admin/Marketing/MarketingSpecs.php
+
+ -
+ message: '#^Cannot access offset ''author_avatar_url'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/Admin/Marketing/MarketingSpecs.php
+
+ -
+ message: '#^Cannot access offset ''author_name'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/Admin/Marketing/MarketingSpecs.php
+
+ -
+ message: '#^Cannot access offset ''date_gmt'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/Admin/Marketing/MarketingSpecs.php
+
+ -
+ message: '#^Cannot access offset ''link'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/Admin/Marketing/MarketingSpecs.php
+
+ -
+ message: '#^Cannot access offset ''rendered'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/Admin/Marketing/MarketingSpecs.php
+
+ -
+ message: '#^Cannot access offset ''source_url'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/Admin/Marketing/MarketingSpecs.php
+
+ -
+ message: '#^Cannot access offset ''title'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/Admin/Marketing/MarketingSpecs.php
+
+ -
+ message: '#^Cannot access offset ''wp\:featuredmedia'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/Admin/Marketing/MarketingSpecs.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Marketing\\MarketingSpecs\:\:get_knowledge_base_posts\(\) should return array but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/Admin/Marketing/MarketingSpecs.php
+
+ -
+ message: '#^Parameter \#1 \$string of function html_entity_decode expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Internal/Admin/Marketing/MarketingSpecs.php
+
+ -
+ message: '#^Cannot call method change_feature_enable\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/Marketplace.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Marketplace\:\:enqueue_scripts\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Marketplace.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Marketplace\:\:get_marketplace_pages\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Marketplace.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Marketplace\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Marketplace.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Marketplace\:\:maybe_open_woo_tab\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Marketplace.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Marketplace\:\:on_init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Marketplace.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Marketplace\:\:register_pages\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Marketplace.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\MobileAppBanner\:\:get_instance\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/MobileAppBanner.php
+
+ -
+ message: '#^Static property Automattic\\WooCommerce\\Internal\\Admin\\MobileAppBanner\:\:\$instance \(Automattic\\WooCommerce\\Internal\\Admin\\Analytics\) does not accept Automattic\\WooCommerce\\Internal\\Admin\\MobileAppBanner\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/Internal/Admin/MobileAppBanner.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_notes_with_name\(\)\.$#'
+ identifier: method.notFound
+ count: 4
+ path: src/Internal/Admin/Notes/CustomizeStoreWithBlocks.php
+
+ -
+ message: '#^Call to function method_exists\(\) with ''Automattic\\\\WooCommerce\\\\Internal\\\\Admin\\\\Notes\\\\CustomizeStoreWithBlocks'' and ''get_note'' will always evaluate to true\.$#'
+ identifier: function.alreadyNarrowedType
+ count: 1
+ path: src/Internal/Admin/Notes/CustomizeStoreWithBlocks.php
+
+ -
+ message: '#^Cannot access offset ''setup_client'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/Admin/Notes/CustomizeStoreWithBlocks.php
+
+ -
+ message: '#^Cannot call method get_is_deleted\(\) on Automattic\\WooCommerce\\Admin\\Notes\\Note\|bool\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/Notes/CustomizeStoreWithBlocks.php
+
+ -
+ message: '#^Cannot call method get_status\(\) on Automattic\\WooCommerce\\Admin\\Notes\\Note\|bool\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: src/Internal/Admin/Notes/CustomizeStoreWithBlocks.php
+
+ -
+ message: '#^Cannot call method save\(\) on Automattic\\WooCommerce\\Admin\\Notes\\Note\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/Notes/CustomizeStoreWithBlocks.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\CustomizeStoreWithBlocks\:\:add_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/CustomizeStoreWithBlocks.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\CustomizeStoreWithBlocks\:\:can_be_added\(\) should return bool but empty return statement found\.$#'
+ identifier: return.empty
+ count: 1
+ path: src/Internal/Admin/Notes/CustomizeStoreWithBlocks.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\CustomizeStoreWithBlocks\:\:delete_if_not_applicable\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/CustomizeStoreWithBlocks.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\CustomizeStoreWithBlocks\:\:get_note\(\) should return Automattic\\WooCommerce\\Admin\\Notes\\Note but empty return statement found\.$#'
+ identifier: return.empty
+ count: 4
+ path: src/Internal/Admin/Notes/CustomizeStoreWithBlocks.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\CustomizeStoreWithBlocks\:\:is_applicable\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/CustomizeStoreWithBlocks.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\CustomizeStoreWithBlocks\:\:note_exists\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/CustomizeStoreWithBlocks.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\CustomizeStoreWithBlocks\:\:possibly_add_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/CustomizeStoreWithBlocks.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\CustomizeStoreWithBlocks\:\:possibly_delete_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/CustomizeStoreWithBlocks.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\CustomizeStoreWithBlocks\:\:possibly_update_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/CustomizeStoreWithBlocks.php
+
+ -
+ message: '#^Parameter \#1 \$arr1 of function array_udiff expects array\<\(int&TK\)\|\(string&TK\), mixed\>, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Notes/CustomizeStoreWithBlocks.php
+
+ -
+ message: '#^Parameter \#1 \$data of method WC_Data_Store\:\:delete\(\) expects WC_Data, Automattic\\WooCommerce\\Admin\\Notes\\Note\|true given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Notes/CustomizeStoreWithBlocks.php
+
+ -
+ message: '#^Parameter \#1 \$function of function call_user_func expects callable\(\)\: mixed, array\{Automattic\\WooCommerce\\Admin\\Notes\\Note, non\-falsy\-string\} given\.$#'
+ identifier: argument.type
+ count: 4
+ path: src/Internal/Admin/Notes/CustomizeStoreWithBlocks.php
+
+ -
+ message: '#^Parameter \#1 \$note1 of static method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\CustomizeStoreWithBlocks\:\:update_note_field_if_changed\(\) expects Automattic\\WooCommerce\\Admin\\Notes\\Note, Automattic\\WooCommerce\\Admin\\Notes\\Note\|true given\.$#'
+ identifier: argument.type
+ count: 7
+ path: src/Internal/Admin/Notes/CustomizeStoreWithBlocks.php
+
+ -
+ message: '#^Parameter \#1 \$var of function count expects array\|Countable, array\|object given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Notes/CustomizeStoreWithBlocks.php
+
+ -
+ message: '#^Parameter \#2 \$arr2 of function array_udiff expects array\<\(int&TK\)\|\(string&TK\), mixed\>, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Notes/CustomizeStoreWithBlocks.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_notes_with_name\(\)\.$#'
+ identifier: method.notFound
+ count: 4
+ path: src/Internal/Admin/Notes/CustomizingProductCatalog.php
+
+ -
+ message: '#^Call to function method_exists\(\) with ''Automattic\\\\WooCommerce\\\\Internal\\\\Admin\\\\Notes\\\\CustomizingProductCatalog'' and ''get_note'' will always evaluate to true\.$#'
+ identifier: function.alreadyNarrowedType
+ count: 1
+ path: src/Internal/Admin/Notes/CustomizingProductCatalog.php
+
+ -
+ message: '#^Cannot access property \$products on array\|object\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: src/Internal/Admin/Notes/CustomizingProductCatalog.php
+
+ -
+ message: '#^Cannot access property \$total on array\|object\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: src/Internal/Admin/Notes/CustomizingProductCatalog.php
+
+ -
+ message: '#^Cannot call method get_is_deleted\(\) on Automattic\\WooCommerce\\Admin\\Notes\\Note\|bool\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/Notes/CustomizingProductCatalog.php
+
+ -
+ message: '#^Cannot call method get_status\(\) on Automattic\\WooCommerce\\Admin\\Notes\\Note\|bool\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: src/Internal/Admin/Notes/CustomizingProductCatalog.php
+
+ -
+ message: '#^Cannot call method save\(\) on Automattic\\WooCommerce\\Admin\\Notes\\Note\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/Notes/CustomizingProductCatalog.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\CustomizingProductCatalog\:\:add_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/CustomizingProductCatalog.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\CustomizingProductCatalog\:\:can_be_added\(\) should return bool but empty return statement found\.$#'
+ identifier: return.empty
+ count: 1
+ path: src/Internal/Admin/Notes/CustomizingProductCatalog.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\CustomizingProductCatalog\:\:delete_if_not_applicable\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/CustomizingProductCatalog.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\CustomizingProductCatalog\:\:get_note\(\) should return Automattic\\WooCommerce\\Admin\\Notes\\Note but empty return statement found\.$#'
+ identifier: return.empty
+ count: 3
+ path: src/Internal/Admin/Notes/CustomizingProductCatalog.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\CustomizingProductCatalog\:\:is_applicable\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/CustomizingProductCatalog.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\CustomizingProductCatalog\:\:note_exists\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/CustomizingProductCatalog.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\CustomizingProductCatalog\:\:possibly_add_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/CustomizingProductCatalog.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\CustomizingProductCatalog\:\:possibly_delete_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/CustomizingProductCatalog.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\CustomizingProductCatalog\:\:possibly_update_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/CustomizingProductCatalog.php
+
+ -
+ message: '#^Parameter \#1 \$arr1 of function array_udiff expects array\<\(int&TK\)\|\(string&TK\), mixed\>, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Notes/CustomizingProductCatalog.php
+
+ -
+ message: '#^Parameter \#1 \$data of method WC_Data_Store\:\:delete\(\) expects WC_Data, Automattic\\WooCommerce\\Admin\\Notes\\Note\|true given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Notes/CustomizingProductCatalog.php
+
+ -
+ message: '#^Parameter \#1 \$function of function call_user_func expects callable\(\)\: mixed, array\{Automattic\\WooCommerce\\Admin\\Notes\\Note, non\-falsy\-string\} given\.$#'
+ identifier: argument.type
+ count: 4
+ path: src/Internal/Admin/Notes/CustomizingProductCatalog.php
+
+ -
+ message: '#^Parameter \#1 \$note1 of static method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\CustomizingProductCatalog\:\:update_note_field_if_changed\(\) expects Automattic\\WooCommerce\\Admin\\Notes\\Note, Automattic\\WooCommerce\\Admin\\Notes\\Note\|true given\.$#'
+ identifier: argument.type
+ count: 7
+ path: src/Internal/Admin/Notes/CustomizingProductCatalog.php
+
+ -
+ message: '#^Parameter \#2 \$arr2 of function array_udiff expects array\<\(int&TK\)\|\(string&TK\), mixed\>, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Notes/CustomizingProductCatalog.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_notes_with_name\(\)\.$#'
+ identifier: method.notFound
+ count: 4
+ path: src/Internal/Admin/Notes/EUVATNumber.php
+
+ -
+ message: '#^Call to function method_exists\(\) with ''Automattic\\\\WooCommerce\\\\Internal\\\\Admin\\\\Notes\\\\EUVATNumber'' and ''get_note'' will always evaluate to true\.$#'
+ identifier: function.alreadyNarrowedType
+ count: 1
+ path: src/Internal/Admin/Notes/EUVATNumber.php
+
+ -
+ message: '#^Cannot call method get_is_deleted\(\) on Automattic\\WooCommerce\\Admin\\Notes\\Note\|bool\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/Notes/EUVATNumber.php
+
+ -
+ message: '#^Cannot call method get_status\(\) on Automattic\\WooCommerce\\Admin\\Notes\\Note\|bool\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: src/Internal/Admin/Notes/EUVATNumber.php
+
+ -
+ message: '#^Cannot call method save\(\) on Automattic\\WooCommerce\\Admin\\Notes\\Note\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/Notes/EUVATNumber.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\EUVATNumber\:\:add_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/EUVATNumber.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\EUVATNumber\:\:can_be_added\(\) should return bool but empty return statement found\.$#'
+ identifier: return.empty
+ count: 1
+ path: src/Internal/Admin/Notes/EUVATNumber.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\EUVATNumber\:\:delete_if_not_applicable\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/EUVATNumber.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\EUVATNumber\:\:get_note\(\) should return Automattic\\WooCommerce\\Admin\\Notes\\Note but empty return statement found\.$#'
+ identifier: return.empty
+ count: 2
+ path: src/Internal/Admin/Notes/EUVATNumber.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\EUVATNumber\:\:is_applicable\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/EUVATNumber.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\EUVATNumber\:\:note_exists\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/EUVATNumber.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\EUVATNumber\:\:possibly_add_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/EUVATNumber.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\EUVATNumber\:\:possibly_delete_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/EUVATNumber.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\EUVATNumber\:\:possibly_update_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/EUVATNumber.php
+
+ -
+ message: '#^Parameter \#1 \$arr1 of function array_udiff expects array\<\(int&TK\)\|\(string&TK\), mixed\>, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Notes/EUVATNumber.php
+
+ -
+ message: '#^Parameter \#1 \$data of method WC_Data_Store\:\:delete\(\) expects WC_Data, Automattic\\WooCommerce\\Admin\\Notes\\Note\|true given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Notes/EUVATNumber.php
+
+ -
+ message: '#^Parameter \#1 \$function of function call_user_func expects callable\(\)\: mixed, array\{Automattic\\WooCommerce\\Admin\\Notes\\Note, non\-falsy\-string\} given\.$#'
+ identifier: argument.type
+ count: 4
+ path: src/Internal/Admin/Notes/EUVATNumber.php
+
+ -
+ message: '#^Parameter \#1 \$note1 of static method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\EUVATNumber\:\:update_note_field_if_changed\(\) expects Automattic\\WooCommerce\\Admin\\Notes\\Note, Automattic\\WooCommerce\\Admin\\Notes\\Note\|true given\.$#'
+ identifier: argument.type
+ count: 7
+ path: src/Internal/Admin/Notes/EUVATNumber.php
+
+ -
+ message: '#^Parameter \#2 \$arr2 of function array_udiff expects array\<\(int&TK\)\|\(string&TK\), mixed\>, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Notes/EUVATNumber.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_notes_with_name\(\)\.$#'
+ identifier: method.notFound
+ count: 4
+ path: src/Internal/Admin/Notes/EditProductsOnTheMove.php
+
+ -
+ message: '#^Call to function method_exists\(\) with ''Automattic\\\\WooCommerce\\\\Internal\\\\Admin\\\\Notes\\\\EditProductsOnTheMove'' and ''get_note'' will always evaluate to true\.$#'
+ identifier: function.alreadyNarrowedType
+ count: 1
+ path: src/Internal/Admin/Notes/EditProductsOnTheMove.php
+
+ -
+ message: '#^Cannot call method get_is_deleted\(\) on Automattic\\WooCommerce\\Admin\\Notes\\Note\|bool\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/Notes/EditProductsOnTheMove.php
+
+ -
+ message: '#^Cannot call method get_status\(\) on Automattic\\WooCommerce\\Admin\\Notes\\Note\|bool\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: src/Internal/Admin/Notes/EditProductsOnTheMove.php
+
+ -
+ message: '#^Cannot call method save\(\) on Automattic\\WooCommerce\\Admin\\Notes\\Note\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/Notes/EditProductsOnTheMove.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\EditProductsOnTheMove\:\:add_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/EditProductsOnTheMove.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\EditProductsOnTheMove\:\:can_be_added\(\) should return bool but empty return statement found\.$#'
+ identifier: return.empty
+ count: 1
+ path: src/Internal/Admin/Notes/EditProductsOnTheMove.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\EditProductsOnTheMove\:\:delete_if_not_applicable\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/EditProductsOnTheMove.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\EditProductsOnTheMove\:\:get_note\(\) should return Automattic\\WooCommerce\\Admin\\Notes\\Note but empty return statement found\.$#'
+ identifier: return.empty
+ count: 5
+ path: src/Internal/Admin/Notes/EditProductsOnTheMove.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\EditProductsOnTheMove\:\:is_applicable\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/EditProductsOnTheMove.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\EditProductsOnTheMove\:\:note_exists\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/EditProductsOnTheMove.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\EditProductsOnTheMove\:\:possibly_add_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/EditProductsOnTheMove.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\EditProductsOnTheMove\:\:possibly_delete_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/EditProductsOnTheMove.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\EditProductsOnTheMove\:\:possibly_update_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/EditProductsOnTheMove.php
+
+ -
+ message: '#^Parameter \#1 \$arr1 of function array_udiff expects array\<\(int&TK\)\|\(string&TK\), mixed\>, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Notes/EditProductsOnTheMove.php
+
+ -
+ message: '#^Parameter \#1 \$data of method WC_Data_Store\:\:delete\(\) expects WC_Data, Automattic\\WooCommerce\\Admin\\Notes\\Note\|true given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Notes/EditProductsOnTheMove.php
+
+ -
+ message: '#^Parameter \#1 \$function of function call_user_func expects callable\(\)\: mixed, array\{Automattic\\WooCommerce\\Admin\\Notes\\Note, non\-falsy\-string\} given\.$#'
+ identifier: argument.type
+ count: 4
+ path: src/Internal/Admin/Notes/EditProductsOnTheMove.php
+
+ -
+ message: '#^Parameter \#1 \$note1 of static method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\EditProductsOnTheMove\:\:update_note_field_if_changed\(\) expects Automattic\\WooCommerce\\Admin\\Notes\\Note, Automattic\\WooCommerce\\Admin\\Notes\\Note\|true given\.$#'
+ identifier: argument.type
+ count: 7
+ path: src/Internal/Admin/Notes/EditProductsOnTheMove.php
+
+ -
+ message: '#^Parameter \#2 \$arr2 of function array_udiff expects array\<\(int&TK\)\|\(string&TK\), mixed\>, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Notes/EditProductsOnTheMove.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_notes_with_name\(\)\.$#'
+ identifier: method.notFound
+ count: 4
+ path: src/Internal/Admin/Notes/EmailImprovements.php
+
+ -
+ message: '#^Call to function method_exists\(\) with ''Automattic\\\\WooCommerce\\\\Internal\\\\Admin\\\\Notes\\\\EmailImprovements'' and ''get_note'' will always evaluate to true\.$#'
+ identifier: function.alreadyNarrowedType
+ count: 1
+ path: src/Internal/Admin/Notes/EmailImprovements.php
+
+ -
+ message: '#^Cannot call method get_is_deleted\(\) on Automattic\\WooCommerce\\Admin\\Notes\\Note\|bool\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/Notes/EmailImprovements.php
+
+ -
+ message: '#^Cannot call method get_status\(\) on Automattic\\WooCommerce\\Admin\\Notes\\Note\|bool\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: src/Internal/Admin/Notes/EmailImprovements.php
+
+ -
+ message: '#^Cannot call method save\(\) on Automattic\\WooCommerce\\Admin\\Notes\\Note\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/Notes/EmailImprovements.php
+
+ -
+ message: '#^Cannot call method save\(\) on Automattic\\WooCommerce\\Admin\\Notes\\Note\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/Notes/EmailImprovements.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\EmailImprovements\:\:add_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/EmailImprovements.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\EmailImprovements\:\:can_be_added\(\) should return bool but empty return statement found\.$#'
+ identifier: return.empty
+ count: 1
+ path: src/Internal/Admin/Notes/EmailImprovements.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\EmailImprovements\:\:delete_if_not_applicable\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/EmailImprovements.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\EmailImprovements\:\:is_applicable\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/EmailImprovements.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\EmailImprovements\:\:note_exists\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/EmailImprovements.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\EmailImprovements\:\:possibly_add_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/EmailImprovements.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\EmailImprovements\:\:possibly_delete_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/EmailImprovements.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\EmailImprovements\:\:possibly_update_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/EmailImprovements.php
+
+ -
+ message: '#^Parameter \#1 \$arr1 of function array_udiff expects array\<\(int&TK\)\|\(string&TK\), mixed\>, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Notes/EmailImprovements.php
+
+ -
+ message: '#^Parameter \#1 \$data of method WC_Data_Store\:\:delete\(\) expects WC_Data, Automattic\\WooCommerce\\Admin\\Notes\\Note\|true given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Notes/EmailImprovements.php
+
+ -
+ message: '#^Parameter \#1 \$function of function call_user_func expects callable\(\)\: mixed, array\{Automattic\\WooCommerce\\Admin\\Notes\\Note, non\-falsy\-string\} given\.$#'
+ identifier: argument.type
+ count: 4
+ path: src/Internal/Admin/Notes/EmailImprovements.php
+
+ -
+ message: '#^Parameter \#1 \$note1 of static method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\EmailImprovements\:\:update_note_field_if_changed\(\) expects Automattic\\WooCommerce\\Admin\\Notes\\Note, Automattic\\WooCommerce\\Admin\\Notes\\Note\|true given\.$#'
+ identifier: argument.type
+ count: 7
+ path: src/Internal/Admin/Notes/EmailImprovements.php
+
+ -
+ message: '#^Parameter \#2 \$arr2 of function array_udiff expects array\<\(int&TK\)\|\(string&TK\), mixed\>, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Notes/EmailImprovements.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_notes_with_name\(\)\.$#'
+ identifier: method.notFound
+ count: 4
+ path: src/Internal/Admin/Notes/FirstProduct.php
+
+ -
+ message: '#^Call to function method_exists\(\) with ''Automattic\\\\WooCommerce\\\\Internal\\\\Admin\\\\Notes\\\\FirstProduct'' and ''get_note'' will always evaluate to true\.$#'
+ identifier: function.alreadyNarrowedType
+ count: 1
+ path: src/Internal/Admin/Notes/FirstProduct.php
+
+ -
+ message: '#^Cannot access offset ''setup_client'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/Admin/Notes/FirstProduct.php
+
+ -
+ message: '#^Cannot access property \$total on array\|object\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: src/Internal/Admin/Notes/FirstProduct.php
+
+ -
+ message: '#^Cannot call method get_is_deleted\(\) on Automattic\\WooCommerce\\Admin\\Notes\\Note\|bool\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/Notes/FirstProduct.php
+
+ -
+ message: '#^Cannot call method get_status\(\) on Automattic\\WooCommerce\\Admin\\Notes\\Note\|bool\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: src/Internal/Admin/Notes/FirstProduct.php
+
+ -
+ message: '#^Cannot call method save\(\) on Automattic\\WooCommerce\\Admin\\Notes\\Note\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/Notes/FirstProduct.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\FirstProduct\:\:add_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/FirstProduct.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\FirstProduct\:\:can_be_added\(\) should return bool but empty return statement found\.$#'
+ identifier: return.empty
+ count: 1
+ path: src/Internal/Admin/Notes/FirstProduct.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\FirstProduct\:\:delete_if_not_applicable\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/FirstProduct.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\FirstProduct\:\:get_note\(\) should return Automattic\\WooCommerce\\Admin\\Notes\\Note but empty return statement found\.$#'
+ identifier: return.empty
+ count: 4
+ path: src/Internal/Admin/Notes/FirstProduct.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\FirstProduct\:\:is_applicable\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/FirstProduct.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\FirstProduct\:\:note_exists\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/FirstProduct.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\FirstProduct\:\:possibly_add_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/FirstProduct.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\FirstProduct\:\:possibly_delete_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/FirstProduct.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\FirstProduct\:\:possibly_update_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/FirstProduct.php
+
+ -
+ message: '#^Parameter \#1 \$arr1 of function array_udiff expects array\<\(int&TK\)\|\(string&TK\), mixed\>, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Notes/FirstProduct.php
+
+ -
+ message: '#^Parameter \#1 \$data of method WC_Data_Store\:\:delete\(\) expects WC_Data, Automattic\\WooCommerce\\Admin\\Notes\\Note\|true given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Notes/FirstProduct.php
+
+ -
+ message: '#^Parameter \#1 \$function of function call_user_func expects callable\(\)\: mixed, array\{Automattic\\WooCommerce\\Admin\\Notes\\Note, non\-falsy\-string\} given\.$#'
+ identifier: argument.type
+ count: 4
+ path: src/Internal/Admin/Notes/FirstProduct.php
+
+ -
+ message: '#^Parameter \#1 \$note1 of static method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\FirstProduct\:\:update_note_field_if_changed\(\) expects Automattic\\WooCommerce\\Admin\\Notes\\Note, Automattic\\WooCommerce\\Admin\\Notes\\Note\|true given\.$#'
+ identifier: argument.type
+ count: 7
+ path: src/Internal/Admin/Notes/FirstProduct.php
+
+ -
+ message: '#^Parameter \#2 \$arr2 of function array_udiff expects array\<\(int&TK\)\|\(string&TK\), mixed\>, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Notes/FirstProduct.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_notes_with_name\(\)\.$#'
+ identifier: method.notFound
+ count: 4
+ path: src/Internal/Admin/Notes/GivingFeedbackNotes.php
+
+ -
+ message: '#^Call to function method_exists\(\) with ''Automattic\\\\WooCommerce\\\\Internal\\\\Admin\\\\Notes\\\\GivingFeedbackNotes'' and ''get_note'' will always evaluate to true\.$#'
+ identifier: function.alreadyNarrowedType
+ count: 1
+ path: src/Internal/Admin/Notes/GivingFeedbackNotes.php
+
+ -
+ message: '#^Cannot call method get_is_deleted\(\) on Automattic\\WooCommerce\\Admin\\Notes\\Note\|bool\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/Notes/GivingFeedbackNotes.php
+
+ -
+ message: '#^Cannot call method get_status\(\) on Automattic\\WooCommerce\\Admin\\Notes\\Note\|bool\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: src/Internal/Admin/Notes/GivingFeedbackNotes.php
+
+ -
+ message: '#^Cannot call method save\(\) on Automattic\\WooCommerce\\Admin\\Notes\\Note\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/Notes/GivingFeedbackNotes.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\GivingFeedbackNotes\:\:add_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/GivingFeedbackNotes.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\GivingFeedbackNotes\:\:can_be_added\(\) should return bool but empty return statement found\.$#'
+ identifier: return.empty
+ count: 1
+ path: src/Internal/Admin/Notes/GivingFeedbackNotes.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\GivingFeedbackNotes\:\:delete_if_not_applicable\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/GivingFeedbackNotes.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\GivingFeedbackNotes\:\:get_note\(\) should return Automattic\\WooCommerce\\Admin\\Notes\\Note but empty return statement found\.$#'
+ identifier: return.empty
+ count: 1
+ path: src/Internal/Admin/Notes/GivingFeedbackNotes.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\GivingFeedbackNotes\:\:is_applicable\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/GivingFeedbackNotes.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\GivingFeedbackNotes\:\:note_exists\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/GivingFeedbackNotes.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\GivingFeedbackNotes\:\:possibly_add_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/GivingFeedbackNotes.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\GivingFeedbackNotes\:\:possibly_delete_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/GivingFeedbackNotes.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\GivingFeedbackNotes\:\:possibly_update_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/GivingFeedbackNotes.php
+
+ -
+ message: '#^Parameter \#1 \$arr1 of function array_udiff expects array\<\(int&TK\)\|\(string&TK\), mixed\>, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Notes/GivingFeedbackNotes.php
+
+ -
+ message: '#^Parameter \#1 \$data of method WC_Data_Store\:\:delete\(\) expects WC_Data, Automattic\\WooCommerce\\Admin\\Notes\\Note\|true given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Notes/GivingFeedbackNotes.php
+
+ -
+ message: '#^Parameter \#1 \$function of function call_user_func expects callable\(\)\: mixed, array\{Automattic\\WooCommerce\\Admin\\Notes\\Note, non\-falsy\-string\} given\.$#'
+ identifier: argument.type
+ count: 4
+ path: src/Internal/Admin/Notes/GivingFeedbackNotes.php
+
+ -
+ message: '#^Parameter \#1 \$note1 of static method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\GivingFeedbackNotes\:\:update_note_field_if_changed\(\) expects Automattic\\WooCommerce\\Admin\\Notes\\Note, Automattic\\WooCommerce\\Admin\\Notes\\Note\|true given\.$#'
+ identifier: argument.type
+ count: 7
+ path: src/Internal/Admin/Notes/GivingFeedbackNotes.php
+
+ -
+ message: '#^Parameter \#2 \$arr2 of function array_udiff expects array\<\(int&TK\)\|\(string&TK\), mixed\>, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Notes/GivingFeedbackNotes.php
+
+ -
+ message: '#^Call to an undefined method Automattic\\WooCommerce\\Admin\\API\\OnboardingPlugins\:\:activate_plugins\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Internal/Admin/Notes/InstallJPAndWCSPlugins.php
+
+ -
+ message: '#^Call to an undefined method Automattic\\WooCommerce\\Admin\\API\\OnboardingPlugins\:\:install_plugin\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Internal/Admin/Notes/InstallJPAndWCSPlugins.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_notes_with_name\(\)\.$#'
+ identifier: method.notFound
+ count: 5
+ path: src/Internal/Admin/Notes/InstallJPAndWCSPlugins.php
+
+ -
+ message: '#^Call to function method_exists\(\) with ''Automattic\\\\WooCommerce\\\\Internal\\\\Admin\\\\Notes\\\\InstallJPAndWCSPlugins'' and ''get_note'' will always evaluate to true\.$#'
+ identifier: function.alreadyNarrowedType
+ count: 1
+ path: src/Internal/Admin/Notes/InstallJPAndWCSPlugins.php
+
+ -
+ message: '#^Cannot call method get_is_deleted\(\) on Automattic\\WooCommerce\\Admin\\Notes\\Note\|bool\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/Notes/InstallJPAndWCSPlugins.php
+
+ -
+ message: '#^Cannot call method get_status\(\) on Automattic\\WooCommerce\\Admin\\Notes\\Note\|bool\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: src/Internal/Admin/Notes/InstallJPAndWCSPlugins.php
+
+ -
+ message: '#^Cannot call method save\(\) on Automattic\\WooCommerce\\Admin\\Notes\\Note\|true\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: src/Internal/Admin/Notes/InstallJPAndWCSPlugins.php
+
+ -
+ message: '#^Cannot call method set_status\(\) on Automattic\\WooCommerce\\Admin\\Notes\\Note\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/Notes/InstallJPAndWCSPlugins.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\InstallJPAndWCSPlugins\:\:action_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/InstallJPAndWCSPlugins.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\InstallJPAndWCSPlugins\:\:add_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/InstallJPAndWCSPlugins.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\InstallJPAndWCSPlugins\:\:can_be_added\(\) should return bool but empty return statement found\.$#'
+ identifier: return.empty
+ count: 1
+ path: src/Internal/Admin/Notes/InstallJPAndWCSPlugins.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\InstallJPAndWCSPlugins\:\:delete_if_not_applicable\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/InstallJPAndWCSPlugins.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\InstallJPAndWCSPlugins\:\:install_and_activate_plugin\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/InstallJPAndWCSPlugins.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\InstallJPAndWCSPlugins\:\:install_jp_and_wcs_plugins\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/InstallJPAndWCSPlugins.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\InstallJPAndWCSPlugins\:\:is_applicable\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/InstallJPAndWCSPlugins.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\InstallJPAndWCSPlugins\:\:note_exists\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/InstallJPAndWCSPlugins.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\InstallJPAndWCSPlugins\:\:on_install_error\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/InstallJPAndWCSPlugins.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\InstallJPAndWCSPlugins\:\:possibly_add_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/InstallJPAndWCSPlugins.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\InstallJPAndWCSPlugins\:\:possibly_delete_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/InstallJPAndWCSPlugins.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\InstallJPAndWCSPlugins\:\:possibly_update_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/InstallJPAndWCSPlugins.php
+
+ -
+ message: '#^Parameter \#1 \$arr1 of function array_udiff expects array\<\(int&TK\)\|\(string&TK\), mixed\>, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Notes/InstallJPAndWCSPlugins.php
+
+ -
+ message: '#^Parameter \#1 \$data of method WC_Data_Store\:\:delete\(\) expects WC_Data, Automattic\\WooCommerce\\Admin\\Notes\\Note\|true given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Notes/InstallJPAndWCSPlugins.php
+
+ -
+ message: '#^Parameter \#1 \$function of function call_user_func expects callable\(\)\: mixed, array\{Automattic\\WooCommerce\\Admin\\Notes\\Note, non\-falsy\-string\} given\.$#'
+ identifier: argument.type
+ count: 4
+ path: src/Internal/Admin/Notes/InstallJPAndWCSPlugins.php
+
+ -
+ message: '#^Parameter \#1 \$note1 of static method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\InstallJPAndWCSPlugins\:\:update_note_field_if_changed\(\) expects Automattic\\WooCommerce\\Admin\\Notes\\Note, Automattic\\WooCommerce\\Admin\\Notes\\Note\|true given\.$#'
+ identifier: argument.type
+ count: 7
+ path: src/Internal/Admin/Notes/InstallJPAndWCSPlugins.php
+
+ -
+ message: '#^Parameter \#2 \$arr2 of function array_udiff expects array\<\(int&TK\)\|\(string&TK\), mixed\>, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Notes/InstallJPAndWCSPlugins.php
+
+ -
+ message: '#^Parameter \#3 \$url of method Automattic\\WooCommerce\\Admin\\Notes\\Note\:\:add_action\(\) expects string, false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Notes/InstallJPAndWCSPlugins.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_notes_with_name\(\)\.$#'
+ identifier: method.notFound
+ count: 4
+ path: src/Internal/Admin/Notes/LaunchChecklist.php
+
+ -
+ message: '#^Call to function method_exists\(\) with ''Automattic\\\\WooCommerce\\\\Internal\\\\Admin\\\\Notes\\\\LaunchChecklist'' and ''get_note'' will always evaluate to true\.$#'
+ identifier: function.alreadyNarrowedType
+ count: 1
+ path: src/Internal/Admin/Notes/LaunchChecklist.php
+
+ -
+ message: '#^Cannot call method get_is_deleted\(\) on Automattic\\WooCommerce\\Admin\\Notes\\Note\|bool\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/Notes/LaunchChecklist.php
+
+ -
+ message: '#^Cannot call method get_status\(\) on Automattic\\WooCommerce\\Admin\\Notes\\Note\|bool\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: src/Internal/Admin/Notes/LaunchChecklist.php
+
+ -
+ message: '#^Cannot call method save\(\) on Automattic\\WooCommerce\\Admin\\Notes\\Note\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/Notes/LaunchChecklist.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\LaunchChecklist\:\:add_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/LaunchChecklist.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\LaunchChecklist\:\:can_be_added\(\) should return bool but empty return statement found\.$#'
+ identifier: return.empty
+ count: 1
+ path: src/Internal/Admin/Notes/LaunchChecklist.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\LaunchChecklist\:\:delete_if_not_applicable\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/LaunchChecklist.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\LaunchChecklist\:\:get_note\(\) should return Automattic\\WooCommerce\\Admin\\Notes\\Note but empty return statement found\.$#'
+ identifier: return.empty
+ count: 1
+ path: src/Internal/Admin/Notes/LaunchChecklist.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\LaunchChecklist\:\:is_applicable\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/LaunchChecklist.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\LaunchChecklist\:\:note_exists\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/LaunchChecklist.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\LaunchChecklist\:\:possibly_add_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/LaunchChecklist.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\LaunchChecklist\:\:possibly_delete_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/LaunchChecklist.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\LaunchChecklist\:\:possibly_update_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/LaunchChecklist.php
+
+ -
+ message: '#^Parameter \#1 \$arr1 of function array_udiff expects array\<\(int&TK\)\|\(string&TK\), mixed\>, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Notes/LaunchChecklist.php
+
+ -
+ message: '#^Parameter \#1 \$data of method WC_Data_Store\:\:delete\(\) expects WC_Data, Automattic\\WooCommerce\\Admin\\Notes\\Note\|true given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Notes/LaunchChecklist.php
+
+ -
+ message: '#^Parameter \#1 \$function of function call_user_func expects callable\(\)\: mixed, array\{Automattic\\WooCommerce\\Admin\\Notes\\Note, non\-falsy\-string\} given\.$#'
+ identifier: argument.type
+ count: 4
+ path: src/Internal/Admin/Notes/LaunchChecklist.php
+
+ -
+ message: '#^Parameter \#1 \$note1 of static method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\LaunchChecklist\:\:update_note_field_if_changed\(\) expects Automattic\\WooCommerce\\Admin\\Notes\\Note, Automattic\\WooCommerce\\Admin\\Notes\\Note\|true given\.$#'
+ identifier: argument.type
+ count: 7
+ path: src/Internal/Admin/Notes/LaunchChecklist.php
+
+ -
+ message: '#^Parameter \#1 \$var of function count expects array\|Countable, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Notes/LaunchChecklist.php
+
+ -
+ message: '#^Parameter \#2 \$arr2 of function array_udiff expects array\<\(int&TK\)\|\(string&TK\), mixed\>, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Notes/LaunchChecklist.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_notes_with_name\(\)\.$#'
+ identifier: method.notFound
+ count: 4
+ path: src/Internal/Admin/Notes/MagentoMigration.php
+
+ -
+ message: '#^Call to function method_exists\(\) with ''Automattic\\\\WooCommerce\\\\Internal\\\\Admin\\\\Notes\\\\MagentoMigration'' and ''get_note'' will always evaluate to true\.$#'
+ identifier: function.alreadyNarrowedType
+ count: 1
+ path: src/Internal/Admin/Notes/MagentoMigration.php
+
+ -
+ message: '#^Cannot access offset ''other_platform'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/Admin/Notes/MagentoMigration.php
+
+ -
+ message: '#^Cannot access offset ''setup_client'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/Admin/Notes/MagentoMigration.php
+
+ -
+ message: '#^Cannot call method get_is_deleted\(\) on Automattic\\WooCommerce\\Admin\\Notes\\Note\|bool\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/Notes/MagentoMigration.php
+
+ -
+ message: '#^Cannot call method get_status\(\) on Automattic\\WooCommerce\\Admin\\Notes\\Note\|bool\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: src/Internal/Admin/Notes/MagentoMigration.php
+
+ -
+ message: '#^Cannot call method save\(\) on Automattic\\WooCommerce\\Admin\\Notes\\Note\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/Notes/MagentoMigration.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\MagentoMigration\:\:add_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/MagentoMigration.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\MagentoMigration\:\:can_be_added\(\) should return bool but empty return statement found\.$#'
+ identifier: return.empty
+ count: 1
+ path: src/Internal/Admin/Notes/MagentoMigration.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\MagentoMigration\:\:delete_if_not_applicable\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/MagentoMigration.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\MagentoMigration\:\:is_applicable\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/MagentoMigration.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\MagentoMigration\:\:note_exists\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/MagentoMigration.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\MagentoMigration\:\:possibly_add_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/MagentoMigration.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\MagentoMigration\:\:possibly_delete_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/MagentoMigration.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\MagentoMigration\:\:possibly_update_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/MagentoMigration.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\MagentoMigration\:\:save_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/MagentoMigration.php
+
+ -
+ message: '#^Parameter \#1 \$arr1 of function array_udiff expects array\<\(int&TK\)\|\(string&TK\), mixed\>, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Notes/MagentoMigration.php
+
+ -
+ message: '#^Parameter \#1 \$data of method WC_Data_Store\:\:delete\(\) expects WC_Data, Automattic\\WooCommerce\\Admin\\Notes\\Note\|true given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Notes/MagentoMigration.php
+
+ -
+ message: '#^Parameter \#1 \$function of function call_user_func expects callable\(\)\: mixed, array\{Automattic\\WooCommerce\\Admin\\Notes\\Note, non\-falsy\-string\} given\.$#'
+ identifier: argument.type
+ count: 4
+ path: src/Internal/Admin/Notes/MagentoMigration.php
+
+ -
+ message: '#^Parameter \#1 \$note1 of static method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\MagentoMigration\:\:update_note_field_if_changed\(\) expects Automattic\\WooCommerce\\Admin\\Notes\\Note, Automattic\\WooCommerce\\Admin\\Notes\\Note\|true given\.$#'
+ identifier: argument.type
+ count: 7
+ path: src/Internal/Admin/Notes/MagentoMigration.php
+
+ -
+ message: '#^Parameter \#2 \$arr2 of function array_udiff expects array\<\(int&TK\)\|\(string&TK\), mixed\>, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Notes/MagentoMigration.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_notes_with_name\(\)\.$#'
+ identifier: method.notFound
+ count: 4
+ path: src/Internal/Admin/Notes/ManageOrdersOnTheGo.php
+
+ -
+ message: '#^Call to function method_exists\(\) with ''Automattic\\\\WooCommerce\\\\Internal\\\\Admin\\\\Notes\\\\ManageOrdersOnTheGo'' and ''get_note'' will always evaluate to true\.$#'
+ identifier: function.alreadyNarrowedType
+ count: 1
+ path: src/Internal/Admin/Notes/ManageOrdersOnTheGo.php
+
+ -
+ message: '#^Cannot call method get_is_deleted\(\) on Automattic\\WooCommerce\\Admin\\Notes\\Note\|bool\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/Notes/ManageOrdersOnTheGo.php
+
+ -
+ message: '#^Cannot call method get_status\(\) on Automattic\\WooCommerce\\Admin\\Notes\\Note\|bool\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: src/Internal/Admin/Notes/ManageOrdersOnTheGo.php
+
+ -
+ message: '#^Cannot call method save\(\) on Automattic\\WooCommerce\\Admin\\Notes\\Note\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/Notes/ManageOrdersOnTheGo.php
+
+ -
+ message: '#^Cannot call method save\(\) on Automattic\\WooCommerce\\Admin\\Notes\\Note\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/Notes/ManageOrdersOnTheGo.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\ManageOrdersOnTheGo\:\:add_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/ManageOrdersOnTheGo.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\ManageOrdersOnTheGo\:\:can_be_added\(\) should return bool but empty return statement found\.$#'
+ identifier: return.empty
+ count: 1
+ path: src/Internal/Admin/Notes/ManageOrdersOnTheGo.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\ManageOrdersOnTheGo\:\:delete_if_not_applicable\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/ManageOrdersOnTheGo.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\ManageOrdersOnTheGo\:\:get_note\(\) should return Automattic\\WooCommerce\\Admin\\Notes\\Note\|null but empty return statement found\.$#'
+ identifier: return.empty
+ count: 3
+ path: src/Internal/Admin/Notes/ManageOrdersOnTheGo.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\ManageOrdersOnTheGo\:\:is_applicable\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/ManageOrdersOnTheGo.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\ManageOrdersOnTheGo\:\:note_exists\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/ManageOrdersOnTheGo.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\ManageOrdersOnTheGo\:\:possibly_add_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/ManageOrdersOnTheGo.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\ManageOrdersOnTheGo\:\:possibly_delete_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/ManageOrdersOnTheGo.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\ManageOrdersOnTheGo\:\:possibly_update_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/ManageOrdersOnTheGo.php
+
+ -
+ message: '#^Parameter \#1 \$arr1 of function array_udiff expects array\<\(int&TK\)\|\(string&TK\), mixed\>, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Notes/ManageOrdersOnTheGo.php
+
+ -
+ message: '#^Parameter \#1 \$data of method WC_Data_Store\:\:delete\(\) expects WC_Data, Automattic\\WooCommerce\\Admin\\Notes\\Note\|true given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Notes/ManageOrdersOnTheGo.php
+
+ -
+ message: '#^Parameter \#1 \$function of function call_user_func expects callable\(\)\: mixed, array\{Automattic\\WooCommerce\\Admin\\Notes\\Note, non\-falsy\-string\} given\.$#'
+ identifier: argument.type
+ count: 4
+ path: src/Internal/Admin/Notes/ManageOrdersOnTheGo.php
+
+ -
+ message: '#^Parameter \#1 \$note1 of static method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\ManageOrdersOnTheGo\:\:update_note_field_if_changed\(\) expects Automattic\\WooCommerce\\Admin\\Notes\\Note, Automattic\\WooCommerce\\Admin\\Notes\\Note\|true given\.$#'
+ identifier: argument.type
+ count: 7
+ path: src/Internal/Admin/Notes/ManageOrdersOnTheGo.php
+
+ -
+ message: '#^Parameter \#2 \$arr2 of function array_udiff expects array\<\(int&TK\)\|\(string&TK\), mixed\>, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Notes/ManageOrdersOnTheGo.php
+
+ -
+ message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
+ count: 1
+ path: src/Internal/Admin/Notes/MarketingJetpack.php
+
+ -
+ message: '#^Call to an undefined method Automattic\\WooCommerce\\Admin\\Notes\\Note\|Automattic\\WooCommerce\\Admin\\Notes\\WC_Admin_Note\:\:get_type\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Internal/Admin/Notes/MarketingJetpack.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_notes_with_name\(\)\.$#'
+ identifier: method.notFound
+ count: 5
+ path: src/Internal/Admin/Notes/MarketingJetpack.php
+
+ -
+ message: '#^Call to function method_exists\(\) with ''Automattic\\\\WooCommerce\\\\Internal\\\\Admin\\\\Notes\\\\MarketingJetpack'' and ''get_note'' will always evaluate to true\.$#'
+ identifier: function.alreadyNarrowedType
+ count: 1
+ path: src/Internal/Admin/Notes/MarketingJetpack.php
+
+ -
+ message: '#^Cannot access offset ''product_id'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: src/Internal/Admin/Notes/MarketingJetpack.php
+
+ -
+ message: '#^Cannot call method get_is_deleted\(\) on Automattic\\WooCommerce\\Admin\\Notes\\Note\|bool\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/Notes/MarketingJetpack.php
+
+ -
+ message: '#^Cannot call method get_status\(\) on Automattic\\WooCommerce\\Admin\\Notes\\Note\|bool\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: src/Internal/Admin/Notes/MarketingJetpack.php
+
+ -
+ message: '#^Cannot call method get_status\(\) on Automattic\\WooCommerce\\Admin\\Notes\\Note\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/Notes/MarketingJetpack.php
+
+ -
+ message: '#^Cannot call method save\(\) on Automattic\\WooCommerce\\Admin\\Notes\\Note\|true\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: src/Internal/Admin/Notes/MarketingJetpack.php
+
+ -
+ message: '#^Cannot call method set_status\(\) on Automattic\\WooCommerce\\Admin\\Notes\\Note\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/Notes/MarketingJetpack.php
+
+ -
+ message: '#^Constant WC_ADMIN_IMAGES_FOLDER_URL not found\.$#'
+ identifier: constant.notFound
+ count: 1
+ path: src/Internal/Admin/Notes/MarketingJetpack.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\MarketingJetpack\:\:add_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/MarketingJetpack.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\MarketingJetpack\:\:can_be_added\(\) should return bool but empty return statement found\.$#'
+ identifier: return.empty
+ count: 1
+ path: src/Internal/Admin/Notes/MarketingJetpack.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\MarketingJetpack\:\:delete_if_not_applicable\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/MarketingJetpack.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\MarketingJetpack\:\:get_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/MarketingJetpack.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\MarketingJetpack\:\:is_applicable\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/MarketingJetpack.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\MarketingJetpack\:\:note_exists\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/MarketingJetpack.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\MarketingJetpack\:\:possibly_add_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/MarketingJetpack.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\MarketingJetpack\:\:possibly_delete_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/MarketingJetpack.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\MarketingJetpack\:\:possibly_update_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/MarketingJetpack.php
+
+ -
+ message: '#^Parameter \#1 \$arr1 of function array_udiff expects array\<\(int&TK\)\|\(string&TK\), mixed\>, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Notes/MarketingJetpack.php
+
+ -
+ message: '#^Parameter \#1 \$data of method WC_Data_Store\:\:delete\(\) expects WC_Data, Automattic\\WooCommerce\\Admin\\Notes\\Note\|true given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Notes/MarketingJetpack.php
+
+ -
+ message: '#^Parameter \#1 \$function of function call_user_func expects callable\(\)\: mixed, array\{Automattic\\WooCommerce\\Admin\\Notes\\Note, non\-falsy\-string\} given\.$#'
+ identifier: argument.type
+ count: 4
+ path: src/Internal/Admin/Notes/MarketingJetpack.php
+
+ -
+ message: '#^Parameter \#1 \$note1 of static method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\MarketingJetpack\:\:update_note_field_if_changed\(\) expects Automattic\\WooCommerce\\Admin\\Notes\\Note, Automattic\\WooCommerce\\Admin\\Notes\\Note\|true given\.$#'
+ identifier: argument.type
+ count: 7
+ path: src/Internal/Admin/Notes/MarketingJetpack.php
+
+ -
+ message: '#^Parameter \#2 \$arr2 of function array_udiff expects array\<\(int&TK\)\|\(string&TK\), mixed\>, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Notes/MarketingJetpack.php
+
+ -
+ message: '#^Parameter \#2 \$note2 of static method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\MarketingJetpack\:\:update_note_field_if_changed\(\) expects Automattic\\WooCommerce\\Admin\\Notes\\Note, Automattic\\WooCommerce\\Admin\\Notes\\Note\|Automattic\\WooCommerce\\Admin\\Notes\\WC_Admin_Note given\.$#'
+ identifier: argument.type
+ count: 7
+ path: src/Internal/Admin/Notes/MarketingJetpack.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_notes_with_name\(\)\.$#'
+ identifier: method.notFound
+ count: 4
+ path: src/Internal/Admin/Notes/MigrateFromShopify.php
+
+ -
+ message: '#^Call to function method_exists\(\) with ''Automattic\\\\WooCommerce\\\\Internal\\\\Admin\\\\Notes\\\\MigrateFromShopify'' and ''get_note'' will always evaluate to true\.$#'
+ identifier: function.alreadyNarrowedType
+ count: 1
+ path: src/Internal/Admin/Notes/MigrateFromShopify.php
+
+ -
+ message: '#^Cannot access offset ''other_platform'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/Admin/Notes/MigrateFromShopify.php
+
+ -
+ message: '#^Cannot access offset ''selling_venues'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/Admin/Notes/MigrateFromShopify.php
+
+ -
+ message: '#^Cannot access offset ''setup_client'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/Admin/Notes/MigrateFromShopify.php
+
+ -
+ message: '#^Cannot call method get_is_deleted\(\) on Automattic\\WooCommerce\\Admin\\Notes\\Note\|bool\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/Notes/MigrateFromShopify.php
+
+ -
+ message: '#^Cannot call method get_status\(\) on Automattic\\WooCommerce\\Admin\\Notes\\Note\|bool\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: src/Internal/Admin/Notes/MigrateFromShopify.php
+
+ -
+ message: '#^Cannot call method save\(\) on Automattic\\WooCommerce\\Admin\\Notes\\Note\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/Notes/MigrateFromShopify.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\MigrateFromShopify\:\:add_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/MigrateFromShopify.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\MigrateFromShopify\:\:can_be_added\(\) should return bool but empty return statement found\.$#'
+ identifier: return.empty
+ count: 1
+ path: src/Internal/Admin/Notes/MigrateFromShopify.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\MigrateFromShopify\:\:delete_if_not_applicable\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/MigrateFromShopify.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\MigrateFromShopify\:\:get_note\(\) should return Automattic\\WooCommerce\\Admin\\Notes\\Note but empty return statement found\.$#'
+ identifier: return.empty
+ count: 4
+ path: src/Internal/Admin/Notes/MigrateFromShopify.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\MigrateFromShopify\:\:is_applicable\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/MigrateFromShopify.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\MigrateFromShopify\:\:note_exists\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/MigrateFromShopify.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\MigrateFromShopify\:\:possibly_add_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/MigrateFromShopify.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\MigrateFromShopify\:\:possibly_delete_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/MigrateFromShopify.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\MigrateFromShopify\:\:possibly_update_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/MigrateFromShopify.php
+
+ -
+ message: '#^Parameter \#1 \$arr1 of function array_udiff expects array\<\(int&TK\)\|\(string&TK\), mixed\>, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Notes/MigrateFromShopify.php
+
+ -
+ message: '#^Parameter \#1 \$data of method WC_Data_Store\:\:delete\(\) expects WC_Data, Automattic\\WooCommerce\\Admin\\Notes\\Note\|true given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Notes/MigrateFromShopify.php
+
+ -
+ message: '#^Parameter \#1 \$function of function call_user_func expects callable\(\)\: mixed, array\{Automattic\\WooCommerce\\Admin\\Notes\\Note, non\-falsy\-string\} given\.$#'
+ identifier: argument.type
+ count: 4
+ path: src/Internal/Admin/Notes/MigrateFromShopify.php
+
+ -
+ message: '#^Parameter \#1 \$note1 of static method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\MigrateFromShopify\:\:update_note_field_if_changed\(\) expects Automattic\\WooCommerce\\Admin\\Notes\\Note, Automattic\\WooCommerce\\Admin\\Notes\\Note\|true given\.$#'
+ identifier: argument.type
+ count: 7
+ path: src/Internal/Admin/Notes/MigrateFromShopify.php
+
+ -
+ message: '#^Parameter \#2 \$arr2 of function array_udiff expects array\<\(int&TK\)\|\(string&TK\), mixed\>, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Notes/MigrateFromShopify.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_notes_with_name\(\)\.$#'
+ identifier: method.notFound
+ count: 4
+ path: src/Internal/Admin/Notes/MobileApp.php
+
+ -
+ message: '#^Call to function method_exists\(\) with ''Automattic\\\\WooCommerce\\\\Internal\\\\Admin\\\\Notes\\\\MobileApp'' and ''get_note'' will always evaluate to true\.$#'
+ identifier: function.alreadyNarrowedType
+ count: 1
+ path: src/Internal/Admin/Notes/MobileApp.php
+
+ -
+ message: '#^Cannot call method get_is_deleted\(\) on Automattic\\WooCommerce\\Admin\\Notes\\Note\|bool\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/Notes/MobileApp.php
+
+ -
+ message: '#^Cannot call method get_status\(\) on Automattic\\WooCommerce\\Admin\\Notes\\Note\|bool\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: src/Internal/Admin/Notes/MobileApp.php
+
+ -
+ message: '#^Cannot call method save\(\) on Automattic\\WooCommerce\\Admin\\Notes\\Note\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/Notes/MobileApp.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\MobileApp\:\:add_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/MobileApp.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\MobileApp\:\:can_be_added\(\) should return bool but empty return statement found\.$#'
+ identifier: return.empty
+ count: 1
+ path: src/Internal/Admin/Notes/MobileApp.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\MobileApp\:\:delete_if_not_applicable\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/MobileApp.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\MobileApp\:\:get_note\(\) should return Automattic\\WooCommerce\\Admin\\Notes\\Note but empty return statement found\.$#'
+ identifier: return.empty
+ count: 1
+ path: src/Internal/Admin/Notes/MobileApp.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\MobileApp\:\:is_applicable\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/MobileApp.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\MobileApp\:\:note_exists\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/MobileApp.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\MobileApp\:\:possibly_add_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/MobileApp.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\MobileApp\:\:possibly_delete_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/MobileApp.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\MobileApp\:\:possibly_update_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/MobileApp.php
+
+ -
+ message: '#^Parameter \#1 \$arr1 of function array_udiff expects array\<\(int&TK\)\|\(string&TK\), mixed\>, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Notes/MobileApp.php
+
+ -
+ message: '#^Parameter \#1 \$data of method WC_Data_Store\:\:delete\(\) expects WC_Data, Automattic\\WooCommerce\\Admin\\Notes\\Note\|true given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Notes/MobileApp.php
+
+ -
+ message: '#^Parameter \#1 \$function of function call_user_func expects callable\(\)\: mixed, array\{Automattic\\WooCommerce\\Admin\\Notes\\Note, non\-falsy\-string\} given\.$#'
+ identifier: argument.type
+ count: 4
+ path: src/Internal/Admin/Notes/MobileApp.php
+
+ -
+ message: '#^Parameter \#1 \$note1 of static method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\MobileApp\:\:update_note_field_if_changed\(\) expects Automattic\\WooCommerce\\Admin\\Notes\\Note, Automattic\\WooCommerce\\Admin\\Notes\\Note\|true given\.$#'
+ identifier: argument.type
+ count: 7
+ path: src/Internal/Admin/Notes/MobileApp.php
+
+ -
+ message: '#^Parameter \#2 \$arr2 of function array_udiff expects array\<\(int&TK\)\|\(string&TK\), mixed\>, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Notes/MobileApp.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$new_record_amt\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/Internal/Admin/Notes/NewSalesRecord.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$new_record_date\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/Internal/Admin/Notes/NewSalesRecord.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$old_record_amt\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/Internal/Admin/Notes/NewSalesRecord.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$old_record_date\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/Internal/Admin/Notes/NewSalesRecord.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_notes_with_name\(\)\.$#'
+ identifier: method.notFound
+ count: 4
+ path: src/Internal/Admin/Notes/NewSalesRecord.php
+
+ -
+ message: '#^Call to function method_exists\(\) with ''Automattic\\\\WooCommerce\\\\Internal\\\\Admin\\\\Notes\\\\NewSalesRecord'' and ''get_note'' will always evaluate to true\.$#'
+ identifier: function.alreadyNarrowedType
+ count: 1
+ path: src/Internal/Admin/Notes/NewSalesRecord.php
+
+ -
+ message: '#^Cannot call method get_content_data\(\) on Automattic\\WooCommerce\\Admin\\Notes\\Note\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/Notes/NewSalesRecord.php
+
+ -
+ message: '#^Cannot call method get_is_deleted\(\) on Automattic\\WooCommerce\\Admin\\Notes\\Note\|bool\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/Notes/NewSalesRecord.php
+
+ -
+ message: '#^Cannot call method get_status\(\) on Automattic\\WooCommerce\\Admin\\Notes\\Note\|bool\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: src/Internal/Admin/Notes/NewSalesRecord.php
+
+ -
+ message: '#^Cannot call method save\(\) on Automattic\\WooCommerce\\Admin\\Notes\\Note\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/Notes/NewSalesRecord.php
+
+ -
+ message: '#^Comparison operation "\>" between Automattic\\WooCommerce\\Internal\\Admin\\Notes\\floatval and float results in an error\.$#'
+ identifier: greater.invalid
+ count: 1
+ path: src/Internal/Admin/Notes/NewSalesRecord.php
+
+ -
+ message: '#^Comparison operation "\>\=" between 0 and Automattic\\WooCommerce\\Internal\\Admin\\Notes\\floatval results in an error\.$#'
+ identifier: greaterOrEqual.invalid
+ count: 1
+ path: src/Internal/Admin/Notes/NewSalesRecord.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\NewSalesRecord\:\:add_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/NewSalesRecord.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\NewSalesRecord\:\:can_be_added\(\) should return bool but empty return statement found\.$#'
+ identifier: return.empty
+ count: 1
+ path: src/Internal/Admin/Notes/NewSalesRecord.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\NewSalesRecord\:\:delete_if_not_applicable\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/NewSalesRecord.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\NewSalesRecord\:\:get_note\(\) should return Automattic\\WooCommerce\\Admin\\Notes\\Note but returns false\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/Admin/Notes/NewSalesRecord.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\NewSalesRecord\:\:is_applicable\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/NewSalesRecord.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\NewSalesRecord\:\:note_exists\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/NewSalesRecord.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\NewSalesRecord\:\:possibly_add_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/NewSalesRecord.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\NewSalesRecord\:\:possibly_delete_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/NewSalesRecord.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\NewSalesRecord\:\:possibly_update_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/NewSalesRecord.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\NewSalesRecord\:\:sum_sales_for_date\(\) has invalid return type Automattic\\WooCommerce\\Internal\\Admin\\Notes\\floatval\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/Admin/Notes/NewSalesRecord.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\NewSalesRecord\:\:sum_sales_for_date\(\) should return Automattic\\WooCommerce\\Internal\\Admin\\Notes\\floatval but returns \(float\|int\)\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/Admin/Notes/NewSalesRecord.php
+
+ -
+ message: '#^One or more @param tags has an invalid name or invalid syntax\.$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Internal/Admin/Notes/NewSalesRecord.php
+
+ -
+ message: '#^PHPDoc tag @param has invalid value \(boolean default true\)\: Unexpected token "default", expected variable at offset 112 on line 6$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Internal/Admin/Notes/NewSalesRecord.php
+
+ -
+ message: '#^Parameter \#1 \$arr1 of function array_udiff expects array\<\(int&TK\)\|\(string&TK\), mixed\>, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Notes/NewSalesRecord.php
+
+ -
+ message: '#^Parameter \#1 \$data of method WC_Data_Store\:\:delete\(\) expects WC_Data, Automattic\\WooCommerce\\Admin\\Notes\\Note\|true given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Notes/NewSalesRecord.php
+
+ -
+ message: '#^Parameter \#1 \$format of function date_i18n expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Internal/Admin/Notes/NewSalesRecord.php
+
+ -
+ message: '#^Parameter \#1 \$function of function call_user_func expects callable\(\)\: mixed, array\{Automattic\\WooCommerce\\Admin\\Notes\\Note, non\-falsy\-string\} given\.$#'
+ identifier: argument.type
+ count: 4
+ path: src/Internal/Admin/Notes/NewSalesRecord.php
+
+ -
+ message: '#^Parameter \#1 \$note1 of static method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\NewSalesRecord\:\:update_note_field_if_changed\(\) expects Automattic\\WooCommerce\\Admin\\Notes\\Note, Automattic\\WooCommerce\\Admin\\Notes\\Note\|true given\.$#'
+ identifier: argument.type
+ count: 7
+ path: src/Internal/Admin/Notes/NewSalesRecord.php
+
+ -
+ message: '#^Parameter \#1 \$price of function wc_price expects float, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Notes/NewSalesRecord.php
+
+ -
+ message: '#^Parameter \#1 \$record_date of static method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\NewSalesRecord\:\:get_note_with_record_data\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Notes/NewSalesRecord.php
+
+ -
+ message: '#^Parameter \#1 \$var of function floatval expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Notes/NewSalesRecord.php
+
+ -
+ message: '#^Parameter \#2 \$arr2 of function array_udiff expects array\<\(int&TK\)\|\(string&TK\), mixed\>, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Notes/NewSalesRecord.php
+
+ -
+ message: '#^Parameter \#4 \$total of static method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\NewSalesRecord\:\:get_note_with_record_data\(\) expects string, Automattic\\WooCommerce\\Internal\\Admin\\Notes\\floatval given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Notes/NewSalesRecord.php
+
+ -
+ message: '#^Access to an undefined property WooCommerce\:\:\$payment_gateways\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/Internal/Admin/Notes/OnboardingPayments.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_notes_with_name\(\)\.$#'
+ identifier: method.notFound
+ count: 4
+ path: src/Internal/Admin/Notes/OnboardingPayments.php
+
+ -
+ message: '#^Call to function method_exists\(\) with ''Automattic\\\\WooCommerce\\\\Internal\\\\Admin\\\\Notes\\\\OnboardingPayments'' and ''get_note'' will always evaluate to true\.$#'
+ identifier: function.alreadyNarrowedType
+ count: 1
+ path: src/Internal/Admin/Notes/OnboardingPayments.php
+
+ -
+ message: '#^Cannot call method get_is_deleted\(\) on Automattic\\WooCommerce\\Admin\\Notes\\Note\|bool\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/Notes/OnboardingPayments.php
+
+ -
+ message: '#^Cannot call method get_status\(\) on Automattic\\WooCommerce\\Admin\\Notes\\Note\|bool\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: src/Internal/Admin/Notes/OnboardingPayments.php
+
+ -
+ message: '#^Cannot call method save\(\) on Automattic\\WooCommerce\\Admin\\Notes\\Note\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/Notes/OnboardingPayments.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\OnboardingPayments\:\:add_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/OnboardingPayments.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\OnboardingPayments\:\:can_be_added\(\) should return bool but empty return statement found\.$#'
+ identifier: return.empty
+ count: 1
+ path: src/Internal/Admin/Notes/OnboardingPayments.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\OnboardingPayments\:\:delete_if_not_applicable\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/OnboardingPayments.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\OnboardingPayments\:\:get_note\(\) should return Automattic\\WooCommerce\\Admin\\Notes\\Note but empty return statement found\.$#'
+ identifier: return.empty
+ count: 2
+ path: src/Internal/Admin/Notes/OnboardingPayments.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\OnboardingPayments\:\:is_applicable\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/OnboardingPayments.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\OnboardingPayments\:\:note_exists\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/OnboardingPayments.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\OnboardingPayments\:\:possibly_add_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/OnboardingPayments.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\OnboardingPayments\:\:possibly_delete_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/OnboardingPayments.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\OnboardingPayments\:\:possibly_update_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/OnboardingPayments.php
+
+ -
+ message: '#^Parameter \#1 \$arr1 of function array_udiff expects array\<\(int&TK\)\|\(string&TK\), mixed\>, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Notes/OnboardingPayments.php
+
+ -
+ message: '#^Parameter \#1 \$data of method WC_Data_Store\:\:delete\(\) expects WC_Data, Automattic\\WooCommerce\\Admin\\Notes\\Note\|true given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Notes/OnboardingPayments.php
+
+ -
+ message: '#^Parameter \#1 \$function of function call_user_func expects callable\(\)\: mixed, array\{Automattic\\WooCommerce\\Admin\\Notes\\Note, non\-falsy\-string\} given\.$#'
+ identifier: argument.type
+ count: 4
+ path: src/Internal/Admin/Notes/OnboardingPayments.php
+
+ -
+ message: '#^Parameter \#1 \$note1 of static method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\OnboardingPayments\:\:update_note_field_if_changed\(\) expects Automattic\\WooCommerce\\Admin\\Notes\\Note, Automattic\\WooCommerce\\Admin\\Notes\\Note\|true given\.$#'
+ identifier: argument.type
+ count: 7
+ path: src/Internal/Admin/Notes/OnboardingPayments.php
+
+ -
+ message: '#^Parameter \#2 \$arr2 of function array_udiff expects array\<\(int&TK\)\|\(string&TK\), mixed\>, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Notes/OnboardingPayments.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_notes_with_name\(\)\.$#'
+ identifier: method.notFound
+ count: 4
+ path: src/Internal/Admin/Notes/OnlineClothingStore.php
+
+ -
+ message: '#^Call to function method_exists\(\) with ''Automattic\\\\WooCommerce\\\\Internal\\\\Admin\\\\Notes\\\\OnlineClothingStore'' and ''get_note'' will always evaluate to true\.$#'
+ identifier: function.alreadyNarrowedType
+ count: 1
+ path: src/Internal/Admin/Notes/OnlineClothingStore.php
+
+ -
+ message: '#^Cannot access offset ''industry'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/Admin/Notes/OnlineClothingStore.php
+
+ -
+ message: '#^Cannot access offset ''setup_client'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/Admin/Notes/OnlineClothingStore.php
+
+ -
+ message: '#^Cannot call method get_is_deleted\(\) on Automattic\\WooCommerce\\Admin\\Notes\\Note\|bool\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/Notes/OnlineClothingStore.php
+
+ -
+ message: '#^Cannot call method get_status\(\) on Automattic\\WooCommerce\\Admin\\Notes\\Note\|bool\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: src/Internal/Admin/Notes/OnlineClothingStore.php
+
+ -
+ message: '#^Cannot call method save\(\) on Automattic\\WooCommerce\\Admin\\Notes\\Note\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/Notes/OnlineClothingStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\OnlineClothingStore\:\:add_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/OnlineClothingStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\OnlineClothingStore\:\:can_be_added\(\) should return bool but empty return statement found\.$#'
+ identifier: return.empty
+ count: 1
+ path: src/Internal/Admin/Notes/OnlineClothingStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\OnlineClothingStore\:\:delete_if_not_applicable\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/OnlineClothingStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\OnlineClothingStore\:\:get_note\(\) should return Automattic\\WooCommerce\\Admin\\Notes\\Note but empty return statement found\.$#'
+ identifier: return.empty
+ count: 5
+ path: src/Internal/Admin/Notes/OnlineClothingStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\OnlineClothingStore\:\:is_applicable\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/OnlineClothingStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\OnlineClothingStore\:\:note_exists\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/OnlineClothingStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\OnlineClothingStore\:\:possibly_add_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/OnlineClothingStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\OnlineClothingStore\:\:possibly_delete_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/OnlineClothingStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\OnlineClothingStore\:\:possibly_update_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/OnlineClothingStore.php
+
+ -
+ message: '#^Parameter \#1 \$arr1 of function array_udiff expects array\<\(int&TK\)\|\(string&TK\), mixed\>, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Notes/OnlineClothingStore.php
+
+ -
+ message: '#^Parameter \#1 \$data of method WC_Data_Store\:\:delete\(\) expects WC_Data, Automattic\\WooCommerce\\Admin\\Notes\\Note\|true given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Notes/OnlineClothingStore.php
+
+ -
+ message: '#^Parameter \#1 \$function of function call_user_func expects callable\(\)\: mixed, array\{Automattic\\WooCommerce\\Admin\\Notes\\Note, non\-falsy\-string\} given\.$#'
+ identifier: argument.type
+ count: 4
+ path: src/Internal/Admin/Notes/OnlineClothingStore.php
+
+ -
+ message: '#^Parameter \#1 \$industries of static method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\OnlineClothingStore\:\:is_in_fashion_industry\(\) expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Notes/OnlineClothingStore.php
+
+ -
+ message: '#^Parameter \#1 \$note1 of static method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\OnlineClothingStore\:\:update_note_field_if_changed\(\) expects Automattic\\WooCommerce\\Admin\\Notes\\Note, Automattic\\WooCommerce\\Admin\\Notes\\Note\|true given\.$#'
+ identifier: argument.type
+ count: 7
+ path: src/Internal/Admin/Notes/OnlineClothingStore.php
+
+ -
+ message: '#^Parameter \#2 \$arr2 of function array_udiff expects array\<\(int&TK\)\|\(string&TK\), mixed\>, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Notes/OnlineClothingStore.php
+
+ -
+ message: '#^Cannot call method get_content_data\(\) on Automattic\\WooCommerce\\Admin\\Notes\\Note\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/Notes/OrderMilestones.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\OrderMilestones\:\:backfill_last_milestone\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/OrderMilestones.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\OrderMilestones\:\:clear_scheduled_event\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/OrderMilestones.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\OrderMilestones\:\:get_last_milestone\(\) should return int but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/Admin/Notes/OrderMilestones.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\OrderMilestones\:\:get_note\(\) should return Automattic\\WooCommerce\\Admin\\Notes\\Note but returns false\.$#'
+ identifier: return.type
+ count: 2
+ path: src/Internal/Admin/Notes/OrderMilestones.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\OrderMilestones\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/OrderMilestones.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\OrderMilestones\:\:possibly_add_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/OrderMilestones.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\OrderMilestones\:\:set_last_milestone\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/OrderMilestones.php
+
+ -
+ message: '#^One or more @param tags has an invalid name or invalid syntax\.$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Internal/Admin/Notes/OrderMilestones.php
+
+ -
+ message: '#^PHPDoc tag @param has invalid value \(boolean default true\)\: Unexpected token "default", expected variable at offset 105 on line 6$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Internal/Admin/Notes/OrderMilestones.php
+
+ -
+ message: '#^Binary operation "\-" between int\<1, max\> and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: src/Internal/Admin/Notes/PaymentsMoreInfoNeeded.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_notes_with_name\(\)\.$#'
+ identifier: method.notFound
+ count: 4
+ path: src/Internal/Admin/Notes/PaymentsMoreInfoNeeded.php
+
+ -
+ message: '#^Call to function method_exists\(\) with ''Automattic\\\\WooCommerce\\\\Internal\\\\Admin\\\\Notes\\\\PaymentsMoreInfoNeeded'' and ''get_note'' will always evaluate to true\.$#'
+ identifier: function.alreadyNarrowedType
+ count: 1
+ path: src/Internal/Admin/Notes/PaymentsMoreInfoNeeded.php
+
+ -
+ message: '#^Cannot call method get_is_deleted\(\) on Automattic\\WooCommerce\\Admin\\Notes\\Note\|bool\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/Notes/PaymentsMoreInfoNeeded.php
+
+ -
+ message: '#^Cannot call method get_status\(\) on Automattic\\WooCommerce\\Admin\\Notes\\Note\|bool\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: src/Internal/Admin/Notes/PaymentsMoreInfoNeeded.php
+
+ -
+ message: '#^Cannot call method has_incentive\(\) on Automattic\\WooCommerce\\Internal\\Admin\\WcPayWelcomePage\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/Notes/PaymentsMoreInfoNeeded.php
+
+ -
+ message: '#^Cannot call method save\(\) on Automattic\\WooCommerce\\Admin\\Notes\\Note\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/Notes/PaymentsMoreInfoNeeded.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\PaymentsMoreInfoNeeded\:\:add_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/PaymentsMoreInfoNeeded.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\PaymentsMoreInfoNeeded\:\:can_be_added\(\) should return bool but empty return statement found\.$#'
+ identifier: return.empty
+ count: 1
+ path: src/Internal/Admin/Notes/PaymentsMoreInfoNeeded.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\PaymentsMoreInfoNeeded\:\:delete_if_not_applicable\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/PaymentsMoreInfoNeeded.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\PaymentsMoreInfoNeeded\:\:get_note\(\) should return Automattic\\WooCommerce\\Admin\\Notes\\Note but empty return statement found\.$#'
+ identifier: return.empty
+ count: 1
+ path: src/Internal/Admin/Notes/PaymentsMoreInfoNeeded.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\PaymentsMoreInfoNeeded\:\:is_applicable\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/PaymentsMoreInfoNeeded.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\PaymentsMoreInfoNeeded\:\:note_exists\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/PaymentsMoreInfoNeeded.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\PaymentsMoreInfoNeeded\:\:possibly_add_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/PaymentsMoreInfoNeeded.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\PaymentsMoreInfoNeeded\:\:possibly_delete_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/PaymentsMoreInfoNeeded.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\PaymentsMoreInfoNeeded\:\:possibly_update_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/PaymentsMoreInfoNeeded.php
+
+ -
+ message: '#^Parameter \#1 \$arr1 of function array_udiff expects array\<\(int&TK\)\|\(string&TK\), mixed\>, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Notes/PaymentsMoreInfoNeeded.php
+
+ -
+ message: '#^Parameter \#1 \$data of method WC_Data_Store\:\:delete\(\) expects WC_Data, Automattic\\WooCommerce\\Admin\\Notes\\Note\|true given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Notes/PaymentsMoreInfoNeeded.php
+
+ -
+ message: '#^Parameter \#1 \$function of function call_user_func expects callable\(\)\: mixed, array\{Automattic\\WooCommerce\\Admin\\Notes\\Note, non\-falsy\-string\} given\.$#'
+ identifier: argument.type
+ count: 4
+ path: src/Internal/Admin/Notes/PaymentsMoreInfoNeeded.php
+
+ -
+ message: '#^Parameter \#1 \$note1 of static method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\PaymentsMoreInfoNeeded\:\:update_note_field_if_changed\(\) expects Automattic\\WooCommerce\\Admin\\Notes\\Note, Automattic\\WooCommerce\\Admin\\Notes\\Note\|true given\.$#'
+ identifier: argument.type
+ count: 7
+ path: src/Internal/Admin/Notes/PaymentsMoreInfoNeeded.php
+
+ -
+ message: '#^Parameter \#2 \$arr2 of function array_udiff expects array\<\(int&TK\)\|\(string&TK\), mixed\>, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Notes/PaymentsMoreInfoNeeded.php
+
+ -
+ message: '#^Binary operation "\-" between int\<1, max\> and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: src/Internal/Admin/Notes/PaymentsRemindMeLater.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_notes_with_name\(\)\.$#'
+ identifier: method.notFound
+ count: 4
+ path: src/Internal/Admin/Notes/PaymentsRemindMeLater.php
+
+ -
+ message: '#^Call to function method_exists\(\) with ''Automattic\\\\WooCommerce\\\\Internal\\\\Admin\\\\Notes\\\\PaymentsRemindMeLater'' and ''get_note'' will always evaluate to true\.$#'
+ identifier: function.alreadyNarrowedType
+ count: 1
+ path: src/Internal/Admin/Notes/PaymentsRemindMeLater.php
+
+ -
+ message: '#^Cannot call method get_is_deleted\(\) on Automattic\\WooCommerce\\Admin\\Notes\\Note\|bool\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/Notes/PaymentsRemindMeLater.php
+
+ -
+ message: '#^Cannot call method get_status\(\) on Automattic\\WooCommerce\\Admin\\Notes\\Note\|bool\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: src/Internal/Admin/Notes/PaymentsRemindMeLater.php
+
+ -
+ message: '#^Cannot call method has_incentive\(\) on Automattic\\WooCommerce\\Internal\\Admin\\WcPayWelcomePage\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/Notes/PaymentsRemindMeLater.php
+
+ -
+ message: '#^Cannot call method save\(\) on Automattic\\WooCommerce\\Admin\\Notes\\Note\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/Notes/PaymentsRemindMeLater.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\PaymentsRemindMeLater\:\:add_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/PaymentsRemindMeLater.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\PaymentsRemindMeLater\:\:can_be_added\(\) should return bool but empty return statement found\.$#'
+ identifier: return.empty
+ count: 1
+ path: src/Internal/Admin/Notes/PaymentsRemindMeLater.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\PaymentsRemindMeLater\:\:delete_if_not_applicable\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/PaymentsRemindMeLater.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\PaymentsRemindMeLater\:\:get_note\(\) should return Automattic\\WooCommerce\\Admin\\Notes\\Note but empty return statement found\.$#'
+ identifier: return.empty
+ count: 1
+ path: src/Internal/Admin/Notes/PaymentsRemindMeLater.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\PaymentsRemindMeLater\:\:is_applicable\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/PaymentsRemindMeLater.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\PaymentsRemindMeLater\:\:note_exists\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/PaymentsRemindMeLater.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\PaymentsRemindMeLater\:\:possibly_add_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/PaymentsRemindMeLater.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\PaymentsRemindMeLater\:\:possibly_delete_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/PaymentsRemindMeLater.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\PaymentsRemindMeLater\:\:possibly_update_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/PaymentsRemindMeLater.php
+
+ -
+ message: '#^Parameter \#1 \$arr1 of function array_udiff expects array\<\(int&TK\)\|\(string&TK\), mixed\>, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Notes/PaymentsRemindMeLater.php
+
+ -
+ message: '#^Parameter \#1 \$data of method WC_Data_Store\:\:delete\(\) expects WC_Data, Automattic\\WooCommerce\\Admin\\Notes\\Note\|true given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Notes/PaymentsRemindMeLater.php
+
+ -
+ message: '#^Parameter \#1 \$function of function call_user_func expects callable\(\)\: mixed, array\{Automattic\\WooCommerce\\Admin\\Notes\\Note, non\-falsy\-string\} given\.$#'
+ identifier: argument.type
+ count: 4
+ path: src/Internal/Admin/Notes/PaymentsRemindMeLater.php
+
+ -
+ message: '#^Parameter \#1 \$note1 of static method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\PaymentsRemindMeLater\:\:update_note_field_if_changed\(\) expects Automattic\\WooCommerce\\Admin\\Notes\\Note, Automattic\\WooCommerce\\Admin\\Notes\\Note\|true given\.$#'
+ identifier: argument.type
+ count: 7
+ path: src/Internal/Admin/Notes/PaymentsRemindMeLater.php
+
+ -
+ message: '#^Parameter \#2 \$arr2 of function array_udiff expects array\<\(int&TK\)\|\(string&TK\), mixed\>, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Notes/PaymentsRemindMeLater.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_notes_with_name\(\)\.$#'
+ identifier: method.notFound
+ count: 4
+ path: src/Internal/Admin/Notes/PerformanceOnMobile.php
+
+ -
+ message: '#^Call to function method_exists\(\) with ''Automattic\\\\WooCommerce\\\\Internal\\\\Admin\\\\Notes\\\\PerformanceOnMobile'' and ''get_note'' will always evaluate to true\.$#'
+ identifier: function.alreadyNarrowedType
+ count: 1
+ path: src/Internal/Admin/Notes/PerformanceOnMobile.php
+
+ -
+ message: '#^Cannot call method get_is_deleted\(\) on Automattic\\WooCommerce\\Admin\\Notes\\Note\|bool\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/Notes/PerformanceOnMobile.php
+
+ -
+ message: '#^Cannot call method get_status\(\) on Automattic\\WooCommerce\\Admin\\Notes\\Note\|bool\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: src/Internal/Admin/Notes/PerformanceOnMobile.php
+
+ -
+ message: '#^Cannot call method save\(\) on Automattic\\WooCommerce\\Admin\\Notes\\Note\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/Notes/PerformanceOnMobile.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\PerformanceOnMobile\:\:add_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/PerformanceOnMobile.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\PerformanceOnMobile\:\:can_be_added\(\) should return bool but empty return statement found\.$#'
+ identifier: return.empty
+ count: 1
+ path: src/Internal/Admin/Notes/PerformanceOnMobile.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\PerformanceOnMobile\:\:delete_if_not_applicable\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/PerformanceOnMobile.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\PerformanceOnMobile\:\:get_note\(\) should return Automattic\\WooCommerce\\Admin\\Notes\\Note but empty return statement found\.$#'
+ identifier: return.empty
+ count: 4
+ path: src/Internal/Admin/Notes/PerformanceOnMobile.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\PerformanceOnMobile\:\:is_applicable\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/PerformanceOnMobile.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\PerformanceOnMobile\:\:note_exists\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/PerformanceOnMobile.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\PerformanceOnMobile\:\:possibly_add_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/PerformanceOnMobile.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\PerformanceOnMobile\:\:possibly_delete_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/PerformanceOnMobile.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\PerformanceOnMobile\:\:possibly_update_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/PerformanceOnMobile.php
+
+ -
+ message: '#^Parameter \#1 \$arr1 of function array_udiff expects array\<\(int&TK\)\|\(string&TK\), mixed\>, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Notes/PerformanceOnMobile.php
+
+ -
+ message: '#^Parameter \#1 \$data of method WC_Data_Store\:\:delete\(\) expects WC_Data, Automattic\\WooCommerce\\Admin\\Notes\\Note\|true given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Notes/PerformanceOnMobile.php
+
+ -
+ message: '#^Parameter \#1 \$function of function call_user_func expects callable\(\)\: mixed, array\{Automattic\\WooCommerce\\Admin\\Notes\\Note, non\-falsy\-string\} given\.$#'
+ identifier: argument.type
+ count: 4
+ path: src/Internal/Admin/Notes/PerformanceOnMobile.php
+
+ -
+ message: '#^Parameter \#1 \$note1 of static method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\PerformanceOnMobile\:\:update_note_field_if_changed\(\) expects Automattic\\WooCommerce\\Admin\\Notes\\Note, Automattic\\WooCommerce\\Admin\\Notes\\Note\|true given\.$#'
+ identifier: argument.type
+ count: 7
+ path: src/Internal/Admin/Notes/PerformanceOnMobile.php
+
+ -
+ message: '#^Parameter \#2 \$arr2 of function array_udiff expects array\<\(int&TK\)\|\(string&TK\), mixed\>, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Notes/PerformanceOnMobile.php
+
+ -
+ message: '#^Binary operation "\." between ''post\.php\?post\='' and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: src/Internal/Admin/Notes/PersonalizeStore.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_notes_with_name\(\)\.$#'
+ identifier: method.notFound
+ count: 4
+ path: src/Internal/Admin/Notes/PersonalizeStore.php
+
+ -
+ message: '#^Call to function method_exists\(\) with ''Automattic\\\\WooCommerce\\\\Internal\\\\Admin\\\\Notes\\\\PersonalizeStore'' and ''get_note'' will always evaluate to true\.$#'
+ identifier: function.alreadyNarrowedType
+ count: 1
+ path: src/Internal/Admin/Notes/PersonalizeStore.php
+
+ -
+ message: '#^Cannot call method get_is_deleted\(\) on Automattic\\WooCommerce\\Admin\\Notes\\Note\|bool\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/Notes/PersonalizeStore.php
+
+ -
+ message: '#^Cannot call method get_status\(\) on Automattic\\WooCommerce\\Admin\\Notes\\Note\|bool\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: src/Internal/Admin/Notes/PersonalizeStore.php
+
+ -
+ message: '#^Cannot call method save\(\) on Automattic\\WooCommerce\\Admin\\Notes\\Note\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/Notes/PersonalizeStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\PersonalizeStore\:\:add_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/PersonalizeStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\PersonalizeStore\:\:can_be_added\(\) should return bool but empty return statement found\.$#'
+ identifier: return.empty
+ count: 1
+ path: src/Internal/Admin/Notes/PersonalizeStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\PersonalizeStore\:\:delete_if_not_applicable\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/PersonalizeStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\PersonalizeStore\:\:get_note\(\) should return Automattic\\WooCommerce\\Admin\\Notes\\Note but empty return statement found\.$#'
+ identifier: return.empty
+ count: 2
+ path: src/Internal/Admin/Notes/PersonalizeStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\PersonalizeStore\:\:is_applicable\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/PersonalizeStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\PersonalizeStore\:\:note_exists\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/PersonalizeStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\PersonalizeStore\:\:possibly_add_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/PersonalizeStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\PersonalizeStore\:\:possibly_delete_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/PersonalizeStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\PersonalizeStore\:\:possibly_update_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/PersonalizeStore.php
+
+ -
+ message: '#^Parameter \#1 \$arr1 of function array_udiff expects array\<\(int&TK\)\|\(string&TK\), mixed\>, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Notes/PersonalizeStore.php
+
+ -
+ message: '#^Parameter \#1 \$data of method WC_Data_Store\:\:delete\(\) expects WC_Data, Automattic\\WooCommerce\\Admin\\Notes\\Note\|true given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Notes/PersonalizeStore.php
+
+ -
+ message: '#^Parameter \#1 \$function of function call_user_func expects callable\(\)\: mixed, array\{Automattic\\WooCommerce\\Admin\\Notes\\Note, non\-falsy\-string\} given\.$#'
+ identifier: argument.type
+ count: 4
+ path: src/Internal/Admin/Notes/PersonalizeStore.php
+
+ -
+ message: '#^Parameter \#1 \$note1 of static method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\PersonalizeStore\:\:update_note_field_if_changed\(\) expects Automattic\\WooCommerce\\Admin\\Notes\\Note, Automattic\\WooCommerce\\Admin\\Notes\\Note\|true given\.$#'
+ identifier: argument.type
+ count: 7
+ path: src/Internal/Admin/Notes/PersonalizeStore.php
+
+ -
+ message: '#^Parameter \#2 \$arr2 of function array_udiff expects array\<\(int&TK\)\|\(string&TK\), mixed\>, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Notes/PersonalizeStore.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_notes_with_name\(\)\.$#'
+ identifier: method.notFound
+ count: 4
+ path: src/Internal/Admin/Notes/RealTimeOrderAlerts.php
+
+ -
+ message: '#^Call to function method_exists\(\) with ''Automattic\\\\WooCommerce\\\\Internal\\\\Admin\\\\Notes\\\\RealTimeOrderAlerts'' and ''get_note'' will always evaluate to true\.$#'
+ identifier: function.alreadyNarrowedType
+ count: 1
+ path: src/Internal/Admin/Notes/RealTimeOrderAlerts.php
+
+ -
+ message: '#^Cannot call method get_is_deleted\(\) on Automattic\\WooCommerce\\Admin\\Notes\\Note\|bool\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/Notes/RealTimeOrderAlerts.php
+
+ -
+ message: '#^Cannot call method get_status\(\) on Automattic\\WooCommerce\\Admin\\Notes\\Note\|bool\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: src/Internal/Admin/Notes/RealTimeOrderAlerts.php
+
+ -
+ message: '#^Cannot call method save\(\) on Automattic\\WooCommerce\\Admin\\Notes\\Note\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/Notes/RealTimeOrderAlerts.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\RealTimeOrderAlerts\:\:add_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/RealTimeOrderAlerts.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\RealTimeOrderAlerts\:\:can_be_added\(\) should return bool but empty return statement found\.$#'
+ identifier: return.empty
+ count: 1
+ path: src/Internal/Admin/Notes/RealTimeOrderAlerts.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\RealTimeOrderAlerts\:\:delete_if_not_applicable\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/RealTimeOrderAlerts.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\RealTimeOrderAlerts\:\:get_note\(\) should return Automattic\\WooCommerce\\Admin\\Notes\\Note but empty return statement found\.$#'
+ identifier: return.empty
+ count: 2
+ path: src/Internal/Admin/Notes/RealTimeOrderAlerts.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\RealTimeOrderAlerts\:\:is_applicable\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/RealTimeOrderAlerts.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\RealTimeOrderAlerts\:\:note_exists\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/RealTimeOrderAlerts.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\RealTimeOrderAlerts\:\:possibly_add_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/RealTimeOrderAlerts.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\RealTimeOrderAlerts\:\:possibly_delete_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/RealTimeOrderAlerts.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\RealTimeOrderAlerts\:\:possibly_update_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/RealTimeOrderAlerts.php
+
+ -
+ message: '#^Parameter \#1 \$arr1 of function array_udiff expects array\<\(int&TK\)\|\(string&TK\), mixed\>, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Notes/RealTimeOrderAlerts.php
+
+ -
+ message: '#^Parameter \#1 \$data of method WC_Data_Store\:\:delete\(\) expects WC_Data, Automattic\\WooCommerce\\Admin\\Notes\\Note\|true given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Notes/RealTimeOrderAlerts.php
+
+ -
+ message: '#^Parameter \#1 \$function of function call_user_func expects callable\(\)\: mixed, array\{Automattic\\WooCommerce\\Admin\\Notes\\Note, non\-falsy\-string\} given\.$#'
+ identifier: argument.type
+ count: 4
+ path: src/Internal/Admin/Notes/RealTimeOrderAlerts.php
+
+ -
+ message: '#^Parameter \#1 \$note1 of static method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\RealTimeOrderAlerts\:\:update_note_field_if_changed\(\) expects Automattic\\WooCommerce\\Admin\\Notes\\Note, Automattic\\WooCommerce\\Admin\\Notes\\Note\|true given\.$#'
+ identifier: argument.type
+ count: 7
+ path: src/Internal/Admin/Notes/RealTimeOrderAlerts.php
+
+ -
+ message: '#^Parameter \#2 \$arr2 of function array_udiff expects array\<\(int&TK\)\|\(string&TK\), mixed\>, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Notes/RealTimeOrderAlerts.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_notes_with_name\(\)\.$#'
+ identifier: method.notFound
+ count: 4
+ path: src/Internal/Admin/Notes/SellingOnlineCourses.php
+
+ -
+ message: '#^Call to function method_exists\(\) with ''Automattic\\\\WooCommerce\\\\Internal\\\\Admin\\\\Notes\\\\SellingOnlineCourses'' and ''get_note'' will always evaluate to true\.$#'
+ identifier: function.alreadyNarrowedType
+ count: 1
+ path: src/Internal/Admin/Notes/SellingOnlineCourses.php
+
+ -
+ message: '#^Cannot access offset ''industry'' on object\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/Admin/Notes/SellingOnlineCourses.php
+
+ -
+ message: '#^Cannot call method get_is_deleted\(\) on Automattic\\WooCommerce\\Admin\\Notes\\Note\|bool\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/Notes/SellingOnlineCourses.php
+
+ -
+ message: '#^Cannot call method get_status\(\) on Automattic\\WooCommerce\\Admin\\Notes\\Note\|bool\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: src/Internal/Admin/Notes/SellingOnlineCourses.php
+
+ -
+ message: '#^Cannot call method save\(\) on Automattic\\WooCommerce\\Admin\\Notes\\Note\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/Notes/SellingOnlineCourses.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\SellingOnlineCourses\:\:add_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/SellingOnlineCourses.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\SellingOnlineCourses\:\:can_be_added\(\) should return bool but empty return statement found\.$#'
+ identifier: return.empty
+ count: 1
+ path: src/Internal/Admin/Notes/SellingOnlineCourses.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\SellingOnlineCourses\:\:check_onboarding_profile\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/SellingOnlineCourses.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\SellingOnlineCourses\:\:delete_if_not_applicable\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/SellingOnlineCourses.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\SellingOnlineCourses\:\:is_applicable\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/SellingOnlineCourses.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\SellingOnlineCourses\:\:note_exists\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/SellingOnlineCourses.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\SellingOnlineCourses\:\:possibly_add_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/SellingOnlineCourses.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\SellingOnlineCourses\:\:possibly_delete_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/SellingOnlineCourses.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\SellingOnlineCourses\:\:possibly_update_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/SellingOnlineCourses.php
+
+ -
+ message: '#^Parameter \#1 \$arr1 of function array_udiff expects array\<\(int&TK\)\|\(string&TK\), mixed\>, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Notes/SellingOnlineCourses.php
+
+ -
+ message: '#^Parameter \#1 \$data of method WC_Data_Store\:\:delete\(\) expects WC_Data, Automattic\\WooCommerce\\Admin\\Notes\\Note\|true given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Notes/SellingOnlineCourses.php
+
+ -
+ message: '#^Parameter \#1 \$function of function call_user_func expects callable\(\)\: mixed, array\{Automattic\\WooCommerce\\Admin\\Notes\\Note, non\-falsy\-string\} given\.$#'
+ identifier: argument.type
+ count: 4
+ path: src/Internal/Admin/Notes/SellingOnlineCourses.php
+
+ -
+ message: '#^Parameter \#1 \$note1 of static method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\SellingOnlineCourses\:\:update_note_field_if_changed\(\) expects Automattic\\WooCommerce\\Admin\\Notes\\Note, Automattic\\WooCommerce\\Admin\\Notes\\Note\|true given\.$#'
+ identifier: argument.type
+ count: 7
+ path: src/Internal/Admin/Notes/SellingOnlineCourses.php
+
+ -
+ message: '#^Parameter \#2 \$arr2 of function array_udiff expects array\<\(int&TK\)\|\(string&TK\), mixed\>, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Notes/SellingOnlineCourses.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_notes_with_name\(\)\.$#'
+ identifier: method.notFound
+ count: 4
+ path: src/Internal/Admin/Notes/TrackingOptIn.php
+
+ -
+ message: '#^Call to function method_exists\(\) with ''Automattic\\\\WooCommerce\\\\Internal\\\\Admin\\\\Notes\\\\TrackingOptIn'' and ''get_note'' will always evaluate to true\.$#'
+ identifier: function.alreadyNarrowedType
+ count: 1
+ path: src/Internal/Admin/Notes/TrackingOptIn.php
+
+ -
+ message: '#^Cannot call method get_is_deleted\(\) on Automattic\\WooCommerce\\Admin\\Notes\\Note\|bool\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/Notes/TrackingOptIn.php
+
+ -
+ message: '#^Cannot call method get_status\(\) on Automattic\\WooCommerce\\Admin\\Notes\\Note\|bool\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: src/Internal/Admin/Notes/TrackingOptIn.php
+
+ -
+ message: '#^Cannot call method save\(\) on Automattic\\WooCommerce\\Admin\\Notes\\Note\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/Notes/TrackingOptIn.php
+
+ -
+ message: '#^Cannot call method save\(\) on Automattic\\WooCommerce\\Admin\\Notes\\Note\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/Notes/TrackingOptIn.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\TrackingOptIn\:\:add_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/TrackingOptIn.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\TrackingOptIn\:\:can_be_added\(\) should return bool but empty return statement found\.$#'
+ identifier: return.empty
+ count: 1
+ path: src/Internal/Admin/Notes/TrackingOptIn.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\TrackingOptIn\:\:delete_if_not_applicable\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/TrackingOptIn.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\TrackingOptIn\:\:get_note\(\) should return Automattic\\WooCommerce\\Admin\\Notes\\Note\|null but empty return statement found\.$#'
+ identifier: return.empty
+ count: 2
+ path: src/Internal/Admin/Notes/TrackingOptIn.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\TrackingOptIn\:\:is_applicable\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/TrackingOptIn.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\TrackingOptIn\:\:note_exists\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/TrackingOptIn.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\TrackingOptIn\:\:opt_in_to_tracking\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/TrackingOptIn.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\TrackingOptIn\:\:possibly_add_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/TrackingOptIn.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\TrackingOptIn\:\:possibly_delete_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/TrackingOptIn.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\TrackingOptIn\:\:possibly_update_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/TrackingOptIn.php
+
+ -
+ message: '#^Parameter \#1 \$arr1 of function array_udiff expects array\<\(int&TK\)\|\(string&TK\), mixed\>, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Notes/TrackingOptIn.php
+
+ -
+ message: '#^Parameter \#1 \$data of method WC_Data_Store\:\:delete\(\) expects WC_Data, Automattic\\WooCommerce\\Admin\\Notes\\Note\|true given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Notes/TrackingOptIn.php
+
+ -
+ message: '#^Parameter \#1 \$function of function call_user_func expects callable\(\)\: mixed, array\{Automattic\\WooCommerce\\Admin\\Notes\\Note, non\-falsy\-string\} given\.$#'
+ identifier: argument.type
+ count: 4
+ path: src/Internal/Admin/Notes/TrackingOptIn.php
+
+ -
+ message: '#^Parameter \#1 \$note1 of static method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\TrackingOptIn\:\:update_note_field_if_changed\(\) expects Automattic\\WooCommerce\\Admin\\Notes\\Note, Automattic\\WooCommerce\\Admin\\Notes\\Note\|true given\.$#'
+ identifier: argument.type
+ count: 7
+ path: src/Internal/Admin/Notes/TrackingOptIn.php
+
+ -
+ message: '#^Parameter \#2 \$arr2 of function array_udiff expects array\<\(int&TK\)\|\(string&TK\), mixed\>, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Notes/TrackingOptIn.php
+
+ -
+ message: '#^Parameter \#3 \$url of method Automattic\\WooCommerce\\Admin\\Notes\\Note\:\:add_action\(\) expects string, false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Notes/TrackingOptIn.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_notes_with_name\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Internal/Admin/Notes/UnsecuredReportFiles.php
+
+ -
+ message: '#^Cannot call method save\(\) on Automattic\\WooCommerce\\Admin\\Notes\\Note\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/Notes/UnsecuredReportFiles.php
+
+ -
+ message: '#^Class Automattic\\WooCommerce\\Internal\\Admin\\Notes\\WC_Admin_Note not found\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/Admin/Notes/UnsecuredReportFiles.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\UnsecuredReportFiles\:\:note_exists\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/UnsecuredReportFiles.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\UnsecuredReportFiles\:\:possibly_add_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/UnsecuredReportFiles.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_notes_with_name\(\)\.$#'
+ identifier: method.notFound
+ count: 6
+ path: src/Internal/Admin/Notes/WooCommercePayments.php
+
+ -
+ message: '#^Call to function method_exists\(\) with ''Automattic\\\\WooCommerce\\\\Internal\\\\Admin\\\\Notes\\\\WooCommercePayments'' and ''get_note'' will always evaluate to true\.$#'
+ identifier: function.alreadyNarrowedType
+ count: 1
+ path: src/Internal/Admin/Notes/WooCommercePayments.php
+
+ -
+ message: '#^Cannot call method get_action\(\) on Automattic\\WooCommerce\\Admin\\Notes\\Note\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/Notes/WooCommercePayments.php
+
+ -
+ message: '#^Cannot call method get_is_deleted\(\) on Automattic\\WooCommerce\\Admin\\Notes\\Note\|bool\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/Notes/WooCommercePayments.php
+
+ -
+ message: '#^Cannot call method get_status\(\) on Automattic\\WooCommerce\\Admin\\Notes\\Note\|bool\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: src/Internal/Admin/Notes/WooCommercePayments.php
+
+ -
+ message: '#^Cannot call method get_status\(\) on Automattic\\WooCommerce\\Admin\\Notes\\Note\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/Notes/WooCommercePayments.php
+
+ -
+ message: '#^Cannot call method save\(\) on Automattic\\WooCommerce\\Admin\\Notes\\Note\|true\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: src/Internal/Admin/Notes/WooCommercePayments.php
+
+ -
+ message: '#^Cannot call method set_status\(\) on Automattic\\WooCommerce\\Admin\\Notes\\Note\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/Notes/WooCommercePayments.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\WooCommercePayments\:\:add_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/WooCommercePayments.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\WooCommercePayments\:\:can_be_added\(\) should return bool but empty return statement found\.$#'
+ identifier: return.empty
+ count: 1
+ path: src/Internal/Admin/Notes/WooCommercePayments.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\WooCommercePayments\:\:delete_if_not_applicable\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/WooCommercePayments.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\WooCommercePayments\:\:install_on_action\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/WooCommercePayments.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\WooCommercePayments\:\:is_applicable\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/WooCommercePayments.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\WooCommercePayments\:\:is_installed\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/WooCommercePayments.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\WooCommercePayments\:\:note_exists\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/WooCommercePayments.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\WooCommercePayments\:\:possibly_add_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/WooCommercePayments.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\WooCommercePayments\:\:possibly_delete_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/WooCommercePayments.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\WooCommercePayments\:\:possibly_update_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/WooCommercePayments.php
+
+ -
+ message: '#^Parameter \#1 \$arr1 of function array_udiff expects array\<\(int&TK\)\|\(string&TK\), mixed\>, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Notes/WooCommercePayments.php
+
+ -
+ message: '#^Parameter \#1 \$data of method WC_Data_Store\:\:delete\(\) expects WC_Data, Automattic\\WooCommerce\\Admin\\Notes\\Note\|true given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Notes/WooCommercePayments.php
+
+ -
+ message: '#^Parameter \#1 \$function of function call_user_func expects callable\(\)\: mixed, array\{Automattic\\WooCommerce\\Admin\\Notes\\Note, non\-falsy\-string\} given\.$#'
+ identifier: argument.type
+ count: 4
+ path: src/Internal/Admin/Notes/WooCommercePayments.php
+
+ -
+ message: '#^Parameter \#1 \$note1 of static method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\WooCommercePayments\:\:update_note_field_if_changed\(\) expects Automattic\\WooCommerce\\Admin\\Notes\\Note, Automattic\\WooCommerce\\Admin\\Notes\\Note\|true given\.$#'
+ identifier: argument.type
+ count: 7
+ path: src/Internal/Admin/Notes/WooCommercePayments.php
+
+ -
+ message: '#^Parameter \#1 \$request of method Automattic\\WooCommerce\\Admin\\API\\Plugins\:\:activate_plugins\(\) expects WP_REST_Request, array\<string, string\> given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Notes/WooCommercePayments.php
+
+ -
+ message: '#^Parameter \#1 \$request of method Automattic\\WooCommerce\\Admin\\API\\Plugins\:\:install_plugins\(\) expects WP_REST_Request, array\<string, string\> given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Notes/WooCommercePayments.php
+
+ -
+ message: '#^Parameter \#2 \$arr2 of function array_udiff expects array\<\(int&TK\)\|\(string&TK\), mixed\>, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Notes/WooCommercePayments.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_notes_with_name\(\)\.$#'
+ identifier: method.notFound
+ count: 4
+ path: src/Internal/Admin/Notes/WooCommerceSubscriptions.php
+
+ -
+ message: '#^Call to function method_exists\(\) with ''Automattic\\\\WooCommerce\\\\Internal\\\\Admin\\\\Notes\\\\WooCommerceSubscriptions'' and ''get_note'' will always evaluate to true\.$#'
+ identifier: function.alreadyNarrowedType
+ count: 1
+ path: src/Internal/Admin/Notes/WooCommerceSubscriptions.php
+
+ -
+ message: '#^Cannot access offset ''product_types'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/Admin/Notes/WooCommerceSubscriptions.php
+
+ -
+ message: '#^Cannot call method get_is_deleted\(\) on Automattic\\WooCommerce\\Admin\\Notes\\Note\|bool\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/Notes/WooCommerceSubscriptions.php
+
+ -
+ message: '#^Cannot call method get_status\(\) on Automattic\\WooCommerce\\Admin\\Notes\\Note\|bool\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: src/Internal/Admin/Notes/WooCommerceSubscriptions.php
+
+ -
+ message: '#^Cannot call method save\(\) on Automattic\\WooCommerce\\Admin\\Notes\\Note\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/Notes/WooCommerceSubscriptions.php
+
+ -
+ message: '#^Cannot call method save\(\) on Automattic\\WooCommerce\\Admin\\Notes\\Note\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/Notes/WooCommerceSubscriptions.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\WooCommerceSubscriptions\:\:add_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/WooCommerceSubscriptions.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\WooCommerceSubscriptions\:\:can_be_added\(\) should return bool but empty return statement found\.$#'
+ identifier: return.empty
+ count: 1
+ path: src/Internal/Admin/Notes/WooCommerceSubscriptions.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\WooCommerceSubscriptions\:\:delete_if_not_applicable\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/WooCommerceSubscriptions.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\WooCommerceSubscriptions\:\:get_note\(\) should return Automattic\\WooCommerce\\Admin\\Notes\\Note\|null but empty return statement found\.$#'
+ identifier: return.empty
+ count: 2
+ path: src/Internal/Admin/Notes/WooCommerceSubscriptions.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\WooCommerceSubscriptions\:\:is_applicable\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/WooCommerceSubscriptions.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\WooCommerceSubscriptions\:\:note_exists\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/WooCommerceSubscriptions.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\WooCommerceSubscriptions\:\:possibly_add_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/WooCommerceSubscriptions.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\WooCommerceSubscriptions\:\:possibly_delete_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/WooCommerceSubscriptions.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\WooCommerceSubscriptions\:\:possibly_update_note\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/WooCommerceSubscriptions.php
+
+ -
+ message: '#^Parameter \#1 \$arr1 of function array_udiff expects array\<\(int&TK\)\|\(string&TK\), mixed\>, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Notes/WooCommerceSubscriptions.php
+
+ -
+ message: '#^Parameter \#1 \$data of method WC_Data_Store\:\:delete\(\) expects WC_Data, Automattic\\WooCommerce\\Admin\\Notes\\Note\|true given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Notes/WooCommerceSubscriptions.php
+
+ -
+ message: '#^Parameter \#1 \$function of function call_user_func expects callable\(\)\: mixed, array\{Automattic\\WooCommerce\\Admin\\Notes\\Note, non\-falsy\-string\} given\.$#'
+ identifier: argument.type
+ count: 4
+ path: src/Internal/Admin/Notes/WooCommerceSubscriptions.php
+
+ -
+ message: '#^Parameter \#1 \$note1 of static method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\WooCommerceSubscriptions\:\:update_note_field_if_changed\(\) expects Automattic\\WooCommerce\\Admin\\Notes\\Note, Automattic\\WooCommerce\\Admin\\Notes\\Note\|true given\.$#'
+ identifier: argument.type
+ count: 7
+ path: src/Internal/Admin/Notes/WooCommerceSubscriptions.php
+
+ -
+ message: '#^Parameter \#2 \$arr2 of function array_udiff expects array\<\(int&TK\)\|\(string&TK\), mixed\>, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Notes/WooCommerceSubscriptions.php
+
+ -
+ message: '#^Parameter \#2 \$haystack of function in_array expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Notes/WooCommerceSubscriptions.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$expired\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/Internal/Admin/Notes/WooSubscriptionsNotes.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_notes_with_name\(\)\.$#'
+ identifier: method.notFound
+ count: 3
+ path: src/Internal/Admin/Notes/WooSubscriptionsNotes.php
+
+ -
+ message: '#^Cannot access offset ''access_token'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/Admin/Notes/WooSubscriptionsNotes.php
+
+ -
+ message: '#^Cannot access offset ''site_id'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/Admin/Notes/WooSubscriptionsNotes.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\WooSubscriptionsNotes\:\:add_or_update_subscription_expired\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/WooSubscriptionsNotes.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\WooSubscriptionsNotes\:\:add_or_update_subscription_expiring\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/WooSubscriptionsNotes.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\WooSubscriptionsNotes\:\:admin_head\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/WooSubscriptionsNotes.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\WooSubscriptionsNotes\:\:check_connection\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/WooSubscriptionsNotes.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\WooSubscriptionsNotes\:\:delete_any_note_for_product_id\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/WooSubscriptionsNotes.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\WooSubscriptionsNotes\:\:prune_inactive_subscription_notes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/WooSubscriptionsNotes.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\WooSubscriptionsNotes\:\:refresh_subscription_notes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/WooSubscriptionsNotes.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\WooSubscriptionsNotes\:\:remove_notes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/WooSubscriptionsNotes.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\WooSubscriptionsNotes\:\:update_option_woocommerce_helper_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Notes/WooSubscriptionsNotes.php
+
+ -
+ message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Notes/WooSubscriptionsNotes.php
+
+ -
+ message: '#^Parameter \#1 \$note of method Automattic\\WooCommerce\\Internal\\Admin\\Notes\\WooSubscriptionsNotes\:\:get_product_id_from_subscription_note\(\) expects Automattic\\WooCommerce\\Admin\\Notes\\Note, Automattic\\WooCommerce\\Admin\\Notes\\Note\|bool given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Internal/Admin/Notes/WooSubscriptionsNotes.php
+
+ -
+ message: '#^Parameter \#1 \$var of function intval expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Notes/WooSubscriptionsNotes.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Onboarding\\Onboarding\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Onboarding/Onboarding.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Onboarding\\OnboardingFonts\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Onboarding/OnboardingFonts.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Onboarding\\OnboardingFonts\:\:install_font_faces\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Onboarding/OnboardingFonts.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Onboarding\\OnboardingFonts\:\:start_install_fonts_async_job\(\) should return string but empty return statement found\.$#'
+ identifier: return.empty
+ count: 1
+ path: src/Internal/Admin/Onboarding/OnboardingFonts.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Onboarding\\OnboardingFonts\:\:start_install_fonts_async_job\(\) should return string but return statement is missing\.$#'
+ identifier: return.missing
+ count: 1
+ path: src/Internal/Admin/Onboarding/OnboardingFonts.php
+
+ -
+ message: '#^Offset ''fontFamily'' might not exist on array\|null\.$#'
+ identifier: offsetAccess.notFound
+ count: 2
+ path: src/Internal/Admin/Onboarding/OnboardingFonts.php
+
+ -
+ message: '#^Offset ''name'' might not exist on array\|null\.$#'
+ identifier: offsetAccess.notFound
+ count: 1
+ path: src/Internal/Admin/Onboarding/OnboardingFonts.php
+
+ -
+ message: '#^Offset ''preview'' might not exist on array\|null\.$#'
+ identifier: offsetAccess.notFound
+ count: 1
+ path: src/Internal/Admin/Onboarding/OnboardingFonts.php
+
+ -
+ message: '#^Offset ''slug'' might not exist on array\|null\.$#'
+ identifier: offsetAccess.notFound
+ count: 1
+ path: src/Internal/Admin/Onboarding/OnboardingFonts.php
+
+ -
+ message: '#^Parameter \#1 \$arr1 of function array_merge expects array, array\<mixed\>\|TReturn given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Internal/Admin/Onboarding/OnboardingFonts.php
+
+ -
+ message: '#^Parameter \#1 \$arr1 of function array_merge expects array, array\|TReturn given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Onboarding/OnboardingFonts.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Onboarding\\OnboardingHelper\:\:add_help_tab\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Onboarding/OnboardingHelper.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Onboarding\\OnboardingHelper\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Onboarding/OnboardingHelper.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Onboarding\\OnboardingHelper\:\:instance\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Onboarding/OnboardingHelper.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Onboarding\\OnboardingHelper\:\:reset_extended_task_list\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Onboarding/OnboardingHelper.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Onboarding\\OnboardingHelper\:\:reset_task_list\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Onboarding/OnboardingHelper.php
+
+ -
+ message: '#^Offset ''content'' might not exist on array\{title\: string, id\: ''woocommerce_onboard…'', content\?\: non\-falsy\-string\}\.$#'
+ identifier: offsetAccess.notFound
+ count: 1
+ path: src/Internal/Admin/Onboarding/OnboardingHelper.php
+
+ -
+ message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Internal/Admin/Onboarding/OnboardingHelper.php
+
+ -
+ message: '#^Unsafe access to private property Automattic\\WooCommerce\\Internal\\Admin\\Onboarding\\OnboardingHelper\:\:\$instance through static\:\:\.$#'
+ identifier: staticClassAccess.privateProperty
+ count: 3
+ path: src/Internal/Admin/Onboarding/OnboardingHelper.php
+
+ -
+ message: '#^Unsafe usage of new static\(\)\.$#'
+ identifier: new.static
+ count: 1
+ path: src/Internal/Admin/Onboarding/OnboardingHelper.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Onboarding\\OnboardingIndustries\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Onboarding/OnboardingIndustries.php
+
+ -
+ message: '#^Action callback returns array but should not return anything\.$#'
+ identifier: return.void
+ count: 2
+ path: src/Internal/Admin/Onboarding/OnboardingJetpack.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Onboarding\\OnboardingJetpack\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Onboarding/OnboardingJetpack.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Onboarding\\OnboardingJetpack\:\:instance\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Onboarding/OnboardingJetpack.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Onboarding\\OnboardingJetpack\:\:set_woocommerce_setup_jetpack_opted_in\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Onboarding/OnboardingJetpack.php
+
+ -
+ message: '#^Unsafe access to private property Automattic\\WooCommerce\\Internal\\Admin\\Onboarding\\OnboardingJetpack\:\:\$instance through static\:\:\.$#'
+ identifier: staticClassAccess.privateProperty
+ count: 3
+ path: src/Internal/Admin/Onboarding/OnboardingJetpack.php
+
+ -
+ message: '#^Unsafe usage of new static\(\)\.$#'
+ identifier: new.static
+ count: 1
+ path: src/Internal/Admin/Onboarding/OnboardingJetpack.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Onboarding\\OnboardingMailchimp\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Onboarding/OnboardingMailchimp.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Onboarding\\OnboardingMailchimp\:\:instance\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Onboarding/OnboardingMailchimp.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Onboarding\\OnboardingMailchimp\:\:on_profile_data_updated\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Onboarding/OnboardingMailchimp.php
+
+ -
+ message: '#^Unsafe access to private property Automattic\\WooCommerce\\Internal\\Admin\\Onboarding\\OnboardingMailchimp\:\:\$instance through static\:\:\.$#'
+ identifier: staticClassAccess.privateProperty
+ count: 3
+ path: src/Internal/Admin/Onboarding/OnboardingMailchimp.php
+
+ -
+ message: '#^Unsafe usage of new static\(\)\.$#'
+ identifier: new.static
+ count: 1
+ path: src/Internal/Admin/Onboarding/OnboardingMailchimp.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$excerpt\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/Internal/Admin/Onboarding/OnboardingProducts.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$link\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/Internal/Admin/Onboarding/OnboardingProducts.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$price\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/Internal/Admin/Onboarding/OnboardingProducts.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$slug\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/Internal/Admin/Onboarding/OnboardingProducts.php
+
+ -
+ message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
+ count: 1
+ path: src/Internal/Admin/Onboarding/OnboardingProducts.php
+
+ -
+ message: '#^Cannot access offset ''body'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/Admin/Onboarding/OnboardingProducts.php
+
+ -
+ message: '#^Cannot access offset ''industry'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/Admin/Onboarding/OnboardingProducts.php
+
+ -
+ message: '#^Cannot access offset ''product_types'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/Admin/Onboarding/OnboardingProducts.php
+
+ -
+ message: '#^Cannot access property \$products on mixed\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: src/Internal/Admin/Onboarding/OnboardingProducts.php
+
+ -
+ message: '#^Parameter \#1 \$array of function array_column expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Onboarding/OnboardingProducts.php
+
+ -
+ message: '#^Parameter \#1 \$json of function json_decode expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Onboarding/OnboardingProducts.php
+
+ -
+ message: '#^Possibly invalid array key type mixed\.$#'
+ identifier: offsetAccess.invalidOffset
+ count: 4
+ path: src/Internal/Admin/Onboarding/OnboardingProducts.php
+
+ -
+ message: '#^Cannot access offset ''completed'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/Admin/Onboarding/OnboardingProfile.php
+
+ -
+ message: '#^Cannot access offset ''skipped'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/Admin/Onboarding/OnboardingProfile.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Onboarding\\OnboardingProfile\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Onboarding/OnboardingProfile.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Onboarding\\OnboardingProfile\:\:trigger_complete\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Onboarding/OnboardingProfile.php
+
+ -
+ message: '#^Cannot access offset ''access_token'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/Admin/Onboarding/OnboardingSetupWizard.php
+
+ -
+ message: '#^Constant WC_ABSPATH not found\.$#'
+ identifier: constant.notFound
+ count: 1
+ path: src/Internal/Admin/Onboarding/OnboardingSetupWizard.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Onboarding\\OnboardingSetupWizard\:\:add_loading_classes\(\) should return array but returns bool\|string\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/Admin/Onboarding/OnboardingSetupWizard.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Onboarding\\OnboardingSetupWizard\:\:do_admin_redirects\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Onboarding/OnboardingSetupWizard.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Onboarding\\OnboardingSetupWizard\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Onboarding/OnboardingSetupWizard.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Onboarding\\OnboardingSetupWizard\:\:instance\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Onboarding/OnboardingSetupWizard.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Onboarding\\OnboardingSetupWizard\:\:redirect_to_profiler\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Onboarding/OnboardingSetupWizard.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Onboarding\\OnboardingSetupWizard\:\:trigger_profile_completed_action\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Onboarding/OnboardingSetupWizard.php
+
+ -
+ message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Onboarding/OnboardingSetupWizard.php
+
+ -
+ message: '#^Unsafe access to private property Automattic\\WooCommerce\\Internal\\Admin\\Onboarding\\OnboardingSetupWizard\:\:\$instance through static\:\:\.$#'
+ identifier: staticClassAccess.privateProperty
+ count: 3
+ path: src/Internal/Admin/Onboarding/OnboardingSetupWizard.php
+
+ -
+ message: '#^Unsafe usage of new static\(\)\.$#'
+ identifier: new.static
+ count: 1
+ path: src/Internal/Admin/Onboarding/OnboardingSetupWizard.php
+
+ -
+ message: '#^Call to function method_exists\(\) with ''\\\\WC_Helper_API'' and ''put'' will always evaluate to true\.$#'
+ identifier: function.alreadyNarrowedType
+ count: 1
+ path: src/Internal/Admin/Onboarding/OnboardingSync.php
+
+ -
+ message: '#^Cannot access offset ''access_token'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/Admin/Onboarding/OnboardingSync.php
+
+ -
+ message: '#^Cannot access offset ''access_token_secret'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/Admin/Onboarding/OnboardingSync.php
+
+ -
+ message: '#^Cannot access offset ''completed'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/Admin/Onboarding/OnboardingSync.php
+
+ -
+ message: '#^Cannot access offset ''industry'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/Admin/Onboarding/OnboardingSync.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Onboarding\\OnboardingSync\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Onboarding/OnboardingSync.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Onboarding\\OnboardingSync\:\:instance\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Onboarding/OnboardingSync.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Onboarding\\OnboardingSync\:\:redirect_wccom_install\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Onboarding/OnboardingSync.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Onboarding\\OnboardingSync\:\:send_profile_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Onboarding/OnboardingSync.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Onboarding\\OnboardingSync\:\:send_profile_data_on_connect\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Onboarding/OnboardingSync.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Onboarding\\OnboardingSync\:\:send_profile_data_on_update\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Onboarding/OnboardingSync.php
+
+ -
+ message: '#^Parameter \#1 \$args of function wp_parse_args expects array\|object\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Onboarding/OnboardingSync.php
+
+ -
+ message: '#^Parameter \#1 \$haystack of function strpos expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Onboarding/OnboardingSync.php
+
+ -
+ message: '#^Unsafe access to private property Automattic\\WooCommerce\\Internal\\Admin\\Onboarding\\OnboardingSync\:\:\$instance through static\:\:\.$#'
+ identifier: staticClassAccess.privateProperty
+ count: 3
+ path: src/Internal/Admin/Onboarding/OnboardingSync.php
+
+ -
+ message: '#^Unsafe usage of new static\(\)\.$#'
+ identifier: new.static
+ count: 1
+ path: src/Internal/Admin/Onboarding/OnboardingSync.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Orders\\COTRedirectionController\:\:handle_hpos_admin_requests\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Orders/COTRedirectionController.php
+
+ -
+ message: '#^Cannot access property \$id on WP_Screen\|null\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: src/Internal/Admin/Orders/Edit.php
+
+ -
+ message: '#^Cannot access property \$labels on WP_Post_Type\|null\.$#'
+ identifier: property.nonObject
+ count: 3
+ path: src/Internal/Admin/Orders/Edit.php
+
+ -
+ message: '#^Cannot call method get_columns\(\) on WP_Screen\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/Orders/Edit.php
+
+ -
+ message: '#^Cannot call method is_block_editor\(\) on WP_Screen\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/Orders/Edit.php
+
+ -
+ message: '#^Cannot call method lock\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/Orders/Edit.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Orders\\Edit\:\:add_order_meta_boxes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Orders/Edit.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Orders\\Edit\:\:add_order_specific_meta_box\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Orders/Edit.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Orders\\Edit\:\:display\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Orders/Edit.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Orders\\Edit\:\:enqueue_scripts\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Orders/Edit.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Orders\\Edit\:\:redirect_order\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Orders/Edit.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Orders\\Edit\:\:render_custom_meta_box\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Orders/Edit.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Orders\\Edit\:\:render_meta_boxes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Orders/Edit.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Orders\\Edit\:\:render_wrapper_end\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Orders/Edit.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Orders\\Edit\:\:render_wrapper_start\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Orders/Edit.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Orders\\Edit\:\:set_current_action\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Orders/Edit.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Orders\\Edit\:\:setup\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Orders/Edit.php
+
+ -
+ message: '#^One or more @param tags has an invalid name or invalid syntax\.$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Internal/Admin/Orders/Edit.php
+
+ -
+ message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Orders/Edit.php
+
+ -
+ message: '#^Parameter \#1 \$str of function sanitize_text_field expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Orders/Edit.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_attr expects string, int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Orders/Edit.php
+
+ -
+ message: '#^Parameter \#2 \$taxonomy_input of method Automattic\\WooCommerce\\Internal\\Admin\\Orders\\MetaBoxes\\TaxonomiesMetaBox\:\:save_taxonomies\(\) expects array\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Orders/Edit.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Internal\\Admin\\Orders\\Edit\:\:\$custom_meta_box \(Automattic\\WooCommerce\\Internal\\Admin\\Orders\\MetaBoxes\\CustomMetaBox\) does not accept mixed\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/Internal/Admin/Orders/Edit.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Internal\\Admin\\Orders\\Edit\:\:\$custom_meta_box \(Automattic\\WooCommerce\\Internal\\Admin\\Orders\\MetaBoxes\\CustomMetaBox\) in isset\(\) is not nullable\.$#'
+ identifier: isset.property
+ count: 1
+ path: src/Internal/Admin/Orders/Edit.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Internal\\Admin\\Orders\\Edit\:\:\$message \(int\) in isset\(\) is not nullable\.$#'
+ identifier: isset.property
+ count: 1
+ path: src/Internal/Admin/Orders/Edit.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Internal\\Admin\\Orders\\Edit\:\:\$order \(WC_Order\) in isset\(\) is not nullable\.$#'
+ identifier: isset.property
+ count: 1
+ path: src/Internal/Admin/Orders/Edit.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Internal\\Admin\\Orders\\Edit\:\:\$orders_page_controller \(Automattic\\WooCommerce\\Internal\\Admin\\Orders\\PageController\) does not accept mixed\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/Internal/Admin/Orders/Edit.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Internal\\Admin\\Orders\\Edit\:\:\$orders_page_controller \(Automattic\\WooCommerce\\Internal\\Admin\\Orders\\PageController\) in isset\(\) is not nullable\.$#'
+ identifier: isset.property
+ count: 1
+ path: src/Internal/Admin/Orders/Edit.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Internal\\Admin\\Orders\\Edit\:\:\$taxonomies_meta_box \(Automattic\\WooCommerce\\Internal\\Admin\\Orders\\MetaBoxes\\TaxonomiesMetaBox\) does not accept mixed\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/Internal/Admin/Orders/Edit.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Internal\\Admin\\Orders\\Edit\:\:\$taxonomies_meta_box \(Automattic\\WooCommerce\\Internal\\Admin\\Orders\\MetaBoxes\\TaxonomiesMetaBox\) in isset\(\) is not nullable\.$#'
+ identifier: isset.property
+ count: 1
+ path: src/Internal/Admin/Orders/Edit.php
+
+ -
+ message: '#^Variable \$message might not be defined\.$#'
+ identifier: variable.undefined
+ count: 1
+ path: src/Internal/Admin/Orders/Edit.php
+
+ -
+ message: '#^Cannot access offset ''user_id'' on array\|bool\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/Admin/Orders/EditLock.php
+
+ -
+ message: '#^Cannot access offset ''user_id'' on non\-empty\-array\|true\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: src/Internal/Admin/Orders/EditLock.php
+
+ -
+ message: '#^Cannot access property \$ID on WP_User\|false\.$#'
+ identifier: property.nonObject
+ count: 2
+ path: src/Internal/Admin/Orders/EditLock.php
+
+ -
+ message: '#^Cannot access property \$cap on WP_Post_Type\|null\.$#'
+ identifier: property.nonObject
+ count: 2
+ path: src/Internal/Admin/Orders/EditLock.php
+
+ -
+ message: '#^Cannot access property \$display_name on WP_User\|false\.$#'
+ identifier: property.nonObject
+ count: 2
+ path: src/Internal/Admin/Orders/EditLock.php
+
+ -
+ message: '#^Cannot call method get_base_page_url\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/Orders/EditLock.php
+
+ -
+ message: '#^Cannot call method get_edit_url\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/Orders/EditLock.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Orders\\EditLock\:\:lock\(\) should return array\|bool but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/Admin/Orders/EditLock.php
+
+ -
+ message: '#^Offset 1 on array\{string, string\} in isset\(\) always exists and is not nullable\.$#'
+ identifier: isset.offset
+ count: 1
+ path: src/Internal/Admin/Orders/EditLock.php
+
+ -
+ message: '#^Parameter \#1 \$callback of function array_map expects \(callable\(mixed\)\: mixed\)\|null, ''absint'' given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Orders/EditLock.php
+
+ -
+ message: '#^Parameter \#1 \$object_or_string of function is_a expects object, WC_Order\|WC_Order_Refund\|true given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Internal/Admin/Orders/EditLock.php
+
+ -
+ message: '#^Parameter \#2 \$str of function explode expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Orders/EditLock.php
+
+ -
+ message: '#^Access to property \$cap on an unknown class Automattic\\WooCommerce\\Internal\\Admin\\Orders\\WP_Post_Type\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/Admin/Orders/ListTable.php
+
+ -
+ message: '#^Binary operation "\." between mixed and '' '' results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: src/Internal/Admin/Orders/ListTable.php
+
+ -
+ message: '#^Binary operation "\." between non\-falsy\-string and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: src/Internal/Admin/Orders/ListTable.php
+
+ -
+ message: '#^Cannot access property \$ID on WP_User\|false\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: src/Internal/Admin/Orders/ListTable.php
+
+ -
+ message: '#^Cannot access property \$cap on Automattic\\WooCommerce\\Internal\\Admin\\Orders\\WP_Post_Type\|null\.$#'
+ identifier: property.nonObject
+ count: 2
+ path: src/Internal/Admin/Orders/ListTable.php
+
+ -
+ message: '#^Cannot access property \$display_name on WP_User\|false\.$#'
+ identifier: property.nonObject
+ count: 2
+ path: src/Internal/Admin/Orders/ListTable.php
+
+ -
+ message: '#^Cannot access property \$id on WP_Screen\|null\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: src/Internal/Admin/Orders/ListTable.php
+
+ -
+ message: '#^Cannot access property \$label on stdClass\|null\.$#'
+ identifier: property.nonObject
+ count: 4
+ path: src/Internal/Admin/Orders/ListTable.php
+
+ -
+ message: '#^Cannot access property \$labels on WP_Post_Type\|null\.$#'
+ identifier: property.nonObject
+ count: 2
+ path: src/Internal/Admin/Orders/ListTable.php
+
+ -
+ message: '#^Cannot access property \$orders on array\<WC_Order\>\|stdClass\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: src/Internal/Admin/Orders/ListTable.php
+
+ -
+ message: '#^Cannot access property \$show_in_admin_all_list on stdClass\|null\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: src/Internal/Admin/Orders/ListTable.php
+
+ -
+ message: '#^Cannot access property \$total on array\<WC_Order\>\|stdClass\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: src/Internal/Admin/Orders/ListTable.php
+
+ -
+ message: '#^Cannot access property \$user_email on WP_User\|false\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: src/Internal/Admin/Orders/ListTable.php
+
+ -
+ message: '#^Cannot call method custom_orders_table_usage_is_enabled\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/Orders/ListTable.php
+
+ -
+ message: '#^Cannot call method date\(\) on WC_DateTime\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/Orders/ListTable.php
+
+ -
+ message: '#^Cannot call method date_i18n\(\) on WC_DateTime\|null\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: src/Internal/Admin/Orders/ListTable.php
+
+ -
+ message: '#^Cannot call method delete\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/Orders/ListTable.php
+
+ -
+ message: '#^Cannot call method format\(\) on DateTime\|false\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/Orders/ListTable.php
+
+ -
+ message: '#^Cannot call method getTimestamp\(\) on WC_DateTime\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/Orders/ListTable.php
+
+ -
+ message: '#^Cannot call method get_status\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/Orders/ListTable.php
+
+ -
+ message: '#^Cannot call method is_locked_by_another_user\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/Orders/ListTable.php
+
+ -
+ message: '#^Cannot call method untrash_order\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/Orders/ListTable.php
+
+ -
+ message: '#^Cannot call method update_status\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/Orders/ListTable.php
+
+ -
+ message: '#^Cannot cast mixed to int\.$#'
+ identifier: cast.int
+ count: 2
+ path: src/Internal/Admin/Orders/ListTable.php
+
+ -
+ message: '#^Expected 3 @param tags, found 1\.$#'
+ identifier: paramTag.count
+ count: 1
+ path: src/Internal/Admin/Orders/ListTable.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Orders\\ListTable\:\:bulk_action_notices\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Orders/ListTable.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Orders\\ListTable\:\:column_cb\(\) should return string but empty return statement found\.$#'
+ identifier: return.empty
+ count: 1
+ path: src/Internal/Admin/Orders/ListTable.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Orders\\ListTable\:\:column_cb\(\) should return string but returns string\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/Admin/Orders/ListTable.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Orders\\ListTable\:\:column_default\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Orders/ListTable.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Orders\\ListTable\:\:extra_tablenav\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Orders/ListTable.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Orders\\ListTable\:\:get_max_num_pages\(\) has parameter \$orders with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: src/Internal/Admin/Orders/ListTable.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Orders\\ListTable\:\:get_max_num_pages\(\) should return int but returns float\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/Admin/Orders/ListTable.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Orders\\ListTable\:\:get_order_preview_template\(\) should return string but returns string\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/Admin/Orders/ListTable.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Orders\\ListTable\:\:handle_bulk_actions\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Orders/ListTable.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Orders\\ListTable\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Orders/ListTable.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Orders\\ListTable\:\:prepare_items\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Orders/ListTable.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Orders\\ListTable\:\:render_column\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Orders/ListTable.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Orders\\ListTable\:\:set_customer_args\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Orders/ListTable.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Orders\\ListTable\:\:set_date_args\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Orders/ListTable.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Orders\\ListTable\:\:set_order_args\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Orders/ListTable.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Orders\\ListTable\:\:set_status_args\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Orders/ListTable.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Orders\\ListTable\:\:single_row\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Orders/ListTable.php
+
+ -
+ message: '#^One or more @param tags has an invalid name or invalid syntax\.$#'
+ identifier: phpDoc.parseError
+ count: 2
+ path: src/Internal/Admin/Orders/ListTable.php
+
+ -
+ message: '#^PHPDoc tag @param has invalid value \(WC_Order\[\]\|stdClass Number of pages and an array of order objects\.\)\: Unexpected token "Number", expected variable at offset 98 on line 4$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Internal/Admin/Orders/ListTable.php
+
+ -
+ message: '#^PHPDoc tag @param has invalid value \(array Array of order IDs\.\)\: Unexpected token "Array", expected variable at offset 110 on line 4$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Internal/Admin/Orders/ListTable.php
+
+ -
+ message: '#^PHPDoc tag @param has invalid value \(object ListTable The current instance of the class\.\)\: Unexpected token "ListTable", expected variable at offset 284 on line 7$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Internal/Admin/Orders/ListTable.php
+
+ -
+ message: '#^Parameter \#1 \$callback of function array_map expects \(callable\(mixed\)\: mixed\)\|null, ''absint'' given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Orders/ListTable.php
+
+ -
+ message: '#^Parameter \#1 \$function of function call_user_func expects callable\(\)\: mixed, array\{\$this\(Automattic\\WooCommerce\\Internal\\Admin\\Orders\\ListTable\), non\-falsy\-string\} given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Orders/ListTable.php
+
+ -
+ message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Orders/ListTable.php
+
+ -
+ message: '#^Parameter \#1 \$str of function sanitize_text_field expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 10
+ path: src/Internal/Admin/Orders/ListTable.php
+
+ -
+ message: '#^Parameter \#1 \$string of function wc_string_to_bool expects bool\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Orders/ListTable.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_attr expects string, int given\.$#'
+ identifier: argument.type
+ count: 3
+ path: src/Internal/Admin/Orders/ListTable.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_attr expects string, int\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Orders/ListTable.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_html expects string, string\|null given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Internal/Admin/Orders/ListTable.php
+
+ -
+ message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Orders/ListTable.php
+
+ -
+ message: '#^Parameter \#1 \$year of method DateTime\:\:setDate\(\) expects int, string given\.$#'
+ identifier: argument.type
+ count: 3
+ path: src/Internal/Admin/Orders/ListTable.php
+
+ -
+ message: '#^Parameter \#2 \$month of method DateTime\:\:setDate\(\) expects int, string given\.$#'
+ identifier: argument.type
+ count: 3
+ path: src/Internal/Admin/Orders/ListTable.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Internal\\Admin\\Orders\\ListTable\:\:\$status_count_cache is never read, only written\.$#'
+ identifier: property.onlyWritten
+ count: 1
+ path: src/Internal/Admin/Orders/ListTable.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Internal\\Admin\\Orders\\ListTable\:\:\$wp_post_type \(Automattic\\WooCommerce\\Internal\\Admin\\Orders\\WP_Post_Type\|null\) does not accept WP_Post_Type\|null\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/Internal/Admin/Orders/ListTable.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Internal\\Admin\\Orders\\ListTable\:\:\$wp_post_type has unknown class Automattic\\WooCommerce\\Internal\\Admin\\Orders\\WP_Post_Type as its type\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/Admin/Orders/ListTable.php
+
+ -
+ message: '#^Property WP_Screen\:\:\$id \(string\) in isset\(\) is not nullable\.$#'
+ identifier: isset.property
+ count: 1
+ path: src/Internal/Admin/Orders/ListTable.php
+
+ -
+ message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
+ count: 1
+ path: src/Internal/Admin/Orders/MetaBoxes/CustomMetaBox.php
+
+ -
+ message: '#^Call to function is_array\(\) with array will always evaluate to true\.$#'
+ identifier: function.alreadyNarrowedType
+ count: 1
+ path: src/Internal/Admin/Orders/MetaBoxes/CustomMetaBox.php
+
+ -
+ message: '#^Cannot access offset ''key'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: src/Internal/Admin/Orders/MetaBoxes/CustomMetaBox.php
+
+ -
+ message: '#^Cannot access offset ''value'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: src/Internal/Admin/Orders/MetaBoxes/CustomMetaBox.php
+
+ -
+ message: '#^Cannot call method delete_meta_data_by_mid\(\) on WC_Order\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/Orders/MetaBoxes/CustomMetaBox.php
+
+ -
+ message: '#^Cannot call method get_meta_data\(\) on WC_Order\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/Orders/MetaBoxes/CustomMetaBox.php
+
+ -
+ message: '#^Cannot call method get_meta_keys\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/Orders/MetaBoxes/CustomMetaBox.php
+
+ -
+ message: '#^Cannot call method save\(\) on WC_Order\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/Orders/MetaBoxes/CustomMetaBox.php
+
+ -
+ message: '#^Cannot cast mixed to int\.$#'
+ identifier: cast.int
+ count: 3
+ path: src/Internal/Admin/Orders/MetaBoxes/CustomMetaBox.php
+
+ -
+ message: '#^Expression on left side of \?\? is not nullable\.$#'
+ identifier: nullCoalesce.expr
+ count: 3
+ path: src/Internal/Admin/Orders/MetaBoxes/CustomMetaBox.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Orders\\MetaBoxes\\CustomMetaBox\:\:add_meta_ajax\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Orders/MetaBoxes/CustomMetaBox.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Orders\\MetaBoxes\\CustomMetaBox\:\:handle_metadata_changes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Orders/MetaBoxes/CustomMetaBox.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Orders\\MetaBoxes\\CustomMetaBox\:\:order_meta_keys_autofill\(\) should return array but returns array\|float\|int\|string\|false\|null\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/Admin/Orders/MetaBoxes/CustomMetaBox.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Orders\\MetaBoxes\\CustomMetaBox\:\:output\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Orders/MetaBoxes/CustomMetaBox.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Orders\\MetaBoxes\\CustomMetaBox\:\:render_custom_meta_form\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Orders/MetaBoxes/CustomMetaBox.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Orders\\MetaBoxes\\CustomMetaBox\:\:verify_order_edit_permission_for_ajax\(\) never returns null so it can be removed from the return type\.$#'
+ identifier: return.unusedType
+ count: 1
+ path: src/Internal/Admin/Orders/MetaBoxes/CustomMetaBox.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Orders\\MetaBoxes\\CustomMetaBox\:\:verify_order_edit_permission_for_ajax\(\) should return WC_Order\|null but returns WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/Admin/Orders/MetaBoxes/CustomMetaBox.php
+
+ -
+ message: '#^Parameter \#1 \$key of function array_key_exists expects int\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Orders/MetaBoxes/CustomMetaBox.php
+
+ -
+ message: '#^Parameter \#1 \$key of method WC_Data\:\:add_meta_data\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Orders/MetaBoxes/CustomMetaBox.php
+
+ -
+ message: '#^Parameter \#1 \$key of method WC_Data\:\:update_meta_data\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Internal/Admin/Orders/MetaBoxes/CustomMetaBox.php
+
+ -
+ message: '#^Parameter \#1 \$message of function wp_die expects string\|WP_Error, int given\.$#'
+ identifier: argument.type
+ count: 5
+ path: src/Internal/Admin/Orders/MetaBoxes/CustomMetaBox.php
+
+ -
+ message: '#^Parameter \#1 \$meta_key of function is_protected_meta expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Orders/MetaBoxes/CustomMetaBox.php
+
+ -
+ message: '#^Parameter \#1 \$object_or_string of function is_a expects object, bool\|WC_Order\|WC_Order_Refund given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Orders/MetaBoxes/CustomMetaBox.php
+
+ -
+ message: '#^Parameter \#1 \$order of method Automattic\\WooCommerce\\Internal\\Admin\\Orders\\MetaBoxes\\CustomMetaBox\:\:get_formatted_order_meta_data\(\) expects WC_Order, bool\|WC_Order\|WC_Order_Refund given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Orders/MetaBoxes/CustomMetaBox.php
+
+ -
+ message: '#^Parameter \#1 \$order of method Automattic\\WooCommerce\\Internal\\Admin\\Orders\\MetaBoxes\\CustomMetaBox\:\:handle_add_meta\(\) expects WC_Order, WC_Order\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Orders/MetaBoxes/CustomMetaBox.php
+
+ -
+ message: '#^Parameter \#1 \$order of method Automattic\\WooCommerce\\Internal\\Admin\\Orders\\MetaBoxes\\CustomMetaBox\:\:handle_update_meta\(\) expects WC_Order, WC_Order\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Orders/MetaBoxes/CustomMetaBox.php
+
+ -
+ message: '#^Parameter \#1 \$str of function sanitize_text_field expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 3
+ path: src/Internal/Admin/Orders/MetaBoxes/CustomMetaBox.php
+
+ -
+ message: '#^Parameter \#1 \$str of function trim expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Orders/MetaBoxes/CustomMetaBox.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_attr expects string, int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Orders/MetaBoxes/CustomMetaBox.php
+
+ -
+ message: '#^Parameter \#1 \$var of function intval expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Orders/MetaBoxes/CustomMetaBox.php
+
+ -
+ message: '#^Parameter \#2 \$callback of function array_walk expects callable\(mixed, int\|string\)\: mixed, ''sanitize_text_field'' given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Orders/MetaBoxes/CustomMetaBox.php
+
+ -
+ message: '#^Parameter \#2 \$meta of method Automattic\\WooCommerce\\Internal\\Admin\\Orders\\MetaBoxes\\CustomMetaBox\:\:handle_update_meta\(\) expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Orders/MetaBoxes/CustomMetaBox.php
+
+ -
+ message: '#^Parameter \#2 \$order of method Automattic\\WooCommerce\\Internal\\Admin\\Orders\\MetaBoxes\\CustomMetaBox\:\:render_custom_meta_form\(\) expects WC_Order, bool\|WC_Order\|WC_Order_Refund given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Orders/MetaBoxes/CustomMetaBox.php
+
+ -
+ message: '#^Parameter \#2 \$search of function array_key_exists expects array, array\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Orders/MetaBoxes/CustomMetaBox.php
+
+ -
+ message: '#^Parameter \#2 \$value of method WC_Data\:\:add_meta_data\(\) expects array\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Orders/MetaBoxes/CustomMetaBox.php
+
+ -
+ message: '#^Parameter \#2 \$value of method WC_Data\:\:update_meta_data\(\) expects array\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Internal/Admin/Orders/MetaBoxes/CustomMetaBox.php
+
+ -
+ message: '#^Possibly invalid array key type mixed\.$#'
+ identifier: offsetAccess.invalidOffset
+ count: 2
+ path: src/Internal/Admin/Orders/MetaBoxes/CustomMetaBox.php
+
+ -
+ message: '#^Unreachable statement \- code above always terminates\.$#'
+ identifier: deadCode.unreachable
+ count: 10
+ path: src/Internal/Admin/Orders/MetaBoxes/CustomMetaBox.php
+
+ -
+ message: '#^Cannot access property \$data on mixed\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: src/Internal/Admin/Orders/MetaBoxes/CustomerHistory.php
+
+ -
+ message: '#^Access to an undefined property WC_Meta_Data\:\:\$key\.$#'
+ identifier: property.notFound
+ count: 2
+ path: src/Internal/Admin/Orders/MetaBoxes/OrderAttribution.php
+
+ -
+ message: '#^Access to an undefined property WC_Meta_Data\:\:\$value\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/Internal/Admin/Orders/MetaBoxes/OrderAttribution.php
+
+ -
+ message: '#^Cannot access property \$labels on WP_Taxonomy\|false\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: src/Internal/Admin/Orders/MetaBoxes/TaxonomiesMetaBox.php
+
+ -
+ message: '#^Cannot access property \$meta_box_cb on WP_Taxonomy\|false\.$#'
+ identifier: property.nonObject
+ count: 6
+ path: src/Internal/Admin/Orders/MetaBoxes/TaxonomiesMetaBox.php
+
+ -
+ message: '#^Cannot access property \$show_ui on WP_Taxonomy\|false\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: src/Internal/Admin/Orders/MetaBoxes/TaxonomiesMetaBox.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Orders\\MetaBoxes\\TaxonomiesMetaBox\:\:save_taxonomies\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Orders/MetaBoxes/TaxonomiesMetaBox.php
+
+ -
+ message: '#^Parameter \#1 \$post of function post_categories_meta_box expects WP_Post, WP_Post\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Orders/MetaBoxes/TaxonomiesMetaBox.php
+
+ -
+ message: '#^Parameter \#1 \$post of function post_tags_meta_box expects WP_Post, WP_Post\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Orders/MetaBoxes/TaxonomiesMetaBox.php
+
+ -
+ message: '#^Parameter \#3 \$callback of function add_meta_box expects callable\(\)\: mixed, \(callable\(\)\: mixed\)\|true given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Orders/MetaBoxes/TaxonomiesMetaBox.php
+
+ -
+ message: '#^Property WP_Taxonomy\:\:\$meta_box_sanitize_cb \(callable\) in isset\(\) is not nullable\.$#'
+ identifier: isset.property
+ count: 1
+ path: src/Internal/Admin/Orders/MetaBoxes/TaxonomiesMetaBox.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$add_new_item\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/Internal/Admin/Orders/PageController.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$edit_item\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/Internal/Admin/Orders/PageController.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$name\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/Internal/Admin/Orders/PageController.php
+
+ -
+ message: '#^Action callback returns string but should not return anything\.$#'
+ identifier: return.void
+ count: 1
+ path: src/Internal/Admin/Orders/PageController.php
+
+ -
+ message: '#^Call to an undefined method object\:\:save\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Internal/Admin/Orders/PageController.php
+
+ -
+ message: '#^Call to an undefined method object\:\:set_created_via\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Internal/Admin/Orders/PageController.php
+
+ -
+ message: '#^Call to an undefined method object\:\:set_object_read\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Internal/Admin/Orders/PageController.php
+
+ -
+ message: '#^Call to an undefined method object\:\:set_status\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Internal/Admin/Orders/PageController.php
+
+ -
+ message: '#^Cannot access offset ''class_name'' on array\|bool\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/Admin/Orders/PageController.php
+
+ -
+ message: '#^Cannot access property \$action on WP_Screen\|null\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: src/Internal/Admin/Orders/PageController.php
+
+ -
+ message: '#^Cannot access property \$base on WP_Screen\|null\.$#'
+ identifier: property.nonObject
+ count: 3
+ path: src/Internal/Admin/Orders/PageController.php
+
+ -
+ message: '#^Cannot access property \$cap on WP_Post_Type\|null\.$#'
+ identifier: property.nonObject
+ count: 3
+ path: src/Internal/Admin/Orders/PageController.php
+
+ -
+ message: '#^Cannot access property \$labels on WP_Post_Type\|null\.$#'
+ identifier: property.nonObject
+ count: 2
+ path: src/Internal/Admin/Orders/PageController.php
+
+ -
+ message: '#^Cannot access property \$post_type on WP_Screen\|null\.$#'
+ identifier: property.nonObject
+ count: 2
+ path: src/Internal/Admin/Orders/PageController.php
+
+ -
+ message: '#^Cannot call method current_action\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/Orders/PageController.php
+
+ -
+ message: '#^Cannot call method custom_orders_table_usage_is_enabled\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 4
+ path: src/Internal/Admin/Orders/PageController.php
+
+ -
+ message: '#^Cannot call method get_type\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/Orders/PageController.php
+
+ -
+ message: '#^Cannot call method handle_bulk_actions\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/Orders/PageController.php
+
+ -
+ message: '#^Cannot call method is_locked_by_another_user\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/Orders/PageController.php
+
+ -
+ message: '#^Cannot call method lock\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: src/Internal/Admin/Orders/PageController.php
+
+ -
+ message: '#^Cannot call method render_dialog\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/Orders/PageController.php
+
+ -
+ message: '#^Cannot call method setup\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/Orders/PageController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Orders\\PageController\:\:handle_load_page_action\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Orders/PageController.php
+
+ -
+ message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Orders/PageController.php
+
+ -
+ message: '#^Parameter \#1 \$post_type of function get_post_type_object expects string, array\<string\>\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Orders/PageController.php
+
+ -
+ message: '#^Parameter \#1 \$post_type_object of function get_post_type_labels expects object, WP_Post_Type\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Orders/PageController.php
+
+ -
+ message: '#^Parameter \#1 \$str of function sanitize_text_field expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Orders/PageController.php
+
+ -
+ message: '#^Parameter \#1 \$type of function wc_get_order_type expects string, array\<string\>\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Orders/PageController.php
+
+ -
+ message: '#^Parameter \#1 \$url of function esc_url_raw expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Orders/PageController.php
+
+ -
+ message: '#^Parameter \#2 \$callback of function add_action expects callable\(\)\: mixed, ''register_menu'' given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Orders/PageController.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Internal\\Admin\\Orders\\PageController\:\:\$order \(WC_Order\) does not accept bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/Internal/Admin/Orders/PageController.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Internal\\Admin\\Orders\\PageController\:\:\$order \(WC_Order\) does not accept object\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/Internal/Admin/Orders/PageController.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Internal\\Admin\\Orders\\PageController\:\:\$order \(WC_Order\) in isset\(\) is not nullable\.$#'
+ identifier: isset.property
+ count: 2
+ path: src/Internal/Admin/Orders/PageController.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Internal\\Admin\\Orders\\PageController\:\:\$order_edit_form \(Automattic\\WooCommerce\\Internal\\Admin\\Orders\\Edit\) on left side of \?\? is not nullable\.$#'
+ identifier: nullCoalesce.property
+ count: 1
+ path: src/Internal/Admin/Orders/PageController.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Internal\\Admin\\Orders\\PageController\:\:\$orders_table \(Automattic\\WooCommerce\\Internal\\Admin\\Orders\\ListTable\) does not accept mixed\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/Internal/Admin/Orders/PageController.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Internal\\Admin\\Orders\\PageController\:\:\$redirection_controller is never read, only written\.$#'
+ identifier: property.onlyWritten
+ count: 1
+ path: src/Internal/Admin/Orders/PageController.php
+
+ -
+ message: '#^Binary operation "\." between mixed and ''\-post_'' results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: src/Internal/Admin/Orders/PostsRedirectionController.php
+
+ -
+ message: '#^Cannot call method custom_orders_table_usage_is_enabled\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/Orders/PostsRedirectionController.php
+
+ -
+ message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Orders/PostsRedirectionController.php
+
+ -
+ message: '#^Parameter \#1 \$order_type of method Automattic\\WooCommerce\\Internal\\Admin\\Orders\\PageController\:\:get_base_page_url\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Orders/PostsRedirectionController.php
+
+ -
+ message: '#^Parameter \#1 \$order_type of method Automattic\\WooCommerce\\Internal\\Admin\\Orders\\PageController\:\:get_new_page_url\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Orders/PostsRedirectionController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\ProductForm\\FormFactory\:\:add_field\(\) should return Automattic\\WooCommerce\\Internal\\Admin\\ProductForm\\Field\|WP_Error but returns Automattic\\WooCommerce\\Internal\\Admin\\ProductForm\\Card\|Automattic\\WooCommerce\\Internal\\Admin\\ProductForm\\Field\|Automattic\\WooCommerce\\Internal\\Admin\\ProductForm\\Section\|Automattic\\WooCommerce\\Internal\\Admin\\ProductForm\\Tab\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/Admin/ProductForm/FormFactory.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\ProductForm\\FormFactory\:\:add_section\(\) should return Automattic\\WooCommerce\\Internal\\Admin\\ProductForm\\Section\|WP_Error but returns Automattic\\WooCommerce\\Internal\\Admin\\ProductForm\\Card\|Automattic\\WooCommerce\\Internal\\Admin\\ProductForm\\Field\|Automattic\\WooCommerce\\Internal\\Admin\\ProductForm\\Section\|Automattic\\WooCommerce\\Internal\\Admin\\ProductForm\\Tab\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/Admin/ProductForm/FormFactory.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\ProductForm\\FormFactory\:\:add_subsection\(\) should return Automattic\\WooCommerce\\Internal\\Admin\\ProductForm\\Subsection\|WP_Error but returns Automattic\\WooCommerce\\Internal\\Admin\\ProductForm\\Card\|Automattic\\WooCommerce\\Internal\\Admin\\ProductForm\\Field\|Automattic\\WooCommerce\\Internal\\Admin\\ProductForm\\Section\|Automattic\\WooCommerce\\Internal\\Admin\\ProductForm\\Tab\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/Admin/ProductForm/FormFactory.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\ProductForm\\FormFactory\:\:add_tab\(\) should return Automattic\\WooCommerce\\Internal\\Admin\\ProductForm\\Tab\|WP_Error but returns Automattic\\WooCommerce\\Internal\\Admin\\ProductForm\\Card\|Automattic\\WooCommerce\\Internal\\Admin\\ProductForm\\Field\|Automattic\\WooCommerce\\Internal\\Admin\\ProductForm\\Section\|Automattic\\WooCommerce\\Internal\\Admin\\ProductForm\\Tab\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/Admin/ProductForm/FormFactory.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\ProductForm\\FormFactory\:\:create_item\(\) has invalid return type Automattic\\WooCommerce\\Internal\\Admin\\ProductForm\\Card\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/Admin/ProductForm/FormFactory.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\ProductForm\\FormFactory\:\:create_item\(\) should return Automattic\\WooCommerce\\Internal\\Admin\\ProductForm\\Card\|Automattic\\WooCommerce\\Internal\\Admin\\ProductForm\\Field\|Automattic\\WooCommerce\\Internal\\Admin\\ProductForm\\Section\|Automattic\\WooCommerce\\Internal\\Admin\\ProductForm\\Tab\|WP_Error but returns object\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/Admin/ProductForm/FormFactory.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\ProductForm\\FormFactory\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/ProductForm/FormFactory.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\ProductForm\\FormFactory\:\:instance\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/ProductForm/FormFactory.php
+
+ -
+ message: '#^Parameter \#2 \$class_name of static method Automattic\\WooCommerce\\Internal\\Admin\\ProductForm\\FormFactory\:\:create_item\(\) expects class\-string, string given\.$#'
+ identifier: argument.type
+ count: 4
+ path: src/Internal/Admin/ProductForm/FormFactory.php
+
+ -
+ message: '#^Parameter \#2 \$class_name of static method Automattic\\WooCommerce\\Internal\\Admin\\ProductForm\\FormFactory\:\:get_items\(\) expects class\-string, string given\.$#'
+ identifier: argument.type
+ count: 4
+ path: src/Internal/Admin/ProductForm/FormFactory.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Internal\\Admin\\ProductForm\\FormFactory\:\:\$instance has unknown class Automattic\\WooCommerce\\Internal\\Admin\\ProductForm\\Form as its type\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/Admin/ProductForm/FormFactory.php
+
+ -
+ message: '#^Static property Automattic\\WooCommerce\\Internal\\Admin\\ProductForm\\FormFactory\:\:\$instance \(Automattic\\WooCommerce\\Internal\\Admin\\ProductForm\\Form\) does not accept static\(Automattic\\WooCommerce\\Internal\\Admin\\ProductForm\\FormFactory\)\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/Internal/Admin/ProductForm/FormFactory.php
+
+ -
+ message: '#^Unsafe usage of new static\(\)\.$#'
+ identifier: new.static
+ count: 1
+ path: src/Internal/Admin/ProductForm/FormFactory.php
+
+ -
+ message: '#^@param Automattic\\WooCommerce\\Internal\\Admin\\ProductReviews\\ReviewsListTable \$reviews_list_table does not accept actual type of parameter\: Automattic\\WooCommerce\\Internal\\Admin\\ProductReviews\\ReviewsListTable\|null\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: src/Internal/Admin/ProductReviews/Reviews.php
+
+ -
+ message: '#^@param array \$count does not accept actual type of parameter\: int\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: src/Internal/Admin/ProductReviews/Reviews.php
+
+ -
+ message: '#^@param string \$output does not accept actual type of parameter\: string\|false\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: src/Internal/Admin/ProductReviews/Reviews.php
+
+ -
+ message: '#^Call to function method_exists\(\) with ''WC_Comments'' and ''get_products…'' will always evaluate to true\.$#'
+ identifier: function.alreadyNarrowedType
+ count: 1
+ path: src/Internal/Admin/ProductReviews/Reviews.php
+
+ -
+ message: '#^Cannot call method display\(\) on Automattic\\WooCommerce\\Internal\\Admin\\ProductReviews\\ReviewsListTable\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/ProductReviews/Reviews.php
+
+ -
+ message: '#^Cannot call method prepare_items\(\) on Automattic\\WooCommerce\\Internal\\Admin\\ProductReviews\\ReviewsListTable\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/ProductReviews/Reviews.php
+
+ -
+ message: '#^Cannot call method search_box\(\) on Automattic\\WooCommerce\\Internal\\Admin\\ProductReviews\\ReviewsListTable\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/ProductReviews/Reviews.php
+
+ -
+ message: '#^Cannot call method views\(\) on Automattic\\WooCommerce\\Internal\\Admin\\ProductReviews\\ReviewsListTable\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/ProductReviews/Reviews.php
+
+ -
+ message: '#^Cannot cast mixed to int\.$#'
+ identifier: cast.int
+ count: 9
+ path: src/Internal/Admin/ProductReviews/Reviews.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\ProductReviews\\Reviews\:\:edit_review_parent_file\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/Admin/ProductReviews/Reviews.php
+
+ -
+ message: '#^Parameter \#1 \$args of method WP_Ajax_Response\:\:add\(\) expects array\{what\?\: string, action\?\: string\|false, id\?\: int\|WP_Error, old_id\?\: int\|false, position\?\: string, data\?\: string\|WP_Error, supplemental\?\: array\}, array\{what\: ''comment'', id\: string, data\: string\|false, position\: ''\-1''\|int, supplemental\: array\{in_moderation\: int, i18n_comments_text\: string, i18n_moderation_text\: string, parent_approved\: string, parent_post_id\: string\}\|array\{in_moderation\: int, i18n_comments_text\: string, i18n_moderation_text\: string\}\} given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/ProductReviews/Reviews.php
+
+ -
+ message: '#^Parameter \#1 \$args of method WP_Ajax_Response\:\:add\(\) expects array\{what\?\: string, action\?\: string\|false, id\?\: int\|WP_Error, old_id\?\: int\|false, position\?\: string, data\?\: string\|WP_Error, supplemental\?\: array\}, array\{what\: ''edit_comment'', id\: string, data\: string\|false, position\: int\} given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/ProductReviews/Reviews.php
+
+ -
+ message: '#^Parameter \#1 \$comment of function get_comment expects int\|string\|WP_Comment\|null, int\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/ProductReviews/Reviews.php
+
+ -
+ message: '#^Parameter \#1 \$commentdata of function wp_new_comment expects array\{comment_author\?\: string, comment_author_email\?\: string, comment_author_url\?\: string, comment_content\?\: string, comment_date\?\: string, comment_date_gmt\?\: string, comment_type\?\: string, comment_parent\?\: int, \.\.\.\}, array\{comment_post_ID\: int, comment_author\: string, comment_author_email\: string, comment_author_url\: string, comment_content\: mixed, comment_type\: string, comment_parent\: int, user_ID\: int\} given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/ProductReviews/Reviews.php
+
+ -
+ message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Internal/Admin/ProductReviews/Reviews.php
+
+ -
+ message: '#^Parameter \#1 \$message of function wp_die expects string\|WP_Error, int given\.$#'
+ identifier: argument.type
+ count: 7
+ path: src/Internal/Admin/ProductReviews/Reviews.php
+
+ -
+ message: '#^Parameter \#1 \$position of function wp_comment_reply expects int, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/ProductReviews/Reviews.php
+
+ -
+ message: '#^Parameter \#1 \$post of function get_post_type expects int\|WP_Post\|null, string given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Internal/Admin/ProductReviews/Reviews.php
+
+ -
+ message: '#^Parameter \#1 \$str of function sanitize_text_field expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 8
+ path: src/Internal/Admin/ProductReviews/Reviews.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_attr expects string, array given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/ProductReviews/Reviews.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_html expects string, array given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/ProductReviews/Reviews.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Internal\\Admin\\ProductReviews\\Reviews\:\:\$reviews_page_hook \(string\|null\) does not accept string\|false\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/Internal/Admin/ProductReviews/Reviews.php
+
+ -
+ message: '#^Cannot access offset ''post_type'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/Admin/ProductReviews/ReviewsCommentsOverrides.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\ProductReviews\\ReviewsCommentsOverrides\:\:exclude_reviews_from_comments\(\) should return array but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/Admin/ProductReviews/ReviewsCommentsOverrides.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\ProductReviews\\ReviewsCommentsOverrides\:\:get_dismiss_capability\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/Admin/ProductReviews/ReviewsCommentsOverrides.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_attr expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Internal/Admin/ProductReviews/ReviewsCommentsOverrides.php
+
+ -
+ message: '#^@param WP_Comment \$item does not accept actual type of parameter\: mixed\.$#'
+ identifier: parameter.phpDocType
+ count: 3
+ path: src/Internal/Admin/ProductReviews/ReviewsListTable.php
+
+ -
+ message: '#^@param string \$output does not accept actual type of parameter\: mixed\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: src/Internal/Admin/ProductReviews/ReviewsListTable.php
+
+ -
+ message: '#^Binary operation "\." between ''woocommerce_product…'' and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 2
+ path: src/Internal/Admin/ProductReviews/ReviewsListTable.php
+
+ -
+ message: '#^Cannot access property \$comment_ID on mixed\.$#'
+ identifier: property.nonObject
+ count: 33
+ path: src/Internal/Admin/ProductReviews/ReviewsListTable.php
+
+ -
+ message: '#^Cannot access property \$comment_approved on mixed\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: src/Internal/Admin/ProductReviews/ReviewsListTable.php
+
+ -
+ message: '#^Cannot access property \$comment_author on mixed\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: src/Internal/Admin/ProductReviews/ReviewsListTable.php
+
+ -
+ message: '#^Cannot access property \$comment_author_email on mixed\.$#'
+ identifier: property.nonObject
+ count: 2
+ path: src/Internal/Admin/ProductReviews/ReviewsListTable.php
+
+ -
+ message: '#^Cannot access property \$comment_author_url on mixed\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: src/Internal/Admin/ProductReviews/ReviewsListTable.php
+
+ -
+ message: '#^Cannot access property \$comment_content on mixed\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: src/Internal/Admin/ProductReviews/ReviewsListTable.php
+
+ -
+ message: '#^Cannot access property \$comment_parent on mixed\.$#'
+ identifier: property.nonObject
+ count: 2
+ path: src/Internal/Admin/ProductReviews/ReviewsListTable.php
+
+ -
+ message: '#^Cannot access property \$comment_post_ID on mixed\.$#'
+ identifier: property.nonObject
+ count: 5
+ path: src/Internal/Admin/ProductReviews/ReviewsListTable.php
+
+ -
+ message: '#^Cannot access property \$comment_type on mixed\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: src/Internal/Admin/ProductReviews/ReviewsListTable.php
+
+ -
+ message: '#^Cannot access property \$labels on WP_Post_Type\|null\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: src/Internal/Admin/ProductReviews/ReviewsListTable.php
+
+ -
+ message: '#^Cannot cast mixed to string\.$#'
+ identifier: cast.string
+ count: 1
+ path: src/Internal/Admin/ProductReviews/ReviewsListTable.php
+
+ -
+ message: '#^One or more @param tags has an invalid name or invalid syntax\.$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Internal/Admin/ProductReviews/ReviewsListTable.php
+
+ -
+ message: '#^PHPDoc tag @param has invalid value \(array Map of possible review types\.\)\: Unexpected token "Map", expected variable at offset 159 on line 7$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Internal/Admin/ProductReviews/ReviewsListTable.php
+
+ -
+ message: '#^Parameter \#1 \$args of method WP_List_Table\:\:set_pagination_args\(\) expects array\{total_items\?\: int, total_pages\?\: int, per_page\?\: int\}, array\{total_items\: array\<int\|WP_Comment\>\|int, per_page\: int\} given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/ProductReviews/ReviewsListTable.php
+
+ -
+ message: '#^Parameter \#1 \$comment of function get_comment_link expects int\|WP_Comment\|null, object given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/ProductReviews/ReviewsListTable.php
+
+ -
+ message: '#^Parameter \#1 \$comment_id of function wp_get_comment_status expects int\|WP_Comment, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Internal/Admin/ProductReviews/ReviewsListTable.php
+
+ -
+ message: '#^Parameter \#1 \$comments of function update_comment_cache expects array\<WP_Comment\>, array\<int\|WP_Comment\>\|int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/ProductReviews/ReviewsListTable.php
+
+ -
+ message: '#^Parameter \#1 \$item of method WP_List_Table\:\:single_row_columns\(\) expects array\|object, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/ProductReviews/ReviewsListTable.php
+
+ -
+ message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 3
+ path: src/Internal/Admin/ProductReviews/ReviewsListTable.php
+
+ -
+ message: '#^Parameter \#1 \$number of function number_format_i18n expects float, int\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/ProductReviews/ReviewsListTable.php
+
+ -
+ message: '#^Parameter \#1 \$number of function number_format_i18n expects float, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/ProductReviews/ReviewsListTable.php
+
+ -
+ message: '#^Parameter \#1 \$post of function get_post_status expects int\|WP_Post\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/ProductReviews/ReviewsListTable.php
+
+ -
+ message: '#^Parameter \#1 \$str of function sanitize_text_field expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 6
+ path: src/Internal/Admin/ProductReviews/ReviewsListTable.php
+
+ -
+ message: '#^Parameter \#1 \$str of function urlencode expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Internal/Admin/ProductReviews/ReviewsListTable.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_attr expects string, int given\.$#'
+ identifier: argument.type
+ count: 3
+ path: src/Internal/Admin/ProductReviews/ReviewsListTable.php
+
+ -
+ message: '#^Parameter \#1 \$url of function esc_url expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/ProductReviews/ReviewsListTable.php
+
+ -
+ message: '#^Parameter \#1 \$url of function esc_url expects string, string\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/ProductReviews/ReviewsListTable.php
+
+ -
+ message: '#^Parameter \#1 \$value of function untrailingslashit expects string, string\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/ProductReviews/ReviewsListTable.php
+
+ -
+ message: '#^Parameter \#2 \$comment_id of function get_comment_date expects int\|WP_Comment, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Internal/Admin/ProductReviews/ReviewsListTable.php
+
+ -
+ message: '#^Parameter \#2 \$query of function remove_query_arg expects string\|false, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/ProductReviews/ReviewsListTable.php
+
+ -
+ message: '#^Parameter \#3 \$number of function _n expects int, int\|string given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Internal/Admin/ProductReviews/ReviewsListTable.php
+
+ -
+ message: '#^Parameter \#3 \$number of function _n expects int, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/ProductReviews/ReviewsListTable.php
+
+ -
+ message: '#^Property WP_List_Table\:\:\$items \(array\) does not accept array\<int\|WP_Comment\>\|int\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/Internal/Admin/ProductReviews/ReviewsListTable.php
+
+ -
+ message: '#^Binary operation "\.\=" between mixed and '' AND wp_posts_to…''\|'' wp_posts_to…'' results in an error\.$#'
+ identifier: assignOp.invalid
+ count: 1
+ path: src/Internal/Admin/ProductReviews/ReviewsUtil.php
+
+ -
+ message: '#^Binary operation "\.\=" between mixed and non\-falsy\-string results in an error\.$#'
+ identifier: assignOp.invalid
+ count: 1
+ path: src/Internal/Admin/ProductReviews/ReviewsUtil.php
+
+ -
+ message: '#^Cannot access offset ''join'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/Admin/ProductReviews/ReviewsUtil.php
+
+ -
+ message: '#^Cannot access offset ''where'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: src/Internal/Admin/ProductReviews/ReviewsUtil.php
+
+ -
+ message: '#^Parameter \#1 \$post of function get_post_type expects int\|WP_Post\|null, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/ProductReviews/ReviewsUtil.php
+
+ -
+ message: '#^Parameter \#1 \$str of function trim expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/ProductReviews/ReviewsUtil.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\RemoteFreeExtensions\\DefaultFreeExtensions\:\:get_all\(\) should return array but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/Admin/RemoteFreeExtensions/DefaultFreeExtensions.php
+
+ -
+ message: '#^Parameter \#1 \$json of function json_decode expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/RemoteFreeExtensions/DefaultFreeExtensions.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$is_activated\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/Internal/Admin/RemoteFreeExtensions/EvaluateExtension.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$is_installed\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/Internal/Admin/RemoteFreeExtensions/EvaluateExtension.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$is_visible\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/Internal/Admin/RemoteFreeExtensions/EvaluateExtension.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$key\.$#'
+ identifier: property.notFound
+ count: 2
+ path: src/Internal/Admin/RemoteFreeExtensions/EvaluateExtension.php
+
+ -
+ message: '#^Variable \$errors might not be defined\.$#'
+ identifier: variable.undefined
+ count: 1
+ path: src/Internal/Admin/RemoteFreeExtensions/EvaluateExtension.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\RemoteFreeExtensions\\Init\:\:delete_specs_transient\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/RemoteFreeExtensions/Init.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\RemoteFreeExtensions\\Init\:\:get_specs\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/RemoteFreeExtensions/Init.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$key\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/Internal/Admin/RemoteFreeExtensions/ProcessCoreProfilerPluginInstallOptions.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$name\.$#'
+ identifier: property.notFound
+ count: 2
+ path: src/Internal/Admin/RemoteFreeExtensions/ProcessCoreProfilerPluginInstallOptions.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$value\.$#'
+ identifier: property.notFound
+ count: 3
+ path: src/Internal/Admin/RemoteFreeExtensions/ProcessCoreProfilerPluginInstallOptions.php
+
+ -
+ message: '#^Left side of && is always true\.$#'
+ identifier: booleanAnd.leftAlwaysTrue
+ count: 2
+ path: src/Internal/Admin/RemoteFreeExtensions/ProcessCoreProfilerPluginInstallOptions.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\RemoteFreeExtensions\\ProcessCoreProfilerPluginInstallOptions\:\:add_install_option\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/RemoteFreeExtensions/ProcessCoreProfilerPluginInstallOptions.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\RemoteFreeExtensions\\ProcessCoreProfilerPluginInstallOptions\:\:process_install_options\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/RemoteFreeExtensions/ProcessCoreProfilerPluginInstallOptions.php
+
+ -
+ message: '#^Parameter \#1 \$json of function json_decode expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/RemoteFreeExtensions/ProcessCoreProfilerPluginInstallOptions.php
+
+ -
+ message: '#^Parameter \#3 \$autoload of method Automattic\\WooCommerce\\Internal\\Admin\\RemoteFreeExtensions\\ProcessCoreProfilerPluginInstallOptions\:\:add_option\(\) expects string\|null, bool\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/RemoteFreeExtensions/ProcessCoreProfilerPluginInstallOptions.php
+
+ -
+ message: '#^Parameter \#4 \$autoload of function add_option expects bool\|null, string\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/RemoteFreeExtensions/ProcessCoreProfilerPluginInstallOptions.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\RemoteFreeExtensions\\RemoteFreeExtensionsDataSourcePoller\:\:get_instance\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/RemoteFreeExtensions/RemoteFreeExtensionsDataSourcePoller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\RemoteInboxNotifications\:\:get_instance\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/RemoteInboxNotifications.php
+
+ -
+ message: '#^Access to property \$query_where on an unknown class Automattic\\WooCommerce\\Internal\\Admin\\Schedulers\\WP_User_Query\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/Admin/Schedulers/CustomersScheduler.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Schedulers\\CustomersScheduler\:\:exclude_existing_customers_from_query\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Schedulers/CustomersScheduler.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Schedulers\\CustomersScheduler\:\:get_items\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Schedulers/CustomersScheduler.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Schedulers\\CustomersScheduler\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Schedulers/CustomersScheduler.php
+
+ -
+ message: '#^Parameter \$wp_user_query of method Automattic\\WooCommerce\\Internal\\Admin\\Schedulers\\CustomersScheduler\:\:exclude_existing_customers_from_query\(\) has invalid type Automattic\\WooCommerce\\Internal\\Admin\\Schedulers\\WP_User_Query\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/Admin/Schedulers/CustomersScheduler.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Schedulers\\ImportInterface\:\:get_items\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Schedulers/ImportInterface.php
+
+ -
+ message: '#^Access to an undefined static property static\(Automattic\\WooCommerce\\Internal\\Admin\\Schedulers\\ImportScheduler\)\:\:\$name\.$#'
+ identifier: staticProperty.notFound
+ count: 13
+ path: src/Internal/Admin/Schedulers/ImportScheduler.php
+
+ -
+ message: '#^Call to an undefined static method Automattic\\WooCommerce\\Internal\\Admin\\Schedulers\\ImportScheduler\:\:delete\(\)\.$#'
+ identifier: staticMethod.notFound
+ count: 1
+ path: src/Internal/Admin/Schedulers/ImportScheduler.php
+
+ -
+ message: '#^Call to an undefined static method Automattic\\WooCommerce\\Internal\\Admin\\Schedulers\\ImportScheduler\:\:import\(\)\.$#'
+ identifier: staticMethod.notFound
+ count: 1
+ path: src/Internal/Admin/Schedulers/ImportScheduler.php
+
+ -
+ message: '#^Call to method cancel_all\(\) on an unknown class Automattic\\WooCommerce\\Admin\\Schedulers\\WC_Queue_Interface\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/Admin/Schedulers/ImportScheduler.php
+
+ -
+ message: '#^Call to method getTimestamp\(\) on an unknown class Automattic\\WooCommerce\\Admin\\Schedulers\\DateTime\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/Admin/Schedulers/ImportScheduler.php
+
+ -
+ message: '#^Call to method get_schedule\(\) on an unknown class ActionScheduler_Action\.$#'
+ identifier: class.notFound
+ count: 3
+ path: src/Internal/Admin/Schedulers/ImportScheduler.php
+
+ -
+ message: '#^Call to method schedule_single\(\) on an unknown class Automattic\\WooCommerce\\Admin\\Schedulers\\WC_Queue_Interface\.$#'
+ identifier: class.notFound
+ count: 2
+ path: src/Internal/Admin/Schedulers/ImportScheduler.php
+
+ -
+ message: '#^Call to method search\(\) on an unknown class Automattic\\WooCommerce\\Admin\\Schedulers\\WC_Queue_Interface\.$#'
+ identifier: class.notFound
+ count: 4
+ path: src/Internal/Admin/Schedulers/ImportScheduler.php
+
+ -
+ message: '#^Call to static method instance\(\) on an unknown class ActionScheduler_Versions\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/Admin/Schedulers/ImportScheduler.php
+
+ -
+ message: '#^Call to static method store\(\) on an unknown class ActionScheduler\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/Admin/Schedulers/ImportScheduler.php
+
+ -
+ message: '#^Cannot access offset ''imported'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: src/Internal/Admin/Schedulers/ImportScheduler.php
+
+ -
+ message: '#^Cannot access offset mixed on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: src/Internal/Admin/Schedulers/ImportScheduler.php
+
+ -
+ message: '#^Expected 3 @param tags, found 2\.$#'
+ identifier: paramTag.count
+ count: 1
+ path: src/Internal/Admin/Schedulers/ImportScheduler.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Schedulers\\ImportScheduler\:\:clear_queued_actions\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Schedulers/ImportScheduler.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Schedulers\\ImportScheduler\:\:delete_batch_init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Schedulers/ImportScheduler.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Schedulers\\ImportScheduler\:\:do_action_or_reschedule\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Schedulers/ImportScheduler.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Schedulers\\ImportScheduler\:\:get_actions\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Schedulers/ImportScheduler.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Schedulers\\ImportScheduler\:\:get_default_scheduler_actions\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Schedulers/ImportScheduler.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Schedulers\\ImportScheduler\:\:get_next_action_time\(\) has invalid return type Automattic\\WooCommerce\\Admin\\Schedulers\\DateTime\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/Admin/Schedulers/ImportScheduler.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Schedulers\\ImportScheduler\:\:get_next_blocking_job\(\) has invalid return type Automattic\\WooCommerce\\Admin\\Schedulers\\ActionScheduler_Action\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/Admin/Schedulers/ImportScheduler.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Schedulers\\ImportScheduler\:\:get_scheduler_batch_sizes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Schedulers/ImportScheduler.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Schedulers\\ImportScheduler\:\:import_batch_init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Schedulers/ImportScheduler.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Schedulers\\ImportScheduler\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Schedulers/ImportScheduler.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Schedulers\\ImportScheduler\:\:queue\(\) has invalid return type Automattic\\WooCommerce\\Admin\\Schedulers\\WC_Queue_Interface\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/Admin/Schedulers/ImportScheduler.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Schedulers\\ImportScheduler\:\:queue\(\) should return Automattic\\WooCommerce\\Admin\\Schedulers\\WC_Queue_Interface but returns Automattic\\WooCommerce\\Admin\\Schedulers\\WC_Queue_Interface\|WC_Queue_Interface\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/Admin/Schedulers/ImportScheduler.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Schedulers\\ImportScheduler\:\:schedule_action\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Schedulers/ImportScheduler.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Schedulers\\ImportScheduler\:\:set_queue\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Schedulers/ImportScheduler.php
+
+ -
+ message: '#^Parameter \#1 \$action of static method Automattic\\WooCommerce\\Internal\\Admin\\Schedulers\\ImportScheduler\:\:get_next_action_time\(\) expects ActionScheduler_Action, Automattic\\WooCommerce\\Admin\\Schedulers\\ActionScheduler_Action given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Schedulers/ImportScheduler.php
+
+ -
+ message: '#^Parameter \#1 \$action_name of static method Automattic\\WooCommerce\\Internal\\Admin\\Schedulers\\ImportScheduler\:\:get_next_blocking_job\(\) expects string, int\|string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Schedulers/ImportScheduler.php
+
+ -
+ message: '#^Parameter \#1 \$function of function call_user_func_array expects callable\(\)\: mixed, array\{class\-string\<static\(Automattic\\WooCommerce\\Internal\\Admin\\Schedulers\\ImportScheduler\)\>, int\|string\|false\} given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Schedulers/ImportScheduler.php
+
+ -
+ message: '#^Parameter \#1 \$function of function call_user_func_array expects callable\(\)\: mixed, array\{class\-string\<static\(Automattic\\WooCommerce\\Internal\\Admin\\Schedulers\\ImportScheduler\)\>, string\} given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Schedulers/ImportScheduler.php
+
+ -
+ message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Schedulers/ImportScheduler.php
+
+ -
+ message: '#^Parameter \#1 \$object_or_string of function is_a expects object, Automattic\\WooCommerce\\Admin\\Schedulers\\DateTime\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Schedulers/ImportScheduler.php
+
+ -
+ message: '#^Parameter \#2 \$range_end of static method Automattic\\WooCommerce\\Internal\\Admin\\Schedulers\\ImportScheduler\:\:queue_batches\(\) expects int, float given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Internal/Admin/Schedulers/ImportScheduler.php
+
+ -
+ message: '#^Parameter \$action of method Automattic\\WooCommerce\\Internal\\Admin\\Schedulers\\ImportScheduler\:\:get_next_action_time\(\) has invalid type ActionScheduler_Action\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/Admin/Schedulers/ImportScheduler.php
+
+ -
+ message: '#^Parameter \$queue of method Automattic\\WooCommerce\\Internal\\Admin\\Schedulers\\ImportScheduler\:\:set_queue\(\) has invalid type Automattic\\WooCommerce\\Admin\\Schedulers\\WC_Queue_Interface\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/Admin/Schedulers/ImportScheduler.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Internal\\Admin\\Schedulers\\ImportScheduler\:\:\$queue has unknown class Automattic\\WooCommerce\\Admin\\Schedulers\\WC_Queue_Interface as its type\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/Admin/Schedulers/ImportScheduler.php
+
+ -
+ message: '#^Static property Automattic\\WooCommerce\\Internal\\Admin\\Schedulers\\ImportScheduler\:\:\$queue \(Automattic\\WooCommerce\\Admin\\Schedulers\\WC_Queue_Interface\) does not accept WC_Queue_Interface\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/Internal/Admin/Schedulers/ImportScheduler.php
+
+ -
+ message: '#^Cannot access offset ''body'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/Admin/Schedulers/MailchimpScheduler.php
+
+ -
+ message: '#^Cannot access offset ''is_agree_marketing'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/Admin/Schedulers/MailchimpScheduler.php
+
+ -
+ message: '#^Cannot access offset ''store_email'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/Admin/Schedulers/MailchimpScheduler.php
+
+ -
+ message: '#^Cannot access property \$success on mixed\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: src/Internal/Admin/Schedulers/MailchimpScheduler.php
+
+ -
+ message: '#^Cannot call method error\(\) on WC_Logger_Interface\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/Schedulers/MailchimpScheduler.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Schedulers\\MailchimpScheduler\:\:handle_request_error\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Schedulers/MailchimpScheduler.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Schedulers\\MailchimpScheduler\:\:reset\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Schedulers/MailchimpScheduler.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Schedulers\\MailchimpScheduler\:\:run\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Schedulers/MailchimpScheduler.php
+
+ -
+ message: '#^Parameter \#1 \$extra_msg of method Automattic\\WooCommerce\\Internal\\Admin\\Schedulers\\MailchimpScheduler\:\:handle_request_error\(\) expects string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Schedulers/MailchimpScheduler.php
+
+ -
+ message: '#^Parameter \#1 \$json of function json_decode expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Schedulers/MailchimpScheduler.php
+
+ -
+ message: '#^Parameter \#1 \$store_email of method Automattic\\WooCommerce\\Internal\\Admin\\Schedulers\\MailchimpScheduler\:\:make_request\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Schedulers/MailchimpScheduler.php
+
+ -
+ message: '#^Parameter \#1 \$var of function intval expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Internal/Admin/Schedulers/MailchimpScheduler.php
+
+ -
+ message: '#^Binary operation "\." between ''Invalid cursor date…'' and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: src/Internal/Admin/Schedulers/OrdersScheduler.php
+
+ -
+ message: '#^Cannot call method get_date_created\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/Schedulers/OrdersScheduler.php
+
+ -
+ message: '#^Cannot call method get_id\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/Schedulers/OrdersScheduler.php
+
+ -
+ message: '#^Cannot call method get_refunds\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/Schedulers/OrdersScheduler.php
+
+ -
+ message: '#^Cannot call method get_type\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/Schedulers/OrdersScheduler.php
+
+ -
+ message: '#^Cannot cast mixed to int\.$#'
+ identifier: cast.int
+ count: 1
+ path: src/Internal/Admin/Schedulers/OrdersScheduler.php
+
+ -
+ message: '#^Function as_schedule_recurring_action not found\.$#'
+ identifier: function.notFound
+ count: 1
+ path: src/Internal/Admin/Schedulers/OrdersScheduler.php
+
+ -
+ message: '#^Function as_unschedule_all_actions not found\.$#'
+ identifier: function.notFound
+ count: 1
+ path: src/Internal/Admin/Schedulers/OrdersScheduler.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Schedulers\\OrdersScheduler\:\:get_items\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Schedulers/OrdersScheduler.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Schedulers\\OrdersScheduler\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Schedulers/OrdersScheduler.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Schedulers\\OrdersScheduler\:\:possibly_schedule_import\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Schedulers/OrdersScheduler.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Schedulers\\OrdersScheduler\:\:schedule_recurring_batch_processor\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Schedulers/OrdersScheduler.php
+
+ -
+ message: '#^Parameter \#1 \$cursor_date of static method Automattic\\WooCommerce\\Internal\\Admin\\Schedulers\\OrdersScheduler\:\:get_orders_since\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Schedulers/OrdersScheduler.php
+
+ -
+ message: '#^Parameter \#1 \$function of function call_user_func expects callable\(\)\: mixed, ''as_has_scheduled…''\|''as_next_scheduled…'' given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Schedulers/OrdersScheduler.php
+
+ -
+ message: '#^Parameter \#1 \$time of function strtotime expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Schedulers/OrdersScheduler.php
+
+ -
+ message: '#^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Schedulers/OrdersScheduler.php
+
+ -
+ message: '#^Argument of an invalid type array\|WP_Error supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
+ count: 2
+ path: src/Internal/Admin/Settings.php
+
+ -
+ message: '#^Cannot assign offset ''wcVersion'' to string\.$#'
+ identifier: offsetAssign.dimType
+ count: 1
+ path: src/Internal/Admin/Settings.php
+
+ -
+ message: '#^Constant WC_ADMIN_IMAGES_FOLDER_URL not found\.$#'
+ identifier: constant.notFound
+ count: 1
+ path: src/Internal/Admin/Settings.php
+
+ -
+ message: '#^Constant WC_VERSION not found\.$#'
+ identifier: constant.notFound
+ count: 1
+ path: src/Internal/Admin/Settings.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Settings\:\:get_instance\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Settings.php
+
+ -
+ message: '#^PHPDoc tag @var above assignment does not specify variable name\.$#'
+ identifier: varTag.noVariable
+ count: 1
+ path: src/Internal/Admin/Settings.php
+
+ -
+ message: '#^Parameter \#2 \$callback of function array_reduce expects callable\(array\|null, mixed\)\: \(array\|null\), ''rest_preload_api…'' given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Settings.php
+
+ -
+ message: '#^Call to an undefined static method Automattic\\WooCommerce\\Internal\\Logging\\SafeGlobalFunctionProxy\:\:wc_get_logger\(\)\.$#'
+ identifier: staticMethod.notFound
+ count: 1
+ path: src/Internal/Admin/Settings/Payments.php
+
+ -
+ message: '#^Cannot access offset ''business_country_code'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: src/Internal/Admin/Settings/Payments.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Settings\\Payments\:\:get_country\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/Admin/Settings/Payments.php
+
+ -
+ message: '#^Parameter \#1 \$data of function maybe_unserialize expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Settings/Payments.php
+
+ -
+ message: '#^Access to an undefined property WooCommerce\:\:\$payment_gateways\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsController.php
+
+ -
+ message: '#^Call to an undefined static method Automattic\\WooCommerce\\Internal\\Logging\\SafeGlobalFunctionProxy\:\:wc_get_logger\(\)\.$#'
+ identifier: staticMethod.notFound
+ count: 2
+ path: src/Internal/Admin/Settings/PaymentsController.php
+
+ -
+ message: '#^Cannot access offset ''account_id'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsController.php
+
+ -
+ message: '#^Cannot access offset ''business_country_code'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsController.php
+
+ -
+ message: '#^Cannot access offset ''data'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsController.php
+
+ -
+ message: '#^Cannot access offset ''details_submitted'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Settings\\PaymentsController\:\:add_menu\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Settings\\PaymentsController\:\:register\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Settings\\PaymentsController\:\:store_has_enabled_gateways\(\) is unused\.$#'
+ identifier: method.unused
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsController.php
+
+ -
+ message: '#^Parameter \#5 \$callback of function add_menu_page expects ''''\|\(callable\(\)\: mixed\), null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsController.php
+
+ -
+ message: '#^Call to an undefined method Automattic\\WooCommerce\\Internal\\Admin\\Settings\\PaymentsProviders\\PaymentGateway\:\:get_pseudo_gateway\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsProviders.php
+
+ -
+ message: '#^Call to an undefined method Automattic\\WooCommerce\\Internal\\Admin\\Settings\\PaymentsProviders\\PaymentGateway\:\:is_gateway_registered\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsProviders.php
+
+ -
+ message: '#^Cannot access an offset on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsProviders.php
+
+ -
+ message: '#^Cannot access offset ''attached'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 3
+ path: src/Internal/Admin/Settings/PaymentsProviders.php
+
+ -
+ message: '#^Cannot access offset ''hidden_suggestions'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 3
+ path: src/Internal/Admin/Settings/PaymentsProviders.php
+
+ -
+ message: '#^Cannot access offset ''suggestions'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 3
+ path: src/Internal/Admin/Settings/PaymentsProviders.php
+
+ -
+ message: '#^Cannot access offset ''timestamp'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: src/Internal/Admin/Settings/PaymentsProviders.php
+
+ -
+ message: '#^Cannot access offset string on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 3
+ path: src/Internal/Admin/Settings/PaymentsProviders.php
+
+ -
+ message: '#^PHPDoc tag @var for property Automattic\\WooCommerce\\Internal\\Admin\\Settings\\PaymentsProviders\:\:\$payment_extension_suggestions_providers_class_map contains unresolvable type\.$#'
+ identifier: property.unresolvableType
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsProviders.php
+
+ -
+ message: '#^PHPDoc tag @var for property Automattic\\WooCommerce\\Internal\\Admin\\Settings\\PaymentsProviders\:\:\$payment_gateways_providers_class_map contains unresolvable type\.$#'
+ identifier: property.unresolvableType
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsProviders.php
+
+ -
+ message: '#^Parameter \#1 \$array of function array_column expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Internal/Admin/Settings/PaymentsProviders.php
+
+ -
+ message: '#^Parameter \#1 \$base_map of method Automattic\\WooCommerce\\Internal\\Admin\\Settings\\PaymentsProviders\:\:payment_providers_order_map_apply_mappings\(\) expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsProviders.php
+
+ -
+ message: '#^Parameter \#1 \$data of function maybe_unserialize expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 3
+ path: src/Internal/Admin/Settings/PaymentsProviders.php
+
+ -
+ message: '#^Parameter \#1 \$input of function array_keys expects array, array\|false given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Internal/Admin/Settings/PaymentsProviders.php
+
+ -
+ message: '#^Parameter \#1 \$order_map of method Automattic\\WooCommerce\\Internal\\Admin\\Settings\\PaymentsProviders\:\:enhance_order_map\(\) expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsProviders.php
+
+ -
+ message: '#^Parameter \#1 \$url of function esc_url expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsProviders.php
+
+ -
+ message: '#^Parameter \#1 \$var of function count expects array\|Countable, array\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsProviders.php
+
+ -
+ message: '#^Parameter \#2 \$array of function array_map expects array, array\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsProviders.php
+
+ -
+ message: '#^Call to an undefined static method Automattic\\WooCommerce\\Internal\\Logging\\SafeGlobalFunctionProxy\:\:wc_get_logger\(\)\.$#'
+ identifier: staticMethod.notFound
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsProviders/Affirm.php
+
+ -
+ message: '#^Call to an undefined static method Automattic\\WooCommerce\\Internal\\Logging\\SafeGlobalFunctionProxy\:\:wc_get_logger\(\)\.$#'
+ identifier: staticMethod.notFound
+ count: 2
+ path: src/Internal/Admin/Settings/PaymentsProviders/AfterpayClearpay.php
+
+ -
+ message: '#^Call to an undefined static method Automattic\\WooCommerce\\Internal\\Logging\\SafeGlobalFunctionProxy\:\:wc_get_logger\(\)\.$#'
+ identifier: staticMethod.notFound
+ count: 2
+ path: src/Internal/Admin/Settings/PaymentsProviders/Airwallex.php
+
+ -
+ message: '#^Call to an undefined static method Automattic\\WooCommerce\\Internal\\Logging\\SafeGlobalFunctionProxy\:\:wc_get_logger\(\)\.$#'
+ identifier: staticMethod.notFound
+ count: 2
+ path: src/Internal/Admin/Settings/PaymentsProviders/AmazonPay.php
+
+ -
+ message: '#^Call to an undefined static method Automattic\\WooCommerce\\Internal\\Logging\\SafeGlobalFunctionProxy\:\:wc_get_logger\(\)\.$#'
+ identifier: staticMethod.notFound
+ count: 2
+ path: src/Internal/Admin/Settings/PaymentsProviders/Antom.php
+
+ -
+ message: '#^Call to an undefined static method Automattic\\WooCommerce\\Internal\\Logging\\SafeGlobalFunctionProxy\:\:wc_get_logger\(\)\.$#'
+ identifier: staticMethod.notFound
+ count: 2
+ path: src/Internal/Admin/Settings/PaymentsProviders/Eway.php
+
+ -
+ message: '#^Call to an undefined static method Automattic\\WooCommerce\\Internal\\Logging\\SafeGlobalFunctionProxy\:\:wc_get_logger\(\)\.$#'
+ identifier: staticMethod.notFound
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsProviders/GoCardless.php
+
+ -
+ message: '#^Call to an undefined static method Automattic\\WooCommerce\\Internal\\Logging\\SafeGlobalFunctionProxy\:\:wc_get_logger\(\)\.$#'
+ identifier: staticMethod.notFound
+ count: 2
+ path: src/Internal/Admin/Settings/PaymentsProviders/HelioPay.php
+
+ -
+ message: '#^Call to an undefined static method Automattic\\WooCommerce\\Internal\\Logging\\SafeGlobalFunctionProxy\:\:wc_get_logger\(\)\.$#'
+ identifier: staticMethod.notFound
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsProviders/Klarna.php
+
+ -
+ message: '#^Call to an undefined static method Automattic\\WooCommerce\\Internal\\Logging\\SafeGlobalFunctionProxy\:\:wc_get_logger\(\)\.$#'
+ identifier: staticMethod.notFound
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsProviders/KlarnaCheckout.php
+
+ -
+ message: '#^Call to an undefined static method Automattic\\WooCommerce\\Internal\\Logging\\SafeGlobalFunctionProxy\:\:wc_get_logger\(\)\.$#'
+ identifier: staticMethod.notFound
+ count: 2
+ path: src/Internal/Admin/Settings/PaymentsProviders/MercadoPago.php
+
+ -
+ message: '#^Call to an undefined static method Automattic\\WooCommerce\\Internal\\Logging\\SafeGlobalFunctionProxy\:\:wc_get_logger\(\)\.$#'
+ identifier: staticMethod.notFound
+ count: 2
+ path: src/Internal/Admin/Settings/PaymentsProviders/Mollie.php
+
+ -
+ message: '#^Call to an undefined static method Automattic\\WooCommerce\\Internal\\Logging\\SafeGlobalFunctionProxy\:\:wc_get_logger\(\)\.$#'
+ identifier: staticMethod.notFound
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsProviders/Monei.php
+
+ -
+ message: '#^Call to an undefined static method Automattic\\WooCommerce\\Internal\\Logging\\SafeGlobalFunctionProxy\:\:wc_get_logger\(\)\.$#'
+ identifier: staticMethod.notFound
+ count: 2
+ path: src/Internal/Admin/Settings/PaymentsProviders/NexiCheckout.php
+
+ -
+ message: '#^Access to constant SANDBOX on an unknown class WooCommerce\\PayPalCommerce\\Onboarding\\Environment\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsProviders/PayPal.php
+
+ -
+ message: '#^Access to constant STATE_ONBOARDED on an unknown class WooCommerce\\PayPalCommerce\\Onboarding\\State\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsProviders/PayPal.php
+
+ -
+ message: '#^Call to an undefined static method Automattic\\WooCommerce\\Internal\\Logging\\SafeGlobalFunctionProxy\:\:wc_get_logger\(\)\.$#'
+ identifier: staticMethod.notFound
+ count: 2
+ path: src/Internal/Admin/Settings/PaymentsProviders/PayPal.php
+
+ -
+ message: '#^Call to an undefined static method Automattic\\WooCommerce\\Internal\\Logging\\SafeGlobalFunctionProxy\:\:wc_get_logger\(\)\.$#'
+ identifier: staticMethod.notFound
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsProviders/PayUIndia.php
+
+ -
+ message: '#^Call to an undefined static method Automattic\\WooCommerce\\Internal\\Logging\\SafeGlobalFunctionProxy\:\:wc_get_logger\(\)\.$#'
+ identifier: staticMethod.notFound
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsProviders/Payfast.php
+
+ -
+ message: '#^Parameter \#1 \$string of function wc_string_to_bool expects bool\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsProviders/Payfast.php
+
+ -
+ message: '#^Call to an undefined static method Automattic\\WooCommerce\\Internal\\Logging\\SafeGlobalFunctionProxy\:\:wc_get_logger\(\)\.$#'
+ identifier: staticMethod.notFound
+ count: 16
+ path: src/Internal/Admin/Settings/PaymentsProviders/PaymentGateway.php
+
+ -
+ message: '#^Call to function is_callable\(\) with array\{WC_Payment_Gateway, ''get_connection_url''\} will always evaluate to true\.$#'
+ identifier: function.alreadyNarrowedType
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsProviders/PaymentGateway.php
+
+ -
+ message: '#^Call to function is_callable\(\) with array\{WC_Payment_Gateway, ''get_onboarding_not…''\} will always evaluate to true\.$#'
+ identifier: function.alreadyNarrowedType
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsProviders/PaymentGateway.php
+
+ -
+ message: '#^Call to function is_callable\(\) with array\{WC_Payment_Gateway, ''get_option''\} will always evaluate to true\.$#'
+ identifier: function.alreadyNarrowedType
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsProviders/PaymentGateway.php
+
+ -
+ message: '#^Call to function is_callable\(\) with array\{WC_Payment_Gateway, ''get_provider_links''\} will always evaluate to true\.$#'
+ identifier: function.alreadyNarrowedType
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsProviders/PaymentGateway.php
+
+ -
+ message: '#^Call to function is_callable\(\) with array\{WC_Payment_Gateway, ''get_recommended…''\} will always evaluate to true\.$#'
+ identifier: function.alreadyNarrowedType
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsProviders/PaymentGateway.php
+
+ -
+ message: '#^Call to function is_callable\(\) with array\{WC_Payment_Gateway, ''get_settings_url''\} will always evaluate to true\.$#'
+ identifier: function.alreadyNarrowedType
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsProviders/PaymentGateway.php
+
+ -
+ message: '#^Call to function is_callable\(\) with array\{WC_Payment_Gateway, ''is_account_connected''\} will always evaluate to true\.$#'
+ identifier: function.alreadyNarrowedType
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsProviders/PaymentGateway.php
+
+ -
+ message: '#^Call to function is_callable\(\) with array\{WC_Payment_Gateway, ''is_account…''\} will always evaluate to true\.$#'
+ identifier: function.alreadyNarrowedType
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsProviders/PaymentGateway.php
+
+ -
+ message: '#^Call to function is_callable\(\) with array\{WC_Payment_Gateway, ''is_connected''\} will always evaluate to true\.$#'
+ identifier: function.alreadyNarrowedType
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsProviders/PaymentGateway.php
+
+ -
+ message: '#^Call to function is_callable\(\) with array\{WC_Payment_Gateway, ''is_in_test_mode…''\} will always evaluate to true\.$#'
+ identifier: function.alreadyNarrowedType
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsProviders/PaymentGateway.php
+
+ -
+ message: '#^Call to function is_callable\(\) with array\{WC_Payment_Gateway, ''is_onboarding…''\} will always evaluate to true\.$#'
+ identifier: function.alreadyNarrowedType
+ count: 3
+ path: src/Internal/Admin/Settings/PaymentsProviders/PaymentGateway.php
+
+ -
+ message: '#^Call to function is_callable\(\) with array\{WC_Payment_Gateway, ''is_test_mode…''\} will always evaluate to true\.$#'
+ identifier: function.alreadyNarrowedType
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsProviders/PaymentGateway.php
+
+ -
+ message: '#^Parameter \#1 \$array \(list\) of array_values is already a list, call has no effect\.$#'
+ identifier: arrayValues.list
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsProviders/PaymentGateway.php
+
+ -
+ message: '#^Parameter \#1 \$string of function strlen expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsProviders/PaymentGateway.php
+
+ -
+ message: '#^Parameter \#2 \$needle of function str_starts_with expects string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Internal/Admin/Settings/PaymentsProviders/PaymentGateway.php
+
+ -
+ message: '#^Property WC_Payment_Gateway\:\:\$enabled \(string\) on left side of \?\? is not nullable\.$#'
+ identifier: nullCoalesce.property
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsProviders/PaymentGateway.php
+
+ -
+ message: '#^Property WC_Payment_Gateway\:\:\$icon \(string\) on left side of \?\? is not nullable\.$#'
+ identifier: nullCoalesce.property
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsProviders/PaymentGateway.php
+
+ -
+ message: '#^Property WC_Payment_Gateway\:\:\$supports \(array\) on left side of \?\? is not nullable\.$#'
+ identifier: nullCoalesce.property
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsProviders/PaymentGateway.php
+
+ -
+ message: '#^Call to an undefined static method Automattic\\WooCommerce\\Internal\\Logging\\SafeGlobalFunctionProxy\:\:wc_get_logger\(\)\.$#'
+ identifier: staticMethod.notFound
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsProviders/Paymob.php
+
+ -
+ message: '#^Cannot access offset ''mode'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsProviders/Paymob.php
+
+ -
+ message: '#^Call to an undefined static method Automattic\\WooCommerce\\Internal\\Logging\\SafeGlobalFunctionProxy\:\:wc_get_logger\(\)\.$#'
+ identifier: staticMethod.notFound
+ count: 2
+ path: src/Internal/Admin/Settings/PaymentsProviders/Payoneer.php
+
+ -
+ message: '#^Call to an undefined static method Automattic\\WooCommerce\\Internal\\Logging\\SafeGlobalFunctionProxy\:\:wc_get_logger\(\)\.$#'
+ identifier: staticMethod.notFound
+ count: 2
+ path: src/Internal/Admin/Settings/PaymentsProviders/Paystack.php
+
+ -
+ message: '#^Call to an undefined static method Automattic\\WooCommerce\\Internal\\Logging\\SafeGlobalFunctionProxy\:\:wc_get_logger\(\)\.$#'
+ identifier: staticMethod.notFound
+ count: 2
+ path: src/Internal/Admin/Settings/PaymentsProviders/Paytrail.php
+
+ -
+ message: '#^Call to an undefined static method Automattic\\WooCommerce\\Internal\\Logging\\SafeGlobalFunctionProxy\:\:wc_get_logger\(\)\.$#'
+ identifier: staticMethod.notFound
+ count: 2
+ path: src/Internal/Admin/Settings/PaymentsProviders/Razorpay.php
+
+ -
+ message: '#^Call to an undefined static method Automattic\\WooCommerce\\Internal\\Logging\\SafeGlobalFunctionProxy\:\:wc_get_logger\(\)\.$#'
+ identifier: staticMethod.notFound
+ count: 3
+ path: src/Internal/Admin/Settings/PaymentsProviders/Stripe.php
+
+ -
+ message: '#^Call to an undefined static method Automattic\\WooCommerce\\Internal\\Logging\\SafeGlobalFunctionProxy\:\:wc_get_logger\(\)\.$#'
+ identifier: staticMethod.notFound
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsProviders/Tilopay.php
+
+ -
+ message: '#^Call to an undefined static method Automattic\\WooCommerce\\Internal\\Logging\\SafeGlobalFunctionProxy\:\:wc_get_logger\(\)\.$#'
+ identifier: staticMethod.notFound
+ count: 2
+ path: src/Internal/Admin/Settings/PaymentsProviders/Visa.php
+
+ -
+ message: '#^Call to an undefined static method Automattic\\WooCommerce\\Internal\\Logging\\SafeGlobalFunctionProxy\:\:wc_get_logger\(\)\.$#'
+ identifier: staticMethod.notFound
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsProviders/Vivacom.php
+
+ -
+ message: '#^Call to an undefined method object\:\:has_connected_owner\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsProviders/WooPayments.php
+
+ -
+ message: '#^Call to an undefined method object\:\:is_connected\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsProviders/WooPayments.php
+
+ -
+ message: '#^Call to an undefined method object\:\:is_connection_owner\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsProviders/WooPayments.php
+
+ -
+ message: '#^Call to an undefined static method Automattic\\WooCommerce\\Internal\\Logging\\SafeGlobalFunctionProxy\:\:wc_get_logger\(\)\.$#'
+ identifier: staticMethod.notFound
+ count: 5
+ path: src/Internal/Admin/Settings/PaymentsProviders/WooPayments.php
+
+ -
+ message: '#^Cannot access offset ''Version'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsProviders/WooPayments.php
+
+ -
+ message: '#^Cannot access offset ''business_choice'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsProviders/WooPayments.php
+
+ -
+ message: '#^Cannot access offset ''selling_online_answer'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsProviders/WooPayments.php
+
+ -
+ message: '#^Cannot call method get\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: src/Internal/Admin/Settings/PaymentsProviders/WooPayments.php
+
+ -
+ message: '#^Cannot call method is_dev\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsProviders/WooPayments.php
+
+ -
+ message: '#^Cannot call method is_test\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsProviders/WooPayments.php
+
+ -
+ message: '#^Cannot call method is_test_mode_onboarding\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsProviders/WooPayments.php
+
+ -
+ message: '#^Cannot cast mixed to string\.$#'
+ identifier: cast.string
+ count: 2
+ path: src/Internal/Admin/Settings/PaymentsProviders/WooPayments.php
+
+ -
+ message: '#^Parameter \#1 \$string of function wc_string_to_bool expects bool\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsProviders/WooPayments.php
+
+ -
+ message: '#^Parameter \#1 \$version1 of function version_compare expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Internal/Admin/Settings/PaymentsProviders/WooPayments.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Settings\\PaymentsProviders\\WooPayments\\WooPaymentsController\:\:register\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsProviders/WooPayments/WooPaymentsController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Settings\\PaymentsProviders\\WooPayments\\WooPaymentsRestController\:\:check_location_arg\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsProviders/WooPayments/WooPaymentsRestController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Settings\\PaymentsProviders\\WooPayments\\WooPaymentsRestController\:\:check_permissions\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsProviders/WooPayments/WooPaymentsRestController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Settings\\PaymentsProviders\\WooPayments\\WooPaymentsRestController\:\:get_onboarding_details\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsProviders/WooPayments/WooPaymentsRestController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Settings\\PaymentsProviders\\WooPayments\\WooPaymentsRestController\:\:get_schema_for_get_onboarding_details\(\) should return array\<array\> but returns array\<string, array\<string, array\<string, array\<int\|string, array\<string, array\<int\|string, array\<int\|string, array\<string, array\<array\|bool\|string\>\|bool\|string\>\|string\>\|bool\|string\>\|bool\|string\>\|bool\|string\>\|bool\|string\>\>\|string\>\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsProviders/WooPayments/WooPaymentsRestController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Settings\\PaymentsProviders\\WooPayments\\WooPaymentsRestController\:\:handle_onboarding_business_verification_kyc_session_finish\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsProviders/WooPayments/WooPaymentsRestController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Settings\\PaymentsProviders\\WooPayments\\WooPaymentsRestController\:\:handle_onboarding_business_verification_kyc_session_init\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsProviders/WooPayments/WooPaymentsRestController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Settings\\PaymentsProviders\\WooPayments\\WooPaymentsRestController\:\:handle_onboarding_preload\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsProviders/WooPayments/WooPaymentsRestController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Settings\\PaymentsProviders\\WooPayments\\WooPaymentsRestController\:\:handle_onboarding_step_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsProviders/WooPayments/WooPaymentsRestController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Settings\\PaymentsProviders\\WooPayments\\WooPaymentsRestController\:\:handle_onboarding_step_clean\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsProviders/WooPayments/WooPaymentsRestController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Settings\\PaymentsProviders\\WooPayments\\WooPaymentsRestController\:\:handle_onboarding_step_finish\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsProviders/WooPayments/WooPaymentsRestController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Settings\\PaymentsProviders\\WooPayments\\WooPaymentsRestController\:\:handle_onboarding_step_save\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsProviders/WooPayments/WooPaymentsRestController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Settings\\PaymentsProviders\\WooPayments\\WooPaymentsRestController\:\:handle_onboarding_step_start\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsProviders/WooPayments/WooPaymentsRestController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Settings\\PaymentsProviders\\WooPayments\\WooPaymentsRestController\:\:handle_onboarding_test_account_init\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsProviders/WooPayments/WooPaymentsRestController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Settings\\PaymentsProviders\\WooPayments\\WooPaymentsRestController\:\:handle_onboarding_test_account_reset\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsProviders/WooPayments/WooPaymentsRestController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Settings\\PaymentsProviders\\WooPayments\\WooPaymentsRestController\:\:handle_test_account_disable\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsProviders/WooPayments/WooPaymentsRestController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Settings\\PaymentsProviders\\WooPayments\\WooPaymentsRestController\:\:prepare_onboarding_details_response\(\) should return array but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsProviders/WooPayments/WooPaymentsRestController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Settings\\PaymentsProviders\\WooPayments\\WooPaymentsRestController\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsProviders/WooPayments/WooPaymentsRestController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Settings\\PaymentsProviders\\WooPayments\\WooPaymentsRestController\:\:reset_onboarding\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsProviders/WooPayments/WooPaymentsRestController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Settings\\PaymentsProviders\\WooPayments\\WooPaymentsService\:\:onboarding_preload\(\) invoked with 1 parameter, 0 required\.$#'
+ identifier: arguments.count
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsProviders/WooPayments/WooPaymentsRestController.php
+
+ -
+ message: '#^Parameter \#2 \$array of function array_map expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsProviders/WooPayments/WooPaymentsRestController.php
+
+ -
+ message: '#^Parameter \#2 \$schema of method Automattic\\WooCommerce\\Internal\\Admin\\Settings\\PaymentsProviders\\WooPayments\\WooPaymentsRestController\:\:prepare_onboarding_details_response_recursive\(\) expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsProviders/WooPayments/WooPaymentsRestController.php
+
+ -
+ message: '#^Parameter \#2 \$self_assessment of method Automattic\\WooCommerce\\Internal\\Admin\\Settings\\PaymentsProviders\\WooPayments\\WooPaymentsService\:\:get_onboarding_kyc_session\(\) expects array, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsProviders/WooPayments/WooPaymentsRestController.php
+
+ -
+ message: '#^Binary operation "\-" between mixed and 120 results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsProviders/WooPayments/WooPaymentsService.php
+
+ -
+ message: '#^Binary operation "\-" between mixed and int\<min, \-1\>\|int\<1, max\> results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsProviders/WooPayments/WooPaymentsService.php
+
+ -
+ message: '#^Call to an undefined method object\:\:has_connected_owner\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: src/Internal/Admin/Settings/PaymentsProviders/WooPayments/WooPaymentsService.php
+
+ -
+ message: '#^Call to an undefined method object\:\:is_connected\(\)\.$#'
+ identifier: method.notFound
+ count: 3
+ path: src/Internal/Admin/Settings/PaymentsProviders/WooPayments/WooPaymentsService.php
+
+ -
+ message: '#^Call to an undefined method object\:\:is_connection_owner\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsProviders/WooPayments/WooPaymentsService.php
+
+ -
+ message: '#^Call to an undefined method object\:\:try_registration\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsProviders/WooPayments/WooPaymentsService.php
+
+ -
+ message: '#^Cannot access offset ''available_countries'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: src/Internal/Admin/Settings/PaymentsProviders/WooPayments/WooPaymentsService.php
+
+ -
+ message: '#^Cannot access offset ''location'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsProviders/WooPayments/WooPaymentsService.php
+
+ -
+ message: '#^Cannot call method get_account_status_data\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 4
+ path: src/Internal/Admin/Settings/PaymentsProviders/WooPayments/WooPaymentsService.php
+
+ -
+ message: '#^Cannot call method is_stripe_account_valid\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsProviders/WooPayments/WooPaymentsService.php
+
+ -
+ message: '#^Cannot cast mixed to int\.$#'
+ identifier: cast.int
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsProviders/WooPayments/WooPaymentsService.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Settings\\PaymentsProviders\\WooPayments\\WooPaymentsService\:\:get_nox_profile\(\) should return array but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsProviders/WooPayments/WooPaymentsService.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Settings\\PaymentsProviders\\WooPayments\\WooPaymentsService\:\:get_nox_profile_onboarding_step_entry\(\) should return array but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsProviders/WooPayments/WooPaymentsService.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Settings\\PaymentsProviders\\WooPayments\\WooPaymentsService\:\:get_onboarding_kyc_fallback_url\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsProviders/WooPayments/WooPaymentsService.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Settings\\PaymentsProviders\\WooPayments\\WooPaymentsService\:\:get_onboarding_kyc_fields\(\) should return array but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsProviders/WooPayments/WooPaymentsService.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Settings\\PaymentsProviders\\WooPayments\\WooPaymentsService\:\:get_payment_gateway\(\) should return WC_Payment_Gateway but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsProviders/WooPayments/WooPaymentsService.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Settings\\PaymentsProviders\\WooPayments\\WooPaymentsService\:\:get_wpcom_connection_authorization\(\) should return array but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsProviders/WooPayments/WooPaymentsService.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Settings\\PaymentsProviders\\WooPayments\\WooPaymentsService\:\:is_extension_active\(\) should return bool but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsProviders/WooPayments/WooPaymentsService.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Settings\\PaymentsProviders\\WooPayments\\WooPaymentsService\:\:is_onboarding_step_completed\(\) is unused\.$#'
+ identifier: method.unused
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsProviders/WooPayments/WooPaymentsService.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Settings\\PaymentsProviders\\WooPayments\\WooPaymentsService\:\:mark_onboarding_step_blocked\(\) is unused\.$#'
+ identifier: method.unused
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsProviders/WooPayments/WooPaymentsService.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Settings\\PaymentsProviders\\WooPayments\\WooPaymentsService\:\:save_nox_profile\(\) should return bool but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsProviders/WooPayments/WooPaymentsService.php
+
+ -
+ message: '#^PHPDoc tag @return with type mixed is not subtype of native type array\.$#'
+ identifier: return.phpDocType
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsProviders/WooPayments/WooPaymentsService.php
+
+ -
+ message: '#^Parameter \#1 \$data of function maybe_unserialize expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsProviders/WooPayments/WooPaymentsService.php
+
+ -
+ message: '#^Parameter \#1 \$json of function json_decode expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsProviders/WooPayments/WooPaymentsService.php
+
+ -
+ message: '#^Parameter \#1 \$string of function wc_string_to_bool expects bool\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Internal/Admin/Settings/PaymentsProviders/WooPayments/WooPaymentsService.php
+
+ -
+ message: '#^Parameter \#1 \$version1 of function version_compare expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsProviders/WooPayments/WooPaymentsService.php
+
+ -
+ message: '#^Parameter \#4 \$additional_data of class Automattic\\WooCommerce\\Internal\\Admin\\Settings\\Exceptions\\ApiException constructor expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 6
+ path: src/Internal/Admin/Settings/PaymentsProviders/WooPayments/WooPaymentsService.php
+
+ -
+ message: '#^Cannot access offset ''providers'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: src/Internal/Admin/Settings/PaymentsRestController.php
+
+ -
+ message: '#^Cannot access offset ''suggestions'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: src/Internal/Admin/Settings/PaymentsRestController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Settings\\PaymentsRestController\:\:attach_payment_extension_suggestion\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsRestController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Settings\\PaymentsRestController\:\:check_location_arg\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsRestController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Settings\\PaymentsRestController\:\:check_permissions\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsRestController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Settings\\PaymentsRestController\:\:dismiss_payment_extension_suggestion_incentive\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsRestController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Settings\\PaymentsRestController\:\:get_providers\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsRestController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Settings\\PaymentsRestController\:\:get_schema_for_get_payment_providers\(\) should return array\<array\> but returns array\<string, array\<string, array\<string, array\|bool\|string\>\>\|string\>\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsRestController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Settings\\PaymentsRestController\:\:hide_payment_extension_suggestion\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsRestController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Settings\\PaymentsRestController\:\:prepare_payment_providers_response\(\) should return array but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsRestController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Settings\\PaymentsRestController\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsRestController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Settings\\PaymentsRestController\:\:sanitize_provider_id\(\) should return string but returns string\|null\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsRestController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Settings\\PaymentsRestController\:\:set_country\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsRestController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Settings\\PaymentsRestController\:\:update_providers_order\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsRestController.php
+
+ -
+ message: '#^Parameter \#1 \$providers of method Automattic\\WooCommerce\\Internal\\Admin\\Settings\\PaymentsRestController\:\:add_provider_links\(\) expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsRestController.php
+
+ -
+ message: '#^Parameter \#1 \$suggestions of method Automattic\\WooCommerce\\Internal\\Admin\\Settings\\PaymentsRestController\:\:add_suggestion_links\(\) expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsRestController.php
+
+ -
+ message: '#^Parameter \#2 \$array of function array_map expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsRestController.php
+
+ -
+ message: '#^Parameter \#2 \$schema of method Automattic\\WooCommerce\\Internal\\Admin\\Settings\\PaymentsRestController\:\:prepare_payment_providers_response_recursive\(\) expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Settings/PaymentsRestController.php
+
+ -
+ message: '#^Parameter \#3 \$subject of function preg_replace expects array\<float\|int\|string\>\|string, string\|null given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Internal/Admin/Settings/PaymentsRestController.php
+
+ -
+ message: '#^Cannot access offset ''code'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: src/Internal/Admin/Settings/Utils.php
+
+ -
+ message: '#^Cannot access offset ''message'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: src/Internal/Admin/Settings/Utils.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Settings\\Utils\:\:rest_endpoint_get_request\(\) should return array\|WP_Error but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/Admin/Settings/Utils.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Settings\\Utils\:\:rest_endpoint_post_request\(\) should return array\|WP_Error but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/Admin/Settings/Utils.php
+
+ -
+ message: '#^Parameter \#1 \$haystack of function str_ends_with expects string\|null, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Settings/Utils.php
+
+ -
+ message: '#^Parameter \#1 \$json of function json_decode expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Internal/Admin/Settings/Utils.php
+
+ -
+ message: '#^Parameter \#1 \$str of function trim expects string, string\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Settings/Utils.php
+
+ -
+ message: '#^Parameter \#1 \$string of function substr expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Settings/Utils.php
+
+ -
+ message: '#^Parameter \#2 \$subject of function preg_match expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Settings/Utils.php
+
+ -
+ message: '#^Parameter \#3 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Internal/Admin/Settings/Utils.php
+
+ -
+ message: '#^Parameter \#4 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Internal/Admin/Settings/Utils.php
+
+ -
+ message: '#^Strict comparison using \!\=\= between null and string will always evaluate to true\.$#'
+ identifier: notIdentical.alwaysTrue
+ count: 1
+ path: src/Internal/Admin/Settings/Utils.php
+
+ -
+ message: '#^Callback expects 0 parameters, \$accepted_args is set to 2\.$#'
+ identifier: arguments.count
+ count: 1
+ path: src/Internal/Admin/ShippingLabelBanner.php
+
+ -
+ message: '#^Cannot call method get_id\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/ShippingLabelBanner.php
+
+ -
+ message: '#^Cannot call method needs_shipping\(\) on WC_Product\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/ShippingLabelBanner.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\ShippingLabelBanner\:\:add_meta_boxes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/ShippingLabelBanner.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\ShippingLabelBanner\:\:add_print_shipping_label_script\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/ShippingLabelBanner.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\ShippingLabelBanner\:\:count_shippable_items\(\) is unused\.$#'
+ identifier: method.unused
+ count: 1
+ path: src/Internal/Admin/ShippingLabelBanner.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\ShippingLabelBanner\:\:meta_box\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/ShippingLabelBanner.php
+
+ -
+ message: '#^Parameter \#1 \$dotcom_connected of class Automattic\\WooCommerce\\Internal\\Admin\\ShippingLabelBannerDisplayRules constructor expects bool, bool\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/ShippingLabelBanner.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_attr expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/ShippingLabelBanner.php
+
+ -
+ message: '#^Used function WP_CLI\\Utils\\get_plugin_name not found\.$#'
+ identifier: function.notFound
+ count: 1
+ path: src/Internal/Admin/ShippingLabelBanner.php
+
+ -
+ message: '#^Cannot call method get_items\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/ShippingLabelBannerDisplayRules.php
+
+ -
+ message: '#^Cannot call method needs_shipping\(\) on WC_Product\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Admin/ShippingLabelBannerDisplayRules.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\ShippingLabelBannerDisplayRules\:\:should_display_banner\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/ShippingLabelBannerDisplayRules.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Internal\\Admin\\ShippingLabelBannerDisplayRules\:\:\$wcs_version \(string\) does not accept string\|null\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/Internal/Admin/ShippingLabelBannerDisplayRules.php
+
+ -
+ message: '#^Cannot access property \$total on array\|object\.$#'
+ identifier: property.nonObject
+ count: 2
+ path: src/Internal/Admin/SiteHealth.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\SiteHealth\:\:get_instance\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/SiteHealth.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Suggestions\\Incentives\\Incentive\:\:get_all_dismissed_incentives\(\) should return array but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/Admin/Suggestions/Incentives/Incentive.php
+
+ -
+ message: '#^Cannot access offset ''account_id'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/Admin/Suggestions/Incentives/WooPayments.php
+
+ -
+ message: '#^Cannot access offset ''context_hash'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/Admin/Suggestions/Incentives/WooPayments.php
+
+ -
+ message: '#^Cannot access offset ''data'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/Admin/Suggestions/Incentives/WooPayments.php
+
+ -
+ message: '#^Cannot access offset ''incentives'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/Admin/Suggestions/Incentives/WooPayments.php
+
+ -
+ message: '#^Cannot access property \$enabled on mixed\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: src/Internal/Admin/Suggestions/Incentives/WooPayments.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Suggestions\\Incentives\\WooPayments\:\:clear_cache\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Suggestions/Incentives/WooPayments.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Suggestions\\Incentives\\WooPayments\:\:reset_memo\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Suggestions/Incentives/WooPayments.php
+
+ -
+ message: '#^Parameter \#1 \$str of function md5 expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Suggestions/Incentives/WooPayments.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Internal\\Admin\\Suggestions\\Incentives\\WooPayments\:\:\$incentives_memo \(array\|null\) does not accept mixed\.$#'
+ identifier: assign.propertyType
+ count: 2
+ path: src/Internal/Admin/Suggestions/Incentives/WooPayments.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Suggestions\\PaymentsExtensionSuggestionIncentives\:\:get_incentive_instance\(\) should return Automattic\\WooCommerce\\Internal\\Admin\\Suggestions\\Incentives\\Incentive\|null but returns object\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/Admin/Suggestions/PaymentsExtensionSuggestionIncentives.php
+
+ -
+ message: '#^PHPDoc tag @var for property Automattic\\WooCommerce\\Internal\\Admin\\Suggestions\\PaymentsExtensionSuggestionIncentives\:\:\$suggestion_incentives_class_map contains unresolvable type\.$#'
+ identifier: property.unresolvableType
+ count: 1
+ path: src/Internal/Admin/Suggestions/PaymentsExtensionSuggestionIncentives.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Internal\\Admin\\Suggestions\\PaymentsExtensionSuggestionIncentives\:\:\$instances \(array\<Automattic\\WooCommerce\\Internal\\Admin\\Suggestions\\Incentives\\Incentive\>\) does not accept array\<Automattic\\WooCommerce\\Internal\\Admin\\Suggestions\\Incentives\\Incentive\|null\>\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/Internal/Admin/Suggestions/PaymentsExtensionSuggestionIncentives.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Internal\\Admin\\Suggestions\\PaymentsExtensionSuggestionIncentives\:\:\$instances \(array\<Automattic\\WooCommerce\\Internal\\Admin\\Suggestions\\Incentives\\Incentive\>\) does not accept array\<object\>\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/Internal/Admin/Suggestions/PaymentsExtensionSuggestionIncentives.php
+
+ -
+ message: '#^Cannot access offset ''business_choice'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: src/Internal/Admin/Suggestions/PaymentsExtensionSuggestions.php
+
+ -
+ message: '#^Cannot access offset ''selling_online_answer'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: src/Internal/Admin/Suggestions/PaymentsExtensionSuggestions.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Suggestions\\PaymentsExtensionSuggestions\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Suggestions/PaymentsExtensionSuggestions.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Suggestions\\PaymentsExtensionSuggestions\:\:is_merchant_selling_online\(\) is unused\.$#'
+ identifier: method.unused
+ count: 1
+ path: src/Internal/Admin/Suggestions/PaymentsExtensionSuggestions.php
+
+ -
+ message: '#^Cannot access offset ''completed'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/Admin/SystemStatusReport.php
+
+ -
+ message: '#^Cannot access offset ''skipped'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/Admin/SystemStatusReport.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\SystemStatusReport\:\:get_instance\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/SystemStatusReport.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\SystemStatusReport\:\:render_daily_cron\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/SystemStatusReport.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\SystemStatusReport\:\:render_features\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/SystemStatusReport.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\SystemStatusReport\:\:render_notes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/SystemStatusReport.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\SystemStatusReport\:\:render_onboarding_state\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/SystemStatusReport.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\SystemStatusReport\:\:render_options\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/SystemStatusReport.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\SystemStatusReport\:\:system_status_report\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/SystemStatusReport.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_html expects string, int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/SystemStatusReport.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Internal\\Admin\\SystemStatusReport\:\:\$instance has unknown class Automattic\\WooCommerce\\Internal\\Admin\\SystemStatus as its type\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/Admin/SystemStatusReport.php
+
+ -
+ message: '#^Static property Automattic\\WooCommerce\\Internal\\Admin\\SystemStatusReport\:\:\$instance \(Automattic\\WooCommerce\\Internal\\Admin\\SystemStatus\) does not accept Automattic\\WooCommerce\\Internal\\Admin\\SystemStatusReport\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/Internal/Admin/SystemStatusReport.php
+
+ -
+ message: '#^Cannot access offset ''comment'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 3
+ path: src/Internal/Admin/Translations.php
+
+ -
+ message: '#^Cannot access offset ''language'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/Admin/Translations.php
+
+ -
+ message: '#^Cannot access offset ''locale_data'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 6
+ path: src/Internal/Admin/Translations.php
+
+ -
+ message: '#^Cannot access offset ''messages'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 3
+ path: src/Internal/Admin/Translations.php
+
+ -
+ message: '#^Cannot access offset ''reference'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/Admin/Translations.php
+
+ -
+ message: '#^Cannot access offset ''slug'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/Admin/Translations.php
+
+ -
+ message: '#^Cannot access offset ''source'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 3
+ path: src/Internal/Admin/Translations.php
+
+ -
+ message: '#^Cannot access offset ''type'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/Admin/Translations.php
+
+ -
+ message: '#^Cannot access offset ''woocommerce'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 3
+ path: src/Internal/Admin/Translations.php
+
+ -
+ message: '#^Constant WC_ADMIN_APP not found\.$#'
+ identifier: constant.notFound
+ count: 2
+ path: src/Internal/Admin/Translations.php
+
+ -
+ message: '#^Constant WC_ADMIN_DIST_JS_FOLDER not found\.$#'
+ identifier: constant.notFound
+ count: 4
+ path: src/Internal/Admin/Translations.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Translations\:\:build_and_save_translations\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Translations.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Translations\:\:combine_official_translation_chunks\(\) should return array but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/Admin/Translations.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Translations\:\:combine_translation_chunk_files\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Translations.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Translations\:\:combine_user_translation_chunks\(\) should return array but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/Admin/Translations.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Translations\:\:generate_translation_strings\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Translations.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Translations\:\:get_instance\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Translations.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Translations\:\:potentially_generate_translation_strings\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Translations.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\Translations\:\:potentially_load_translation_script_file\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/Translations.php
+
+ -
+ message: '#^Parameter \#1 \$arr1 of function array_merge expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Internal/Admin/Translations.php
+
+ -
+ message: '#^Parameter \#1 \$haystack of function strpos expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 4
+ path: src/Internal/Admin/Translations.php
+
+ -
+ message: '#^Parameter \#2 \.\.\.\$args of function array_merge expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Internal/Admin/Translations.php
+
+ -
+ message: '#^Parameter \#3 \$locale of method Automattic\\WooCommerce\\Internal\\Admin\\Translations\:\:build_and_save_translations\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/Translations.php
+
+ -
+ message: '#^Parameter \$instance of method Automattic\\WooCommerce\\Internal\\Admin\\Translations\:\:combine_translation_chunk_files\(\) has invalid type Automattic\\WooCommerce\\Internal\\Admin\\Language_Pack_Upgrader\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/Admin/Translations.php
+
+ -
+ message: '#^Access to property \$handle on an unknown class Automattic\\WooCommerce\\Internal\\Admin\\WP_Dependency\.$#'
+ identifier: class.notFound
+ count: 3
+ path: src/Internal/Admin/WCAdminAssets.php
+
+ -
+ message: '#^Access to property \$src on an unknown class Automattic\\WooCommerce\\Internal\\Admin\\WP_Dependency\.$#'
+ identifier: class.notFound
+ count: 2
+ path: src/Internal/Admin/WCAdminAssets.php
+
+ -
+ message: '#^Access to property \$ver on an unknown class Automattic\\WooCommerce\\Internal\\Admin\\WP_Dependency\.$#'
+ identifier: class.notFound
+ count: 2
+ path: src/Internal/Admin/WCAdminAssets.php
+
+ -
+ message: '#^Constant WC_ADMIN_ABSPATH not found\.$#'
+ identifier: constant.notFound
+ count: 6
+ path: src/Internal/Admin/WCAdminAssets.php
+
+ -
+ message: '#^Constant WC_ADMIN_APP not found\.$#'
+ identifier: constant.notFound
+ count: 11
+ path: src/Internal/Admin/WCAdminAssets.php
+
+ -
+ message: '#^Constant WC_ADMIN_DIST_CSS_FOLDER not found\.$#'
+ identifier: constant.notFound
+ count: 2
+ path: src/Internal/Admin/WCAdminAssets.php
+
+ -
+ message: '#^Constant WC_ADMIN_DIST_JS_FOLDER not found\.$#'
+ identifier: constant.notFound
+ count: 5
+ path: src/Internal/Admin/WCAdminAssets.php
+
+ -
+ message: '#^Constant WC_ADMIN_PLUGIN_FILE not found\.$#'
+ identifier: constant.notFound
+ count: 2
+ path: src/Internal/Admin/WCAdminAssets.php
+
+ -
+ message: '#^Constant WC_VERSION not found\.$#'
+ identifier: constant.notFound
+ count: 1
+ path: src/Internal/Admin/WCAdminAssets.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\WCAdminAssets\:\:enqueue_assets\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/WCAdminAssets.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\WCAdminAssets\:\:get_file_version\(\) should return string but returns int\<0, max\>\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/Admin/WCAdminAssets.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\WCAdminAssets\:\:get_instance\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/WCAdminAssets.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\WCAdminAssets\:\:inject_wc_settings_dependencies\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/WCAdminAssets.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\WCAdminAssets\:\:maybe_output_preload_link_tag\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/WCAdminAssets.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\WCAdminAssets\:\:modify_script_dependencies\(\) invoked with 3 parameters, 2 required\.$#'
+ identifier: arguments.count
+ count: 1
+ path: src/Internal/Admin/WCAdminAssets.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\WCAdminAssets\:\:output_header_preload_tags\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/WCAdminAssets.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\WCAdminAssets\:\:output_header_preload_tags_for_type\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/WCAdminAssets.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\WCAdminAssets\:\:register_script\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/WCAdminAssets.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\WCAdminAssets\:\:register_scripts\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/WCAdminAssets.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\WCAdminAssets\:\:register_style\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/WCAdminAssets.php
+
+ -
+ message: '#^Parameter \#1 \$dependency of method Automattic\\WooCommerce\\Internal\\Admin\\WCAdminAssets\:\:maybe_output_preload_link_tag\(\) expects Automattic\\WooCommerce\\Internal\\Admin\\WP_Dependency, _WP_Dependency given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Internal/Admin/WCAdminAssets.php
+
+ -
+ message: '#^Parameter \#1 \$haystack of function str_starts_with expects string\|null, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/WCAdminAssets.php
+
+ -
+ message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/WCAdminAssets.php
+
+ -
+ message: '#^Parameter \$dependency of method Automattic\\WooCommerce\\Internal\\Admin\\WCAdminAssets\:\:maybe_output_preload_link_tag\(\) has invalid type Automattic\\WooCommerce\\Internal\\Admin\\WP_Dependency\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/Admin/WCAdminAssets.php
+
+ -
+ message: '#^Access to offset ''id'' on an unknown class Automattic\\WooCommerce\\Internal\\Admin\\WP_User\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/Admin/WCAdminUser.php
+
+ -
+ message: '#^Access to property \$ID on an unknown class Automattic\\WooCommerce\\Internal\\Admin\\WP_User\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/Admin/WCAdminUser.php
+
+ -
+ message: '#^Cannot access property \$install_plugins on mixed\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: src/Internal/Admin/WCAdminUser.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\WCAdminUser\:\:get_user_data_values\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/WCAdminUser.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\WCAdminUser\:\:register_user_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/WCAdminUser.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\WCAdminUser\:\:update_user_data_field\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/WCAdminUser.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\WCAdminUser\:\:update_user_data_values\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/WCAdminUser.php
+
+ -
+ message: '#^Parameter \#1 \$user_data of static method Automattic\\WooCommerce\\Internal\\Admin\\WCAdminUser\:\:filter_user_capabilities\(\) expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/WCAdminUser.php
+
+ -
+ message: '#^Parameter \$user of method Automattic\\WooCommerce\\Internal\\Admin\\WCAdminUser\:\:get_user_data_values\(\) has invalid type Automattic\\WooCommerce\\Internal\\Admin\\WP_User\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/Admin/WCAdminUser.php
+
+ -
+ message: '#^Parameter \$user of method Automattic\\WooCommerce\\Internal\\Admin\\WCAdminUser\:\:update_user_data_values\(\) has invalid type Automattic\\WooCommerce\\Internal\\Admin\\WP_User\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/Admin/WCAdminUser.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$id\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/Internal/Admin/WCPayPromotion/Init.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\WCPayPromotion\\Init\:\:delete_specs_transient\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/WCPayPromotion/Init.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\WCPayPromotion\\Init\:\:load_payment_method_promotions\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/WCPayPromotion/Init.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\WCPayPromotion\\WCPayPromotionDataSourcePoller\:\:get_instance\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/WCPayPromotion/WCPayPromotionDataSourcePoller.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$content\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/Internal/Admin/WCPayPromotion/WCPaymentGatewayPreInstallWCPayPromotion.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$title\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/Internal/Admin/WCPayPromotion/WCPaymentGatewayPreInstallWCPayPromotion.php
+
+ -
+ message: '#^Cannot access offset ''is_dismissed'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/Admin/WCPayPromotion/WCPaymentGatewayPreInstallWCPayPromotion.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\WCPayPromotion\\WCPaymentGatewayPreInstallWCPayPromotion\:\:init_form_fields\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Admin/WCPayPromotion/WCPaymentGatewayPreInstallWCPayPromotion.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(\\WC_Payment_Gateway\)\: Unexpected token "\\n ", expected ''\<'' at offset 71 on line 4$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Internal/Admin/WCPayPromotion/WCPaymentGatewayPreInstallWCPayPromotion.php
+
+ -
+ message: '#^Property WC_Payment_Gateway\:\:\$enabled \(string\) does not accept false\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/Internal/Admin/WCPayPromotion/WCPaymentGatewayPreInstallWCPayPromotion.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\WcPayWelcomePage\:\:get_active_payments_task_slug\(\) is unused\.$#'
+ identifier: method.unused
+ count: 1
+ path: src/Internal/Admin/WcPayWelcomePage.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Admin\\WcPayWelcomePage\:\:is_payments_task_complete\(\) is unused\.$#'
+ identifier: method.unused
+ count: 1
+ path: src/Internal/Admin/WcPayWelcomePage.php
+
+ -
+ message: '#^Parameter \#2 \$haystack of function in_array expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Admin/WcPayWelcomePage.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Internal\\Admin\\WcPayWelcomePage\:\:\$suggestion_incentives \(Automattic\\WooCommerce\\Internal\\Admin\\Suggestions\\PaymentsExtensionSuggestionIncentives\) does not accept mixed\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/Internal/Admin/WcPayWelcomePage.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\AssignDefaultCategory\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/AssignDefaultCategory.php
+
+ -
+ message: '#^@param object\|null \$processor does not accept actual type of parameter\: mixed\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: src/Internal/BatchProcessing/BatchProcessingController.php
+
+ -
+ message: '#^Callback expects 1 parameter, \$accepted_args is set to 2\.$#'
+ identifier: arguments.count
+ count: 1
+ path: src/Internal/BatchProcessing/BatchProcessingController.php
+
+ -
+ message: '#^Function as_has_scheduled_action not found\.$#'
+ identifier: function.notFound
+ count: 2
+ path: src/Internal/BatchProcessing/BatchProcessingController.php
+
+ -
+ message: '#^Function as_schedule_single_action not found\.$#'
+ identifier: function.notFound
+ count: 2
+ path: src/Internal/BatchProcessing/BatchProcessingController.php
+
+ -
+ message: '#^Function as_unschedule_all_actions not found\.$#'
+ identifier: function.notFound
+ count: 3
+ path: src/Internal/BatchProcessing/BatchProcessingController.php
+
+ -
+ message: '#^Parameter \#1 \$function of function call_user_func expects callable\(\)\: mixed, ''as_has_scheduled…''\|''as_next_scheduled…'' given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/BatchProcessing/BatchProcessingController.php
+
+ -
+ message: '#^Parameter \#1 \$id of method Automattic\\WooCommerce\\Container\:\:has\(\) expects class\-string, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/BatchProcessing/BatchProcessingController.php
+
+ -
+ message: '#^Parameter \#1 \$object_or_string of function is_a expects object, Automattic\\WooCommerce\\Internal\\BatchProcessing\\BatchProcessorInterface\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/BatchProcessing/BatchProcessingController.php
+
+ -
+ message: '#^Parameter \#1 \$object_or_string of function is_a expects object, object\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/BatchProcessing/BatchProcessingController.php
+
+ -
+ message: '#^Constant WC_ABSPATH not found\.$#'
+ identifier: constant.notFound
+ count: 5
+ path: src/Internal/Brands.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Brands\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Brands.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Brands\:\:prepare\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Brands.php
+
+ -
+ message: '#^Call to static method line\(\) on an unknown class WP_CLI\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/CLI/Migrator/Commands/ListCommand.php
+
+ -
+ message: '#^Function WP_CLI\\Utils\\format_items not found\.$#'
+ identifier: function.notFound
+ count: 1
+ path: src/Internal/CLI/Migrator/Commands/ListCommand.php
+
+ -
+ message: '#^Call to static method error\(\) on an unknown class WP_CLI\.$#'
+ identifier: class.notFound
+ count: 2
+ path: src/Internal/CLI/Migrator/Commands/ProductsCommand.php
+
+ -
+ message: '#^Call to static method log\(\) on an unknown class WP_CLI\.$#'
+ identifier: class.notFound
+ count: 3
+ path: src/Internal/CLI/Migrator/Commands/ProductsCommand.php
+
+ -
+ message: '#^Call to static method success\(\) on an unknown class WP_CLI\.$#'
+ identifier: class.notFound
+ count: 2
+ path: src/Internal/CLI/Migrator/Commands/ProductsCommand.php
+
+ -
+ message: '#^Negated boolean expression is always false\.$#'
+ identifier: booleanNot.alwaysFalse
+ count: 1
+ path: src/Internal/CLI/Migrator/Commands/ProductsCommand.php
+
+ -
+ message: '#^Call to static method success\(\) on an unknown class WP_CLI\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/CLI/Migrator/Commands/ResetCommand.php
+
+ -
+ message: '#^Call to static method warning\(\) on an unknown class WP_CLI\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/CLI/Migrator/Commands/ResetCommand.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\CLI\\Migrator\\Commands\\ResetCommand\:\:__invoke\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/CLI/Migrator/Commands/ResetCommand.php
+
+ -
+ message: '#^Call to static method error\(\) on an unknown class WP_CLI\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/CLI/Migrator/Commands/SetupCommand.php
+
+ -
+ message: '#^Call to static method success\(\) on an unknown class WP_CLI\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/CLI/Migrator/Commands/SetupCommand.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\CLI\\Migrator\\Commands\\SetupCommand\:\:__invoke\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/CLI/Migrator/Commands/SetupCommand.php
+
+ -
+ message: '#^Call to function method_exists\(\) with ''WP_CLI'' and ''readline'' will always evaluate to false\.$#'
+ identifier: function.impossibleType
+ count: 1
+ path: src/Internal/CLI/Migrator/Core/CredentialManager.php
+
+ -
+ message: '#^Call to static method error\(\) on an unknown class WP_CLI\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/CLI/Migrator/Core/CredentialManager.php
+
+ -
+ message: '#^Call to static method line\(\) on an unknown class WP_CLI\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/CLI/Migrator/Core/CredentialManager.php
+
+ -
+ message: '#^Call to static method log\(\) on an unknown class WP_CLI\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/CLI/Migrator/Core/CredentialManager.php
+
+ -
+ message: '#^Call to static method readline\(\) on an unknown class WP_CLI\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/CLI/Migrator/Core/CredentialManager.php
+
+ -
+ message: '#^Parameter \#1 \$json of function json_decode expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/CLI/Migrator/Core/CredentialManager.php
+
+ -
+ message: '#^Parameter \#1 \$str of function trim expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/CLI/Migrator/Core/CredentialManager.php
+
+ -
+ message: '#^Parameter \#1 \$args of function wp_parse_args expects array\|object\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/CLI/Migrator/Core/MigratorTracker.php
+
+ -
+ message: '#^Parameter \#3 \$autoload of function update_option expects bool\|null, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/CLI/Migrator/Core/MigratorTracker.php
+
+ -
+ message: '#^Parameter \#4 \$autoload of function add_option expects bool\|null, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/CLI/Migrator/Core/MigratorTracker.php
+
+ -
+ message: '#^Call to static method error\(\) on an unknown class WP_CLI\.$#'
+ identifier: class.notFound
+ count: 2
+ path: src/Internal/CLI/Migrator/Core/PlatformRegistry.php
+
+ -
+ message: '#^Call to static method log\(\) on an unknown class WP_CLI\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/CLI/Migrator/Core/PlatformRegistry.php
+
+ -
+ message: '#^Cannot access offset ''fetcher'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/CLI/Migrator/Core/PlatformRegistry.php
+
+ -
+ message: '#^Cannot access offset ''mapper'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/CLI/Migrator/Core/PlatformRegistry.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\CLI\\Migrator\\Core\\PlatformRegistry\:\:get_fetcher\(\) should return Automattic\\WooCommerce\\Internal\\CLI\\Migrator\\Interfaces\\PlatformFetcherInterface but returns object\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/CLI/Migrator/Core/PlatformRegistry.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\CLI\\Migrator\\Core\\PlatformRegistry\:\:get_mapper\(\) should return Automattic\\WooCommerce\\Internal\\CLI\\Migrator\\Interfaces\\PlatformMapperInterface but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/CLI/Migrator/Core/PlatformRegistry.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\CLI\\Migrator\\Core\\PlatformRegistry\:\:get_mapper\(\) should return Automattic\\WooCommerce\\Internal\\CLI\\Migrator\\Interfaces\\PlatformMapperInterface but returns object\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/CLI/Migrator/Core/PlatformRegistry.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\CLI\\Migrator\\Core\\PlatformRegistry\:\:get_platform_display_name\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/CLI/Migrator/Core/PlatformRegistry.php
+
+ -
+ message: '#^Call to an undefined method object\:\:fetch_batch\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Internal/CLI/Migrator/Core/ProductsController.php
+
+ -
+ message: '#^Call to an undefined method object\:\:map_product_data\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Internal/CLI/Migrator/Core/ProductsController.php
+
+ -
+ message: '#^Call to an undefined method object\:\:tick\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Internal/CLI/Migrator/Core/ProductsController.php
+
+ -
+ message: '#^Call to method is_finished\(\) on an unknown class Automattic\\WooCommerce\\Internal\\CLI\\Migrator\\Lib\\WP_Import_Session\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/CLI/Migrator/Core/ProductsController.php
+
+ -
+ message: '#^Call to static method colorize\(\) on an unknown class WP_CLI\.$#'
+ identifier: class.notFound
+ count: 10
+ path: src/Internal/CLI/Migrator/Core/ProductsController.php
+
+ -
+ message: '#^Call to static method error\(\) on an unknown class WP_CLI\.$#'
+ identifier: class.notFound
+ count: 3
+ path: src/Internal/CLI/Migrator/Core/ProductsController.php
+
+ -
+ message: '#^Call to static method line\(\) on an unknown class WP_CLI\.$#'
+ identifier: class.notFound
+ count: 41
+ path: src/Internal/CLI/Migrator/Core/ProductsController.php
+
+ -
+ message: '#^Call to static method log\(\) on an unknown class WP_CLI\.$#'
+ identifier: class.notFound
+ count: 3
+ path: src/Internal/CLI/Migrator/Core/ProductsController.php
+
+ -
+ message: '#^Call to static method out\(\) on an unknown class WP_CLI\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/CLI/Migrator/Core/ProductsController.php
+
+ -
+ message: '#^Call to static method success\(\) on an unknown class WP_CLI\.$#'
+ identifier: class.notFound
+ count: 4
+ path: src/Internal/CLI/Migrator/Core/ProductsController.php
+
+ -
+ message: '#^Call to static method warning\(\) on an unknown class WP_CLI\.$#'
+ identifier: class.notFound
+ count: 7
+ path: src/Internal/CLI/Migrator/Core/ProductsController.php
+
+ -
+ message: '#^Cannot access offset string on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/CLI/Migrator/Core/ProductsController.php
+
+ -
+ message: '#^Cannot call method bump_imported_entities_counts\(\) on Automattic\\WooCommerce\\Internal\\CLI\\Migrator\\Lib\\ImportSession\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/CLI/Migrator/Core/ProductsController.php
+
+ -
+ message: '#^Cannot call method count_all_imported_entities\(\) on Automattic\\WooCommerce\\Internal\\CLI\\Migrator\\Lib\\ImportSession\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/CLI/Migrator/Core/ProductsController.php
+
+ -
+ message: '#^Cannot call method get_reentrancy_cursor\(\) on Automattic\\WooCommerce\\Internal\\CLI\\Migrator\\Lib\\ImportSession\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/CLI/Migrator/Core/ProductsController.php
+
+ -
+ message: '#^Cannot call method set_reentrancy_cursor\(\) on Automattic\\WooCommerce\\Internal\\CLI\\Migrator\\Lib\\ImportSession\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/CLI/Migrator/Core/ProductsController.php
+
+ -
+ message: '#^Cannot call method set_stage\(\) on Automattic\\WooCommerce\\Internal\\CLI\\Migrator\\Lib\\ImportSession\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/CLI/Migrator/Core/ProductsController.php
+
+ -
+ message: '#^Cannot use \+\+ on mixed\.$#'
+ identifier: preInc.type
+ count: 1
+ path: src/Internal/CLI/Migrator/Core/ProductsController.php
+
+ -
+ message: '#^Function WP_CLI\\Utils\\make_progress_bar not found\.$#'
+ identifier: function.notFound
+ count: 1
+ path: src/Internal/CLI/Migrator/Core/ProductsController.php
+
+ -
+ message: '#^Parameter \#1 \$session of method Automattic\\WooCommerce\\Internal\\CLI\\Migrator\\Core\\ProductsController\:\:handle_existing_session\(\) expects Automattic\\WooCommerce\\Internal\\CLI\\Migrator\\Lib\\ImportSession, Automattic\\WooCommerce\\Internal\\CLI\\Migrator\\Lib\\WP_Import_Session given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/CLI/Migrator/Core/ProductsController.php
+
+ -
+ message: '#^Parameter \#1 \$str of function trim expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/CLI/Migrator/Core/ProductsController.php
+
+ -
+ message: '#^Parameter \#3 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/CLI/Migrator/Core/ProductsController.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Internal\\CLI\\Migrator\\Core\\ProductsController\:\:\$tracker is never read, only written\.$#'
+ identifier: property.onlyWritten
+ count: 1
+ path: src/Internal/CLI/Migrator/Core/ProductsController.php
+
+ -
+ message: '#^Strict comparison using \=\=\= between null and Automattic\\WooCommerce\\Internal\\CLI\\Migrator\\Core\\WooCommerceProductImporter will always evaluate to false\.$#'
+ identifier: identical.alwaysFalse
+ count: 1
+ path: src/Internal/CLI/Migrator/Core/ProductsController.php
+
+ -
+ message: '#^Variable \$product_data might not be defined\.$#'
+ identifier: variable.undefined
+ count: 1
+ path: src/Internal/CLI/Migrator/Core/ProductsController.php
+
+ -
+ message: '#^Call to function is_wp_error\(\) with int\|null will always evaluate to false\.$#'
+ identifier: function.impossibleType
+ count: 1
+ path: src/Internal/CLI/Migrator/Core/WooCommerceProductImporter.php
+
+ -
+ message: '#^Call to static method log\(\) on an unknown class WP_CLI\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/CLI/Migrator/Core/WooCommerceProductImporter.php
+
+ -
+ message: '#^Call to static method warning\(\) on an unknown class WP_CLI\.$#'
+ identifier: class.notFound
+ count: 2
+ path: src/Internal/CLI/Migrator/Core/WooCommerceProductImporter.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\CLI\\Migrator\\Core\\WooCommerceProductImporter\:\:create_product_object\(\) never returns null so it can be removed from the return type\.$#'
+ identifier: return.unusedType
+ count: 1
+ path: src/Internal/CLI/Migrator/Core/WooCommerceProductImporter.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\CLI\\Migrator\\Core\\WooCommerceProductImporter\:\:create_product_variations\(\) is unused\.$#'
+ identifier: method.unused
+ count: 1
+ path: src/Internal/CLI/Migrator/Core/WooCommerceProductImporter.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\CLI\\Migrator\\Core\\WooCommerceProductImporter\:\:find_existing_product\(\) invoked with 2 parameters, 1 required\.$#'
+ identifier: arguments.count
+ count: 1
+ path: src/Internal/CLI/Migrator/Core/WooCommerceProductImporter.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\CLI\\Migrator\\Core\\WooCommerceProductImporter\:\:handle_post_save_operations\(\) invoked with 3 parameters, 2 required\.$#'
+ identifier: arguments.count
+ count: 1
+ path: src/Internal/CLI/Migrator/Core/WooCommerceProductImporter.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\CLI\\Migrator\\Core\\WooCommerceProductImporter\:\:import_image\(\) should return int\|null but returns int\|string\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/CLI/Migrator/Core/WooCommerceProductImporter.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\CLI\\Migrator\\Core\\WooCommerceProductImporter\:\:import_image_with_mapping\(\) is unused\.$#'
+ identifier: method.unused
+ count: 1
+ path: src/Internal/CLI/Migrator/Core/WooCommerceProductImporter.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\CLI\\Migrator\\Core\\WooCommerceProductImporter\:\:set_product_attributes\(\) is unused\.$#'
+ identifier: method.unused
+ count: 1
+ path: src/Internal/CLI/Migrator/Core/WooCommerceProductImporter.php
+
+ -
+ message: '#^Parameter \#1 \$post_id of function update_post_meta expects int, int\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/CLI/Migrator/Core/WooCommerceProductImporter.php
+
+ -
+ message: '#^Parameter \#1 \$product of method Automattic\\WooCommerce\\Internal\\CLI\\Migrator\\Core\\WooCommerceProductImporter\:\:handle_simple_product\(\) expects WC_Product_Simple, WC_Product given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/CLI/Migrator/Core/WooCommerceProductImporter.php
+
+ -
+ message: '#^Parameter \#1 \$product of method Automattic\\WooCommerce\\Internal\\CLI\\Migrator\\Core\\WooCommerceProductImporter\:\:handle_variable_product\(\) expects WC_Product_Variable, WC_Product given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/CLI/Migrator/Core/WooCommerceProductImporter.php
+
+ -
+ message: '#^Parameter \#1 \$title of function sanitize_title expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/CLI/Migrator/Core/WooCommerceProductImporter.php
+
+ -
+ message: '#^Parameter \#2 \$value of method WC_Data\:\:update_meta_data\(\) expects array\|string, float given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/CLI/Migrator/Core/WooCommerceProductImporter.php
+
+ -
+ message: '#^Parameter \#2 \$value of method WC_Data\:\:update_meta_data\(\) expects array\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/CLI/Migrator/Core/WooCommerceProductImporter.php
+
+ -
+ message: '#^Part \$default_cat_id \(mixed\) of encapsed string cannot be cast to string\.$#'
+ identifier: encapsedStringPart.nonString
+ count: 1
+ path: src/Internal/CLI/Migrator/Core/WooCommerceProductImporter.php
+
+ -
+ message: '#^Binary operation "\+" between mixed and 1 results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 2
+ path: src/Internal/CLI/Migrator/Lib/ImportSession.php
+
+ -
+ message: '#^Cannot access property \$ID on int\|WP_Post\.$#'
+ identifier: property.nonObject
+ count: 2
+ path: src/Internal/CLI/Migrator/Lib/ImportSession.php
+
+ -
+ message: '#^Cannot access property \$meta on int\|WP_Post\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: src/Internal/CLI/Migrator/Lib/ImportSession.php
+
+ -
+ message: '#^Cannot cast mixed to int\.$#'
+ identifier: cast.int
+ count: 5
+ path: src/Internal/CLI/Migrator/Lib/ImportSession.php
+
+ -
+ message: '#^Function get_all_post_meta_flat not found\.$#'
+ identifier: function.notFound
+ count: 1
+ path: src/Internal/CLI/Migrator/Lib/ImportSession.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\CLI\\Migrator\\Lib\\ImportSession\:\:__construct\(\) has parameter \$post_id with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: src/Internal/CLI/Migrator/Lib/ImportSession.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\CLI\\Migrator\\Lib\\ImportSession\:\:archive\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/CLI/Migrator/Lib/ImportSession.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\CLI\\Migrator\\Lib\\ImportSession\:\:bump_frontloading_progress\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/CLI/Migrator/Lib/ImportSession.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\CLI\\Migrator\\Lib\\ImportSession\:\:bump_frontloading_progress\(\) has parameter \$events with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: src/Internal/CLI/Migrator/Lib/ImportSession.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\CLI\\Migrator\\Lib\\ImportSession\:\:bump_frontloading_progress\(\) has parameter \$frontloading_progress with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: src/Internal/CLI/Migrator/Lib/ImportSession.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\CLI\\Migrator\\Lib\\ImportSession\:\:bump_imported_entities_counts\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/CLI/Migrator/Lib/ImportSession.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\CLI\\Migrator\\Lib\\ImportSession\:\:bump_total_number_of_entities\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/CLI/Migrator/Lib/ImportSession.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\CLI\\Migrator\\Lib\\ImportSession\:\:bump_total_number_of_entities\(\) has parameter \$newly_indexed_entities with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: src/Internal/CLI/Migrator/Lib/ImportSession.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\CLI\\Migrator\\Lib\\ImportSession\:\:by_id\(\) has invalid return type Automattic\\WooCommerce\\Internal\\CLI\\Migrator\\Lib\\WP_Import_Model\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/CLI/Migrator/Lib/ImportSession.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\CLI\\Migrator\\Lib\\ImportSession\:\:by_id\(\) should return Automattic\\WooCommerce\\Internal\\CLI\\Migrator\\Lib\\WP_Import_Model\|null but returns Automattic\\WooCommerce\\Internal\\CLI\\Migrator\\Lib\\ImportSession\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/CLI/Migrator/Lib/ImportSession.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\CLI\\Migrator\\Lib\\ImportSession\:\:by_id\(\) should return Automattic\\WooCommerce\\Internal\\CLI\\Migrator\\Lib\\WP_Import_Model\|null but returns false\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/CLI/Migrator/Lib/ImportSession.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\CLI\\Migrator\\Lib\\ImportSession\:\:count_all_imported_entities\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/CLI/Migrator/Lib/ImportSession.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\CLI\\Migrator\\Lib\\ImportSession\:\:count_all_total_entities\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/CLI/Migrator/Lib/ImportSession.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\CLI\\Migrator\\Lib\\ImportSession\:\:count_awaiting_frontloading_stubs\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/CLI/Migrator/Lib/ImportSession.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\CLI\\Migrator\\Lib\\ImportSession\:\:count_remaining_entities\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/CLI/Migrator/Lib/ImportSession.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\CLI\\Migrator\\Lib\\ImportSession\:\:count_unfinished_frontloading_stubs\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/CLI/Migrator/Lib/ImportSession.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\CLI\\Migrator\\Lib\\ImportSession\:\:create_frontloading_stubs\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/CLI/Migrator/Lib/ImportSession.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\CLI\\Migrator\\Lib\\ImportSession\:\:create_frontloading_stubs\(\) has parameter \$urls with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: src/Internal/CLI/Migrator/Lib/ImportSession.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\CLI\\Migrator\\Lib\\ImportSession\:\:get_active\(\) has invalid return type Automattic\\WooCommerce\\Internal\\CLI\\Migrator\\Lib\\WP_Import_Session\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/CLI/Migrator/Lib/ImportSession.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\CLI\\Migrator\\Lib\\ImportSession\:\:get_active\(\) should return Automattic\\WooCommerce\\Internal\\CLI\\Migrator\\Lib\\WP_Import_Session\|null but returns Automattic\\WooCommerce\\Internal\\CLI\\Migrator\\Lib\\ImportSession\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/CLI/Migrator/Lib/ImportSession.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\CLI\\Migrator\\Lib\\ImportSession\:\:get_active\(\) should return Automattic\\WooCommerce\\Internal\\CLI\\Migrator\\Lib\\WP_Import_Session\|null but returns false\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/CLI/Migrator/Lib/ImportSession.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\CLI\\Migrator\\Lib\\ImportSession\:\:get_data_source\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/CLI/Migrator/Lib/ImportSession.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\CLI\\Migrator\\Lib\\ImportSession\:\:get_finished_at\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/CLI/Migrator/Lib/ImportSession.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\CLI\\Migrator\\Lib\\ImportSession\:\:get_frontloading_progress\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/CLI/Migrator/Lib/ImportSession.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\CLI\\Migrator\\Lib\\ImportSession\:\:get_frontloading_stub\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/CLI/Migrator/Lib/ImportSession.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\CLI\\Migrator\\Lib\\ImportSession\:\:get_frontloading_stub\(\) has parameter \$url with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: src/Internal/CLI/Migrator/Lib/ImportSession.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\CLI\\Migrator\\Lib\\ImportSession\:\:get_frontloading_stubs\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/CLI/Migrator/Lib/ImportSession.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\CLI\\Migrator\\Lib\\ImportSession\:\:get_frontloading_stubs\(\) has parameter \$options with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: src/Internal/CLI/Migrator/Lib/ImportSession.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\CLI\\Migrator\\Lib\\ImportSession\:\:get_human_readable_file_reference\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/CLI/Migrator/Lib/ImportSession.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\CLI\\Migrator\\Lib\\ImportSession\:\:get_metadata\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/CLI/Migrator/Lib/ImportSession.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\CLI\\Migrator\\Lib\\ImportSession\:\:get_reentrancy_cursor\(\) should return string\|null but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/CLI/Migrator/Lib/ImportSession.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\CLI\\Migrator\\Lib\\ImportSession\:\:get_started_at\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/CLI/Migrator/Lib/ImportSession.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\CLI\\Migrator\\Lib\\ImportSession\:\:get_total_number_of_assets\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/CLI/Migrator/Lib/ImportSession.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\CLI\\Migrator\\Lib\\ImportSession\:\:get_total_number_of_entities\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/CLI/Migrator/Lib/ImportSession.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\CLI\\Migrator\\Lib\\ImportSession\:\:is_finished\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/CLI/Migrator/Lib/ImportSession.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\CLI\\Migrator\\Lib\\ImportSession\:\:is_stage_completed\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/CLI/Migrator/Lib/ImportSession.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\CLI\\Migrator\\Lib\\ImportSession\:\:is_stage_completed\(\) has parameter \$stage with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: src/Internal/CLI/Migrator/Lib/ImportSession.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\CLI\\Migrator\\Lib\\ImportSession\:\:mark_frontloading_errors_as_ignored\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/CLI/Migrator/Lib/ImportSession.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\CLI\\Migrator\\Lib\\ImportSession\:\:set_original_arguments\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/CLI/Migrator/Lib/ImportSession.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\CLI\\Migrator\\Lib\\ImportSession\:\:set_reentrancy_cursor\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/CLI/Migrator/Lib/ImportSession.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\CLI\\Migrator\\Lib\\ImportSession\:\:set_stage\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/CLI/Migrator/Lib/ImportSession.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Internal\\CLI\\Migrator\\Lib\\ImportSession\:\:\$cached_stage has no type specified\.$#'
+ identifier: missingType.property
+ count: 1
+ path: src/Internal/CLI/Migrator/Lib/ImportSession.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Internal\\CLI\\Migrator\\Lib\\ImportSession\:\:\$cached_totals has no type specified\.$#'
+ identifier: missingType.property
+ count: 1
+ path: src/Internal/CLI/Migrator/Lib/ImportSession.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Internal\\CLI\\Migrator\\Lib\\ImportSession\:\:\$post_id has no type specified\.$#'
+ identifier: missingType.property
+ count: 1
+ path: src/Internal/CLI/Migrator/Lib/ImportSession.php
+
+ -
+ message: '#^Used function get_all_post_meta_flat not found\.$#'
+ identifier: function.notFound
+ count: 1
+ path: src/Internal/CLI/Migrator/Lib/ImportSession.php
+
+ -
+ message: '#^Call to method get_error_message\(\) on an unknown class Automattic\\WooCommerce\\Internal\\CLI\\Migrator\\Platforms\\Shopify\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/CLI/Migrator/Platforms/Shopify/ShopifyClient.php
+
+ -
+ message: '#^Cannot access property \$data on mixed\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: src/Internal/CLI/Migrator/Platforms/Shopify/ShopifyClient.php
+
+ -
+ message: '#^Cannot access property \$errors on mixed\.$#'
+ identifier: property.nonObject
+ count: 3
+ path: src/Internal/CLI/Migrator/Platforms/Shopify/ShopifyClient.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\CLI\\Migrator\\Platforms\\Shopify\\ShopifyClient\:\:process_response\(\) should return object but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/CLI/Migrator/Platforms/Shopify/ShopifyClient.php
+
+ -
+ message: '#^Parameter \#1 \$response of function wp_remote_retrieve_body expects array\|WP_Error, array\|Automattic\\WooCommerce\\Internal\\CLI\\Migrator\\Platforms\\Shopify\\WP_Error given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/CLI/Migrator/Platforms/Shopify/ShopifyClient.php
+
+ -
+ message: '#^Parameter \#1 \$response of function wp_remote_retrieve_response_code expects array\|WP_Error, array\|Automattic\\WooCommerce\\Internal\\CLI\\Migrator\\Platforms\\Shopify\\WP_Error given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/CLI/Migrator/Platforms/Shopify/ShopifyClient.php
+
+ -
+ message: '#^Parameter \#1 \$response of method Automattic\\WooCommerce\\Internal\\CLI\\Migrator\\Platforms\\Shopify\\ShopifyClient\:\:process_response\(\) expects array\|Automattic\\WooCommerce\\Internal\\CLI\\Migrator\\Platforms\\Shopify\\WP_Error, array\<string, array\<int\|string, int\|string\|WP_Http_Cookie\>\|string\|WP_HTTP_Requests_Response\|WpOrg\\Requests\\Utility\\CaseInsensitiveDictionary\|null\>\|WP_Error given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/CLI/Migrator/Platforms/Shopify/ShopifyClient.php
+
+ -
+ message: '#^Parameter \$response of method Automattic\\WooCommerce\\Internal\\CLI\\Migrator\\Platforms\\Shopify\\ShopifyClient\:\:process_response\(\) has invalid type Automattic\\WooCommerce\\Internal\\CLI\\Migrator\\Platforms\\Shopify\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/CLI/Migrator/Platforms/Shopify/ShopifyClient.php
+
+ -
+ message: '#^Call to static method debug\(\) on an unknown class WP_CLI\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/CLI/Migrator/Platforms/Shopify/ShopifyFetcher.php
+
+ -
+ message: '#^Call to static method warning\(\) on an unknown class WP_CLI\.$#'
+ identifier: class.notFound
+ count: 4
+ path: src/Internal/CLI/Migrator/Platforms/Shopify/ShopifyFetcher.php
+
+ -
+ message: '#^Parameter \#1 \$callback of function array_map expects \(callable\(mixed\)\: mixed\)\|null, ''trim'' given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/CLI/Migrator/Platforms/Shopify/ShopifyFetcher.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Internal\\CLI\\Migrator\\Platforms\\Shopify\\ShopifyFetcher\:\:\$credentials is never read, only written\.$#'
+ identifier: property.onlyWritten
+ count: 1
+ path: src/Internal/CLI/Migrator/Platforms/Shopify/ShopifyFetcher.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$amount\.$#'
+ identifier: property.notFound
+ count: 2
+ path: src/Internal/CLI/Migrator/Platforms/Shopify/ShopifyMapper.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$createdAt\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/Internal/CLI/Migrator/Platforms/Shopify/ShopifyMapper.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$handle\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/Internal/CLI/Migrator/Platforms/Shopify/ShopifyMapper.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$status\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/Internal/CLI/Migrator/Platforms/Shopify/ShopifyMapper.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$title\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/Internal/CLI/Migrator/Platforms/Shopify/ShopifyMapper.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$unit\.$#'
+ identifier: property.notFound
+ count: 2
+ path: src/Internal/CLI/Migrator/Platforms/Shopify/ShopifyMapper.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$value\.$#'
+ identifier: property.notFound
+ count: 2
+ path: src/Internal/CLI/Migrator/Platforms/Shopify/ShopifyMapper.php
+
+ -
+ message: '#^Parameter \#2 \$to_unit of function wc_get_weight expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/CLI/Migrator/Platforms/Shopify/ShopifyMapper.php
+
+ -
+ message: '#^Possibly invalid array key type array\|string\.$#'
+ identifier: offsetAccess.invalidOffset
+ count: 1
+ path: src/Internal/CLI/Migrator/Platforms/Shopify/ShopifyMapper.php
+
+ -
+ message: '#^Possibly invalid array key type mixed\.$#'
+ identifier: offsetAccess.invalidOffset
+ count: 1
+ path: src/Internal/CLI/Migrator/Platforms/Shopify/ShopifyMapper.php
+
+ -
+ message: '#^Call to static method add_command\(\) on an unknown class WP_CLI\.$#'
+ identifier: class.notFound
+ count: 4
+ path: src/Internal/CLI/Migrator/Runner.php
+
+ -
+ message: '#^Cannot call method call_function\(\) on Automattic\\WooCommerce\\Proxies\\LegacyProxy\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Caches/VersionStringGenerator.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Caches\\VersionStringGenerator\:\:get_version\(\) should return string\|null but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/Caches/VersionStringGenerator.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Caches\\VersionStringGenerator\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Caches/VersionStringGenerator.php
+
+ -
+ message: '#^Parameter \#2 \$version of method Automattic\\WooCommerce\\Internal\\Caches\\VersionStringGenerator\:\:store_version\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Caches/VersionStringGenerator.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Internal\\Caches\\VersionStringGenerator\:\:\$can_use \(bool\|null\) does not accept mixed\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/Internal/Caches/VersionStringGenerator.php
+
+ -
+ message: '#^Call to method add_node\(\) on an unknown class Automattic\\WooCommerce\\Internal\\ComingSoon\\WP_Admin_Bar\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/ComingSoon/ComingSoonAdminBarBadge.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ComingSoon\\ComingSoonAdminBarBadge\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/ComingSoon/ComingSoonAdminBarBadge.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ComingSoon\\ComingSoonAdminBarBadge\:\:init_hooks\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/ComingSoon/ComingSoonAdminBarBadge.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ComingSoon\\ComingSoonAdminBarBadge\:\:output_css\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/ComingSoon/ComingSoonAdminBarBadge.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ComingSoon\\ComingSoonAdminBarBadge\:\:site_visibility_badge\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/ComingSoon/ComingSoonAdminBarBadge.php
+
+ -
+ message: '#^Parameter \$wp_admin_bar of method Automattic\\WooCommerce\\Internal\\ComingSoon\\ComingSoonAdminBarBadge\:\:site_visibility_badge\(\) has invalid type Automattic\\WooCommerce\\Internal\\ComingSoon\\WP_Admin_Bar\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/ComingSoon/ComingSoonAdminBarBadge.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ComingSoon\\ComingSoonCacheInvalidator\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/ComingSoon/ComingSoonCacheInvalidator.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ComingSoon\\ComingSoonCacheInvalidator\:\:invalidate_caches\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/ComingSoon/ComingSoonCacheInvalidator.php
+
+ -
+ message: '#^Parameter \#1 \$postarr of function wp_update_post expects array\{ID\?\: int, post_author\?\: int, post_date\?\: string, post_date_gmt\?\: string, post_content\?\: string, post_content_filtered\?\: string, post_title\?\: string, post_excerpt\?\: string, \.\.\.\}, array\{ID\: mixed, post_status\: ''publish''\} given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/ComingSoon/ComingSoonCacheInvalidator.php
+
+ -
+ message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
+ count: 1
+ path: src/Internal/ComingSoon/ComingSoonRequestHandler.php
+
+ -
+ message: '#^Call to method get_data\(\) on an unknown class Automattic\\WooCommerce\\Internal\\ComingSoon\\WP_Theme_JSON_Data\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/ComingSoon/ComingSoonRequestHandler.php
+
+ -
+ message: '#^Call to method update_with\(\) on an unknown class Automattic\\WooCommerce\\Internal\\ComingSoon\\WP_Theme_JSON_Data\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/ComingSoon/ComingSoonRequestHandler.php
+
+ -
+ message: '#^Cannot access offset ''fontFamilies'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/ComingSoon/ComingSoonRequestHandler.php
+
+ -
+ message: '#^Cannot access offset ''name'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/ComingSoon/ComingSoonRequestHandler.php
+
+ -
+ message: '#^Cannot access offset ''settings'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/ComingSoon/ComingSoonRequestHandler.php
+
+ -
+ message: '#^Cannot access offset ''typography'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/ComingSoon/ComingSoonRequestHandler.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ComingSoon\\ComingSoonRequestHandler\:\:enqueue_styles\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/ComingSoon/ComingSoonRequestHandler.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ComingSoon\\ComingSoonRequestHandler\:\:experimental_filter_theme_json_theme\(\) has invalid return type Automattic\\WooCommerce\\Internal\\ComingSoon\\WP_Theme_JSON_Data\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/ComingSoon/ComingSoonRequestHandler.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ComingSoon\\ComingSoonRequestHandler\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/ComingSoon/ComingSoonRequestHandler.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ComingSoon\\ComingSoonRequestHandler\:\:possibly_init_block_templates\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/ComingSoon/ComingSoonRequestHandler.php
+
+ -
+ message: '#^Parameter \#1 \$json of function json_decode expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/ComingSoon/ComingSoonRequestHandler.php
+
+ -
+ message: '#^Parameter \#1 \$str of function sanitize_text_field expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/ComingSoon/ComingSoonRequestHandler.php
+
+ -
+ message: '#^Parameter \#4 \$ver of function wp_enqueue_style expects bool\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/ComingSoon/ComingSoonRequestHandler.php
+
+ -
+ message: '#^Parameter \$theme_json of method Automattic\\WooCommerce\\Internal\\ComingSoon\\ComingSoonRequestHandler\:\:experimental_filter_theme_json_theme\(\) has invalid type Automattic\\WooCommerce\\Internal\\ComingSoon\\WP_Theme_JSON_Data\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/ComingSoon/ComingSoonRequestHandler.php
+
+ -
+ message: '#^Trait Automattic\\WooCommerce\\Internal\\CostOfGoodsSold\\CogsAwareUnitTestSuiteTrait is used zero times and is not analysed\.$#'
+ identifier: trait.unused
+ count: 1
+ path: src/Internal/CostOfGoodsSold/CogsAwareUnitTestSuiteTrait.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\CostOfGoodsSold\\CostOfGoodsSoldController\:\:add_feature_definition\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/CostOfGoodsSold/CostOfGoodsSoldController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\CostOfGoodsSold\\CostOfGoodsSoldController\:\:generate_lookup_cogs_columns\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/CostOfGoodsSold/CostOfGoodsSoldController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\CostOfGoodsSold\\CostOfGoodsSoldController\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/CostOfGoodsSold/CostOfGoodsSoldController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\CostOfGoodsSold\\CostOfGoodsSoldController\:\:remove_lookup_cogs_columns\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/CostOfGoodsSold/CostOfGoodsSoldController.php
+
+ -
+ message: '#^Access to property \$key on an unknown class Automattic\\WooCommerce\\Internal\\DataStores\\stdClass\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/DataStores/CustomMetaDataStore.php
+
+ -
+ message: '#^Access to property \$value on an unknown class Automattic\\WooCommerce\\Internal\\DataStores\\stdClass\.$#'
+ identifier: class.notFound
+ count: 3
+ path: src/Internal/DataStores/CustomMetaDataStore.php
+
+ -
+ message: '#^Call to method get_id\(\) on an unknown class Automattic\\WooCommerce\\Internal\\DataStores\\WC_Data\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/DataStores/CustomMetaDataStore.php
+
+ -
+ message: '#^Parameter \$meta of method Automattic\\WooCommerce\\Internal\\DataStores\\CustomMetaDataStore\:\:add_meta\(\) has invalid type Automattic\\WooCommerce\\Internal\\DataStores\\stdClass\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/DataStores/CustomMetaDataStore.php
+
+ -
+ message: '#^Parameter \$object of method Automattic\\WooCommerce\\Internal\\DataStores\\CustomMetaDataStore\:\:add_meta\(\) has invalid type Automattic\\WooCommerce\\Internal\\DataStores\\WC_Data\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/DataStores/CustomMetaDataStore.php
+
+ -
+ message: '#^Access to an undefined property WC_Meta_Data\:\:\$id\.$#'
+ identifier: property.notFound
+ count: 2
+ path: src/Internal/DataStores/Fulfillments/FulfillmentsDataStore.php
+
+ -
+ message: '#^Access to an undefined property WC_Meta_Data\:\:\$key\.$#'
+ identifier: property.notFound
+ count: 2
+ path: src/Internal/DataStores/Fulfillments/FulfillmentsDataStore.php
+
+ -
+ message: '#^Access to an undefined property WC_Meta_Data\:\:\$value\.$#'
+ identifier: property.notFound
+ count: 2
+ path: src/Internal/DataStores/Fulfillments/FulfillmentsDataStore.php
+
+ -
+ message: '#^Parameter \#2 \$meta \(WC_Meta_Data\) of method Automattic\\WooCommerce\\Internal\\DataStores\\Fulfillments\\FulfillmentsDataStore\:\:add_meta\(\) should be compatible with parameter \$meta \(stdClass\) of method WC_Data_Store_WP\:\:add_meta\(\)$#'
+ identifier: method.childParameterType
+ count: 1
+ path: src/Internal/DataStores/Fulfillments/FulfillmentsDataStore.php
+
+ -
+ message: '#^Parameter \#2 \$meta \(WC_Meta_Data\) of method Automattic\\WooCommerce\\Internal\\DataStores\\Fulfillments\\FulfillmentsDataStore\:\:delete_meta\(\) should be compatible with parameter \$meta \(stdClass\) of method WC_Data_Store_WP\:\:delete_meta\(\)$#'
+ identifier: method.childParameterType
+ count: 1
+ path: src/Internal/DataStores/Fulfillments/FulfillmentsDataStore.php
+
+ -
+ message: '#^Parameter \#2 \$meta \(WC_Meta_Data\) of method Automattic\\WooCommerce\\Internal\\DataStores\\Fulfillments\\FulfillmentsDataStore\:\:update_meta\(\) should be compatible with parameter \$meta \(stdClass\) of method WC_Data_Store_WP\:\:update_meta\(\)$#'
+ identifier: method.childParameterType
+ count: 1
+ path: src/Internal/DataStores/Fulfillments/FulfillmentsDataStore.php
+
+ -
+ message: '#^Return type \(void\) of method Automattic\\WooCommerce\\Internal\\DataStores\\Fulfillments\\FulfillmentsDataStore\:\:delete\(\) should be compatible with return type \(bool\) of method WC_Object_Data_Store_Interface\:\:delete\(\)$#'
+ identifier: method.childReturnType
+ count: 1
+ path: src/Internal/DataStores/Fulfillments/FulfillmentsDataStore.php
+
+ -
+ message: '#^Return type \(void\) of method Automattic\\WooCommerce\\Internal\\DataStores\\Fulfillments\\FulfillmentsDataStore\:\:delete_meta\(\) should be compatible with return type \(array\) of method WC_Object_Data_Store_Interface\:\:delete_meta\(\)$#'
+ identifier: method.childReturnType
+ count: 1
+ path: src/Internal/DataStores/Fulfillments/FulfillmentsDataStore.php
+
+ -
+ message: '#^Cannot call method get_features_page_url\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: src/Internal/DataStores/Orders/CustomOrdersTableController.php
+
+ -
+ message: '#^Filter callback return statement is missing\.$#'
+ identifier: return.missing
+ count: 1
+ path: src/Internal/DataStores/Orders/CustomOrdersTableController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\CustomOrdersTableController\:\:delete_custom_orders_tables\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/DataStores/Orders/CustomOrdersTableController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\CustomOrdersTableController\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/DataStores/Orders/CustomOrdersTableController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\CustomOrdersTableController\:\:init_hooks\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/DataStores/Orders/CustomOrdersTableController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\CustomOrdersTableController\:\:process_pre_update_option\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/DataStores/Orders/CustomOrdersTableController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\CustomOrdersTableController\:\:process_updated_option\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/DataStores/Orders/CustomOrdersTableController.php
+
+ -
+ message: '#^Negated boolean expression is always true\.$#'
+ identifier: booleanNot.alwaysTrue
+ count: 1
+ path: src/Internal/DataStores/Orders/CustomOrdersTableController.php
+
+ -
+ message: '#^PHPDoc tag @var has invalid value \(DatabaseUtil;\)\: Unexpected token ";", expected TOKEN_HORIZONTAL_WS at offset 60 on line 4$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Internal/DataStores/Orders/CustomOrdersTableController.php
+
+ -
+ message: '#^Parameter \#1 \$str of function sanitize_text_field expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/DataStores/Orders/CustomOrdersTableController.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\CustomOrdersTableController\:\:\$db_util has no type specified\.$#'
+ identifier: missingType.property
+ count: 1
+ path: src/Internal/DataStores/Orders/CustomOrdersTableController.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\CustomOrdersTableController\:\:\$order_cache_controller is never read, only written\.$#'
+ identifier: property.onlyWritten
+ count: 1
+ path: src/Internal/DataStores/Orders/CustomOrdersTableController.php
+
+ -
+ message: '#^Access to property \$ID on an unknown class Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\WP_Post\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/DataStores/Orders/DataSynchronizer.php
+
+ -
+ message: '#^Access to property \$post_type on an unknown class Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\WP_Post\.$#'
+ identifier: class.notFound
+ count: 2
+ path: src/Internal/DataStores/Orders/DataSynchronizer.php
+
+ -
+ message: '#^Argument of an invalid type array\<WC_Order\>\|stdClass supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
+ count: 1
+ path: src/Internal/DataStores/Orders/DataSynchronizer.php
+
+ -
+ message: '#^Binary operation "\-" between mixed and int results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: src/Internal/DataStores/Orders/DataSynchronizer.php
+
+ -
+ message: '#^Call to an undefined method object\:\:backfill_post_record\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Internal/DataStores/Orders/DataSynchronizer.php
+
+ -
+ message: '#^Cannot call method delete\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/DataStores/Orders/DataSynchronizer.php
+
+ -
+ message: '#^Cannot call method getTimestamp\(\) on WC_DateTime\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/DataStores/Orders/DataSynchronizer.php
+
+ -
+ message: '#^Cannot call method get_data_store\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/DataStores/Orders/DataSynchronizer.php
+
+ -
+ message: '#^Cannot call method order_exists\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/DataStores/Orders/DataSynchronizer.php
+
+ -
+ message: '#^Cannot call method read\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/DataStores/Orders/DataSynchronizer.php
+
+ -
+ message: '#^Cannot call method toggle_flag\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/DataStores/Orders/DataSynchronizer.php
+
+ -
+ message: '#^Cannot cast mixed to int\.$#'
+ identifier: cast.int
+ count: 2
+ path: src/Internal/DataStores/Orders/DataSynchronizer.php
+
+ -
+ message: '#^Filter callback return statement is missing\.$#'
+ identifier: return.missing
+ count: 3
+ path: src/Internal/DataStores/Orders/DataSynchronizer.php
+
+ -
+ message: '#^Function as_schedule_recurring_action not found\.$#'
+ identifier: function.notFound
+ count: 1
+ path: src/Internal/DataStores/Orders/DataSynchronizer.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\DataSynchronizer\:\:cleanup_synchronization_state\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/DataStores/Orders/DataSynchronizer.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\DataSynchronizer\:\:delete_database_tables\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/DataStores/Orders/DataSynchronizer.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\DataSynchronizer\:\:get_background_sync_mode\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/DataStores/Orders/DataSynchronizer.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\DataSynchronizer\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/DataStores/Orders/DataSynchronizer.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\DataSynchronizer\:\:maybe_prevent_deletion_of_post\(\) has invalid return type Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\WP_Post\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/DataStores/Orders/DataSynchronizer.php
+
+ -
+ message: '#^One or more @param tags has an invalid name or invalid syntax\.$#'
+ identifier: phpDoc.parseError
+ count: 2
+ path: src/Internal/DataStores/Orders/DataSynchronizer.php
+
+ -
+ message: '#^PHPDoc tag @param has invalid value \(int Default value for the count\.\)\: Unexpected token "Default", expected variable at offset 204 on line 6$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Internal/DataStores/Orders/DataSynchronizer.php
+
+ -
+ message: '#^PHPDoc tag @param has invalid value \(string\[\] List of order properties or meta keys\.\)\: Unexpected token "List", expected variable at offset 143 on line 4$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Internal/DataStores/Orders/DataSynchronizer.php
+
+ -
+ message: '#^Parameter \#1 \$string of function wc_string_to_bool expects bool\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/DataStores/Orders/DataSynchronizer.php
+
+ -
+ message: '#^Parameter \#2 \$old_value of method Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\DataSynchronizer\:\:process_updated_option\(\) expects string, false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/DataStores/Orders/DataSynchronizer.php
+
+ -
+ message: '#^Parameter \$delete of method Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\DataSynchronizer\:\:maybe_prevent_deletion_of_post\(\) has invalid type Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\WP_Post\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/DataStores/Orders/DataSynchronizer.php
+
+ -
+ message: '#^Parameter \$post of method Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\DataSynchronizer\:\:handle_deleted_post\(\) has invalid type Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\WP_Post\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/DataStores/Orders/DataSynchronizer.php
+
+ -
+ message: '#^Parameter \$post of method Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\DataSynchronizer\:\:maybe_prevent_deletion_of_post\(\) has invalid type Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\WP_Post\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/DataStores/Orders/DataSynchronizer.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\DataSynchronizer\:\:\$error_logger \(WC_Logger\) does not accept mixed\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/Internal/DataStores/Orders/DataSynchronizer.php
+
+ -
+ message: '#^Call to method cleanup_post_data\(\) on an unknown class Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\LegacyHandler\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/DataStores/Orders/LegacyDataCleanup.php
+
+ -
+ message: '#^Call to method count_orders_for_cleanup\(\) on an unknown class Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\LegacyHandler\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/DataStores/Orders/LegacyDataCleanup.php
+
+ -
+ message: '#^Call to method get_orders_for_cleanup\(\) on an unknown class Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\LegacyHandler\.$#'
+ identifier: class.notFound
+ count: 2
+ path: src/Internal/DataStores/Orders/LegacyDataCleanup.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\LegacyDataCleanup\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/DataStores/Orders/LegacyDataCleanup.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\LegacyDataCleanup\:\:\$error_logger \(WC_Logger\) does not accept WC_Logger_Interface\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/Internal/DataStores/Orders/LegacyDataCleanup.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\LegacyDataCleanup\:\:\$legacy_handler \(Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\LegacyHandler\) does not accept Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\LegacyDataHandler\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/Internal/DataStores/Orders/LegacyDataCleanup.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\LegacyDataCleanup\:\:\$legacy_handler has unknown class Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\LegacyHandler as its type\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/DataStores/Orders/LegacyDataCleanup.php
+
+ -
+ message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
+ count: 1
+ path: src/Internal/DataStores/Orders/LegacyDataHandler.php
+
+ -
+ message: '#^Call to an undefined method object\:\:backfill_post_record\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Internal/DataStores/Orders/LegacyDataHandler.php
+
+ -
+ message: '#^Call to an undefined method object\:\:get_current_class_name\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Internal/DataStores/Orders/LegacyDataHandler.php
+
+ -
+ message: '#^Call to an undefined method object\:\:read\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Internal/DataStores/Orders/LegacyDataHandler.php
+
+ -
+ message: '#^Call to an undefined method object\:\:set_id\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Internal/DataStores/Orders/LegacyDataHandler.php
+
+ -
+ message: '#^Cannot access offset ''class_name'' on non\-empty\-array\|true\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/DataStores/Orders/LegacyDataHandler.php
+
+ -
+ message: '#^Cannot access property \$value on mixed\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: src/Internal/DataStores/Orders/LegacyDataHandler.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\LegacyDataHandler\:\:get_order_base_props\(\) should return array\<string\> but returns list\<array\>\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/DataStores/Orders/LegacyDataHandler.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\LegacyDataHandler\:\:get_order_from_datastore\(\) should return WC_Order but returns WC_Abstract_Order\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/DataStores/Orders/LegacyDataHandler.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\LegacyDataHandler\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/DataStores/Orders/LegacyDataHandler.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\LegacyDataHandler\:\:read_order_from_datastore\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/DataStores/Orders/LegacyDataHandler.php
+
+ -
+ message: '#^PHPDoc tag @return with type array\[int\] is not subtype of native type array\.$#'
+ identifier: return.phpDocType
+ count: 1
+ path: src/Internal/DataStores/Orders/LegacyDataHandler.php
+
+ -
+ message: '#^Parameter \#1 \$order of method Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\LegacyDataHandler\:\:is_order_newer_than_post\(\) expects WC_Abstract_Order, WC_Order\|WC_Order_Refund\|true given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/DataStores/Orders/LegacyDataHandler.php
+
+ -
+ message: '#^Parameter \#1 \$order of method Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\LegacyDataHandler\:\:read_order_from_datastore\(\) expects WC_Abstract_Order, object given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/DataStores/Orders/LegacyDataHandler.php
+
+ -
+ message: '#^Parameter \#1 \$props of method WC_Data\:\:set_props\(\) expects array, array\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/DataStores/Orders/LegacyDataHandler.php
+
+ -
+ message: '#^Property WC_Data_Store\:\:\$instance \(WC_Data_Store\) does not accept object\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/Internal/DataStores/Orders/LegacyDataHandler.php
+
+ -
+ message: '#^Property WP_Post\:\:\$post_modified_gmt \(string\) on left side of \?\? is not nullable\.$#'
+ identifier: nullCoalesce.property
+ count: 1
+ path: src/Internal/DataStores/Orders/LegacyDataHandler.php
+
+ -
+ message: '#^@param WC_Abstract_Order \$product does not accept actual type of parameter\: WC_Data\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^@param WC_Order \$order does not accept actual type of parameter\: WC_Abstract_Order\.$#'
+ identifier: parameter.phpDocType
+ count: 4
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^@param array\<int\> \$order_ids does not accept actual type of parameter\: array\<WC_Order\>\|stdClass\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Access to an undefined property WC_Meta_Data\:\:\$id\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Access to an undefined property WC_Meta_Data\:\:\$key\.$#'
+ identifier: property.notFound
+ count: 3
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Access to an undefined property WC_Meta_Data\:\:\$value\.$#'
+ identifier: property.notFound
+ count: 2
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Call to an undefined method WC_Abstract_Order\:\:get_address\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Call to an undefined method WC_Data\:\:get_version\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Call to an undefined method WC_Data\:\:set_cogs_total_value\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:update_user_by_order_id\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Call to an undefined method object\:\:get_current_class_name\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Call to an undefined method object\:\:set_id\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Cannot access constant PLACEHOLDER_ORDER_POST_TYPE on mixed\.$#'
+ identifier: classConstant.nonObject
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Cannot access offset ''class_name'' on array\|bool\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Cannot access offset 0 on stdClass\|true\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Cannot access offset int\<min, \-1\>\|int\<1, max\> on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Cannot access property \$key on false\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Cannot access property \$meta_key on object\|true\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Cannot access property \$meta_value on false\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Cannot access property \$meta_value on object\|true\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Cannot access property \$value on false\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Cannot call method cache_objects\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Cannot call method call_function\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Cannot call method data_sync_is_enabled\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 4
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Cannot call method delete\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Cannot call method delete_cache_group\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Cannot call method delete_cached_object\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Cannot call method feature_is_enabled\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Cannot call method getOffsetTimestamp\(\) on WC_DateTime\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Cannot call method getTimestamp\(\) on WC_DateTime\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Cannot call method get_cached_objects\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Cannot call method get_download_permissions_granted\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Cannot call method get_new_order_email_sent\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Cannot call method get_order_stock_reduced\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Cannot call method get_recorded_coupon_usage_counts\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Cannot call method get_recorded_sales\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Cannot call method prime_caches_for_orders\(\) on class\-string\|object\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Cannot call method read_order_from_datastore\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Cannot call method remove\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Cannot call method save\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 6
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Cannot call method set_download_permissions_granted\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Cannot call method set_new_order_email_sent\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Cannot call method set_order_stock_reduced\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Cannot call method set_recorded_coupon_usage_counts\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Cannot call method set_recorded_sales\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Cannot cast mixed to int\.$#'
+ identifier: cast.int
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Expected 2 @param tags, found 1\.$#'
+ identifier: paramTag.count
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Instanceof between WC_Abstract_Order and WC_Abstract_Order will always evaluate to true\.$#'
+ identifier: instanceof.alwaysTrue
+ count: 3
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\OrdersTableDataStore\:\:backfill_post_record\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\OrdersTableDataStore\:\:create\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\OrdersTableDataStore\:\:get_all_order_column_mappings\(\) has invalid return type array\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\OrdersTableDataStore\:\:get_all_order_column_mappings\(\) should return array\<array\<array\<array\>\>\> but returns array\<array\<array\<array\>\>\>\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\OrdersTableDataStore\:\:get_coupon_held_keys\(\) should return array\|string but returns mixed\.$#'
+ identifier: return.type
+ count: 2
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\OrdersTableDataStore\:\:get_db_row_from_order\(\) should return array but returns false\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\OrdersTableDataStore\:\:persist_order_to_db\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\OrdersTableDataStore\:\:read\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\OrdersTableDataStore\:\:read_cogs_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\OrdersTableDataStore\:\:read_multiple\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\OrdersTableDataStore\:\:read_multiple\(\) has parameter \$orders with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\OrdersTableDataStore\:\:release_held_coupons\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\OrdersTableDataStore\:\:save_cogs_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\OrdersTableDataStore\:\:set_download_permissions_granted\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\OrdersTableDataStore\:\:set_email_sent\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\OrdersTableDataStore\:\:set_new_order_email_sent\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\OrdersTableDataStore\:\:set_order_props_from_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\OrdersTableDataStore\:\:set_order_stock_reduced\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\OrdersTableDataStore\:\:set_recorded_coupon_usage_counts\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\OrdersTableDataStore\:\:set_recorded_sales\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\OrdersTableDataStore\:\:set_stock_reduced\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\OrdersTableDataStore\:\:update\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\OrdersTableDataStore\:\:update_order_meta\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\OrdersTableDataStore\:\:update_payment_token_ids\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Method WC_Abstract_Order\:\:get_cogs_total_value\(\) invoked with 1 parameter, 0 required\.$#'
+ identifier: arguments.count
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^One or more @param tags has an invalid name or invalid syntax\.$#'
+ identifier: phpDoc.parseError
+ count: 2
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^PHPDoc tag @param for parameter \$orders contains unresolvable type\.$#'
+ identifier: parameter.unresolvableType
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^PHPDoc tag @param has invalid value \(\\WC_Order The order object\.\)\: Unexpected token "The", expected variable at offset 399 on line 8$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '''
+ #^PHPDoc tag @param has invalid value \(array Array of rows to be inserted/updated when persisting an order\. Each entry should be an array with
+ keys 'table', 'data' \(the row\), 'format' \(row format\), 'where' and 'where_format'\.\)\: Unexpected token "Array", expected variable at offset 172 on line 6$#
+ '''
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^PHPDoc tag @param has invalid value \(string The context of the operation\: ''create'' or ''update''\.\)\: Unexpected token "The", expected variable at offset 440 on line 9$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Parameter \#1 \$array_arg of function current expects array\|object, stdClass\|true given\.$#'
+ identifier: argument.type
+ count: 3
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Parameter \#1 \$datetime of class WC_DateTime constructor expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Parameter \#1 \$function of function call_user_func_array expects callable\(\)\: mixed, array\{Abstract_WC_Order_Data_Store_CPT, non\-falsy\-string\} given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Parameter \#1 \$ids of method Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\OrdersTableDataStore\:\:get_order_data_for_ids\(\) expects array\<int\>, array\<mixed\> given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Parameter \#1 \$ids of method Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\OrdersTableDataStore\:\:get_order_data_for_ids\(\) expects array\<int\>, list\<int\|string\> given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Parameter \#1 \$key of function array_key_exists expects int\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Parameter \#1 \$key of method WC_Data\:\:delete_meta_data\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Parameter \#1 \$order of method Abstract_WC_Order_Data_Store_CPT\:\:delete_items\(\) expects WC_Order, WC_Abstract_Order given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Parameter \#1 \$order of method Abstract_WC_Order_Data_Store_CPT\:\:get_post_status\(\) expects WC_Order, WC_Abstract_Order given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Parameter \#1 \$order of method Abstract_WC_Order_Data_Store_CPT\:\:read\(\) expects WC_Order, WC_Abstract_Order given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Parameter \#1 \$order of method Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\OrdersTableDataStore\:\:after_meta_change\(\) expects WC_Abstract_Order, WC_Data given\.$#'
+ identifier: argument.type
+ count: 3
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Parameter \#1 \$order of method Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\OrdersTableDataStore\:\:maybe_backfill_post_record\(\) expects WC_Abstract_Order, bool\|WC_Order\|WC_Order_Refund given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Parameter \#1 \$order of method Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\OrdersTableDataStore\:\:persist_updates\(\) expects WC_Order, WC_Abstract_Order given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Parameter \#1 \$order of method Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\OrdersTableDataStore\:\:set_order_props_from_data\(\) expects WC_Abstract_Order, WC_Data given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Parameter \#1 \$order of method Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\OrdersTableDataStore\:\:should_save_after_meta_change\(\) expects WC_Order, WC_Abstract_Order given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Parameter \#1 \$order of method Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\OrdersTableDataStore\:\:trash_order\(\) expects WC_Order, WC_Abstract_Order given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Parameter \#1 \$order of method Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\OrdersTableDataStore\:\:update_order_meta\(\) expects WC_Order, WC_Abstract_Order given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Parameter \#1 \$order_data of method Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\OrdersTableDataStore\:\:set_order_data_in_cache\(\) expects array\<array\<stdClass\>\>, array\<stdClass\> given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Parameter \#1 \$value of method WC_Abstract_Order\:\:set_version\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Parameter \#2 \$meta of method Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\OrdersTableDataStore\:\:after_meta_change\(\) expects WC_Meta_Data, stdClass given\.$#'
+ identifier: argument.type
+ count: 3
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Parameter \#2 \$meta of method Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\OrdersTableDataStoreMeta\:\:add_meta\(\) expects stdClass, WC_Meta_Data given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Parameter \#2 \$meta of method Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\OrdersTableDataStoreMeta\:\:delete_meta\(\) expects stdClass, false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Parameter \#2 \$meta of method Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\OrdersTableDataStoreMeta\:\:update_meta\(\) expects stdClass, WC_Meta_Data given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Parameter \#2 \$meta of method Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\OrdersTableDataStoreMeta\:\:update_meta\(\) expects stdClass, false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Parameter \#2 \$output of function get_object_taxonomies expects ''names''\|''objects'', ''object'' given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Parameter \#2 \$prop_name of method Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\OrdersTableDataStore\:\:set_order_prop\(\) expects string, array given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Parameter \#2 \$property_name of function property_exists expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Parameter \#2 \.\.\.\$args of function array_merge expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, array given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Parameter \#3 \$default_value of static method Automattic\\WooCommerce\\Utilities\\ArrayUtil\:\:get_value_or_default\(\) expects null, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Parameter \#3 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Parameter &\$order by\-ref type of method Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\OrdersTableDataStore\:\:init_order_record\(\) expects WC_Abstract_Order, WC_Data given\.$#'
+ identifier: parameterByRef.type
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Parameter &\$order by\-ref type of method Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\OrdersTableDataStore\:\:persist_save\(\) expects WC_Order, WC_Abstract_Order given\.$#'
+ identifier: parameterByRef.type
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Parameter &\$order by\-ref type of method Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\OrdersTableDataStore\:\:persist_updates\(\) expects WC_Order, WC_Abstract_Order given\.$#'
+ identifier: parameterByRef.type
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\OrdersTableDataStore\:\:\$all_order_column_mapping \(array\<array\<array\<array\>\>\>\) does not accept array\<string, array\<array\<string\>\>\>\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\OrdersTableDataStore\:\:\$all_order_column_mapping \(array\<array\<array\<array\>\>\>\) in isset\(\) is not nullable\.$#'
+ identifier: isset.property
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\OrdersTableDataStore\:\:\$billing_address_column_mapping \(array\<array\<string\>\>\) does not accept default value of type array\<string, array\<string, string\>\>\.$#'
+ identifier: property.defaultValue
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\OrdersTableDataStore\:\:\$billing_address_column_mapping has unknown class string as its type\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\OrdersTableDataStore\:\:\$cpt_data_store \(WC_Order_Data_Store_CPT\) does not accept Abstract_WC_Order_Data_Store_CPT\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\OrdersTableDataStore\:\:\$cpt_data_store \(WC_Order_Data_Store_CPT\) in isset\(\) is not nullable\.$#'
+ identifier: isset.property
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\OrdersTableDataStore\:\:\$error_logger \(WC_Logger\) does not accept mixed\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\OrdersTableDataStore\:\:\$operational_data_column_mapping \(array\<array\<string\>\>\) does not accept default value of type array\<string, array\<string, string\>\>\.$#'
+ identifier: property.defaultValue
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\OrdersTableDataStore\:\:\$operational_data_column_mapping has unknown class string as its type\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\OrdersTableDataStore\:\:\$order_column_mapping \(array\<array\<string\>\>\) does not accept default value of type array\<string, array\<string, string\>\>\.$#'
+ identifier: property.defaultValue
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\OrdersTableDataStore\:\:\$order_column_mapping has unknown class string as its type\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\OrdersTableDataStore\:\:\$shipping_address_column_mapping \(array\<array\<string\>\>\) does not accept default value of type array\<string, array\<string, string\>\>\.$#'
+ identifier: property.defaultValue
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\OrdersTableDataStore\:\:\$shipping_address_column_mapping has unknown class string as its type\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Return type \(bool\) of method Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\OrdersTableDataStore\:\:delete_meta\(\) should be compatible with return type \(array\) of method WC_Object_Data_Store_Interface\:\:delete_meta\(\)$#'
+ identifier: method.childReturnType
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Return type \(void\) of method Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\OrdersTableDataStore\:\:delete\(\) should be compatible with return type \(bool\) of method WC_Object_Data_Store_Interface\:\:delete\(\)$#'
+ identifier: method.childReturnType
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^Variable \$ids in empty\(\) always exists and is not falsy\.$#'
+ identifier: empty.variable
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStore.php
+
+ -
+ message: '#^$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStoreMeta.php
+
+ -
+ message: '#^Call to method get_id\(\) on an unknown class Automattic\\WooCommerce\\Internal\\DataStores\\WC_Data\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStoreMeta.php
+
+ -
+ message: '#^Cannot call method cache_objects\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStoreMeta.php
+
+ -
+ message: '#^Cannot call method delete_cache_group\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStoreMeta.php
+
+ -
+ message: '#^Cannot call method delete_cached_object\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStoreMeta.php
+
+ -
+ message: '#^Cannot call method get_cached_objects\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStoreMeta.php
+
+ -
+ message: '#^Parameter \#1 \$object of method Automattic\\WooCommerce\\Internal\\DataStores\\CustomMetaDataStore\:\:add_meta\(\) expects Automattic\\WooCommerce\\Internal\\DataStores\\WC_Data, WC_Data given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStoreMeta.php
+
+ -
+ message: '#^Parameter \#2 \$meta of method Automattic\\WooCommerce\\Internal\\DataStores\\CustomMetaDataStore\:\:add_meta\(\) expects Automattic\\WooCommerce\\Internal\\DataStores\\stdClass, stdClass given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableDataStoreMeta.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\OrdersTableFieldQuery\:\:\$where \(array\) does not accept string\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableFieldQuery.php
+
+ -
+ message: '#^Parameter \#1 \$q of method Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\OrdersTableMetaQuery\:\:sanitize_meta_query\(\) expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableMetaQuery.php
+
+ -
+ message: '#^Parameter \#2 \$parent_query of method Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\OrdersTableMetaQuery\:\:find_or_create_table_alias_for_clause\(\) expects array, array\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableMetaQuery.php
+
+ -
+ message: '#^Parameter &\$arg by\-ref type of method Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\OrdersTableMetaQuery\:\:process\(\) expects array, array\|null given\.$#'
+ identifier: parameterByRef.type
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableMetaQuery.php
+
+ -
+ message: '#^Cannot call method format_object_value_for_db\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableQuery.php
+
+ -
+ message: '#^Cannot call method get_all_order_column_mappings\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableQuery.php
+
+ -
+ message: '#^Cannot call method get_wpdb_format_for_type\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableQuery.php
+
+ -
+ message: '#^Cannot call static method get_all_table_names_with_id\(\) on mixed\.$#'
+ identifier: staticMethod.nonObject
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableQuery.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\OrdersTableQuery\:\:build_count_query\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableQuery.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\OrdersTableQuery\:\:where\(\) should return string but returns false\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableQuery.php
+
+ -
+ message: '#^PHPDoc tag @var has invalid value \(OrdersTableSearchQuery\?\)\: Unexpected token "\?", expected TOKEN_HORIZONTAL_WS at offset 64 on line 4$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableQuery.php
+
+ -
+ message: '#^Parameter \#1 \$callback of function array_map expects \(callable\(mixed, string\)\: mixed\)\|null, array\{mixed, ''format_object_value…''\} given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableQuery.php
+
+ -
+ message: '#^Parameter \#1 \$number of function wc_format_decimal expects float\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Internal/DataStores/Orders/OrdersTableQuery.php
+
+ -
+ message: '#^Parameter \#1 \$object_or_string of function is_a expects object, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableQuery.php
+
+ -
+ message: '#^Parameter \#1 \$query of method Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\OrdersTableQuery\:\:map_gmt_and_post_keys_to_hpos_keys\(\) expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableQuery.php
+
+ -
+ message: '#^Parameter \#1 \$time of function strtotime expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableQuery.php
+
+ -
+ message: '#^Parameter \#2 \.\.\.\$args of function array_merge expects array, array\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableQuery.php
+
+ -
+ message: '#^Possibly invalid array key type mixed\.$#'
+ identifier: offsetAccess.invalidOffset
+ count: 2
+ path: src/Internal/DataStores/Orders/OrdersTableQuery.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\OrdersTableQuery\:\:\$date_query \(Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\WP_Date_Query\) does not accept WP_Date_Query\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableQuery.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\OrdersTableQuery\:\:\$date_query has unknown class Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\WP_Date_Query as its type\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableQuery.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\OrdersTableQuery\:\:\$fields \(array\) does not accept string\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableQuery.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\OrdersTableQuery\:\:\$order_datastore \(Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\OrdersTableDataStore\) does not accept mixed\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableQuery.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\OrdersTableQuery\:\:\$search_query has no type specified\.$#'
+ identifier: missingType.property
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableQuery.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\OrdersTableQuery\:\:\$sql \(string\) in isset\(\) is not nullable\.$#'
+ identifier: isset.property
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableQuery.php
+
+ -
+ message: '#^Variable \$dates_raw in empty\(\) always exists and is not falsy\.$#'
+ identifier: empty.variable
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableQuery.php
+
+ -
+ message: '#^Access to an undefined property WC_Meta_Data\:\:\$id\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableRefundDataStore.php
+
+ -
+ message: '#^Access to an undefined property WC_Meta_Data\:\:\$key\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableRefundDataStore.php
+
+ -
+ message: '#^Access to an undefined property WC_Meta_Data\:\:\$value\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableRefundDataStore.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$meta_data\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableRefundDataStore.php
+
+ -
+ message: '#^Call to an undefined method WC_Abstract_Order\:\:set_amount\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableRefundDataStore.php
+
+ -
+ message: '#^Call to an undefined method WC_Abstract_Order\:\:set_reason\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableRefundDataStore.php
+
+ -
+ message: '#^Call to an undefined method WC_Abstract_Order\:\:set_refunded_by\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableRefundDataStore.php
+
+ -
+ message: '#^Call to an undefined method WC_Abstract_Order\:\:set_refunded_payment\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableRefundDataStore.php
+
+ -
+ message: '#^Call to an undefined method object\:\:get_current_class_name\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableRefundDataStore.php
+
+ -
+ message: '#^Cannot access offset 0 on stdClass\|true\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableRefundDataStore.php
+
+ -
+ message: '#^Cannot call method data_sync_is_enabled\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableRefundDataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\OrdersTableRefundDataStore\:\:create\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableRefundDataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\OrdersTableRefundDataStore\:\:set_order_props_from_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableRefundDataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\OrdersTableRefundDataStore\:\:update\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableRefundDataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\OrdersTableRefundDataStore\:\:update_order_meta\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableRefundDataStore.php
+
+ -
+ message: '#^Parameter \#1 \$order of method Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\OrdersTableDataStore\:\:persist_save\(\) expects WC_Order, WC_Abstract_Order given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableRefundDataStore.php
+
+ -
+ message: '#^Parameter \#2 \$meta of method Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\OrdersTableDataStore\:\:add_meta\(\) expects stdClass, WC_Meta_Data given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableRefundDataStore.php
+
+ -
+ message: '#^Parameter \#2 \$meta of method Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\OrdersTableDataStore\:\:update_meta\(\) expects stdClass, WC_Meta_Data given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableRefundDataStore.php
+
+ -
+ message: '#^Parameter &\$refund by\-ref type of method Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\OrdersTableRefundDataStore\:\:set_order_props_from_data\(\) expects WC_Order_Refund, WC_Abstract_Order given\.$#'
+ identifier: parameterByRef.type
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableRefundDataStore.php
+
+ -
+ message: '#^Parameter &\$refund by\-ref type of method Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\OrdersTableRefundDataStore\:\:update_order_meta\(\) expects WC_Order, WC_Data given\.$#'
+ identifier: parameterByRef.type
+ count: 3
+ path: src/Internal/DataStores/Orders/OrdersTableRefundDataStore.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\OrdersTableRefundDataStore\:\:\$operational_data_column_mapping \(array\<array\<string\>\>\) does not accept default value of type array\<string, array\<string, string\>\>\.$#'
+ identifier: property.defaultValue
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableRefundDataStore.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\OrdersTableRefundDataStore\:\:\$operational_data_column_mapping has unknown class string as its type\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableRefundDataStore.php
+
+ -
+ message: '#^Return type \(void\) of method Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\OrdersTableRefundDataStore\:\:delete\(\) should be compatible with return type \(bool\) of method WC_Object_Data_Store_Interface\:\:delete\(\)$#'
+ identifier: method.childReturnType
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableRefundDataStore.php
+
+ -
+ message: '#^Binary operation "\." between ''\\'''' and non\-empty\-array\|string results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableSearchQuery.php
+
+ -
+ message: '#^Cannot call method sanitise_boolean_fts_search_term\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: src/Internal/DataStores/Orders/OrdersTableSearchQuery.php
+
+ -
+ message: '#^Cannot cast mixed to string\.$#'
+ identifier: cast.string
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableSearchQuery.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\OrdersTableSearchQuery\:\:generate_where_for_search_filter\(\) should return string but returns string\|null\.$#'
+ identifier: return.type
+ count: 2
+ path: src/Internal/DataStores/Orders/OrdersTableSearchQuery.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\OrdersTableSearchQuery\:\:get_where_for_customers\(\) never returns null so it can be removed from the return type\.$#'
+ identifier: return.unusedType
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableSearchQuery.php
+
+ -
+ message: '#^One or more @param tags has an invalid name or invalid syntax\.$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableSearchQuery.php
+
+ -
+ message: '#^PHPDoc tag @param has invalid value \(array\)\: Unexpected token "\\n\\t\\t ", expected variable at offset 280 on line 9$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableSearchQuery.php
+
+ -
+ message: '#^Parameter \#1 \$search_filter of method Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\OrdersTableSearchQuery\:\:sanitize_search_filters\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableSearchQuery.php
+
+ -
+ message: '#^Parameter \#1 \$version1 of function version_compare expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableSearchQuery.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Internal\\DataStores\\Orders\\OrdersTableSearchQuery\:\:\$search_term \(string\) does not accept mixed\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/Internal/DataStores/Orders/OrdersTableSearchQuery.php
+
+ -
+ message: '#^$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/DataStores/StockNotifications/StockNotificationsDataStore.php
+
+ -
+ message: '#^Cannot access offset ''id'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/DataStores/StockNotifications/StockNotificationsDataStore.php
+
+ -
+ message: '#^Cannot call method getTimestamp\(\) on WC_DateTime\|null\.$#'
+ identifier: method.nonObject
+ count: 3
+ path: src/Internal/DataStores/StockNotifications/StockNotificationsDataStore.php
+
+ -
+ message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/DataStores/StockNotifications/StockNotificationsDataStore.php
+
+ -
+ message: '#^Parameter \#1 \$notification of method Automattic\\WooCommerce\\Internal\\DataStores\\StockNotifications\\StockNotificationsDataStore\:\:after_meta_change\(\) expects Automattic\\WooCommerce\\Internal\\StockNotifications\\Notification, Automattic\\WooCommerce\\Internal\\DataStores\\WC_Data given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/DataStores/StockNotifications/StockNotificationsDataStore.php
+
+ -
+ message: '#^Parameter \#1 \$notification of method Automattic\\WooCommerce\\Internal\\DataStores\\StockNotifications\\StockNotificationsDataStore\:\:after_meta_change\(\) expects Automattic\\WooCommerce\\Internal\\StockNotifications\\Notification, WC_Data given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Internal/DataStores/StockNotifications/StockNotificationsDataStore.php
+
+ -
+ message: '#^Parameter \#1 \$notification of method Automattic\\WooCommerce\\Internal\\DataStores\\StockNotifications\\StockNotificationsDataStore\:\:filter_raw_meta_data\(\) expects Automattic\\WooCommerce\\Internal\\StockNotifications\\Notification, WC_Data given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/DataStores/StockNotifications/StockNotificationsDataStore.php
+
+ -
+ message: '#^Parameter \#1 \$object of method Automattic\\WooCommerce\\Internal\\DataStores\\CustomMetaDataStore\:\:add_meta\(\) expects Automattic\\WooCommerce\\Internal\\DataStores\\WC_Data, Automattic\\WooCommerce\\Internal\\StockNotifications\\Notification given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/DataStores/StockNotifications/StockNotificationsDataStore.php
+
+ -
+ message: '#^Parameter \#1 \$read of class Automattic\\WooCommerce\\Internal\\StockNotifications\\Notification constructor expects array\|int\|object, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/DataStores/StockNotifications/StockNotificationsDataStore.php
+
+ -
+ message: '#^Parameter \#1 \$var of function strval expects bool\|float\|int\|resource\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/DataStores/StockNotifications/StockNotificationsDataStore.php
+
+ -
+ message: '#^Parameter \#2 \$meta of method Automattic\\WooCommerce\\Internal\\DataStores\\CustomMetaDataStore\:\:add_meta\(\) expects Automattic\\WooCommerce\\Internal\\DataStores\\stdClass, stdClass given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/DataStores/StockNotifications/StockNotificationsDataStore.php
+
+ -
+ message: '#^Parameter &\$notification by\-ref type of method Automattic\\WooCommerce\\Internal\\DataStores\\StockNotifications\\StockNotificationsDataStore\:\:delete_meta\(\) expects Automattic\\WooCommerce\\Internal\\StockNotifications\\Notification, WC_Data given\.$#'
+ identifier: parameterByRef.type
+ count: 1
+ path: src/Internal/DataStores/StockNotifications/StockNotificationsDataStore.php
+
+ -
+ message: '#^Parameter &\$notification by\-ref type of method Automattic\\WooCommerce\\Internal\\DataStores\\StockNotifications\\StockNotificationsDataStore\:\:read_meta\(\) expects Automattic\\WooCommerce\\Internal\\StockNotifications\\Notification, WC_Data given\.$#'
+ identifier: parameterByRef.type
+ count: 1
+ path: src/Internal/DataStores/StockNotifications/StockNotificationsDataStore.php
+
+ -
+ message: '#^Parameter &\$notification by\-ref type of method Automattic\\WooCommerce\\Internal\\DataStores\\StockNotifications\\StockNotificationsDataStore\:\:update_meta\(\) expects Automattic\\WooCommerce\\Internal\\StockNotifications\\Notification, WC_Data given\.$#'
+ identifier: parameterByRef.type
+ count: 1
+ path: src/Internal/DataStores/StockNotifications/StockNotificationsDataStore.php
+
+ -
+ message: '#^Return type \(bool\) of method Automattic\\WooCommerce\\Internal\\DataStores\\StockNotifications\\StockNotificationsDataStore\:\:delete_meta\(\) should be compatible with return type \(array\) of method WC_Object_Data_Store_Interface\:\:delete_meta\(\)$#'
+ identifier: method.childReturnType
+ count: 1
+ path: src/Internal/DataStores/StockNotifications/StockNotificationsDataStore.php
+
+ -
+ message: '#^Return type \(void\) of method Automattic\\WooCommerce\\Internal\\DataStores\\StockNotifications\\StockNotificationsDataStore\:\:delete\(\) should be compatible with return type \(bool\) of method WC_Object_Data_Store_Interface\:\:delete\(\)$#'
+ identifier: method.childReturnType
+ count: 1
+ path: src/Internal/DataStores/StockNotifications/StockNotificationsDataStore.php
+
+ -
+ message: '#^Parameter \#1 \$message of method Exception\:\:__construct\(\) expects string, null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/DependencyManagement/ContainerException.php
+
+ -
+ message: '#^Cannot call method get\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/DependencyManagement/RuntimeContainer.php
+
+ -
+ message: '#^Parameter \#1 \$message of class Automattic\\WooCommerce\\Internal\\DependencyManagement\\ContainerException constructor expects null, string given\.$#'
+ identifier: argument.type
+ count: 9
+ path: src/Internal/DependencyManagement/RuntimeContainer.php
+
+ -
+ message: '#^Parameter \#1 \$objectOrClass of class ReflectionClass constructor expects class\-string\<T of object\>\|T of object, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/DependencyManagement/RuntimeContainer.php
+
+ -
+ message: '#^Access to constant STATUS_PENDING on an unknown class ActionScheduler_Store\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/DownloadPermissionsAdjuster.php
+
+ -
+ message: '#^Binary operation "\+" between mixed and 1 results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: src/Internal/DownloadPermissionsAdjuster.php
+
+ -
+ message: '#^Call to method create_from_data\(\) on an unknown class Automattic\\WooCommerce\\Internal\\WC_Data_Store\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/DownloadPermissionsAdjuster.php
+
+ -
+ message: '#^Call to method get_downloads\(\) on an unknown class Automattic\\WooCommerce\\Internal\\WC_Data_Store\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/DownloadPermissionsAdjuster.php
+
+ -
+ message: '#^Cannot call method get_instance_of\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/DownloadPermissionsAdjuster.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\DownloadPermissionsAdjuster\:\:adjust_download_permissions\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/DownloadPermissionsAdjuster.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\DownloadPermissionsAdjuster\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/DownloadPermissionsAdjuster.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\DownloadPermissionsAdjuster\:\:maybe_schedule_adjust_download_permissions\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/DownloadPermissionsAdjuster.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Internal\\DownloadPermissionsAdjuster\:\:\$downloads_data_store has unknown class Automattic\\WooCommerce\\Internal\\WC_Data_Store as its type\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/DownloadPermissionsAdjuster.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Email\\EmailColors\:\:get_global_styles_data\(\) should return array\|null but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/Email/EmailColors.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Email\\EmailStyleSync\:\:maybe_sync_on_option_update\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Email/EmailStyleSync.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Email\\EmailStyleSync\:\:sync_email_styles_with_theme\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Email/EmailStyleSync.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Email\\EmailStyleSync\:\:update_email_colors\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Email/EmailStyleSync.php
+
+ -
+ message: '#^Callback expects 1 parameter, \$accepted_args is set to 2\.$#'
+ identifier: arguments.count
+ count: 1
+ path: src/Internal/EmailEditor/BlockEmailRenderer.php
+
+ -
+ message: '#^Parameter \#2 \$callback of function add_action expects callable\(\)\: mixed, array\{\$this\(Automattic\\WooCommerce\\Internal\\EmailEditor\\BlockEmailRenderer\), ''register_block…''\} given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/EmailEditor/BlockEmailRenderer.php
+
+ -
+ message: '#^Property WC_Email\:\:\$object \(bool\|object\) in isset\(\) is not nullable\.$#'
+ identifier: isset.property
+ count: 1
+ path: src/Internal/EmailEditor/BlockEmailRenderer.php
+
+ -
+ message: '#^Variable \$filter_callback in isset\(\) always exists and is not nullable\.$#'
+ identifier: isset.variable
+ count: 1
+ path: src/Internal/EmailEditor/BlockEmailRenderer.php
+
+ -
+ message: '#^Cannot call method get_email_type_from_post_id\(\) on Automattic\\WooCommerce\\Internal\\EmailEditor\\WCTransactionalEmails\\WCTransactionalEmailPostsManager\|null\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: src/Internal/EmailEditor/EmailApiController.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Internal\\EmailEditor\\EmailApiController\:\:\$post_manager \(Automattic\\WooCommerce\\Internal\\EmailEditor\\WCTransactionalEmails\\WCTransactionalEmailPostsManager\|null\) is never assigned null so it can be removed from the property type\.$#'
+ identifier: property.unusedType
+ count: 1
+ path: src/Internal/EmailEditor/EmailApiController.php
+
+ -
+ message: '#^PHPDoc type array of property Automattic\\WooCommerce\\Internal\\EmailEditor\\EmailPatterns\\WooEmailContentPattern\:\:\$template_types is not covariant with PHPDoc type array\<string\> of overridden property Automattic\\WooCommerce\\EmailEditor\\Engine\\Patterns\\Abstract_Pattern\:\:\$template_types\.$#'
+ identifier: property.phpDocType
+ count: 1
+ path: src/Internal/EmailEditor/EmailPatterns/WooEmailContentPattern.php
+
+ -
+ message: '#^Cannot access property \$postId on mixed\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: src/Internal/EmailEditor/Integration.php
+
+ -
+ message: '#^Cannot call method generate_placeholder_content\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: src/Internal/EmailEditor/Integration.php
+
+ -
+ message: '#^Cannot call method get_email\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/EmailEditor/Integration.php
+
+ -
+ message: '#^Cannot call method prepare_context_data\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/EmailEditor/Integration.php
+
+ -
+ message: '#^Cannot call method set_email_type\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/EmailEditor/Integration.php
+
+ -
+ message: '#^Cannot cast mixed to int\.$#'
+ identifier: cast.int
+ count: 1
+ path: src/Internal/EmailEditor/Integration.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\EmailEditor\\Integration\:\:delete_email_template_associated_with_email_editor_post\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/EmailEditor/Integration.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\EmailEditor\\Integration\:\:init_hooks\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/EmailEditor/Integration.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\EmailEditor\\Integration\:\:init_logger\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/EmailEditor/Integration.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\EmailEditor\\Integration\:\:initialize\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/EmailEditor/Integration.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\EmailEditor\\Integration\:\:register_hooks\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/EmailEditor/Integration.php
+
+ -
+ message: '#^Parameter \#1 \$post_id of method Automattic\\WooCommerce\\Internal\\EmailEditor\\WCTransactionalEmails\\WCTransactionalEmailPostsManager\:\:get_email_type_from_post_id\(\) expects int\|string, int\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/EmailEditor/Integration.php
+
+ -
+ message: '#^Parameter \#1 \$str of function sanitize_text_field expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Internal/EmailEditor/Integration.php
+
+ -
+ message: '#^Parameter \#3 \$post_id of method Automattic\\WooCommerce\\Internal\\EmailEditor\\Integration\:\:update_email_preview_data\(\) expects int, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/EmailEditor/Integration.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Internal\\EmailEditor\\Integration\:\:\$editor_page_renderer \(Automattic\\WooCommerce\\Internal\\EmailEditor\\PageRenderer\) does not accept mixed\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/Internal/EmailEditor/Integration.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Internal\\EmailEditor\\Integration\:\:\$email_api_controller \(Automattic\\WooCommerce\\Internal\\EmailEditor\\EmailApiController\) does not accept mixed\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/Internal/EmailEditor/Integration.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Internal\\EmailEditor\\Integration\:\:\$template_api_controller \(Automattic\\WooCommerce\\Internal\\EmailEditor\\EmailTemplates\\TemplateApiController\) does not accept mixed\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/Internal/EmailEditor/Integration.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\EmailEditor\\Package\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/EmailEditor/Package.php
+
+ -
+ message: '#^Constant WC_ABSPATH not found\.$#'
+ identifier: constant.notFound
+ count: 1
+ path: src/Internal/EmailEditor/PageRenderer.php
+
+ -
+ message: '#^Constant WC_ADMIN_DIST_JS_FOLDER not found\.$#'
+ identifier: constant.notFound
+ count: 2
+ path: src/Internal/EmailEditor/PageRenderer.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\EmailEditor\\PageRenderer\:\:render\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/EmailEditor/PageRenderer.php
+
+ -
+ message: '#^Parameter \#1 \$id of function get_block_template expects string, int\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/EmailEditor/PageRenderer.php
+
+ -
+ message: '#^Parameter \#1 \$post of function get_post expects int\|WP_Post\|null, int\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/EmailEditor/PageRenderer.php
+
+ -
+ message: '#^Parameter \#1 \$str of function sanitize_text_field expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/EmailEditor/PageRenderer.php
+
+ -
+ message: '#^Parameter \#1 \$var of function intval expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/EmailEditor/PageRenderer.php
+
+ -
+ message: '#^Parameter \#3 \$dependencies of static method Automattic\\WooCommerce\\Internal\\Admin\\WCAdminAssets\:\:register_style\(\) expects array, true given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/EmailEditor/PageRenderer.php
+
+ -
+ message: '#^Expression on left side of \?\? is not nullable\.$#'
+ identifier: nullCoalesce.expr
+ count: 3
+ path: src/Internal/EmailEditor/PersonalizationTags/OrderTagsProvider.php
+
+ -
+ message: '#^Parameter \#1 \$string of function htmlspecialchars_decode expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/EmailEditor/PersonalizationTags/SiteTagsProvider.php
+
+ -
+ message: '#^Access to an undefined property WooCommerce\:\:\$mailer\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/Internal/EmailEditor/PersonalizationTags/StoreTagsProvider.php
+
+ -
+ message: '#^Anonymous function should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/EmailEditor/PersonalizationTags/StoreTagsProvider.php
+
+ -
+ message: '#^Call to an undefined method object\:\:get_from_address\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Internal/EmailEditor/PersonalizationTags/StoreTagsProvider.php
+
+ -
+ message: '#^Cannot access offset string on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/EmailEditor/WCTransactionalEmails/WCTransactionalEmailPostsGenerator.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\EmailEditor\\WCTransactionalEmails\\WCTransactionalEmailPostsGenerator\:\:generate_email_templates\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/EmailEditor/WCTransactionalEmails/WCTransactionalEmailPostsGenerator.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\EmailEditor\\WCTransactionalEmails\\WCTransactionalEmailPostsGenerator\:\:generate_initial_email_templates\(\) should return bool but empty return statement found\.$#'
+ identifier: return.empty
+ count: 1
+ path: src/Internal/EmailEditor/WCTransactionalEmails/WCTransactionalEmailPostsGenerator.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\EmailEditor\\WCTransactionalEmails\\WCTransactionalEmailPostsGenerator\:\:init_default_transactional_emails\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/EmailEditor/WCTransactionalEmails/WCTransactionalEmailPostsGenerator.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\EmailEditor\\WCTransactionalEmails\\WCTransactionalEmailPostsGenerator\:\:initialize\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/EmailEditor/WCTransactionalEmails/WCTransactionalEmailPostsGenerator.php
+
+ -
+ message: '#^Property WC_Email\:\:\$template_base \(string\) on left side of \?\? is not nullable\.$#'
+ identifier: nullCoalesce.property
+ count: 1
+ path: src/Internal/EmailEditor/WCTransactionalEmails/WCTransactionalEmailPostsGenerator.php
+
+ -
+ message: '#^Cannot cast mixed to int\.$#'
+ identifier: cast.int
+ count: 2
+ path: src/Internal/EmailEditor/WCTransactionalEmails/WCTransactionalEmailPostsManager.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\EmailEditor\\WCTransactionalEmails\\WCTransactionalEmailPostsManager\:\:clear_caches\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/EmailEditor/WCTransactionalEmails/WCTransactionalEmailPostsManager.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\EmailEditor\\WCTransactionalEmails\\WCTransactionalEmailPostsManager\:\:delete_email_template\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/EmailEditor/WCTransactionalEmails/WCTransactionalEmailPostsManager.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\EmailEditor\\WCTransactionalEmails\\WCTransactionalEmailPostsManager\:\:get_email_template_post_id\(\) should return int\|false but returns 0\.0\|''''\|''0''\|array\{\}\|int\|false\|null\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/EmailEditor/WCTransactionalEmails/WCTransactionalEmailPostsManager.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\EmailEditor\\WCTransactionalEmails\\WCTransactionalEmailPostsManager\:\:get_email_template_post_id\(\) should return int\|false but returns int\|string\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/EmailEditor/WCTransactionalEmails/WCTransactionalEmailPostsManager.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\EmailEditor\\WCTransactionalEmails\\WCTransactionalEmailPostsManager\:\:get_email_type_from_post_id\(\) should return string\|null but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/EmailEditor/WCTransactionalEmails/WCTransactionalEmailPostsManager.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\EmailEditor\\WCTransactionalEmails\\WCTransactionalEmailPostsManager\:\:save_email_template_post_id\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/EmailEditor/WCTransactionalEmails/WCTransactionalEmailPostsManager.php
+
+ -
+ message: '#^Parameter \#1 \$email_id of method Automattic\\WooCommerce\\Internal\\EmailEditor\\WCTransactionalEmails\\WCTransactionalEmailPostsManager\:\:get_email_type_class_name_from_email_id\(\) expects string, string\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/EmailEditor/WCTransactionalEmails/WCTransactionalEmailPostsManager.php
+
+ -
+ message: '#^Parameter \#1 \$post_id of method Automattic\\WooCommerce\\Internal\\EmailEditor\\WCTransactionalEmails\\WCTransactionalEmailPostsManager\:\:get_cache_key_for_post_id\(\) expects int, int\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/EmailEditor/WCTransactionalEmails/WCTransactionalEmailPostsManager.php
+
+ -
+ message: '#^Parameter \#1 \$value of method Automattic\\WooCommerce\\Internal\\EmailEditor\\WCTransactionalEmails\\WCTransactionalEmailPostsManager\:\:invalidate_cache_for_template\(\) expects int\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/EmailEditor/WCTransactionalEmails/WCTransactionalEmailPostsManager.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Internal\\EmailEditor\\WCTransactionalEmails\\WCTransactionalEmailPostsManager\:\:\$post_id_to_email_type_cache \(array\<int\|string, string\|null\>\) does not accept array\<int\|string, mixed\>\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/Internal/EmailEditor/WCTransactionalEmails/WCTransactionalEmailPostsManager.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\EmailEditor\\WCTransactionalEmails\\WCTransactionalEmails\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/EmailEditor/WCTransactionalEmails/WCTransactionalEmails.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\EmailEditor\\WCTransactionalEmails\\WCTransactionalEmails\:\:init_email_templates\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/EmailEditor/WCTransactionalEmails/WCTransactionalEmails.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\EmailEditor\\WooContentProcessor\:\:prepare_css\(\) should return string but returns string\|null\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/EmailEditor/WooContentProcessor.php
+
+ -
+ message: '#^Parameter \#3 \$subject of function preg_replace expects array\<float\|int\|string\>\|string, string\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/EmailEditor/WooContentProcessor.php
+
+ -
+ message: '#^@param string \$feature_id does not accept actual type of parameter\: int\<min, \-1\>\|int\<1, max\>\|non\-falsy\-string\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: src/Internal/Features/FeaturesController.php
+
+ -
+ message: '#^Callback expects 2 parameters, \$accepted_args is set to 3\.$#'
+ identifier: arguments.count
+ count: 1
+ path: src/Internal/Features/FeaturesController.php
+
+ -
+ message: '#^Cannot access an offset on bool\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/Features/FeaturesController.php
+
+ -
+ message: '#^Cannot access property \$id on WP_Screen\|null\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: src/Internal/Features/FeaturesController.php
+
+ -
+ message: '#^Cannot access property \$id on string\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: src/Internal/Features/FeaturesController.php
+
+ -
+ message: '#^Cannot call method add_feature_definition\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: src/Internal/Features/FeaturesController.php
+
+ -
+ message: '#^Cannot call method error\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Features/FeaturesController.php
+
+ -
+ message: '#^Constant WC_VERSION not found\.$#'
+ identifier: constant.notFound
+ count: 1
+ path: src/Internal/Features/FeaturesController.php
+
+ -
+ message: '#^Filter callback return statement is missing\.$#'
+ identifier: return.missing
+ count: 3
+ path: src/Internal/Features/FeaturesController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Features\\FeaturesController\:\:handle_plugin_list_rows\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Features/FeaturesController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Features\\FeaturesController\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Features/FeaturesController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Features\\FeaturesController\:\:init_compatibility_info_by_feature\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Features/FeaturesController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Features\\FeaturesController\:\:process_added_option\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Features/FeaturesController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Features\\FeaturesController\:\:register_additional_features\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Features/FeaturesController.php
+
+ -
+ message: '#^Parameter \#1 \$feature_id of method Automattic\\WooCommerce\\Internal\\Features\\FeaturesController\:\:feature_exists\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 3
+ path: src/Internal/Features/FeaturesController.php
+
+ -
+ message: '#^Parameter \#1 \$feature_id of method Automattic\\WooCommerce\\Internal\\Features\\FeaturesController\:\:get_incompatible_plugins\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Features/FeaturesController.php
+
+ -
+ message: '#^Parameter \#1 \$str of function sanitize_text_field expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Features/FeaturesController.php
+
+ -
+ message: '#^Parameter \#2 \$query of function remove_query_arg expects string\|false, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Features/FeaturesController.php
+
+ -
+ message: '#^Parameter \#3 \$autoload of function update_option expects bool\|null, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Features/FeaturesController.php
+
+ -
+ message: '#^Part \$feature_id \(mixed\) of encapsed string cannot be cast to string\.$#'
+ identifier: encapsedStringPart.nonString
+ count: 1
+ path: src/Internal/Features/FeaturesController.php
+
+ -
+ message: '#^Possibly invalid array key type mixed\.$#'
+ identifier: offsetAccess.invalidOffset
+ count: 2
+ path: src/Internal/Features/FeaturesController.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Internal\\Features\\FeaturesController\:\:\$force_allow_enabling_plugins is never read, only written\.$#'
+ identifier: property.onlyWritten
+ count: 1
+ path: src/Internal/Features/FeaturesController.php
+
+ -
+ message: '#^Ternary operator condition is always true\.$#'
+ identifier: ternary.alwaysTrue
+ count: 2
+ path: src/Internal/Features/FeaturesController.php
+
+ -
+ message: '#^Unreachable statement \- code above always terminates\.$#'
+ identifier: deadCode.unreachable
+ count: 1
+ path: src/Internal/Features/FeaturesController.php
+
+ -
+ message: '#^ Parameter \#2 \$root_template of class Automattic\\WooCommerce\\Internal\\Features\\ProductBlockEditor\\ProductTemplates\\Group constructor is passed by reference, so it expects variables only$#'
+ identifier: argument.byRef
+ count: 1
+ path: src/Internal/Features/ProductBlockEditor/ProductTemplates/AbstractProductFormTemplate.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Features\\ProductBlockEditor\\ProductTemplates\\AbstractProductFormTemplate\:\:add_group\(\) should return Automattic\\WooCommerce\\Admin\\Features\\ProductBlockEditor\\ProductTemplates\\GroupInterface but returns Automattic\\WooCommerce\\Admin\\BlockTemplates\\BlockInterface\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/Features/ProductBlockEditor/ProductTemplates/AbstractProductFormTemplate.php
+
+ -
+ message: '#^ Parameter \#2 \$root_template of class Automattic\\WooCommerce\\Internal\\Features\\ProductBlockEditor\\ProductTemplates\\Section constructor is passed by reference, so it expects variables only$#'
+ identifier: argument.byRef
+ count: 1
+ path: src/Internal/Features/ProductBlockEditor/ProductTemplates/Group.php
+
+ -
+ message: '#^Call to an undefined method Automattic\\WooCommerce\\Admin\\BlockTemplates\\BlockTemplateInterface\:\:cache_block\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Internal/Features/ProductBlockEditor/ProductTemplates/Group.php
+
+ -
+ message: '#^Call to an undefined method Automattic\\WooCommerce\\Admin\\BlockTemplates\\BlockTemplateInterface\:\:uncache_block\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Internal/Features/ProductBlockEditor/ProductTemplates/Group.php
+
+ -
+ message: '#^Call to an undefined method Automattic\\WooCommerce\\Admin\\BlockTemplates\\ContainerInterface\:\:remove_inner_block\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Internal/Features/ProductBlockEditor/ProductTemplates/Group.php
+
+ -
+ message: '#^Call to function method_exists\(\) with \$this\(Automattic\\WooCommerce\\Internal\\Features\\ProductBlockEditor\\ProductTemplates\\Group\) and ''is_detached'' will always evaluate to true\.$#'
+ identifier: function.alreadyNarrowedType
+ count: 1
+ path: src/Internal/Features/ProductBlockEditor/ProductTemplates/Group.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Features\\ProductBlockEditor\\ProductTemplates\\Group\:\:add_section\(\) should return Automattic\\WooCommerce\\Admin\\Features\\ProductBlockEditor\\ProductTemplates\\SectionInterface but returns Automattic\\WooCommerce\\Admin\\BlockTemplates\\BlockInterface\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/Features/ProductBlockEditor/ProductTemplates/Group.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Features\\ProductBlockEditor\\ProductTemplates\\Group\:\:do_after_add_block_action\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Features/ProductBlockEditor/ProductTemplates/Group.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Features\\ProductBlockEditor\\ProductTemplates\\Group\:\:do_after_add_block_error_action\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Features/ProductBlockEditor/ProductTemplates/Group.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Features\\ProductBlockEditor\\ProductTemplates\\Group\:\:do_after_add_specific_block_action\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Features/ProductBlockEditor/ProductTemplates/Group.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Features\\ProductBlockEditor\\ProductTemplates\\Group\:\:do_after_remove_block_action\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Features/ProductBlockEditor/ProductTemplates/Group.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Features\\ProductBlockEditor\\ProductTemplates\\Group\:\:do_after_remove_block_error_action\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Features/ProductBlockEditor/ProductTemplates/Group.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Features\\ProductBlockEditor\\ProductTemplates\\Group\:\:do_after_remove_specific_block_action\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Features/ProductBlockEditor/ProductTemplates/Group.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Features\\ProductBlockEditor\\ProductTemplates\\Group\:\:remove_block\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Features/ProductBlockEditor/ProductTemplates/Group.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Features\\ProductBlockEditor\\ProductTemplates\\Group\:\:remove_blocks\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Features/ProductBlockEditor/ProductTemplates/Group.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Features\\ProductBlockEditor\\ProductTemplates\\Group\:\:remove_inner_block\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Features/ProductBlockEditor/ProductTemplates/Group.php
+
+ -
+ message: '#^ Parameter \#2 \$root_template of class Automattic\\WooCommerce\\Internal\\Features\\ProductBlockEditor\\ProductTemplates\\ProductBlock constructor is passed by reference, so it expects variables only$#'
+ identifier: argument.byRef
+ count: 1
+ path: src/Internal/Features/ProductBlockEditor/ProductTemplates/ProductBlock.php
+
+ -
+ message: '#^Call to an undefined method Automattic\\WooCommerce\\Admin\\BlockTemplates\\BlockTemplateInterface\:\:cache_block\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Internal/Features/ProductBlockEditor/ProductTemplates/ProductBlock.php
+
+ -
+ message: '#^Call to an undefined method Automattic\\WooCommerce\\Admin\\BlockTemplates\\BlockTemplateInterface\:\:uncache_block\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Internal/Features/ProductBlockEditor/ProductTemplates/ProductBlock.php
+
+ -
+ message: '#^Call to an undefined method Automattic\\WooCommerce\\Admin\\BlockTemplates\\ContainerInterface\:\:remove_inner_block\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Internal/Features/ProductBlockEditor/ProductTemplates/ProductBlock.php
+
+ -
+ message: '#^Call to function method_exists\(\) with \$this\(Automattic\\WooCommerce\\Internal\\Features\\ProductBlockEditor\\ProductTemplates\\ProductBlock\) and ''is_detached'' will always evaluate to true\.$#'
+ identifier: function.alreadyNarrowedType
+ count: 1
+ path: src/Internal/Features/ProductBlockEditor/ProductTemplates/ProductBlock.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Features\\ProductBlockEditor\\ProductTemplates\\ProductBlock\:\:do_after_add_block_action\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Features/ProductBlockEditor/ProductTemplates/ProductBlock.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Features\\ProductBlockEditor\\ProductTemplates\\ProductBlock\:\:do_after_add_block_error_action\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Features/ProductBlockEditor/ProductTemplates/ProductBlock.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Features\\ProductBlockEditor\\ProductTemplates\\ProductBlock\:\:do_after_add_specific_block_action\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Features/ProductBlockEditor/ProductTemplates/ProductBlock.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Features\\ProductBlockEditor\\ProductTemplates\\ProductBlock\:\:do_after_remove_block_action\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Features/ProductBlockEditor/ProductTemplates/ProductBlock.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Features\\ProductBlockEditor\\ProductTemplates\\ProductBlock\:\:do_after_remove_block_error_action\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Features/ProductBlockEditor/ProductTemplates/ProductBlock.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Features\\ProductBlockEditor\\ProductTemplates\\ProductBlock\:\:do_after_remove_specific_block_action\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Features/ProductBlockEditor/ProductTemplates/ProductBlock.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Features\\ProductBlockEditor\\ProductTemplates\\ProductBlock\:\:remove_block\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Features/ProductBlockEditor/ProductTemplates/ProductBlock.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Features\\ProductBlockEditor\\ProductTemplates\\ProductBlock\:\:remove_blocks\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Features/ProductBlockEditor/ProductTemplates/ProductBlock.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Features\\ProductBlockEditor\\ProductTemplates\\ProductBlock\:\:remove_inner_block\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Features/ProductBlockEditor/ProductTemplates/ProductBlock.php
+
+ -
+ message: '#^Call to an undefined method Automattic\\WooCommerce\\Admin\\BlockTemplates\\BlockInterface\:\:add_block\(\)\.$#'
+ identifier: method.notFound
+ count: 4
+ path: src/Internal/Features/ProductBlockEditor/ProductTemplates/ProductVariationTemplate.php
+
+ -
+ message: '#^Cannot call method add_block\(\) on Automattic\\WooCommerce\\Admin\\Features\\ProductBlockEditor\\ProductTemplates\\GroupInterface\|null\.$#'
+ identifier: method.nonObject
+ count: 3
+ path: src/Internal/Features/ProductBlockEditor/ProductTemplates/ProductVariationTemplate.php
+
+ -
+ message: '#^Cannot call method add_section\(\) on Automattic\\WooCommerce\\Admin\\Features\\ProductBlockEditor\\ProductTemplates\\GroupInterface\|null\.$#'
+ identifier: method.nonObject
+ count: 5
+ path: src/Internal/Features/ProductBlockEditor/ProductTemplates/ProductVariationTemplate.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Features\\ProductBlockEditor\\ProductTemplates\\ProductVariationTemplate\:\:add_downloadable_product_blocks\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Features/ProductBlockEditor/ProductTemplates/ProductVariationTemplate.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Features\\ProductBlockEditor\\ProductTemplates\\ProductVariationTemplate\:\:add_general_group_blocks\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Features/ProductBlockEditor/ProductTemplates/ProductVariationTemplate.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Features\\ProductBlockEditor\\ProductTemplates\\ProductVariationTemplate\:\:add_group_blocks\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Features/ProductBlockEditor/ProductTemplates/ProductVariationTemplate.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Features\\ProductBlockEditor\\ProductTemplates\\ProductVariationTemplate\:\:add_inventory_group_blocks\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Features/ProductBlockEditor/ProductTemplates/ProductVariationTemplate.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Features\\ProductBlockEditor\\ProductTemplates\\ProductVariationTemplate\:\:add_shipping_group_blocks\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Features/ProductBlockEditor/ProductTemplates/ProductVariationTemplate.php
+
+ -
+ message: '#^Parameter \#1 \$parent_block of method Automattic\\WooCommerce\\Internal\\Features\\ProductBlockEditor\\ProductTemplates\\ProductVariationTemplate\:\:add_downloadable_product_blocks\(\) expects Automattic\\WooCommerce\\Admin\\Features\\ProductBlockEditor\\ProductTemplates\\GroupInterface, Automattic\\WooCommerce\\Admin\\Features\\ProductBlockEditor\\ProductTemplates\\GroupInterface\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Features/ProductBlockEditor/ProductTemplates/ProductVariationTemplate.php
+
+ -
+ message: '#^ Parameter \#2 \$root_template of class Automattic\\WooCommerce\\Internal\\Features\\ProductBlockEditor\\ProductTemplates\\Subsection constructor is passed by reference, so it expects variables only$#'
+ identifier: argument.byRef
+ count: 1
+ path: src/Internal/Features/ProductBlockEditor/ProductTemplates/Section.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Features\\ProductBlockEditor\\ProductTemplates\\Section\:\:add_subsection\(\) should return Automattic\\WooCommerce\\Admin\\Features\\ProductBlockEditor\\ProductTemplates\\SubsectionInterface but returns Automattic\\WooCommerce\\Admin\\BlockTemplates\\BlockInterface\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/Features/ProductBlockEditor/ProductTemplates/Section.php
+
+ -
+ message: '#^Call to an undefined method Automattic\\WooCommerce\\Admin\\BlockTemplates\\BlockInterface\:\:add_block\(\)\.$#'
+ identifier: method.notFound
+ count: 10
+ path: src/Internal/Features/ProductBlockEditor/ProductTemplates/SimpleProductTemplate.php
+
+ -
+ message: '#^Cannot call method add_block\(\) on Automattic\\WooCommerce\\Admin\\Features\\ProductBlockEditor\\ProductTemplates\\GroupInterface\|null\.$#'
+ identifier: method.nonObject
+ count: 3
+ path: src/Internal/Features/ProductBlockEditor/ProductTemplates/SimpleProductTemplate.php
+
+ -
+ message: '#^Cannot call method add_section\(\) on Automattic\\WooCommerce\\Admin\\Features\\ProductBlockEditor\\ProductTemplates\\GroupInterface\|null\.$#'
+ identifier: method.nonObject
+ count: 11
+ path: src/Internal/Features/ProductBlockEditor/ProductTemplates/SimpleProductTemplate.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Features\\ProductBlockEditor\\ProductTemplates\\SimpleProductTemplate\:\:add_downloadable_product_blocks\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Features/ProductBlockEditor/ProductTemplates/SimpleProductTemplate.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Features\\ProductBlockEditor\\ProductTemplates\\SimpleProductTemplate\:\:add_general_group_blocks\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Features/ProductBlockEditor/ProductTemplates/SimpleProductTemplate.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Features\\ProductBlockEditor\\ProductTemplates\\SimpleProductTemplate\:\:add_group_blocks\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Features/ProductBlockEditor/ProductTemplates/SimpleProductTemplate.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Features\\ProductBlockEditor\\ProductTemplates\\SimpleProductTemplate\:\:add_inventory_group_blocks\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Features/ProductBlockEditor/ProductTemplates/SimpleProductTemplate.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Features\\ProductBlockEditor\\ProductTemplates\\SimpleProductTemplate\:\:add_linked_products_group_blocks\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Features/ProductBlockEditor/ProductTemplates/SimpleProductTemplate.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Features\\ProductBlockEditor\\ProductTemplates\\SimpleProductTemplate\:\:add_organization_group_blocks\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Features/ProductBlockEditor/ProductTemplates/SimpleProductTemplate.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Features\\ProductBlockEditor\\ProductTemplates\\SimpleProductTemplate\:\:add_shipping_group_blocks\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Features/ProductBlockEditor/ProductTemplates/SimpleProductTemplate.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Features\\ProductBlockEditor\\ProductTemplates\\SimpleProductTemplate\:\:add_variation_group_blocks\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Features/ProductBlockEditor/ProductTemplates/SimpleProductTemplate.php
+
+ -
+ message: '#^Parameter \#1 \$parent_block of method Automattic\\WooCommerce\\Internal\\Features\\ProductBlockEditor\\ProductTemplates\\SimpleProductTemplate\:\:add_downloadable_product_blocks\(\) expects Automattic\\WooCommerce\\Admin\\Features\\ProductBlockEditor\\ProductTemplates\\GroupInterface, Automattic\\WooCommerce\\Admin\\Features\\ProductBlockEditor\\ProductTemplates\\GroupInterface\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Features/ProductBlockEditor/ProductTemplates/SimpleProductTemplate.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Font\\FontFace\:\:download_file\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Font/FontFace.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Font\\FontFace\:\:get_installed_font_faces_by_slug\(\) should return WP_Post\|null but returns int\|WP_Post\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/Font/FontFace.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Font\\FontFace\:\:handle_font_file_upload_error\(\) has invalid return type Automattic\\WooCommerce\\Internal\\Font\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/Font/FontFace.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Font\\FontFace\:\:handle_font_file_upload_error\(\) should return Automattic\\WooCommerce\\Internal\\Font\\WP_Error but returns WP_Error\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/Font/FontFace.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Font\\FontFace\:\:insert_font_face\(\) should return WP_Error\|WP_Post but return statement is missing\.$#'
+ identifier: return.missing
+ count: 1
+ path: src/Internal/Font/FontFace.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Font\\FontFace\:\:validate_font_face\(\) should return WP_Error\|null but return statement is missing\.$#'
+ identifier: return.missing
+ count: 1
+ path: src/Internal/Font/FontFace.php
+
+ -
+ message: '#^Parameter \#1 \$postarr of function wp_insert_post expects array\{ID\?\: int, post_author\?\: int, post_date\?\: string, post_date_gmt\?\: string, post_content\?\: string, post_content_filtered\?\: string, post_title\?\: string, post_excerpt\?\: string, \.\.\.\}, array\{post_type\: ''wp_font_face'', post_parent\: int, post_title\: string, post_name\: string, post_content\: non\-empty\-string\|false, post_status\: ''publish''\} given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Font/FontFace.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Font\\FontFamily\:\:get_font_family_by_name\(\) should return WP_Post\|null but returns int\|WP_Post\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/Font/FontFamily.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Font\\FontFamily\:\:insert_font_family\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Font/FontFamily.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Font\\FontFamily\:\:validate_font_family\(\) should return WP_Error\|null but return statement is missing\.$#'
+ identifier: return.missing
+ count: 1
+ path: src/Internal/Font/FontFamily.php
+
+ -
+ message: '#^Parameter \#1 \$postarr of function wp_insert_post expects array\{ID\?\: int, post_author\?\: int, post_date\?\: string, post_date_gmt\?\: string, post_content\?\: string, post_content_filtered\?\: string, post_title\?\: string, post_excerpt\?\: string, \.\.\.\}, array\{post_type\: ''wp_font_family'', post_title\: mixed, name\: mixed, post_content\: non\-empty\-string\|false, post_status\: ''publish''\} given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Font/FontFamily.php
+
+ -
+ message: '#^Call to function is_object\(\) with ''''\|''0''\|array will always evaluate to false\.$#'
+ identifier: function.impossibleType
+ count: 1
+ path: src/Internal/Fulfillments/Fulfillment.php
+
+ -
+ message: '#^Cannot call method read\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Fulfillments/Fulfillment.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Fulfillments\\Fulfillment\:\:get_date_fulfilled\(\) should return string\|null but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/Fulfillments/Fulfillment.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Fulfillments\\Fulfillment\:\:get_items\(\) should return array but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/Fulfillments/Fulfillment.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Fulfillments\\Fulfillment\:\:get_lock_message\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/Fulfillments/Fulfillment.php
+
+ -
+ message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Fulfillments/Fulfillment.php
+
+ -
+ message: '#^Parameter \#1 \$read of method WC_Data\:\:__construct\(\) expects array\|int\|object, array\|Automattic\\WooCommerce\\Internal\\Fulfillments\\Fulfillment\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Fulfillments/Fulfillment.php
+
+ -
+ message: '#^Parameter \#2 \$value of method WC_Data\:\:update_meta_data\(\) expects array\|string, bool given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Fulfillments/Fulfillment.php
+
+ -
+ message: '#^Property WC_Data\:\:\$data_store \(object\) does not accept mixed\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/Internal/Fulfillments/Fulfillment.php
+
+ -
+ message: '#^Binary operation "\*" between string and 1\|3\|7 results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: src/Internal/Fulfillments/FulfillmentUtils.php
+
+ -
+ message: '#^Call to function is_array\(\) with array will always evaluate to true\.$#'
+ identifier: function.alreadyNarrowedType
+ count: 1
+ path: src/Internal/Fulfillments/FulfillmentUtils.php
+
+ -
+ message: '#^Cannot access offset int on array\|false\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/Fulfillments/FulfillmentUtils.php
+
+ -
+ message: '#^Cannot call method get_icon\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Fulfillments/FulfillmentUtils.php
+
+ -
+ message: '#^Cannot call method get_key\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: src/Internal/Fulfillments/FulfillmentUtils.php
+
+ -
+ message: '#^Cannot call method get_name\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Fulfillments/FulfillmentUtils.php
+
+ -
+ message: '#^Cannot call method get_tracking_url\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Fulfillments/FulfillmentUtils.php
+
+ -
+ message: '#^Instanceof between WC_Order and WC_Order will always evaluate to true\.$#'
+ identifier: instanceof.alwaysTrue
+ count: 2
+ path: src/Internal/Fulfillments/FulfillmentUtils.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Fulfillments\\FulfillmentUtils\:\:get_order_fulfillment_status\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/Fulfillments/FulfillmentUtils.php
+
+ -
+ message: '#^Parameter \#1 \$item_id of method WC_Order\:\:get_qty_refunded_for_item\(\) expects int, WC_Order_Item given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Fulfillments/FulfillmentUtils.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_html expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Internal/Fulfillments/FulfillmentUtils.php
+
+ -
+ message: '#^Parameter \#1 \$url of function esc_url expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Fulfillments/FulfillmentUtils.php
+
+ -
+ message: '#^Cannot call method dbdelta\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Fulfillments/FulfillmentsController.php
+
+ -
+ message: '#^Cannot call method feature_is_enabled\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Fulfillments/FulfillmentsController.php
+
+ -
+ message: '#^Cannot call method get_max_index_length\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Fulfillments/FulfillmentsController.php
+
+ -
+ message: '#^Cannot call method register\(\) on class\-string\|object\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Fulfillments/FulfillmentsController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Fulfillments\\FulfillmentsController\:\:delete_legacy_order_fulfillment_meta\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Fulfillments/FulfillmentsController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Fulfillments\\FulfillmentsController\:\:initialize_fulfillments\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Fulfillments/FulfillmentsController.php
+
+ -
+ message: '#^Parameter \#1 \$object of function method_exists expects object\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Fulfillments/FulfillmentsController.php
+
+ -
+ message: '#^Call to function is_string\(\) with string will always evaluate to true\.$#'
+ identifier: function.alreadyNarrowedType
+ count: 2
+ path: src/Internal/Fulfillments/FulfillmentsManager.php
+
+ -
+ message: '#^Cannot call method read_fulfillments\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: src/Internal/Fulfillments/FulfillmentsManager.php
+
+ -
+ message: '#^Instanceof between Automattic\\WooCommerce\\Internal\\Fulfillments\\Fulfillment and Automattic\\WooCommerce\\Internal\\Fulfillments\\Fulfillment will always evaluate to true\.$#'
+ identifier: instanceof.alwaysTrue
+ count: 1
+ path: src/Internal/Fulfillments/FulfillmentsManager.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Fulfillments\\FulfillmentsManager\:\:init_fulfillment_status_hooks\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Fulfillments/FulfillmentsManager.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Fulfillments\\FulfillmentsManager\:\:init_refund_hooks\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Fulfillments/FulfillmentsManager.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Fulfillments\\FulfillmentsManager\:\:register\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Fulfillments/FulfillmentsManager.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Fulfillments\\FulfillmentsManager\:\:update_fulfillment_status\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Fulfillments/FulfillmentsManager.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Fulfillments\\FulfillmentsManager\:\:update_order_fulfillment_status_on_fulfillment_update\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Fulfillments/FulfillmentsManager.php
+
+ -
+ message: '#^Parameter \#1 \$tracking_number of method Automattic\\WooCommerce\\Internal\\Fulfillments\\Providers\\AbstractShippingProvider\:\:try_parse_tracking_number\(\) expects string, string\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Fulfillments/FulfillmentsManager.php
+
+ -
+ message: '#^Parameter \#2 \$tracking_number of method Automattic\\WooCommerce\\Internal\\Fulfillments\\FulfillmentsManager\:\:get_best_parsing_result\(\) expects string, string\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Fulfillments/FulfillmentsManager.php
+
+ -
+ message: '#^Cannot call method get_id\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Fulfillments/FulfillmentsRenderer.php
+
+ -
+ message: '#^Cannot call method read_fulfillments\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Fulfillments/FulfillmentsRenderer.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Fulfillments\\FulfillmentsRenderer\:\:filter_legacy_orders_list_query\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Fulfillments/FulfillmentsRenderer.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Fulfillments\\FulfillmentsRenderer\:\:init_admin_hooks\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Fulfillments/FulfillmentsRenderer.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Fulfillments\\FulfillmentsRenderer\:\:load_components\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Fulfillments/FulfillmentsRenderer.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Fulfillments\\FulfillmentsRenderer\:\:register\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Fulfillments/FulfillmentsRenderer.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Fulfillments\\FulfillmentsRenderer\:\:register_fulfillments_assets\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Fulfillments/FulfillmentsRenderer.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Fulfillments\\FulfillmentsRenderer\:\:render_fulfillment_column_row_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Fulfillments/FulfillmentsRenderer.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Fulfillments\\FulfillmentsRenderer\:\:render_fulfillment_column_row_data_legacy\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Fulfillments/FulfillmentsRenderer.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Fulfillments\\FulfillmentsRenderer\:\:render_fulfillment_customer_details\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Fulfillments/FulfillmentsRenderer.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Fulfillments\\FulfillmentsRenderer\:\:render_fulfillment_drawer_slot\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Fulfillments/FulfillmentsRenderer.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Fulfillments\\FulfillmentsRenderer\:\:render_fulfillment_filters\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Fulfillments/FulfillmentsRenderer.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Fulfillments\\FulfillmentsRenderer\:\:render_fulfillment_filters_legacy\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Fulfillments/FulfillmentsRenderer.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Fulfillments\\FulfillmentsRenderer\:\:render_order_details_badges\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Fulfillments/FulfillmentsRenderer.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Fulfillments\\FulfillmentsRenderer\:\:render_order_fulfillment_status_badge\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Fulfillments/FulfillmentsRenderer.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Fulfillments\\FulfillmentsRenderer\:\:render_order_fulfillment_status_column_row_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Fulfillments/FulfillmentsRenderer.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Fulfillments\\FulfillmentsRenderer\:\:render_shipment_provider_column_row_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Fulfillments/FulfillmentsRenderer.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Fulfillments\\FulfillmentsRenderer\:\:render_shipment_tracking_column_row_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Fulfillments/FulfillmentsRenderer.php
+
+ -
+ message: '#^Parameter \#1 \$order of method Automattic\\WooCommerce\\Internal\\Fulfillments\\FulfillmentsRenderer\:\:maybe_read_fulfillments\(\) expects WC_Order, WC_Order\|WC_Order_Refund\|true given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Fulfillments/FulfillmentsRenderer.php
+
+ -
+ message: '#^Parameter \#1 \$order of static method Automattic\\WooCommerce\\Internal\\Fulfillments\\FulfillmentUtils\:\:get_pending_items\(\) expects WC_Order, WC_Order\|WC_Order_Refund\|true given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Fulfillments/FulfillmentsRenderer.php
+
+ -
+ message: '#^Parameter \#1 \$str of function sanitize_text_field expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 3
+ path: src/Internal/Fulfillments/FulfillmentsRenderer.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_attr expects string, int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Fulfillments/FulfillmentsRenderer.php
+
+ -
+ message: '#^Static method Automattic\\WooCommerce\\Internal\\Fulfillments\\FulfillmentUtils\:\:get_order_fulfillment_status_text\(\) invoked with 2 parameters, 1 required\.$#'
+ identifier: arguments.count
+ count: 1
+ path: src/Internal/Fulfillments/FulfillmentsRenderer.php
+
+ -
+ message: '#^Cannot call method read_fulfillments\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Fulfillments/FulfillmentsSettings.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Fulfillments\\FulfillmentsSettings\:\:init_settings_auto_fulfill\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Fulfillments/FulfillmentsSettings.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Fulfillments\\FulfillmentsSettings\:\:register\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Fulfillments/FulfillmentsSettings.php
+
+ -
+ message: '#^Negated boolean expression is always false\.$#'
+ identifier: booleanNot.alwaysFalse
+ count: 2
+ path: src/Internal/Fulfillments/FulfillmentsSettings.php
+
+ -
+ message: '#^Parameter \#2 \$value of method WC_Data\:\:update_meta_data\(\) expects array\|string, true given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Fulfillments/FulfillmentsSettings.php
+
+ -
+ message: '#^Cannot access offset ''id'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/Fulfillments/OrderFulfillmentsRestController.php
+
+ -
+ message: '#^Cannot access offset ''key'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/Fulfillments/OrderFulfillmentsRestController.php
+
+ -
+ message: '#^Cannot access offset ''value'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/Fulfillments/OrderFulfillmentsRestController.php
+
+ -
+ message: '#^Cannot call method get_customer_id\(\) on WC_Order\|WC_Order_Refund\|true\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Fulfillments/OrderFulfillmentsRestController.php
+
+ -
+ message: '#^Cannot call method read_fulfillments\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Fulfillments/OrderFulfillmentsRestController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Fulfillments\\OrderFulfillmentsRestController\:\:check_permission_for_fulfillments\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/Fulfillments/OrderFulfillmentsRestController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Fulfillments\\OrderFulfillmentsRestController\:\:create_fulfillment\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/Fulfillments/OrderFulfillmentsRestController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Fulfillments\\OrderFulfillmentsRestController\:\:delete_fulfillment\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/Fulfillments/OrderFulfillmentsRestController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Fulfillments\\OrderFulfillmentsRestController\:\:delete_fulfillment_meta\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/Fulfillments/OrderFulfillmentsRestController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Fulfillments\\OrderFulfillmentsRestController\:\:get_fulfillment\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/Fulfillments/OrderFulfillmentsRestController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Fulfillments\\OrderFulfillmentsRestController\:\:get_fulfillment_meta\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/Fulfillments/OrderFulfillmentsRestController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Fulfillments\\OrderFulfillmentsRestController\:\:get_fulfillments\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/Fulfillments/OrderFulfillmentsRestController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Fulfillments\\OrderFulfillmentsRestController\:\:get_tracking_number_details\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/Fulfillments/OrderFulfillmentsRestController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Fulfillments\\OrderFulfillmentsRestController\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Fulfillments/OrderFulfillmentsRestController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Fulfillments\\OrderFulfillmentsRestController\:\:update_fulfillment\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/Fulfillments/OrderFulfillmentsRestController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Fulfillments\\OrderFulfillmentsRestController\:\:update_fulfillment_meta\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/Fulfillments/OrderFulfillmentsRestController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Fulfillments\\OrderFulfillmentsRestController\:\:validate_fulfillment\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Fulfillments/OrderFulfillmentsRestController.php
+
+ -
+ message: '#^PHPDoc tag @throws with type WP_Error is not subtype of Throwable$#'
+ identifier: throws.notThrowable
+ count: 1
+ path: src/Internal/Fulfillments/OrderFulfillmentsRestController.php
+
+ -
+ message: '#^Parameter \#1 \$data of class Automattic\\WooCommerce\\Internal\\Fulfillments\\Fulfillment constructor expects array\|Automattic\\WooCommerce\\Internal\\Fulfillments\\Fulfillment\|string, int given\.$#'
+ identifier: argument.type
+ count: 6
+ path: src/Internal/Fulfillments/OrderFulfillmentsRestController.php
+
+ -
+ message: '#^Parameter \#1 \$key of method WC_Data\:\:update_meta_data\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Fulfillments/OrderFulfillmentsRestController.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_attr expects string, int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Fulfillments/OrderFulfillmentsRestController.php
+
+ -
+ message: '#^Parameter \#2 \$value of method WC_Data\:\:update_meta_data\(\) expects array\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Fulfillments/OrderFulfillmentsRestController.php
+
+ -
+ message: '#^Parameter \#3 \$meta_id of method WC_Data\:\:update_meta_data\(\) expects int, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Fulfillments/OrderFulfillmentsRestController.php
+
+ -
+ message: '#^Parameter \#3 \$status of method Automattic\\WooCommerce\\Internal\\Fulfillments\\OrderFulfillmentsRestController\:\:prepare_error_response\(\) expects int, array\<string, int\> given\.$#'
+ identifier: argument.type
+ count: 3
+ path: src/Internal/Fulfillments/OrderFulfillmentsRestController.php
+
+ -
+ message: '#^Parameter \#1 \$str of function strtoupper expects string, string\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Fulfillments/Providers/AmazonLogisticsShippingProvider.php
+
+ -
+ message: '#^Parameter \#1 \$str of function strtoupper expects string, string\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Fulfillments/Providers/AustraliaPostShippingProvider.php
+
+ -
+ message: '#^Parameter \#1 \$str of function strtoupper expects string, string\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Fulfillments/Providers/CanadaPostShippingProvider.php
+
+ -
+ message: '#^Comparison operation "\>" between 60\|70\|75\|80\|85\|88\|90\|92\|95\|98 and 0 is always true\.$#'
+ identifier: greater.alwaysTrue
+ count: 1
+ path: src/Internal/Fulfillments/Providers/DHLShippingProvider.php
+
+ -
+ message: '#^Parameter \#1 \$str of function strtoupper expects string, string\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Fulfillments/Providers/DHLShippingProvider.php
+
+ -
+ message: '#^Offset ''s10'' on array\{classic\: 80, express\: 85, predict\: 85, s10\: 90\}\|array\{classic\: 82, express\: 85, s10\: 90\}\|array\{next_day\: 88, express\: 88, s10\: 90\}\|array\{relais\: 82, predict\: 82, s10\: 90\} on left side of \?\? always exists and is not nullable\.$#'
+ identifier: nullCoalesce.offset
+ count: 1
+ path: src/Internal/Fulfillments/Providers/DPDShippingProvider.php
+
+ -
+ message: '#^Parameter \#1 \$str of function strtoupper expects string, string\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Fulfillments/Providers/DPDShippingProvider.php
+
+ -
+ message: '#^Parameter \#1 \$str of function strtoupper expects string, string\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Fulfillments/Providers/EvriHermesShippingProvider.php
+
+ -
+ message: '#^Parameter \#1 \$str of function strtoupper expects string, string\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Fulfillments/Providers/FedExShippingProvider.php
+
+ -
+ message: '#^Parameter \#1 \$str of function strtoupper expects string, string\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Fulfillments/Providers/RoyalMailShippingProvider.php
+
+ -
+ message: '#^Parameter \#1 \$str of function strtoupper expects string, string\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Fulfillments/Providers/USPSShippingProvider.php
+
+ -
+ message: '#^Parameter \#4 \$ver of function wp_enqueue_script expects bool\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Integrations/WPConsentAPI.php
+
+ -
+ message: '#^Action callback returns array but should not return anything\.$#'
+ identifier: return.void
+ count: 1
+ path: src/Internal/Integrations/WPPostsImporter.php
+
+ -
+ message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
+ count: 1
+ path: src/Internal/Integrations/WPPostsImporter.php
+
+ -
+ message: '#^Binary operation "\." between ''woocommerce…'' and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 2
+ path: src/Internal/Integrations/WPPostsImporter.php
+
+ -
+ message: '#^Cannot access offset ''domain'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 6
+ path: src/Internal/Integrations/WPPostsImporter.php
+
+ -
+ message: '#^Cannot access offset ''post_type'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/Integrations/WPPostsImporter.php
+
+ -
+ message: '#^Cannot access offset ''terms'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/Integrations/WPPostsImporter.php
+
+ -
+ message: '#^Parameter \#1 \$attribute_name of function wc_attribute_taxonomy_slug expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Integrations/WPPostsImporter.php
+
+ -
+ message: '#^Parameter \#1 \$haystack of function strstr expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Integrations/WPPostsImporter.php
+
+ -
+ message: '#^Parameter \#1 \$taxonomy of function register_taxonomy expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Integrations/WPPostsImporter.php
+
+ -
+ message: '#^Parameter \#1 \$taxonomy of function taxonomy_exists expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Integrations/WPPostsImporter.php
+
+ -
+ message: '#^Cannot call method clear\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Logging/OrderLogsDeletionProcessor.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Logging\\OrderLogsDeletionProcessor\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Logging/OrderLogsDeletionProcessor.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Logging\\OrderLogsDeletionProcessor\:\:throw_doing_it_wrong\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Logging/OrderLogsDeletionProcessor.php
+
+ -
+ message: '#^@param string \$default_whitelist does not accept actual type of parameter\: array\{''path'', ''page'', ''step'', ''task'', ''tab'', ''section'', ''status'', ''post_type'', \.\.\.\}\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: src/Internal/Logging/RemoteLogger.php
+
+ -
+ message: '#^Call to an undefined static method Automattic\\WooCommerce\\Internal\\Logging\\SafeGlobalFunctionProxy\:\:get_bloginfo\(\)\.$#'
+ identifier: staticMethod.notFound
+ count: 1
+ path: src/Internal/Logging/RemoteLogger.php
+
+ -
+ message: '#^Call to an undefined static method Automattic\\WooCommerce\\Internal\\Logging\\SafeGlobalFunctionProxy\:\:get_option\(\)\.$#'
+ identifier: staticMethod.notFound
+ count: 1
+ path: src/Internal/Logging/RemoteLogger.php
+
+ -
+ message: '#^Call to an undefined static method Automattic\\WooCommerce\\Internal\\Logging\\SafeGlobalFunctionProxy\:\:get_plugin_updates\(\)\.$#'
+ identifier: staticMethod.notFound
+ count: 1
+ path: src/Internal/Logging/RemoteLogger.php
+
+ -
+ message: '#^Call to an undefined static method Automattic\\WooCommerce\\Internal\\Logging\\SafeGlobalFunctionProxy\:\:get_site_transient\(\)\.$#'
+ identifier: staticMethod.notFound
+ count: 1
+ path: src/Internal/Logging/RemoteLogger.php
+
+ -
+ message: '#^Call to an undefined static method Automattic\\WooCommerce\\Internal\\Logging\\SafeGlobalFunctionProxy\:\:home_url\(\)\.$#'
+ identifier: staticMethod.notFound
+ count: 1
+ path: src/Internal/Logging/RemoteLogger.php
+
+ -
+ message: '#^Call to an undefined static method Automattic\\WooCommerce\\Internal\\Logging\\SafeGlobalFunctionProxy\:\:is_wp_error\(\)\.$#'
+ identifier: staticMethod.notFound
+ count: 1
+ path: src/Internal/Logging/RemoteLogger.php
+
+ -
+ message: '#^Call to an undefined static method Automattic\\WooCommerce\\Internal\\Logging\\SafeGlobalFunctionProxy\:\:set_site_transient\(\)\.$#'
+ identifier: staticMethod.notFound
+ count: 1
+ path: src/Internal/Logging/RemoteLogger.php
+
+ -
+ message: '#^Call to an undefined static method Automattic\\WooCommerce\\Internal\\Logging\\SafeGlobalFunctionProxy\:\:wc_get_logger\(\)\.$#'
+ identifier: staticMethod.notFound
+ count: 5
+ path: src/Internal/Logging/RemoteLogger.php
+
+ -
+ message: '#^Call to an undefined static method Automattic\\WooCommerce\\Internal\\Logging\\SafeGlobalFunctionProxy\:\:wc_print_r\(\)\.$#'
+ identifier: staticMethod.notFound
+ count: 1
+ path: src/Internal/Logging/RemoteLogger.php
+
+ -
+ message: '#^Call to an undefined static method Automattic\\WooCommerce\\Internal\\Logging\\SafeGlobalFunctionProxy\:\:wp_get_environment_type\(\)\.$#'
+ identifier: staticMethod.notFound
+ count: 1
+ path: src/Internal/Logging/RemoteLogger.php
+
+ -
+ message: '#^Call to an undefined static method Automattic\\WooCommerce\\Internal\\Logging\\SafeGlobalFunctionProxy\:\:wp_json_encode\(\)\.$#'
+ identifier: staticMethod.notFound
+ count: 2
+ path: src/Internal/Logging/RemoteLogger.php
+
+ -
+ message: '#^Call to an undefined static method Automattic\\WooCommerce\\Internal\\Logging\\SafeGlobalFunctionProxy\:\:wp_parse_url\(\)\.$#'
+ identifier: staticMethod.notFound
+ count: 2
+ path: src/Internal/Logging/RemoteLogger.php
+
+ -
+ message: '#^Call to an undefined static method Automattic\\WooCommerce\\Internal\\Logging\\SafeGlobalFunctionProxy\:\:wp_safe_remote_post\(\)\.$#'
+ identifier: staticMethod.notFound
+ count: 1
+ path: src/Internal/Logging/RemoteLogger.php
+
+ -
+ message: '#^Call to function method_exists\(\) with ''\\\\Automattic\\\\Jetpack…'' and ''get_constant'' will always evaluate to true\.$#'
+ identifier: function.alreadyNarrowedType
+ count: 1
+ path: src/Internal/Logging/RemoteLogger.php
+
+ -
+ message: '#^Cannot access property \$update on mixed\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: src/Internal/Logging/RemoteLogger.php
+
+ -
+ message: '#^Cannot call method add\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Logging/RemoteLogger.php
+
+ -
+ message: '#^Cannot call method do_server_side_stats\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Logging/RemoteLogger.php
+
+ -
+ message: '#^Constant WC_ABSPATH not found\.$#'
+ identifier: constant.notFound
+ count: 2
+ path: src/Internal/Logging/RemoteLogger.php
+
+ -
+ message: '#^Constant WC_PLUGIN_BASENAME not found\.$#'
+ identifier: constant.notFound
+ count: 1
+ path: src/Internal/Logging/RemoteLogger.php
+
+ -
+ message: '#^Constant WPINC not found\.$#'
+ identifier: constant.notFound
+ count: 3
+ path: src/Internal/Logging/RemoteLogger.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Logging\\RemoteLogger\:\:get_wc_version\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/Logging/RemoteLogger.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Logging\\RemoteLogger\:\:get_wc_version\(\) should return string but returns null\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/Logging/RemoteLogger.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Logging\\RemoteLogger\:\:redact_user_data\(\) should return string but returns string\|null\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/Logging/RemoteLogger.php
+
+ -
+ message: '#^Parameter \#1 \$content of method Automattic\\WooCommerce\\Internal\\Logging\\RemoteLogger\:\:sanitize\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Internal/Logging/RemoteLogger.php
+
+ -
+ message: '#^Parameter \#1 \$encoded_string of function parse_str expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Logging/RemoteLogger.php
+
+ -
+ message: '#^Parameter \#1 \$request_uri of method Automattic\\WooCommerce\\Internal\\Logging\\RemoteLogger\:\:sanitize_request_uri\(\) expects string, string\|false\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Logging/RemoteLogger.php
+
+ -
+ message: '#^Parameter \#1 \$search of function str_replace expects array\<string\>\|string, array\<int, string\|null\> given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Logging/RemoteLogger.php
+
+ -
+ message: '#^Parameter \#2 \$array of function implode expects array\<string\>, array\<array\|string\> given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Logging/RemoteLogger.php
+
+ -
+ message: '#^Parameter \#2 \$haystack of function in_array expects array, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Logging/RemoteLogger.php
+
+ -
+ message: '#^Parameter \#2 \$needle of function strpos expects int\|string, string\|null given\.$#'
+ identifier: argument.type
+ count: 3
+ path: src/Internal/Logging/RemoteLogger.php
+
+ -
+ message: '#^Parameter \#3 \$subject of function preg_replace expects array\<float\|int\|string\>\|string, string\|null given\.$#'
+ identifier: argument.type
+ count: 4
+ path: src/Internal/Logging/RemoteLogger.php
+
+ -
+ message: '#^Constant WC_ABSPATH not found\.$#'
+ identifier: constant.notFound
+ count: 2
+ path: src/Internal/Logging/SafeGlobalFunctionProxy.php
+
+ -
+ message: '#^Constant WPINC not found\.$#'
+ identifier: constant.notFound
+ count: 10
+ path: src/Internal/Logging/SafeGlobalFunctionProxy.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Logging\\SafeGlobalFunctionProxy\:\:log_wrapper_error\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Logging/SafeGlobalFunctionProxy.php
+
+ -
+ message: '#^Parameter \#1 \$function of function call_user_func_array expects callable\(\)\: mixed, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Logging/SafeGlobalFunctionProxy.php
+
+ -
+ message: '#^Call to an undefined method object\:\:create_server\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Internal/MCP/MCPAdapterProvider.php
+
+ -
+ message: '#^Cannot call method get_abilities_ids\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/MCP/MCPAdapterProvider.php
+
+ -
+ message: '#^Parameter \#1 \$str of function sanitize_text_field expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/MCP/MCPAdapterProvider.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\MCP\\Transport\\WooCommerceRestTransport\:\:check_permission\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/MCP/Transport/WooCommerceRestTransport.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\MCP\\Transport\\WooCommerceRestTransport\:\:validate_request\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/MCP/Transport/WooCommerceRestTransport.php
+
+ -
+ message: '#^Parameter \#1 \$request of method Automattic\\WooCommerce\\Internal\\MCP\\Transport\\WooCommerceRestTransport\:\:validate_request\(\) expects WP_REST_Request, WP_REST_Request\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/MCP/Transport/WooCommerceRestTransport.php
+
+ -
+ message: '#^Cannot call method enqueue_processor\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/OrderCouponDataMigrator.php
+
+ -
+ message: '#^Cannot call method is_enqueued\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 3
+ path: src/Internal/OrderCouponDataMigrator.php
+
+ -
+ message: '#^Cannot call method remove_processor\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/OrderCouponDataMigrator.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\OrderCouponDataMigrator\:\:convert_item\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/OrderCouponDataMigrator.php
+
+ -
+ message: '#^Parameter \#1 \$props of method WC_Data\:\:set_props\(\) expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/OrderCouponDataMigrator.php
+
+ -
+ message: '#^Call to an undefined method object\:\:get_id\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Internal/Orders/CouponsController.php
+
+ -
+ message: '#^Cannot call method add_order_note\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Orders/CouponsController.php
+
+ -
+ message: '#^Cannot call method apply_coupon\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Orders/CouponsController.php
+
+ -
+ message: '#^Cannot call method calculate_taxes\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Orders/CouponsController.php
+
+ -
+ message: '#^Cannot call method calculate_totals\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Orders/CouponsController.php
+
+ -
+ message: '#^Cannot call method set_billing_email\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Orders/CouponsController.php
+
+ -
+ message: '#^Cannot call method set_customer_id\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Orders/CouponsController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Orders\\CouponsController\:\:add_coupon_discount\(\) should return object but returns WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/Orders/CouponsController.php
+
+ -
+ message: '#^Parameter \#1 \$message of function wp_die expects string\|WP_Error, int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Orders/CouponsController.php
+
+ -
+ message: '#^Parameter \#1 \$string of function wc_strtoupper expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 4
+ path: src/Internal/Orders/CouponsController.php
+
+ -
+ message: '#^Parameter \#1 \$value of function wc_format_coupon_code expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Orders/CouponsController.php
+
+ -
+ message: '#^Parameter \#1 \$value of static method Automattic\\WooCommerce\\Utilities\\StringUtil\:\:is_null_or_whitespace\(\) expects string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Orders/CouponsController.php
+
+ -
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_product\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Internal/Orders/IppFunctions.php
+
+ -
+ message: '#^Call to an undefined method object\:\:is_type\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Internal/Orders/IppFunctions.php
+
+ -
+ message: '#^Cannot call method add_order_note\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: src/Internal/Orders/OrderActionsRestController.php
+
+ -
+ message: '#^Cannot call method get_billing_email\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 4
+ path: src/Internal/Orders/OrderActionsRestController.php
+
+ -
+ message: '#^Cannot call method get_id\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 7
+ path: src/Internal/Orders/OrderActionsRestController.php
+
+ -
+ message: '#^Instanceof between WC_Email and WC_Email will always evaluate to true\.$#'
+ identifier: instanceof.alwaysTrue
+ count: 1
+ path: src/Internal/Orders/OrderActionsRestController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Orders\\OrderActionsRestController\:\:check_permissions\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/Orders/OrderActionsRestController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Orders\\OrderActionsRestController\:\:get_args_for_order_actions\(\) invoked with 2 parameters, 1 required\.$#'
+ identifier: arguments.count
+ count: 2
+ path: src/Internal/Orders/OrderActionsRestController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Orders\\OrderActionsRestController\:\:get_email_templates\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/Orders/OrderActionsRestController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Orders\\OrderActionsRestController\:\:run\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/Orders/OrderActionsRestController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Orders\\OrderActionsRestController\:\:run\(\) should return WP_Error\|WP_REST_Response but returns WP_Error\|WP_HTTP_Response\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/Orders/OrderActionsRestController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Orders\\OrderActionsRestController\:\:send_email\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/Orders/OrderActionsRestController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Orders\\OrderActionsRestController\:\:send_order_details\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/Orders/OrderActionsRestController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Orders\\OrderActionsRestController\:\:validate_order_id\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/Orders/OrderActionsRestController.php
+
+ -
+ message: '#^Parameter \#1 \$order of method Automattic\\WooCommerce\\Internal\\Orders\\OrderActionsRestController\:\:get_available_email_templates\(\) expects WC_Order, bool\|WC_Order\|WC_Order_Refund given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Internal/Orders/OrderActionsRestController.php
+
+ -
+ message: '#^Parameter \#1 \$order of method Automattic\\WooCommerce\\Internal\\Orders\\OrderActionsRestController\:\:maybe_update_billing_email\(\) expects WC_Order, bool\|WC_Order\|WC_Order_Refund given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Internal/Orders/OrderActionsRestController.php
+
+ -
+ message: '#^Parameter \#1 \$order of method Automattic\\WooCommerce\\Internal\\Orders\\OrderActionsRestController\:\:order_is_partially_refunded\(\) expects WC_Order, bool\|WC_Order\|WC_Order_Refund given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Orders/OrderActionsRestController.php
+
+ -
+ message: '#^Parameter \#1 \$order of method WC_Emails\:\:customer_invoice\(\) expects int\|WC_Order, bool\|WC_Order\|WC_Order_Refund given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Orders/OrderActionsRestController.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_html expects string, string\|null given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Internal/Orders/OrderActionsRestController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Orders\\OrderAttributionBlocksController\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Orders/OrderAttributionBlocksController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Orders\\OrderAttributionBlocksController\:\:on_init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Orders/OrderAttributionBlocksController.php
+
+ -
+ message: '#^Access to an undefined property WC_Meta_Data\:\:\$key\.$#'
+ identifier: property.notFound
+ count: 2
+ path: src/Internal/Orders/OrderAttributionController.php
+
+ -
+ message: '#^Access to an undefined property WC_Meta_Data\:\:\$value\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/Internal/Orders/OrderAttributionController.php
+
+ -
+ message: '#^Callback expects 2 parameters, \$accepted_args is set to 10\.$#'
+ identifier: arguments.count
+ count: 1
+ path: src/Internal/Orders/OrderAttributionController.php
+
+ -
+ message: '#^Cannot access property \$id on WP_Screen\|null\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: src/Internal/Orders/OrderAttributionController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Orders\\OrderAttributionController\:\:enqueue_scripts_and_styles\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Orders/OrderAttributionController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Orders\\OrderAttributionController\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Orders/OrderAttributionController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Orders\\OrderAttributionController\:\:log\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Orders/OrderAttributionController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Orders\\OrderAttributionController\:\:maybe_set_admin_source\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Orders/OrderAttributionController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Orders\\OrderAttributionController\:\:on_init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Orders/OrderAttributionController.php
+
+ -
+ message: '#^Parameter \#1 \$source_type of method Automattic\\WooCommerce\\Internal\\Orders\\OrderAttributionController\:\:get_origin_label\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Orders/OrderAttributionController.php
+
+ -
+ message: '#^Parameter \#1 \$url of function esc_url_raw expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Orders/OrderAttributionController.php
+
+ -
+ message: '#^Parameter \#2 \$source of method Automattic\\WooCommerce\\Internal\\Orders\\OrderAttributionController\:\:get_origin_label\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Orders/OrderAttributionController.php
+
+ -
+ message: '#^Parameter \#4 \$ver of function wp_enqueue_script expects bool\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 3
+ path: src/Internal/Orders/OrderAttributionController.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Internal\\Orders\\OrderAttributionController\:\:\$logger \(WC_Logger_Interface\) does not accept mixed\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/Internal/Orders/OrderAttributionController.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Internal\\Orders\\OrderAttributionController\:\:\$proxy is never read, only written\.$#'
+ identifier: property.onlyWritten
+ count: 1
+ path: src/Internal/Orders/OrderAttributionController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Orders\\OrderStatusRestController\:\:get_items\(\) has invalid return type Automattic\\WooCommerce\\Internal\\Orders\\WP_REST_Response\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/Orders/OrderStatusRestController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Orders\\OrderStatusRestController\:\:get_items\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/Orders/OrderStatusRestController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Orders\\OrderStatusRestController\:\:get_items\(\) should return Automattic\\WooCommerce\\Internal\\Orders\\WP_REST_Response\|WP_Error but returns WP_REST_Response\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/Orders/OrderStatusRestController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Orders\\OrderStatusRestController\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Orders/OrderStatusRestController.php
+
+ -
+ message: '#^Call to an undefined method WC_Abstract_Order\:\:get_payment_method\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: src/Internal/Orders/PaymentInfo.php
+
+ -
+ message: '#^Parameter \#1 \$str of function base64_encode expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Orders/PaymentInfo.php
+
+ -
+ message: '#^Parameter \#2 \$value of method WC_Data\:\:update_meta_data\(\) expects array\|string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Orders/PaymentInfo.php
+
+ -
+ message: '#^Parameter \#3 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Orders/PaymentInfo.php
+
+ -
+ message: '#^Call to an undefined method WC_Abstract_Order\:\:get_created_via\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Internal/Orders/PointOfSaleOrderUtil.php
+
+ -
+ message: '#^Cannot call method calculate_taxes\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Orders/TaxesController.php
+
+ -
+ message: '#^Cannot call method calculate_totals\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Orders/TaxesController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Orders\\TaxesController\:\:calc_line_taxes\(\) should return object but returns bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/Orders/TaxesController.php
+
+ -
+ message: '#^Parameter \#1 \$message of function wp_die expects string\|WP_Error, int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Orders/TaxesController.php
+
+ -
+ message: '#^Parameter \#1 \$string of function wc_strtoupper expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 4
+ path: src/Internal/Orders/TaxesController.php
+
+ -
+ message: '#^Call to static method colorize\(\) on an unknown class WP_CLI\.$#'
+ identifier: class.notFound
+ count: 4
+ path: src/Internal/ProductAttributesLookup/CLIRunner.php
+
+ -
+ message: '#^Call to static method confirm\(\) on an unknown class WP_CLI\.$#'
+ identifier: class.notFound
+ count: 3
+ path: src/Internal/ProductAttributesLookup/CLIRunner.php
+
+ -
+ message: '#^Call to static method error\(\) on an unknown class WP_CLI\.$#'
+ identifier: class.notFound
+ count: 3
+ path: src/Internal/ProductAttributesLookup/CLIRunner.php
+
+ -
+ message: '#^Call to static method log\(\) on an unknown class WP_CLI\.$#'
+ identifier: class.notFound
+ count: 4
+ path: src/Internal/ProductAttributesLookup/CLIRunner.php
+
+ -
+ message: '#^Call to static method success\(\) on an unknown class WP_CLI\.$#'
+ identifier: class.notFound
+ count: 2
+ path: src/Internal/ProductAttributesLookup/CLIRunner.php
+
+ -
+ message: '#^Call to static method warning\(\) on an unknown class WP_CLI\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/ProductAttributesLookup/CLIRunner.php
+
+ -
+ message: '#^Function WP_CLI\\Utils\\make_progress_bar not found\.$#'
+ identifier: function.notFound
+ count: 1
+ path: src/Internal/ProductAttributesLookup/CLIRunner.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ProductAttributesLookup\\CLIRunner\:\:abort_regeneration\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/ProductAttributesLookup/CLIRunner.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ProductAttributesLookup\\CLIRunner\:\:abort_regeneration_core\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/ProductAttributesLookup/CLIRunner.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ProductAttributesLookup\\CLIRunner\:\:abort_regeneration_core\(\) is unused\.$#'
+ identifier: method.unused
+ count: 1
+ path: src/Internal/ProductAttributesLookup/CLIRunner.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ProductAttributesLookup\\CLIRunner\:\:check_can_use_db_optimization\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/ProductAttributesLookup/CLIRunner.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ProductAttributesLookup\\CLIRunner\:\:cleanup_regeneration_progress\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/ProductAttributesLookup/CLIRunner.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ProductAttributesLookup\\CLIRunner\:\:cleanup_regeneration_progress_core\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/ProductAttributesLookup/CLIRunner.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ProductAttributesLookup\\CLIRunner\:\:cleanup_regeneration_progress_core\(\) is unused\.$#'
+ identifier: method.unused
+ count: 1
+ path: src/Internal/ProductAttributesLookup/CLIRunner.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ProductAttributesLookup\\CLIRunner\:\:disable\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/ProductAttributesLookup/CLIRunner.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ProductAttributesLookup\\CLIRunner\:\:disable_core\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/ProductAttributesLookup/CLIRunner.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ProductAttributesLookup\\CLIRunner\:\:disable_core\(\) is unused\.$#'
+ identifier: method.unused
+ count: 1
+ path: src/Internal/ProductAttributesLookup/CLIRunner.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ProductAttributesLookup\\CLIRunner\:\:enable\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/ProductAttributesLookup/CLIRunner.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ProductAttributesLookup\\CLIRunner\:\:enable_core\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/ProductAttributesLookup/CLIRunner.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ProductAttributesLookup\\CLIRunner\:\:enable_core\(\) is unused\.$#'
+ identifier: method.unused
+ count: 1
+ path: src/Internal/ProductAttributesLookup/CLIRunner.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ProductAttributesLookup\\CLIRunner\:\:error\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/ProductAttributesLookup/CLIRunner.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ProductAttributesLookup\\CLIRunner\:\:info\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/ProductAttributesLookup/CLIRunner.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ProductAttributesLookup\\CLIRunner\:\:info_core\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/ProductAttributesLookup/CLIRunner.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ProductAttributesLookup\\CLIRunner\:\:info_core\(\) is unused\.$#'
+ identifier: method.unused
+ count: 1
+ path: src/Internal/ProductAttributesLookup/CLIRunner.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ProductAttributesLookup\\CLIRunner\:\:initiate_regeneration\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/ProductAttributesLookup/CLIRunner.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ProductAttributesLookup\\CLIRunner\:\:initiate_regeneration_core\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/ProductAttributesLookup/CLIRunner.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ProductAttributesLookup\\CLIRunner\:\:initiate_regeneration_core\(\) is unused\.$#'
+ identifier: method.unused
+ count: 1
+ path: src/Internal/ProductAttributesLookup/CLIRunner.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ProductAttributesLookup\\CLIRunner\:\:log\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/ProductAttributesLookup/CLIRunner.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ProductAttributesLookup\\CLIRunner\:\:regenerate\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/ProductAttributesLookup/CLIRunner.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ProductAttributesLookup\\CLIRunner\:\:regenerate_core\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/ProductAttributesLookup/CLIRunner.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ProductAttributesLookup\\CLIRunner\:\:regenerate_core\(\) is unused\.$#'
+ identifier: method.unused
+ count: 1
+ path: src/Internal/ProductAttributesLookup/CLIRunner.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ProductAttributesLookup\\CLIRunner\:\:regenerate_for_product\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/ProductAttributesLookup/CLIRunner.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ProductAttributesLookup\\CLIRunner\:\:regenerate_for_product_core\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/ProductAttributesLookup/CLIRunner.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ProductAttributesLookup\\CLIRunner\:\:regenerate_for_product_core\(\) is unused\.$#'
+ identifier: method.unused
+ count: 1
+ path: src/Internal/ProductAttributesLookup/CLIRunner.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ProductAttributesLookup\\CLIRunner\:\:resume_regeneration\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/ProductAttributesLookup/CLIRunner.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ProductAttributesLookup\\CLIRunner\:\:resume_regeneration_core\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/ProductAttributesLookup/CLIRunner.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ProductAttributesLookup\\CLIRunner\:\:resume_regeneration_core\(\) is unused\.$#'
+ identifier: method.unused
+ count: 1
+ path: src/Internal/ProductAttributesLookup/CLIRunner.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ProductAttributesLookup\\CLIRunner\:\:success\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/ProductAttributesLookup/CLIRunner.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ProductAttributesLookup\\CLIRunner\:\:warning\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/ProductAttributesLookup/CLIRunner.php
+
+ -
+ message: '#^Parameter \#1 \$function of function call_user_func expects callable\(\)\: mixed, array\{\$this\(Automattic\\WooCommerce\\Internal\\ProductAttributesLookup\\CLIRunner\), string\} given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/ProductAttributesLookup/CLIRunner.php
+
+ -
+ message: '#^Parameter \#1 \$step_size of method Automattic\\WooCommerce\\Internal\\ProductAttributesLookup\\DataRegenerator\:\:do_regeneration_step\(\) expects int\|null, float\|int\<1, max\>\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/ProductAttributesLookup/CLIRunner.php
+
+ -
+ message: '#^Part \$max_product_id_to_process \(mixed\) of encapsed string cannot be cast to string\.$#'
+ identifier: encapsedStringPart.nonString
+ count: 2
+ path: src/Internal/ProductAttributesLookup/CLIRunner.php
+
+ -
+ message: '#^Part \$processed_count \(mixed\) of encapsed string cannot be cast to string\.$#'
+ identifier: encapsedStringPart.nonString
+ count: 1
+ path: src/Internal/ProductAttributesLookup/CLIRunner.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Internal\\ProductAttributesLookup\\CLIRunner\:\:\$data_regenerator \(Automattic\\WooCommerce\\Internal\\ProductAttributesLookup\\DataRegenerator\) does not accept mixed\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/Internal/ProductAttributesLookup/CLIRunner.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Internal\\ProductAttributesLookup\\CLIRunner\:\:\$lookup_data_store \(Automattic\\WooCommerce\\Internal\\ProductAttributesLookup\\LookupDataStore\) does not accept mixed\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/Internal/ProductAttributesLookup/CLIRunner.php
+
+ -
+ message: '#^Access to constant STATUS_PENDING on an unknown class ActionScheduler_Store\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/ProductAttributesLookup/DataRegenerator.php
+
+ -
+ message: '#^Binary operation "\+" between mixed and 1 results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: src/Internal/ProductAttributesLookup/DataRegenerator.php
+
+ -
+ message: '#^Binary operation "\+\=" between mixed and int\<1, max\> results in an error\.$#'
+ identifier: assignOp.invalid
+ count: 1
+ path: src/Internal/ProductAttributesLookup/DataRegenerator.php
+
+ -
+ message: '#^Call to an undefined method object\:\:cancel_all\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Internal/ProductAttributesLookup/DataRegenerator.php
+
+ -
+ message: '#^Call to an undefined method object\:\:schedule_single\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Internal/ProductAttributesLookup/DataRegenerator.php
+
+ -
+ message: '#^Call to an undefined method object\:\:search\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Internal/ProductAttributesLookup/DataRegenerator.php
+
+ -
+ message: '#^Callback expects 1 parameter, \$accepted_args is set to 999\.$#'
+ identifier: arguments.count
+ count: 1
+ path: src/Internal/ProductAttributesLookup/DataRegenerator.php
+
+ -
+ message: '#^Cannot call method create_primary_key\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/ProductAttributesLookup/DataRegenerator.php
+
+ -
+ message: '#^Cannot call method dbdelta\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/ProductAttributesLookup/DataRegenerator.php
+
+ -
+ message: '#^Cannot call method drop_table_index\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/ProductAttributesLookup/DataRegenerator.php
+
+ -
+ message: '#^Cannot call method get_index_columns\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: src/Internal/ProductAttributesLookup/DataRegenerator.php
+
+ -
+ message: '#^Cannot cast mixed to int\.$#'
+ identifier: cast.int
+ count: 1
+ path: src/Internal/ProductAttributesLookup/DataRegenerator.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ProductAttributesLookup\\DataRegenerator\:\:abort_regeneration\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/ProductAttributesLookup/DataRegenerator.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ProductAttributesLookup\\DataRegenerator\:\:cancel_regeneration_scheduled_action\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/ProductAttributesLookup/DataRegenerator.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ProductAttributesLookup\\DataRegenerator\:\:check_can_do_lookup_table_regeneration\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/ProductAttributesLookup/DataRegenerator.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ProductAttributesLookup\\DataRegenerator\:\:delete_all_attributes_lookup_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/ProductAttributesLookup/DataRegenerator.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ProductAttributesLookup\\DataRegenerator\:\:enable_or_disable_lookup_table_usage\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/ProductAttributesLookup/DataRegenerator.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ProductAttributesLookup\\DataRegenerator\:\:enqueue_regeneration_step_run\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/ProductAttributesLookup/DataRegenerator.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ProductAttributesLookup\\DataRegenerator\:\:finalize_regeneration\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/ProductAttributesLookup/DataRegenerator.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ProductAttributesLookup\\DataRegenerator\:\:get_last_existing_product_id\(\) should return int\|null but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/ProductAttributesLookup/DataRegenerator.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ProductAttributesLookup\\DataRegenerator\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/ProductAttributesLookup/DataRegenerator.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ProductAttributesLookup\\DataRegenerator\:\:initiate_regeneration_from_tools_page\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/ProductAttributesLookup/DataRegenerator.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ProductAttributesLookup\\DataRegenerator\:\:resume_regeneration\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/ProductAttributesLookup/DataRegenerator.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ProductAttributesLookup\\DataRegenerator\:\:run_regeneration_step_callback\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/ProductAttributesLookup/DataRegenerator.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ProductAttributesLookup\\DataRegenerator\:\:run_woocommerce_installed_callback\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/ProductAttributesLookup/DataRegenerator.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ProductAttributesLookup\\DataRegenerator\:\:truncate_lookup_table\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/ProductAttributesLookup/DataRegenerator.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ProductAttributesLookup\\DataRegenerator\:\:verify_tool_execution_nonce\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/ProductAttributesLookup/DataRegenerator.php
+
+ -
+ message: '#^Parameter \#1 \$array_arg of function current expects array\|object, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/ProductAttributesLookup/DataRegenerator.php
+
+ -
+ message: '#^Parameter \#1 \$nonce of function wp_verify_nonce expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/ProductAttributesLookup/DataRegenerator.php
+
+ -
+ message: '#^Parameter \#1 \$product of method Automattic\\WooCommerce\\Internal\\ProductAttributesLookup\\LookupDataStore\:\:create_data_for_product\(\) expects Automattic\\WooCommerce\\Internal\\ProductAttributesLookup\\WC_Product\|int, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/ProductAttributesLookup/DataRegenerator.php
+
+ -
+ message: '#^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Internal/ProductAttributesLookup/DataRegenerator.php
+
+ -
+ message: '#^@param Automattic\\WooCommerce\\Internal\\ProductAttributesLookup\\WP_Query \$wp_query does not accept actual type of parameter\: WP_Query\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: src/Internal/ProductAttributesLookup/Filterer.php
+
+ -
+ message: '#^Cannot access offset ''join'' on array\{join\: string, where\: string\}\|false\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: src/Internal/ProductAttributesLookup/Filterer.php
+
+ -
+ message: '#^Cannot access offset ''where'' on array\{join\: string, where\: string\}\|false\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: src/Internal/ProductAttributesLookup/Filterer.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ProductAttributesLookup\\Filterer\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/ProductAttributesLookup/Filterer.php
+
+ -
+ message: '#^Parameter \#1 \$args of function get_terms expects array\{taxonomy\?\: array\<string\>\|string, object_ids\?\: array\<int\>\|int, orderby\?\: string, order\?\: string, hide_empty\?\: bool\|int, include\?\: array\<int\>\|string, exclude\?\: array\<int\>\|string, exclude_tree\?\: array\<int\>\|string, \.\.\.\}, \(int\|string\) given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Internal/ProductAttributesLookup/Filterer.php
+
+ -
+ message: '#^Parameter \#1 \$callback of function array_map expects \(callable\(mixed\)\: mixed\)\|null, ''absint'' given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/ProductAttributesLookup/Filterer.php
+
+ -
+ message: '#^Parameter \#1 \$input_list of function wp_list_pluck expects array, array\<int, WP_Term\>\|WP_Error given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Internal/ProductAttributesLookup/Filterer.php
+
+ -
+ message: '#^Parameter \#1 \$term_ids of method Automattic\\WooCommerce\\Internal\\ProductAttributesLookup\\Filterer\:\:get_term_ids_sql\(\) expects array, string given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Internal/ProductAttributesLookup/Filterer.php
+
+ -
+ message: '#^Parameter \#3 \$term_ids of method Automattic\\WooCommerce\\Internal\\ProductAttributesLookup\\Filterer\:\:get_product_counts_query_not_using_lookup_table\(\) expects string, array given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/ProductAttributesLookup/Filterer.php
+
+ -
+ message: '#^Parameter \#4 \$term_ids of method Automattic\\WooCommerce\\Internal\\ProductAttributesLookup\\Filterer\:\:get_product_counts_query_using_lookup_table\(\) expects string, array given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/ProductAttributesLookup/Filterer.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Internal\\ProductAttributesLookup\\Filterer\:\:\$data_store is never read, only written\.$#'
+ identifier: property.onlyWritten
+ count: 1
+ path: src/Internal/ProductAttributesLookup/Filterer.php
+
+ -
+ message: '#^Access to constant STATUS_PENDING on an unknown class ActionScheduler_Store\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/ProductAttributesLookup/LookupDataStore.php
+
+ -
+ message: '#^Binary operation "\+" between mixed and 1 results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: src/Internal/ProductAttributesLookup/LookupDataStore.php
+
+ -
+ message: '#^Call to an undefined method object\:\:schedule_single\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Internal/ProductAttributesLookup/LookupDataStore.php
+
+ -
+ message: '#^Call to an undefined method object\:\:search\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Internal/ProductAttributesLookup/LookupDataStore.php
+
+ -
+ message: '#^Call to method get_id\(\) on an unknown class Automattic\\WooCommerce\\Internal\\ProductAttributesLookup\\WC_Product\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/ProductAttributesLookup/LookupDataStore.php
+
+ -
+ message: '#^Cannot access offset ''value'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/ProductAttributesLookup/LookupDataStore.php
+
+ -
+ message: '#^Cannot call method error\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: src/Internal/ProductAttributesLookup/LookupDataStore.php
+
+ -
+ message: '#^Cannot call method get_id\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 3
+ path: src/Internal/ProductAttributesLookup/LookupDataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ProductAttributesLookup\\LookupDataStore\:\:create_data_for\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/ProductAttributesLookup/LookupDataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ProductAttributesLookup\\LookupDataStore\:\:create_data_for_product\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/ProductAttributesLookup/LookupDataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ProductAttributesLookup\\LookupDataStore\:\:create_data_for_product_cpt\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/ProductAttributesLookup/LookupDataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ProductAttributesLookup\\LookupDataStore\:\:create_data_for_simple_product\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/ProductAttributesLookup/LookupDataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ProductAttributesLookup\\LookupDataStore\:\:create_data_for_variable_product\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/ProductAttributesLookup/LookupDataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ProductAttributesLookup\\LookupDataStore\:\:create_data_for_variation\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/ProductAttributesLookup/LookupDataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ProductAttributesLookup\\LookupDataStore\:\:delete_data_for\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/ProductAttributesLookup/LookupDataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ProductAttributesLookup\\LookupDataStore\:\:init_hooks\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/ProductAttributesLookup/LookupDataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ProductAttributesLookup\\LookupDataStore\:\:insert_lookup_table_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/ProductAttributesLookup/LookupDataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ProductAttributesLookup\\LookupDataStore\:\:insert_lookup_table_data_for_variation\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/ProductAttributesLookup/LookupDataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ProductAttributesLookup\\LookupDataStore\:\:maybe_schedule_update\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/ProductAttributesLookup/LookupDataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ProductAttributesLookup\\LookupDataStore\:\:on_product_changed\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/ProductAttributesLookup/LookupDataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ProductAttributesLookup\\LookupDataStore\:\:on_product_created_or_updated_via_rest_api\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/ProductAttributesLookup/LookupDataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ProductAttributesLookup\\LookupDataStore\:\:on_product_deleted\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/ProductAttributesLookup/LookupDataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ProductAttributesLookup\\LookupDataStore\:\:run_update_callback\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/ProductAttributesLookup/LookupDataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ProductAttributesLookup\\LookupDataStore\:\:set_regeneration_aborted_flag\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/ProductAttributesLookup/LookupDataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ProductAttributesLookup\\LookupDataStore\:\:set_regeneration_in_progress_flag\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/ProductAttributesLookup/LookupDataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ProductAttributesLookup\\LookupDataStore\:\:unset_regeneration_aborted_flag\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/ProductAttributesLookup/LookupDataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ProductAttributesLookup\\LookupDataStore\:\:unset_regeneration_in_progress_flag\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/ProductAttributesLookup/LookupDataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ProductAttributesLookup\\LookupDataStore\:\:update_stock_status_for\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/ProductAttributesLookup/LookupDataStore.php
+
+ -
+ message: '#^Parameter \#1 \$code of class WC_Data_Exception constructor expects string, int given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Internal/ProductAttributesLookup/LookupDataStore.php
+
+ -
+ message: '#^Parameter \#1 \$input of function array_filter expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/ProductAttributesLookup/LookupDataStore.php
+
+ -
+ message: '#^Parameter \#1 \$input of function array_flip expects array\<int\|string\>, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/ProductAttributesLookup/LookupDataStore.php
+
+ -
+ message: '#^Parameter \#1 \$object_or_string of function is_a expects object, Automattic\\WooCommerce\\Internal\\ProductAttributesLookup\\WC_Product\|int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/ProductAttributesLookup/LookupDataStore.php
+
+ -
+ message: '#^Parameter \#1 \$object_or_string of function is_a expects object, int\|WC_Product given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Internal/ProductAttributesLookup/LookupDataStore.php
+
+ -
+ message: '#^Parameter \#1 \$product of method Automattic\\WooCommerce\\Internal\\ProductAttributesLookup\\LookupDataStore\:\:create_data_for\(\) expects WC_Product, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Internal/ProductAttributesLookup/LookupDataStore.php
+
+ -
+ message: '#^Parameter \#1 \$product of method Automattic\\WooCommerce\\Internal\\ProductAttributesLookup\\LookupDataStore\:\:create_data_for_variable_product\(\) expects WC_Product_Variable, WC_Product given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/ProductAttributesLookup/LookupDataStore.php
+
+ -
+ message: '#^Parameter \#1 \$product of method Automattic\\WooCommerce\\Internal\\ProductAttributesLookup\\LookupDataStore\:\:get_attribute_taxonomies\(\) expects WC_Product, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/ProductAttributesLookup/LookupDataStore.php
+
+ -
+ message: '#^Parameter \#1 \$product of method Automattic\\WooCommerce\\Internal\\ProductAttributesLookup\\LookupDataStore\:\:update_stock_status_for\(\) expects WC_Product, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/ProductAttributesLookup/LookupDataStore.php
+
+ -
+ message: '#^Parameter \#1 \$string of static method Automattic\\WooCommerce\\Utilities\\StringUtil\:\:starts_with\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/ProductAttributesLookup/LookupDataStore.php
+
+ -
+ message: '#^Parameter \#1 \$var of function intval expects array\|bool\|float\|int\|resource\|string\|null, Automattic\\WooCommerce\\Internal\\ProductAttributesLookup\\WC_Product\|int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/ProductAttributesLookup/LookupDataStore.php
+
+ -
+ message: '#^Parameter \#1 \$variation of method Automattic\\WooCommerce\\Internal\\ProductAttributesLookup\\LookupDataStore\:\:create_data_for_variation\(\) expects WC_Product_Variation, WC_Product given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/ProductAttributesLookup/LookupDataStore.php
+
+ -
+ message: '#^Parameter \$product of method Automattic\\WooCommerce\\Internal\\ProductAttributesLookup\\LookupDataStore\:\:create_data_for_product\(\) has invalid type Automattic\\WooCommerce\\Internal\\ProductAttributesLookup\\WC_Product\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/ProductAttributesLookup/LookupDataStore.php
+
+ -
+ message: '#^Part \$attribute_name \(array\|string\) of encapsed string cannot be cast to string\.$#'
+ identifier: encapsedStringPart.nonString
+ count: 1
+ path: src/Internal/ProductAttributesLookup/LookupDataStore.php
+
+ -
+ message: '#^Cannot call method get_progress\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/ProductDownloads/ApprovedDirectories/Admin/SyncUI.php
+
+ -
+ message: '#^Cannot call method in_progress\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/ProductDownloads/ApprovedDirectories/Admin/SyncUI.php
+
+ -
+ message: '#^Cannot call method start\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/ProductDownloads/ApprovedDirectories/Admin/SyncUI.php
+
+ -
+ message: '#^Cannot call method stop\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/ProductDownloads/ApprovedDirectories/Admin/SyncUI.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ProductDownloads\\ApprovedDirectories\\Admin\\SyncUI\:\:cancel_sync\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/ProductDownloads/ApprovedDirectories/Admin/SyncUI.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ProductDownloads\\ApprovedDirectories\\Admin\\SyncUI\:\:clear_existing_entries\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/ProductDownloads/ApprovedDirectories/Admin/SyncUI.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ProductDownloads\\ApprovedDirectories\\Admin\\SyncUI\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/ProductDownloads/ApprovedDirectories/Admin/SyncUI.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ProductDownloads\\ApprovedDirectories\\Admin\\SyncUI\:\:init_hooks\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/ProductDownloads/ApprovedDirectories/Admin/SyncUI.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ProductDownloads\\ApprovedDirectories\\Admin\\SyncUI\:\:security_check\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/ProductDownloads/ApprovedDirectories/Admin/SyncUI.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ProductDownloads\\ApprovedDirectories\\Admin\\SyncUI\:\:trigger_sync\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/ProductDownloads/ApprovedDirectories/Admin/SyncUI.php
+
+ -
+ message: '#^Cannot call method count\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 4
+ path: src/Internal/ProductDownloads/ApprovedDirectories/Admin/Table.php
+
+ -
+ message: '#^Cannot call method list\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/ProductDownloads/ApprovedDirectories/Admin/Table.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ProductDownloads\\ApprovedDirectories\\Admin\\Table\:\:display_tablenav\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/ProductDownloads/ApprovedDirectories/Admin/Table.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ProductDownloads\\ApprovedDirectories\\Admin\\Table\:\:items_per_page\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/ProductDownloads/ApprovedDirectories/Admin/Table.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ProductDownloads\\ApprovedDirectories\\Admin\\Table\:\:no_items\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/ProductDownloads/ApprovedDirectories/Admin/Table.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ProductDownloads\\ApprovedDirectories\\Admin\\Table\:\:prepare_items\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/ProductDownloads/ApprovedDirectories/Admin/Table.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ProductDownloads\\ApprovedDirectories\\Admin\\Table\:\:render_views\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/ProductDownloads/ApprovedDirectories/Admin/Table.php
+
+ -
+ message: '#^Parameter \#1 \$str of function sanitize_text_field expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Internal/ProductDownloads/ApprovedDirectories/Admin/Table.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_attr expects string, int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/ProductDownloads/ApprovedDirectories/Admin/Table.php
+
+ -
+ message: '#^Parameter \#1 \$which of method WP_List_Table\:\:bulk_actions\(\) expects ''bottom''\|''top'', string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/ProductDownloads/ApprovedDirectories/Admin/Table.php
+
+ -
+ message: '#^Parameter \#1 \$which of method WP_List_Table\:\:pagination\(\) expects ''bottom''\|''top'', string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/ProductDownloads/ApprovedDirectories/Admin/Table.php
+
+ -
+ message: '#^Cannot call method delete_by_id\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/ProductDownloads/ApprovedDirectories/Admin/UI.php
+
+ -
+ message: '#^Cannot call method disable_all\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/ProductDownloads/ApprovedDirectories/Admin/UI.php
+
+ -
+ message: '#^Cannot call method disable_by_id\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/ProductDownloads/ApprovedDirectories/Admin/UI.php
+
+ -
+ message: '#^Cannot call method enable_all\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/ProductDownloads/ApprovedDirectories/Admin/UI.php
+
+ -
+ message: '#^Cannot call method enable_by_id\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/ProductDownloads/ApprovedDirectories/Admin/UI.php
+
+ -
+ message: '#^Cannot cast mixed to int\.$#'
+ identifier: cast.int
+ count: 4
+ path: src/Internal/ProductDownloads/ApprovedDirectories/Admin/UI.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ProductDownloads\\ApprovedDirectories\\Admin\\UI\:\:admin_notices\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/ProductDownloads/ApprovedDirectories/Admin/UI.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ProductDownloads\\ApprovedDirectories\\Admin\\UI\:\:display_title\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/ProductDownloads/ApprovedDirectories/Admin/UI.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ProductDownloads\\ApprovedDirectories\\Admin\\UI\:\:edit_screen\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/ProductDownloads/ApprovedDirectories/Admin/UI.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ProductDownloads\\ApprovedDirectories\\Admin\\UI\:\:handle_search\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/ProductDownloads/ApprovedDirectories/Admin/UI.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ProductDownloads\\ApprovedDirectories\\Admin\\UI\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/ProductDownloads/ApprovedDirectories/Admin/UI.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ProductDownloads\\ApprovedDirectories\\Admin\\UI\:\:init_hooks\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/ProductDownloads/ApprovedDirectories/Admin/UI.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ProductDownloads\\ApprovedDirectories\\Admin\\UI\:\:process_actions\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/ProductDownloads/ApprovedDirectories/Admin/UI.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ProductDownloads\\ApprovedDirectories\\Admin\\UI\:\:process_all_actions\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/ProductDownloads/ApprovedDirectories/Admin/UI.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ProductDownloads\\ApprovedDirectories\\Admin\\UI\:\:process_bulk_actions\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/ProductDownloads/ApprovedDirectories/Admin/UI.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ProductDownloads\\ApprovedDirectories\\Admin\\UI\:\:process_edits\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/ProductDownloads/ApprovedDirectories/Admin/UI.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ProductDownloads\\ApprovedDirectories\\Admin\\UI\:\:process_on_off\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/ProductDownloads/ApprovedDirectories/Admin/UI.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ProductDownloads\\ApprovedDirectories\\Admin\\UI\:\:render\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/ProductDownloads/ApprovedDirectories/Admin/UI.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ProductDownloads\\ApprovedDirectories\\Admin\\UI\:\:security_check\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/ProductDownloads/ApprovedDirectories/Admin/UI.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ProductDownloads\\ApprovedDirectories\\Admin\\UI\:\:setup\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/ProductDownloads/ApprovedDirectories/Admin/UI.php
+
+ -
+ message: '#^Parameter \#1 \$callback of function array_map expects \(callable\(mixed\)\: mixed\)\|null, ''absint'' given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/ProductDownloads/ApprovedDirectories/Admin/UI.php
+
+ -
+ message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/ProductDownloads/ApprovedDirectories/Admin/UI.php
+
+ -
+ message: '#^Parameter \#1 \$str of function sanitize_text_field expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 8
+ path: src/Internal/ProductDownloads/ApprovedDirectories/Admin/UI.php
+
+ -
+ message: '#^Parameter \#1 \$url of function esc_url_raw expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/ProductDownloads/ApprovedDirectories/Admin/UI.php
+
+ -
+ message: '#^Cannot call method init_hooks\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 3
+ path: src/Internal/ProductDownloads/ApprovedDirectories/Register.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ProductDownloads\\ApprovedDirectories\\Register\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/ProductDownloads/ApprovedDirectories/Register.php
+
+ -
+ message: '#^Variable \$search in empty\(\) always exists and is not falsy\.$#'
+ identifier: empty.variable
+ count: 1
+ path: src/Internal/ProductDownloads/ApprovedDirectories/Register.php
+
+ -
+ message: '#^Variable \$where in empty\(\) always exists and is not falsy\.$#'
+ identifier: empty.variable
+ count: 1
+ path: src/Internal/ProductDownloads/ApprovedDirectories/Register.php
+
+ -
+ message: '#^Cannot access property \$max_num_pages on array\|stdClass\.$#'
+ identifier: property.nonObject
+ count: 2
+ path: src/Internal/ProductDownloads/ApprovedDirectories/Synchronize.php
+
+ -
+ message: '#^Cannot access property \$products on array\|stdClass\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: src/Internal/ProductDownloads/ApprovedDirectories/Synchronize.php
+
+ -
+ message: '#^Cannot cast mixed to int\.$#'
+ identifier: cast.int
+ count: 3
+ path: src/Internal/ProductDownloads/ApprovedDirectories/Synchronize.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ProductDownloads\\ApprovedDirectories\\Synchronize\:\:add_default_directories\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/ProductDownloads/ApprovedDirectories/Synchronize.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ProductDownloads\\ApprovedDirectories\\Synchronize\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/ProductDownloads/ApprovedDirectories/Synchronize.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ProductDownloads\\ApprovedDirectories\\Synchronize\:\:init_feature\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/ProductDownloads/ApprovedDirectories/Synchronize.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ProductDownloads\\ApprovedDirectories\\Synchronize\:\:init_hooks\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/ProductDownloads/ApprovedDirectories/Synchronize.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ProductDownloads\\ApprovedDirectories\\Synchronize\:\:process_product\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/ProductDownloads/ApprovedDirectories/Synchronize.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ProductDownloads\\ApprovedDirectories\\Synchronize\:\:run\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/ProductDownloads/ApprovedDirectories/Synchronize.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ProductDownloads\\ApprovedDirectories\\Synchronize\:\:stop\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/ProductDownloads/ApprovedDirectories/Synchronize.php
+
+ -
+ message: '#^PHPDoc tag @param has invalid value \(int\)\: Unexpected token "\\n\\t ", expected variable at offset 139 on line 5$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Internal/ProductDownloads/ApprovedDirectories/Synchronize.php
+
+ -
+ message: '#^Parameter \#1 \$url of method Automattic\\WooCommerce\\Internal\\ProductDownloads\\ApprovedDirectories\\Register\:\:add_approved_directory\(\) expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/ProductDownloads/ApprovedDirectories/Synchronize.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Internal\\ProductDownloads\\ApprovedDirectories\\Synchronize\:\:\$queue \(WC_Queue_Interface\) does not accept object\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/Internal/ProductDownloads/ApprovedDirectories/Synchronize.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ProductFilters\\CacheController\:\:clear_filter_data_cache\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/ProductFilters/CacheController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ProductFilters\\CacheController\:\:clear_taxonomy_hierarchy_cache\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/ProductFilters/CacheController.php
+
+ -
+ message: '#^@param array \$results does not accept actual type of parameter\: null\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: src/Internal/ProductFilters/FilterData.php
+
+ -
+ message: '#^Binary operation "\." between non\-falsy\-string and array\|string results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: src/Internal/ProductFilters/FilterData.php
+
+ -
+ message: '#^Cannot access offset ''value'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/ProductFilters/FilterData.php
+
+ -
+ message: '#^Cannot access offset ''version'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/ProductFilters/FilterData.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ProductFilters\\FilterData\:\:get_cache\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/ProductFilters/FilterData.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ProductFilters\\FilterData\:\:get_cached_product_ids\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/ProductFilters/FilterData.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ProductFilters\\FilterData\:\:get_filtered_price\(\) should return object but returns array\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/ProductFilters/FilterData.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ProductFilters\\FilterData\:\:get_filtered_price\(\) should return object but returns array\<mixed, mixed\>\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/ProductFilters/FilterData.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ProductFilters\\FilterData\:\:get_transient_key\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/ProductFilters/FilterData.php
+
+ -
+ message: '#^Parameter \#1 \$str of function md5 expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Internal/ProductFilters/FilterData.php
+
+ -
+ message: '#^Parameter \#2 \$value of method Automattic\\WooCommerce\\Internal\\ProductFilters\\FilterData\:\:set_cache\(\) expects Automattic\\WooCommerce\\Internal\\ProductFilters\\mix, array given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/ProductFilters/FilterData.php
+
+ -
+ message: '#^Parameter \$value of method Automattic\\WooCommerce\\Internal\\ProductFilters\\FilterData\:\:set_cache\(\) has invalid type Automattic\\WooCommerce\\Internal\\ProductFilters\\mix\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/ProductFilters/FilterData.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ProductFilters\\FilterDataProvider\:\:with\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/ProductFilters/FilterDataProvider.php
+
+ -
+ message: '#^Cannot call method get_lookup_table_name\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/ProductFilters/QueryClauses.php
+
+ -
+ message: '#^Parameter \#1 \$args of function get_terms expects array\{taxonomy\?\: array\<string\>\|string, object_ids\?\: array\<int\>\|int, orderby\?\: string, order\?\: string, hide_empty\?\: bool\|int, include\?\: array\<int\>\|string, exclude\?\: array\<int\>\|string, exclude_tree\?\: array\<int\>\|string, \.\.\.\}, array\{taxonomy\: non\-empty\-list\<\(int\|string\)\>, slug\: array\<mixed\>, hide_empty\: false\} given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/ProductFilters/QueryClauses.php
+
+ -
+ message: '#^Parameter \#1 \$arr1 of function array_intersect expects an array of values castable to string, array\<array\|string\> given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/ProductFilters/QueryClauses.php
+
+ -
+ message: '#^Parameter \#1 \$callback of function array_map expects \(callable\(mixed\)\: mixed\)\|null, ''absint'' given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/ProductFilters/QueryClauses.php
+
+ -
+ message: '#^Parameter \#1 \$str of function trim expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Internal/ProductFilters/QueryClauses.php
+
+ -
+ message: '#^Parameter \#2 \$array of function implode expects array\<string\>, array\<array\|string\> given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/ProductFilters/QueryClauses.php
+
+ -
+ message: '#^Parameter \#2 \$str of function explode expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/ProductFilters/QueryClauses.php
+
+ -
+ message: '#^Parameter \#2 \.\.\.\$args of function array_merge expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/ProductFilters/QueryClauses.php
+
+ -
+ message: '#^Variable \$chosen_attributes in empty\(\) always exists and is not falsy\.$#'
+ identifier: empty.variable
+ count: 1
+ path: src/Internal/ProductFilters/QueryClauses.php
+
+ -
+ message: '#^Variable \$stock_statuses in empty\(\) always exists and is not falsy\.$#'
+ identifier: empty.variable
+ count: 1
+ path: src/Internal/ProductFilters/QueryClauses.php
+
+ -
+ message: '#^Variable \$term_ids in empty\(\) always exists and is not falsy\.$#'
+ identifier: empty.variable
+ count: 1
+ path: src/Internal/ProductFilters/QueryClauses.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ProductFilters\\TaxonomyHierarchyData\:\:build_term_tree\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/ProductFilters/TaxonomyHierarchyData.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ProductFilters\\TaxonomyHierarchyData\:\:get_hierarchy_map\(\) should return array but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/ProductFilters/TaxonomyHierarchyData.php
+
+ -
+ message: '#^Parameter \#1 \$data of method Automattic\\WooCommerce\\Internal\\ProductFilters\\TaxonomyHierarchyData\:\:validate_cache\(\) expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/ProductFilters/TaxonomyHierarchyData.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ProductImage\\MatchImageBySKU\:\:init_hooks\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/ProductImage/MatchImageBySKU.php
+
+ -
+ message: '#^Parameter \#1 \$string of function wc_string_to_bool expects bool\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/ProductImage/MatchImageBySKU.php
+
+ -
+ message: '#^Cannot access offset 0 on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/PushNotifications/DataStores/PushTokensDataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\PushNotifications\\DataStores\\PushTokensDataStore\:\:create\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/PushNotifications/DataStores/PushTokensDataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\PushNotifications\\DataStores\\PushTokensDataStore\:\:read\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/PushNotifications/DataStores/PushTokensDataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\PushNotifications\\DataStores\\PushTokensDataStore\:\:update\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/PushNotifications/DataStores/PushTokensDataStore.php
+
+ -
+ message: '#^Parameter \#1 \$post_id of function delete_post_meta expects int, int\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/PushNotifications/DataStores/PushTokensDataStore.php
+
+ -
+ message: '#^Parameter \#1 \$post_id of function get_post_meta expects int, int\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/PushNotifications/DataStores/PushTokensDataStore.php
+
+ -
+ message: '#^Parameter \#1 \$postarr of function wp_insert_post expects array\{ID\?\: int, post_author\?\: int, post_date\?\: string, post_date_gmt\?\: string, post_content\?\: string, post_content_filtered\?\: string, post_title\?\: string, post_excerpt\?\: string, \.\.\.\}, array\{post_author\: int\|null, post_type\: ''push_token'', post_status\: ''private'', meta_input\: array\{platform\: string\|null, token\: string\|null, device_uuid\?\: string, origin\: string\|null\}\} given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/PushNotifications/DataStores/PushTokensDataStore.php
+
+ -
+ message: '#^Parameter \#1 \$postarr of function wp_update_post expects array\{ID\?\: int, post_author\?\: int, post_date\?\: string, post_date_gmt\?\: string, post_content\?\: string, post_content_filtered\?\: string, post_title\?\: string, post_excerpt\?\: string, \.\.\.\}, array\{ID\: int\|null, post_author\: int\|null, post_type\: ''push_token'', post_status\: ''private'', meta_input\: array\{platform\: string\|null, token\: string\|null, device_uuid\?\: string, origin\: string\|null\}\} given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/PushNotifications/DataStores/PushTokensDataStore.php
+
+ -
+ message: '#^Parameter \#2 \$array of function array_map expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/PushNotifications/DataStores/PushTokensDataStore.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\PushNotifications\\Entities\\PushToken\:\:set_device_uuid\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/PushNotifications/Entities/PushToken.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\PushNotifications\\Entities\\PushToken\:\:set_id\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/PushNotifications/Entities/PushToken.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\PushNotifications\\Entities\\PushToken\:\:set_origin\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/PushNotifications/Entities/PushToken.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\PushNotifications\\Entities\\PushToken\:\:set_platform\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/PushNotifications/Entities/PushToken.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\PushNotifications\\Entities\\PushToken\:\:set_token\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/PushNotifications/Entities/PushToken.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\PushNotifications\\Entities\\PushToken\:\:set_user_id\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/PushNotifications/Entities/PushToken.php
+
+ -
+ message: '#^Cannot call method call_function\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/PushNotifications/PushNotifications.php
+
+ -
+ message: '#^Cannot call method get_instance_of\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/PushNotifications/PushNotifications.php
+
+ -
+ message: '#^@param WC_Abstract_Order \$order does not accept actual type of parameter\: WC_Abstract_Order\|true\.$#'
+ identifier: parameter.phpDocType
+ count: 3
+ path: src/Internal/ReceiptRendering/ReceiptRenderingEngine.php
+
+ -
+ message: '#^@param string \$css does not accept actual type of parameter\: string\|false\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: src/Internal/ReceiptRendering/ReceiptRenderingEngine.php
+
+ -
+ message: '#^@param string \$line_item_display_data does not accept actual type of parameter\: array\{inner_html\: non\-falsy\-string, tr_attributes\: array\{\}, row_index\: int\<0, max\>\}\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: src/Internal/ReceiptRendering/ReceiptRenderingEngine.php
+
+ -
+ message: '#^Call to an undefined method WC_Abstract_Order\:\:get_customer_order_notes\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Internal/ReceiptRendering/ReceiptRenderingEngine.php
+
+ -
+ message: '#^Call to an undefined method WC_Abstract_Order\:\:get_payment_method_title\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Internal/ReceiptRendering/ReceiptRenderingEngine.php
+
+ -
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_product\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Internal/ReceiptRendering/ReceiptRenderingEngine.php
+
+ -
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_subtotal\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Internal/ReceiptRendering/ReceiptRenderingEngine.php
+
+ -
+ message: '#^Cannot call method get_meta\(\) on WC_Abstract_Order\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/ReceiptRendering/ReceiptRenderingEngine.php
+
+ -
+ message: '#^Cannot call method get_name\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/ReceiptRendering/ReceiptRenderingEngine.php
+
+ -
+ message: '#^Cannot call method save_meta_data\(\) on WC_Abstract_Order\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/ReceiptRendering/ReceiptRenderingEngine.php
+
+ -
+ message: '#^Cannot call method update_meta_data\(\) on WC_Abstract_Order\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/ReceiptRendering/ReceiptRenderingEngine.php
+
+ -
+ message: '#^Constant Automattic\\WooCommerce\\Internal\\ReceiptRendering\\ReceiptRenderingEngine\:\:KNOWN_CARD_TYPES is unused\.$#'
+ identifier: classConstant.unused
+ count: 1
+ path: src/Internal/ReceiptRendering/ReceiptRenderingEngine.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ReceiptRendering\\ReceiptRenderingEngine\:\:get_existing_receipt\(\) should return string\|null but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/ReceiptRendering/ReceiptRenderingEngine.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ReceiptRendering\\ReceiptRenderingEngine\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/ReceiptRendering/ReceiptRenderingEngine.php
+
+ -
+ message: '#^Offset ''inner_html'' does not exist on string\.$#'
+ identifier: offsetAccess.notFound
+ count: 1
+ path: src/Internal/ReceiptRendering/ReceiptRenderingEngine.php
+
+ -
+ message: '#^Offset ''tr_attributes'' does not exist on string\.$#'
+ identifier: offsetAccess.notFound
+ count: 1
+ path: src/Internal/ReceiptRendering/ReceiptRenderingEngine.php
+
+ -
+ message: '#^PHPDoc tag @throws with type Automattic\\WooCommerce\\Internal\\ReceiptRendering\\InvalidArgumentException\|Exception is not subtype of Throwable$#'
+ identifier: throws.notThrowable
+ count: 1
+ path: src/Internal/ReceiptRendering/ReceiptRenderingEngine.php
+
+ -
+ message: '#^Parameter \#1 \$date of function wc_format_datetime expects WC_DateTime, WC_DateTime\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/ReceiptRendering/ReceiptRenderingEngine.php
+
+ -
+ message: '#^Parameter \#1 \$file_contents of method Automattic\\WooCommerce\\Internal\\TransientFiles\\TransientFilesEngine\:\:create_transient_file\(\) expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/ReceiptRendering/ReceiptRenderingEngine.php
+
+ -
+ message: '#^Parameter \#1 \$filename of method Automattic\\WooCommerce\\Internal\\TransientFiles\\TransientFilesEngine\:\:get_transient_file_path\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/ReceiptRendering/ReceiptRenderingEngine.php
+
+ -
+ message: '#^Parameter \#1 \$order of method Automattic\\WooCommerce\\Internal\\ReceiptRendering\\ReceiptRenderingEngine\:\:get_existing_receipt\(\) expects WC_Abstract_Order, WC_Abstract_Order\|true given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/ReceiptRendering/ReceiptRenderingEngine.php
+
+ -
+ message: '#^Parameter \#1 \$order of method Automattic\\WooCommerce\\Internal\\ReceiptRendering\\ReceiptRenderingEngine\:\:get_order_data\(\) expects WC_Abstract_Order, WC_Abstract_Order\|true given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/ReceiptRendering/ReceiptRenderingEngine.php
+
+ -
+ message: '#^Parameter \#1 \$price of function wc_price expects float, string given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Internal/ReceiptRendering/ReceiptRenderingEngine.php
+
+ -
+ message: '#^Parameter \#2 \$expiration_date of method Automattic\\WooCommerce\\Internal\\TransientFiles\\TransientFilesEngine\:\:create_transient_file\(\) expects int\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/ReceiptRendering/ReceiptRenderingEngine.php
+
+ -
+ message: '#^Cannot call method generate_receipt\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/ReceiptRendering/ReceiptRenderingRestController.php
+
+ -
+ message: '#^Cannot call method get_existing_receipt\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/ReceiptRendering/ReceiptRenderingRestController.php
+
+ -
+ message: '#^Cannot call method get_public_url\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/ReceiptRendering/ReceiptRenderingRestController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ReceiptRendering\\ReceiptRenderingRestController\:\:create_order_receipt\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/ReceiptRendering/ReceiptRenderingRestController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ReceiptRendering\\ReceiptRenderingRestController\:\:get_order_receipt\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/ReceiptRendering/ReceiptRenderingRestController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\ReceiptRendering\\ReceiptRenderingRestController\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/ReceiptRendering/ReceiptRenderingRestController.php
+
+ -
+ message: '#^Parameter \#2 \$timestamp of function gmdate expects int, int\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/ReceiptRendering/ReceiptRenderingRestController.php
+
+ -
+ message: '#^Variable \$data might not be defined\.$#'
+ identifier: variable.undefined
+ count: 10
+ path: src/Internal/ReceiptRendering/Templates/order-receipt-css.php
+
+ -
+ message: '#^Parameter \#1 \(mixed\) of echo cannot be converted to string\.$#'
+ identifier: echo.nonString
+ count: 1
+ path: src/Internal/ReceiptRendering/Templates/order-receipt.php
+
+ -
+ message: '#^Variable \$data might not be defined\.$#'
+ identifier: variable.undefined
+ count: 10
+ path: src/Internal/ReceiptRendering/Templates/order-receipt.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\AbstractCollectionQuery\:\:get_query_args\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/AbstractCollectionQuery.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\AbstractCollectionQuery\:\:get_query_results\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/AbstractCollectionQuery.php
+
+ -
+ message: '#^Expected 2 @param tags, found 1\.$#'
+ identifier: paramTag.count
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/AbstractController.php
+
+ -
+ message: '#^Instanceof between WP_Error and WP_Error will always evaluate to true\.$#'
+ identifier: instanceof.alwaysTrue
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/AbstractController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\AbstractController\:\:get_item_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/AbstractController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\AbstractController\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/AbstractController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\AbstractController\:\:prepare_links\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/AbstractController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\AbstractSchema\:\:get_item_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/AbstractSchema.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:query_customers\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Customers/CollectionQuery.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Customers\\CollectionQuery\:\:get_query_args\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Customers/CollectionQuery.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Customers\\CollectionQuery\:\:get_query_results\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Customers/CollectionQuery.php
+
+ -
+ message: '#^@param Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Customers\\WP_User \$user_data does not accept actual type of parameter\: WP_User\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Customers/Controller.php
+
+ -
+ message: '#^@param Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Customers\\WP_User \$user_data does not accept actual type of parameter\: WP_User\|false\.$#'
+ identifier: parameter.phpDocType
+ count: 2
+ path: src/Internal/RestApi/Routes/V4/Customers/Controller.php
+
+ -
+ message: '#^@param WP_REST_Response \$response does not accept actual type of parameter\: WP_Error\|WP_REST_Response\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Customers/Controller.php
+
+ -
+ message: '#^Call to an undefined method WP_Error\|WP_REST_Response\:\:header\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Customers/Controller.php
+
+ -
+ message: '#^Call to an undefined method WP_Error\|WP_REST_Response\:\:set_status\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Customers/Controller.php
+
+ -
+ message: '#^Cannot assign offset ''password'' to WP_REST_Request\.$#'
+ identifier: offsetAssign.dimType
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Customers/Controller.php
+
+ -
+ message: '#^Cannot assign offset ''username'' to WP_REST_Request\.$#'
+ identifier: offsetAssign.dimType
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Customers/Controller.php
+
+ -
+ message: '#^Left side of && is always true\.$#'
+ identifier: booleanAnd.leftAlwaysTrue
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Customers/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Customers\\Controller\:\:create_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Customers/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Customers\\Controller\:\:create_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Customers/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Customers\\Controller\:\:delete_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Customers/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Customers\\Controller\:\:delete_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Customers/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Customers\\Controller\:\:get_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Customers/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Customers\\Controller\:\:get_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Customers/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Customers\\Controller\:\:get_item_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Customers/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Customers\\Controller\:\:get_items\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Customers/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Customers\\Controller\:\:get_items_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Customers/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Customers\\Controller\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Customers/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Customers\\Controller\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Customers/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Customers\\Controller\:\:update_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Customers/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Customers\\Controller\:\:update_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Customers/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$data_object of method WP_REST_Controller\:\:update_additional_fields_for_object\(\) expects object, WP_User\|false given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Internal/RestApi/Routes/V4/Customers/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$response of method WP_REST_Controller\:\:prepare_response_for_collection\(\) expects WP_REST_Response, WP_Error\|WP_REST_Response given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Customers/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Customers\\CustomerSchema\:\:get_item_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Customers/CustomerSchema.php
+
+ -
+ message: '#^Parameter \#1 \$date of function wc_rest_prepare_date_response expects string\|WC_DateTime\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Internal/RestApi/Routes/V4/Customers/CustomerSchema.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Customers\\UpdateUtils\:\:update_additional_fields_for_object\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Customers/UpdateUtils.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Customers\\UpdateUtils\:\:update_customer_from_request\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Customers/UpdateUtils.php
+
+ -
+ message: '#^Parameter \#1 \$first_name of method WC_Customer\:\:set_first_name\(\) expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Customers/UpdateUtils.php
+
+ -
+ message: '#^Parameter \#1 \$last_name of method WC_Customer\:\:set_last_name\(\) expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Customers/UpdateUtils.php
+
+ -
+ message: '#^Cannot call method get_customer_id\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Fulfillments/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Fulfillments\\Controller\:\:check_permission_for_fulfillments\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Fulfillments/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Fulfillments\\Controller\:\:check_permission_for_providers\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Fulfillments/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Fulfillments\\Controller\:\:create_fulfillment\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Fulfillments/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Fulfillments\\Controller\:\:delete_fulfillment\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Fulfillments/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Fulfillments\\Controller\:\:get_fulfillment\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Fulfillments/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Fulfillments\\Controller\:\:get_fulfillments\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Fulfillments/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Fulfillments\\Controller\:\:get_item_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Fulfillments/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Fulfillments\\Controller\:\:get_providers\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Fulfillments/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Fulfillments\\Controller\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Fulfillments/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Fulfillments\\Controller\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Fulfillments/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Fulfillments\\Controller\:\:update_fulfillment\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Fulfillments/Controller.php
+
+ -
+ message: '#^PHPDoc tag @throws with type WP_Error is not subtype of Throwable$#'
+ identifier: throws.notThrowable
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Fulfillments/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$data of class Automattic\\WooCommerce\\Internal\\Fulfillments\\Fulfillment constructor expects array\|Automattic\\WooCommerce\\Internal\\Fulfillments\\Fulfillment\|string, int given\.$#'
+ identifier: argument.type
+ count: 3
+ path: src/Internal/RestApi/Routes/V4/Fulfillments/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$data of class Automattic\\WooCommerce\\Internal\\Fulfillments\\Fulfillment constructor expects array\|Automattic\\WooCommerce\\Internal\\Fulfillments\\Fulfillment\|string, int\<min, \-1\>\|int\<1, max\> given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Fulfillments/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$fulfillment of method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Fulfillments\\Schema\\FulfillmentSchema\:\:get_item_response\(\) expects Automattic\\WooCommerce\\Internal\\Fulfillments\\Fulfillment, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Fulfillments/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_attr expects string, int given\.$#'
+ identifier: argument.type
+ count: 12
+ path: src/Internal/RestApi/Routes/V4/Fulfillments/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Fulfillments\\Schema\\FulfillmentSchema\:\:get_item_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Fulfillments/Schema/FulfillmentSchema.php
+
+ -
+ message: '#^Function remove_filter invoked with 4 parameters, 2\-3 required\.$#'
+ identifier: arguments.count
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/OrderNotes/CollectionQuery.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\OrderNotes\\CollectionQuery\:\:get_query_args\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/OrderNotes/CollectionQuery.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\OrderNotes\\CollectionQuery\:\:get_query_results\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/OrderNotes/CollectionQuery.php
+
+ -
+ message: '#^@param WP_Comment \$note does not accept actual type of parameter\: WP_Comment\|null\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/OrderNotes/Controller.php
+
+ -
+ message: '#^@param WP_REST_Response \$response does not accept actual type of parameter\: WP_Error\|WP_REST_Response\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/OrderNotes/Controller.php
+
+ -
+ message: '#^Access to an undefined property Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\OrderNotes\\Controller\:\:\$collection_query\.$#'
+ identifier: property.notFound
+ count: 4
+ path: src/Internal/RestApi/Routes/V4/OrderNotes/Controller.php
+
+ -
+ message: '#^Call to an undefined method WP_Error\|WP_REST_Response\:\:header\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/OrderNotes/Controller.php
+
+ -
+ message: '#^Call to an undefined method WP_Error\|WP_REST_Response\:\:set_status\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/OrderNotes/Controller.php
+
+ -
+ message: '#^Cannot access property \$comment_ID on mixed\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/OrderNotes/Controller.php
+
+ -
+ message: '#^Cannot access property \$comment_post_ID on mixed\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/OrderNotes/Controller.php
+
+ -
+ message: '#^Cannot call method get_type\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/OrderNotes/Controller.php
+
+ -
+ message: '#^Cannot cast mixed to int\.$#'
+ identifier: cast.int
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/OrderNotes/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\OrderNotes\\Controller\:\:create_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/OrderNotes/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\OrderNotes\\Controller\:\:create_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/OrderNotes/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\OrderNotes\\Controller\:\:delete_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/OrderNotes/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\OrderNotes\\Controller\:\:delete_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/OrderNotes/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\OrderNotes\\Controller\:\:get_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/OrderNotes/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\OrderNotes\\Controller\:\:get_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/OrderNotes/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\OrderNotes\\Controller\:\:get_item_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/OrderNotes/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\OrderNotes\\Controller\:\:get_items\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/OrderNotes/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\OrderNotes\\Controller\:\:get_items_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/OrderNotes/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\OrderNotes\\Controller\:\:get_order_by_id\(\) should return WC_Order\|null but returns WC_Order\|WC_Order_Refund\|true\|null\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/OrderNotes/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\OrderNotes\\Controller\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/OrderNotes/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\OrderNotes\\Controller\:\:prepare_links\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/OrderNotes/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\OrderNotes\\Controller\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/OrderNotes/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$data_object of method WP_REST_Controller\:\:update_additional_fields_for_object\(\) expects object, WP_Comment\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/OrderNotes/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$note of method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\OrderNotes\\Schema\\OrderNoteSchema\:\:get_item_response\(\) expects Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\OrderNotes\\Schema\\WP_Comment, WP_Comment given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/OrderNotes/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$response of method WP_REST_Controller\:\:prepare_response_for_collection\(\) expects WP_REST_Response, WP_Error\|WP_REST_Response given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/OrderNotes/Controller.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\OrderNotes\\Controller\:\:\$query_utils has unknown class Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\OrderNotes\\QueryUtils as its type\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/OrderNotes/Controller.php
+
+ -
+ message: '#^Access to property \$comment_ID on an unknown class Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\OrderNotes\\Schema\\WP_Comment\.$#'
+ identifier: class.notFound
+ count: 4
+ path: src/Internal/RestApi/Routes/V4/OrderNotes/Schema/OrderNoteSchema.php
+
+ -
+ message: '#^Access to property \$comment_author on an unknown class Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\OrderNotes\\Schema\\WP_Comment\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/OrderNotes/Schema/OrderNoteSchema.php
+
+ -
+ message: '#^Access to property \$comment_content on an unknown class Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\OrderNotes\\Schema\\WP_Comment\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/OrderNotes/Schema/OrderNoteSchema.php
+
+ -
+ message: '#^Access to property \$comment_date on an unknown class Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\OrderNotes\\Schema\\WP_Comment\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/OrderNotes/Schema/OrderNoteSchema.php
+
+ -
+ message: '#^Access to property \$comment_date_gmt on an unknown class Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\OrderNotes\\Schema\\WP_Comment\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/OrderNotes/Schema/OrderNoteSchema.php
+
+ -
+ message: '#^Access to property \$comment_post_ID on an unknown class Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\OrderNotes\\Schema\\WP_Comment\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/OrderNotes/Schema/OrderNoteSchema.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\OrderNotes\\Schema\\OrderNoteSchema\:\:get_item_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/OrderNotes/Schema/OrderNoteSchema.php
+
+ -
+ message: '#^Parameter \#1 \$group of static method Automattic\\WooCommerce\\Internal\\Orders\\OrderNoteGroup\:\:get_default_group_title\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/OrderNotes/Schema/OrderNoteSchema.php
+
+ -
+ message: '#^Parameter \#1 \$string of function wc_string_to_bool expects bool\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/OrderNotes/Schema/OrderNoteSchema.php
+
+ -
+ message: '#^Parameter \$note of method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\OrderNotes\\Schema\\OrderNoteSchema\:\:get_item_response\(\) has invalid type Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\OrderNotes\\Schema\\WP_Comment\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/OrderNotes/Schema/OrderNoteSchema.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:delete_by_order_id\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Orders/ActionController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Orders\\ActionController\:\:action_payment_complete\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Orders/ActionController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Orders\\ActionController\:\:action_payment_complete\(\) is unused\.$#'
+ identifier: method.unused
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Orders/ActionController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Orders\\ActionController\:\:action_reset_download_permissions\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Orders/ActionController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Orders\\ActionController\:\:action_reset_download_permissions\(\) is unused\.$#'
+ identifier: method.unused
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Orders/ActionController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Orders\\ActionController\:\:run_actions\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Orders/ActionController.php
+
+ -
+ message: '#^Parameter \#1 \$function of function call_user_func expects callable\(\)\: mixed, array\{\$this\(Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Orders\\ActionController\), non\-falsy\-string\} given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Orders/ActionController.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_html expects string, string\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Orders/ActionController.php
+
+ -
+ message: '#^Parameter \#2 \$is_customer_note of method WC_Order\:\:add_order_note\(\) expects int, false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Orders/ActionController.php
+
+ -
+ message: '#^Cannot access property \$max_num_pages on array\|object\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Orders/CollectionQuery.php
+
+ -
+ message: '#^Cannot access property \$orders on array\|object\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Orders/CollectionQuery.php
+
+ -
+ message: '#^Cannot access property \$total on array\|object\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Orders/CollectionQuery.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Orders\\CollectionQuery\:\:get_query_args\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Orders/CollectionQuery.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Orders\\CollectionQuery\:\:get_query_results\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Orders/CollectionQuery.php
+
+ -
+ message: '#^Offset ''post__in'' on array\{order\: mixed, orderby\: mixed, page\: mixed, posts_per_page\: mixed, s\: mixed, created_via\: mixed, status\: mixed, customer\: mixed, \.\.\.\} on left side of \?\? does not exist\.$#'
+ identifier: nullCoalesce.offset
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Orders/CollectionQuery.php
+
+ -
+ message: '#^Variable \$include_ids in empty\(\) always exists and is always falsy\.$#'
+ identifier: empty.variable
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Orders/CollectionQuery.php
+
+ -
+ message: '#^@param WC_Order \$order does not accept actual type of parameter\: bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: parameter.phpDocType
+ count: 2
+ path: src/Internal/RestApi/Routes/V4/Orders/Controller.php
+
+ -
+ message: '#^@param WP_REST_Response \$response does not accept actual type of parameter\: WP_Error\|WP_REST_Response\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Orders/Controller.php
+
+ -
+ message: '#^Access to an undefined property Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Orders\\Controller\:\:\$collection_query\.$#'
+ identifier: property.notFound
+ count: 4
+ path: src/Internal/RestApi/Routes/V4/Orders/Controller.php
+
+ -
+ message: '#^Call to an undefined method WP_Error\|WP_REST_Response\:\:header\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Orders/Controller.php
+
+ -
+ message: '#^Call to an undefined method WP_Error\|WP_REST_Response\:\:set_status\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Orders/Controller.php
+
+ -
+ message: '#^Cannot call method delete\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: src/Internal/RestApi/Routes/V4/Orders/Controller.php
+
+ -
+ message: '#^Cannot call method get_customer_id\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: src/Internal/RestApi/Routes/V4/Orders/Controller.php
+
+ -
+ message: '#^Cannot call method get_id\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 4
+ path: src/Internal/RestApi/Routes/V4/Orders/Controller.php
+
+ -
+ message: '#^Cannot call method get_parent_id\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: src/Internal/RestApi/Routes/V4/Orders/Controller.php
+
+ -
+ message: '#^Cannot call method get_payment_method\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: src/Internal/RestApi/Routes/V4/Orders/Controller.php
+
+ -
+ message: '#^Cannot call method get_status\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: src/Internal/RestApi/Routes/V4/Orders/Controller.php
+
+ -
+ message: '#^Dead catch \- WC_REST_Exception is already caught above\.$#'
+ identifier: catch.alreadyCaught
+ count: 2
+ path: src/Internal/RestApi/Routes/V4/Orders/Controller.php
+
+ -
+ message: '#^Expected 2 @param tags, found 3\.$#'
+ identifier: paramTag.count
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Orders/Controller.php
+
+ -
+ message: '#^Instanceof between WC_Order and WC_Order will always evaluate to true\.$#'
+ identifier: instanceof.alwaysTrue
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Orders/Controller.php
+
+ -
+ message: '#^Left side of && is always true\.$#'
+ identifier: booleanAnd.leftAlwaysTrue
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Orders/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Orders\\Controller\:\:create_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Orders/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Orders\\Controller\:\:create_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Orders/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Orders\\Controller\:\:delete_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Orders/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Orders\\Controller\:\:delete_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Orders/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Orders\\Controller\:\:get_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Orders/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Orders\\Controller\:\:get_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Orders/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Orders\\Controller\:\:get_item_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Orders/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Orders\\Controller\:\:get_items\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Orders/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Orders\\Controller\:\:get_items_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Orders/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Orders\\Controller\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Orders/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Orders\\Controller\:\:prepare_links\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Orders/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Orders\\Controller\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Orders/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Orders\\Controller\:\:update_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Orders/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Orders\\Controller\:\:update_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Orders/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$data_object of method WP_REST_Controller\:\:update_additional_fields_for_object\(\) expects object, bool\|WC_Order\|WC_Order_Refund given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Orders/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$order of method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Orders\\ActionController\:\:run_actions\(\) expects WC_Order, bool\|WC_Order\|WC_Order_Refund given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Orders/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$order of method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Orders\\Controller\:\:is_valid_order_for_request\(\) expects WC_Order, bool\|WC_Order\|WC_Order_Refund given\.$#'
+ identifier: argument.type
+ count: 3
+ path: src/Internal/RestApi/Routes/V4/Orders/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$order of method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Orders\\UpdateUtils\:\:update_order_from_request\(\) expects WC_Order, bool\|WC_Order\|WC_Order_Refund given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Orders/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$response of method WP_REST_Controller\:\:prepare_response_for_collection\(\) expects WP_REST_Response, WP_Error\|WP_REST_Response given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Orders/Controller.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Orders\\Controller\:\:\$query_utils has unknown class Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Orders\\QueryUtils as its type\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Orders/Controller.php
+
+ -
+ message: '#^Strict comparison using \=\=\= between ''trash'' and mixed~''trash'' will always evaluate to false\.$#'
+ identifier: identical.alwaysFalse
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Orders/Controller.php
+
+ -
+ message: '#^Call to method get_taxes\(\) on an unknown class Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Orders\\Schema\\WC_Order_Item_Fee\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Orders/Schema/AbstractLineItemSchema.php
+
+ -
+ message: '#^Call to method get_taxes\(\) on an unknown class Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Orders\\Schema\\WC_Order_Item_Product\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Orders/Schema/AbstractLineItemSchema.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Orders\\Schema\\AbstractLineItemSchema\:\:prepare_taxes\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Orders/Schema/AbstractLineItemSchema.php
+
+ -
+ message: '#^Parameter \#1 \$hideprefix of method WC_Order_Item\:\:get_all_formatted_meta_data\(\) expects string, null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Orders/Schema/AbstractLineItemSchema.php
+
+ -
+ message: '#^Parameter \$order_item of method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Orders\\Schema\\AbstractLineItemSchema\:\:prepare_taxes\(\) has invalid type Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Orders\\Schema\\WC_Order_Item_Fee\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Orders/Schema/AbstractLineItemSchema.php
+
+ -
+ message: '#^Parameter \$order_item of method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Orders\\Schema\\AbstractLineItemSchema\:\:prepare_taxes\(\) has invalid type Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Orders\\Schema\\WC_Order_Item_Product\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Orders/Schema/AbstractLineItemSchema.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Orders\\Schema\\OrderCouponSchema\:\:get_item_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Orders/Schema/OrderCouponSchema.php
+
+ -
+ message: '#^Parameter \#1 \$info of method WC_Coupon\:\:set_short_info\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Orders/Schema/OrderCouponSchema.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Orders\\Schema\\OrderFeeSchema\:\:get_item_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Orders/Schema/OrderFeeSchema.php
+
+ -
+ message: '#^Parameter \#1 \$order_item of method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Orders\\Schema\\AbstractLineItemSchema\:\:prepare_taxes\(\) expects Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Orders\\Schema\\WC_Order_Item_Fee\|Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Orders\\Schema\\WC_Order_Item_Product, WC_Order_Item_Fee given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Orders/Schema/OrderFeeSchema.php
+
+ -
+ message: '#^Binary operation "/" between string and float results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Orders/Schema/OrderItemSchema.php
+
+ -
+ message: '#^Cannot call method call_function\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Orders/Schema/OrderItemSchema.php
+
+ -
+ message: '#^Cannot call method feature_is_enabled\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Orders/Schema/OrderItemSchema.php
+
+ -
+ message: '#^Cannot unset offset ''cogs_value'' on array\{id\: int, name\: string, image\: string, product_id\: int, product_data\: array\|null, quantity\: int, price\: mixed, tax_class\: string, \.\.\.\}\.$#'
+ identifier: unset.offset
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Orders/Schema/OrderItemSchema.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Orders\\Schema\\OrderItemSchema\:\:get_image\(\) should return string but returns string\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Orders/Schema/OrderItemSchema.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Orders\\Schema\\OrderItemSchema\:\:get_item_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Orders/Schema/OrderItemSchema.php
+
+ -
+ message: '#^Offset ''cogs_value'' on array\{id\: mixed, name\: mixed, image\: mixed, product_id\: mixed, product_data\: mixed, quantity\: mixed, price\: 0\|float, tax_class\: mixed, \.\.\.\} in isset\(\) does not exist\.$#'
+ identifier: isset.offset
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Orders/Schema/OrderItemSchema.php
+
+ -
+ message: '#^Parameter \#1 \$attachment_id of function wp_get_attachment_image_url expects int, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Orders/Schema/OrderItemSchema.php
+
+ -
+ message: '#^Parameter \#1 \$order_item of method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Orders\\Schema\\AbstractLineItemSchema\:\:prepare_taxes\(\) expects Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Orders\\Schema\\WC_Order_Item_Fee\|Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Orders\\Schema\\WC_Order_Item_Product, WC_Order_Item_Product given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Orders/Schema/OrderItemSchema.php
+
+ -
+ message: '#^Cannot call method call_function\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Orders/Schema/OrderSchema.php
+
+ -
+ message: '#^Cannot call method feature_is_enabled\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Orders/Schema/OrderSchema.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Orders\\Schema\\OrderSchema\:\:get_item_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Orders/Schema/OrderSchema.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Orders\\Schema\\OrderSchema\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Orders/Schema/OrderSchema.php
+
+ -
+ message: '#^Parameter \#1 \$order_item of method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Orders\\Schema\\OrderCouponSchema\:\:get_item_response\(\) expects WC_Order_Item_Coupon, WC_Order_Item given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Orders/Schema/OrderSchema.php
+
+ -
+ message: '#^Parameter \#1 \$order_item of method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Orders\\Schema\\OrderFeeSchema\:\:get_item_response\(\) expects WC_Order_Item_Fee, WC_Order_Item given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Orders/Schema/OrderSchema.php
+
+ -
+ message: '#^Parameter \#1 \$order_item of method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Orders\\Schema\\OrderItemSchema\:\:get_item_response\(\) expects WC_Order_Item_Product, WC_Order_Item given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Orders/Schema/OrderSchema.php
+
+ -
+ message: '#^Parameter \#1 \$order_item of method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Orders\\Schema\\OrderShippingSchema\:\:get_item_response\(\) expects WC_Order_Item_Shipping, WC_Order_Item given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Orders/Schema/OrderSchema.php
+
+ -
+ message: '#^Parameter \#1 \$order_item of method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Orders\\Schema\\OrderTaxSchema\:\:get_item_response\(\) expects WC_Order_Item_Tax, WC_Order_Item given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Orders/Schema/OrderSchema.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Orders\\Schema\\OrderShippingSchema\:\:get_item_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Orders/Schema/OrderShippingSchema.php
+
+ -
+ message: '#^Parameter \#1 \$order_item of method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Orders\\Schema\\AbstractLineItemSchema\:\:prepare_taxes\(\) expects Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Orders\\Schema\\WC_Order_Item_Fee\|Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Orders\\Schema\\WC_Order_Item_Product, WC_Order_Item_Shipping given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Orders/Schema/OrderShippingSchema.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Orders\\Schema\\OrderTaxSchema\:\:get_item_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Orders/Schema/OrderTaxSchema.php
+
+ -
+ message: '#^@param Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Orders\\WC_Order_Item \$item does not accept actual type of parameter\: WC_Order_Item\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Orders/UpdateUtils.php
+
+ -
+ message: '#^Call to an undefined method object\:\:get_product\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Orders/UpdateUtils.php
+
+ -
+ message: '#^Call to an undefined method object\:\:has_cogs\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Orders/UpdateUtils.php
+
+ -
+ message: '#^Call to an undefined method object\:\:set_cogs_value\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Orders/UpdateUtils.php
+
+ -
+ message: '#^Call to an undefined method object\:\:set_product\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Orders/UpdateUtils.php
+
+ -
+ message: '#^Call to an undefined method object\:\:set_subtotal\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Orders/UpdateUtils.php
+
+ -
+ message: '#^Call to an undefined method object\:\:set_total\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Orders/UpdateUtils.php
+
+ -
+ message: '#^Call to method update_meta_data\(\) on an unknown class Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Orders\\WC_Order_Item\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Orders/UpdateUtils.php
+
+ -
+ message: '#^Cannot access offset ''from'' on non\-empty\-array\|true\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Orders/UpdateUtils.php
+
+ -
+ message: '#^Cannot access offset ''id'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Orders/UpdateUtils.php
+
+ -
+ message: '#^Cannot access offset ''key'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Orders/UpdateUtils.php
+
+ -
+ message: '#^Cannot access offset ''to'' on non\-empty\-array\|true\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Orders/UpdateUtils.php
+
+ -
+ message: '#^Cannot access offset ''value'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Orders/UpdateUtils.php
+
+ -
+ message: '#^Cannot call method call_function\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Orders/UpdateUtils.php
+
+ -
+ message: '#^Cannot call method feature_is_enabled\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Orders/UpdateUtils.php
+
+ -
+ message: '#^Cannot cast mixed to int\.$#'
+ identifier: cast.int
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Orders/UpdateUtils.php
+
+ -
+ message: '#^Constant WC_ABSPATH not found\.$#'
+ identifier: constant.notFound
+ count: 2
+ path: src/Internal/RestApi/Routes/V4/Orders/UpdateUtils.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Orders\\UpdateUtils\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Orders/UpdateUtils.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Orders\\UpdateUtils\:\:maybe_set_item_meta_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Orders/UpdateUtils.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Orders\\UpdateUtils\:\:maybe_set_item_prop\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Orders/UpdateUtils.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Orders\\UpdateUtils\:\:maybe_set_item_props\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Orders/UpdateUtils.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Orders\\UpdateUtils\:\:prepare_coupon_data\(\) should return WC_Order_Item_Coupon but returns object\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Orders/UpdateUtils.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Orders\\UpdateUtils\:\:prepare_fee_data\(\) should return WC_Order_Item_Fee but returns object\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Orders/UpdateUtils.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Orders\\UpdateUtils\:\:prepare_line_item_data\(\) should return WC_Order_Item_Product but returns object\.$#'
+ identifier: return.type
+ count: 2
+ path: src/Internal/RestApi/Routes/V4/Orders/UpdateUtils.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Orders\\UpdateUtils\:\:prepare_shipping_data\(\) should return WC_Order_Item_Shipping but returns object\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Orders/UpdateUtils.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Orders\\UpdateUtils\:\:update_address\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Orders/UpdateUtils.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Orders\\UpdateUtils\:\:update_line_items\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Orders/UpdateUtils.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Orders\\UpdateUtils\:\:update_meta_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Orders/UpdateUtils.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Orders\\UpdateUtils\:\:update_order_from_request\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Orders/UpdateUtils.php
+
+ -
+ message: '#^Parameter \#1 \$item of method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Orders\\UpdateUtils\:\:maybe_set_item_meta_data\(\) expects Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Orders\\WC_Order_Item, object given\.$#'
+ identifier: argument.type
+ count: 4
+ path: src/Internal/RestApi/Routes/V4/Orders/UpdateUtils.php
+
+ -
+ message: '#^Parameter \#1 \$item of method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Orders\\UpdateUtils\:\:maybe_set_item_props\(\) expects Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Orders\\WC_Order_Item, object given\.$#'
+ identifier: argument.type
+ count: 4
+ path: src/Internal/RestApi/Routes/V4/Orders/UpdateUtils.php
+
+ -
+ message: '#^Parameter \#1 \$value of static method Automattic\\WooCommerce\\Utilities\\StringUtil\:\:is_null_or_whitespace\(\) expects string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Orders/UpdateUtils.php
+
+ -
+ message: '#^Parameter \#2 \$is_customer_note of method WC_Order\:\:add_order_note\(\) expects int, false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Orders/UpdateUtils.php
+
+ -
+ message: '#^Parameter \$item of method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Orders\\UpdateUtils\:\:maybe_set_item_meta_data\(\) has invalid type Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Orders\\WC_Order_Item\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Orders/UpdateUtils.php
+
+ -
+ message: '#^Parameter \$item of method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Orders\\UpdateUtils\:\:maybe_set_item_prop\(\) has invalid type Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Orders\\WC_Order_Item\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Orders/UpdateUtils.php
+
+ -
+ message: '#^Parameter \$item of method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Orders\\UpdateUtils\:\:maybe_set_item_props\(\) has invalid type Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Orders\\WC_Order_Item\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Orders/UpdateUtils.php
+
+ -
+ message: '#^@param Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Products\\WC_Data \$product does not accept actual type of parameter\: Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Products\\WC_Product\|WC_Product\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Access to an undefined property WC_Data\:\:\$post_type\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Access to offset ''cost_of_goods_sold'' on an unknown class Automattic\\WooCommerce\\Internal\\CostOfGoodsSold\\WP_Rest_Request\.$#'
+ identifier: class.notFound
+ count: 2
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Data\:\:get_status\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Product\:\:set_button_text\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Product\:\:set_children\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Call to an undefined method WC_Product\:\:set_product_url\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Call to method add_to_cart_description\(\) on an unknown class Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Products\\WC_Data\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Call to method add_to_cart_text\(\) on an unknown class Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Products\\WC_Data\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Call to method add_to_cart_url\(\) on an unknown class Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Products\\WC_Data\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Call to method get_cogs_effective_value\(\) on an unknown class Automattic\\WooCommerce\\Internal\\CostOfGoodsSold\\WC_Product\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Call to method get_cogs_total_value\(\) on an unknown class Automattic\\WooCommerce\\Internal\\CostOfGoodsSold\\WC_Product\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Call to method get_cogs_value\(\) on an unknown class Automattic\\WooCommerce\\Internal\\CostOfGoodsSold\\WC_Product\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Call to method get_cogs_value_is_additive\(\) on an unknown class Automattic\\WooCommerce\\Internal\\CostOfGoodsSold\\WC_Product\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Call to method get_downloads\(\) on an unknown class Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Products\\WC_Product\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Call to method get_gallery_image_ids\(\) on an unknown class Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Products\\WC_Product\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Call to method get_gallery_image_ids\(\) on an unknown class Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Products\\WC_Product_Variation\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Call to method get_global_unique_id\(\) on an unknown class Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Products\\WC_Product\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Call to method get_id\(\) on an unknown class Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Products\\WC_Product\.$#'
+ identifier: class.notFound
+ count: 3
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Call to method get_image_id\(\) on an unknown class Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Products\\WC_Product\.$#'
+ identifier: class.notFound
+ count: 3
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Call to method get_image_id\(\) on an unknown class Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Products\\WC_Product_Variation\.$#'
+ identifier: class.notFound
+ count: 2
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Call to method get_max_price\(\) on an unknown class Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Products\\WC_Product\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Call to method get_min_price\(\) on an unknown class Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Products\\WC_Product\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Call to method get_name\(\) on an unknown class Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Products\\WC_Product\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Call to method get_post_password\(\) on an unknown class Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Products\\WC_Product\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Call to method get_stock_status\(\) on an unknown class Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Products\\WC_Product\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Call to method has_options\(\) on an unknown class Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Products\\WC_Product\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Call to method is_downloadable\(\) on an unknown class Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Products\\WC_Product\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Call to method set_cogs_value\(\) on an unknown class Automattic\\WooCommerce\\Internal\\CostOfGoodsSold\\WC_Product\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Call to method set_cogs_value_is_additive\(\) on an unknown class Automattic\\WooCommerce\\Internal\\CostOfGoodsSold\\WC_Product\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Call to method set_date_created\(\) on an unknown class Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Products\\WC_Product\.$#'
+ identifier: class.notFound
+ count: 2
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Call to method set_gallery_image_ids\(\) on an unknown class Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Products\\WC_Product\.$#'
+ identifier: class.notFound
+ count: 2
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Call to method set_id\(\) on an unknown class Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Products\\WC_Product_Attribute\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Call to method set_image_id\(\) on an unknown class Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Products\\WC_Product\.$#'
+ identifier: class.notFound
+ count: 2
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Call to method set_name\(\) on an unknown class Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Products\\WC_Product_Attribute\.$#'
+ identifier: class.notFound
+ count: 2
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Call to method set_options\(\) on an unknown class Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Products\\WC_Product_Attribute\.$#'
+ identifier: class.notFound
+ count: 2
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Call to method set_position\(\) on an unknown class Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Products\\WC_Product_Attribute\.$#'
+ identifier: class.notFound
+ count: 2
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Call to method set_variation\(\) on an unknown class Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Products\\WC_Product_Attribute\.$#'
+ identifier: class.notFound
+ count: 2
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Call to method set_visible\(\) on an unknown class Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Products\\WC_Product_Attribute\.$#'
+ identifier: class.notFound
+ count: 2
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Call to method single_add_to_cart_text\(\) on an unknown class Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Products\\WC_Data\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Call to method update_meta_data\(\) on an unknown class Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Products\\WC_Product\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Call to static method load\(\) on an unknown class Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Products\\WC_Data_Store\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Cannot access offset ''alt'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Cannot access offset ''id'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Cannot access offset ''key'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Cannot access offset ''name'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Cannot access offset ''src'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Cannot access offset ''value'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Cannot access property \$public on WP_Post_Type\|null\.$#'
+ identifier: property.nonObject
+ count: 2
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Cannot access property \$term_id on WP_Term\|false\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Cannot call method call_function\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Cannot call method feature_is_enabled\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Cannot call method get_type\(\) on object\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Cannot call method set_catalog_visibility\(\) on object\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Cannot call method set_description\(\) on object\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Cannot call method set_featured\(\) on object\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Cannot call method set_menu_order\(\) on object\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Cannot call method set_name\(\) on object\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Cannot call method set_post_password\(\) on object\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Cannot call method set_purchase_note\(\) on object\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Cannot call method set_reviews_allowed\(\) on object\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Cannot call method set_short_description\(\) on object\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Cannot call method set_slug\(\) on object\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Cannot call method set_status\(\) on object\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Cannot call method set_tax_class\(\) on object\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Cannot call method set_tax_status\(\) on object\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Cannot call method set_virtual\(\) on object\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Constant WC_DELIMITER not found\.$#'
+ identifier: constant.notFound
+ count: 2
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Instantiated class Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Products\\WC_Product_Attribute not found\.$#'
+ identifier: class.notFound
+ count: 2
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Instantiated class Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Products\\WC_Product_Simple not found\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Instantiated class Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Products\\WC_REST_Exception not found\.$#'
+ identifier: class.notFound
+ count: 2
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Products\\Controller\:\:create_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Products\\Controller\:\:duplicate_product\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Products\\Controller\:\:get_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Products\\Controller\:\:get_suggested_products\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Products\\Controller\:\:get_suggested_products\(\) should return object but returns array\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Products\\Controller\:\:prepare_object_for_database\(\) has invalid return type Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Products\\WC_Data\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Products\\Controller\:\:prepare_object_for_database\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Products\\Controller\:\:prepare_object_for_response_core\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Products\\Controller\:\:prepare_objects_query\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Products\\Controller\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Products\\Controller\:\:set_product_images\(\) has invalid return type Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Products\\WC_Product\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(WC_REST_Products_V2_Controller\)\: Unexpected token "\\n ", expected ''\<'' at offset 88 on line 4$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^PHPDoc tag @throws with type Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Products\\WC_REST_Exception is not subtype of Throwable$#'
+ identifier: throws.notThrowable
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$amount of function wc_stock_amount expects float\|int, int\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$amount of method WC_Product\:\:set_low_stock_amount\(\) expects int\|string, float\|int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$args of function wc_get_min_max_price_meta_query expects array, WP_REST_Request given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$array_arg of function current expects array\|object, list\<bool\|int\|string\>\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$classname of function class_exists expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$date of function wc_rest_prepare_date_response expects string\|WC_DateTime\|null, int\|false given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$date of method WC_Product\:\:set_date_on_sale_from\(\) expects int\|string\|null, int\|false\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$date of method WC_Product\:\:set_date_on_sale_to\(\) expects int\|string\|null, int\|false\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$dimensions_unit of static method Automattic\\WooCommerce\\Utilities\\I18nUtil\:\:get_dimensions_unit_label\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$global_unique_id of method WC_Product\:\:set_global_unique_id\(\) expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$manage_stock of method WC_Product\:\:set_manage_stock\(\) expects bool, string given\.$#'
+ identifier: argument.type
+ count: 3
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$object_data of method WC_REST_Products_V2_Controller\:\:prepare_object_for_response_core\(\) expects WC_Data, Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Products\\WC_Data given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$post_type of function is_post_type_viewable expects string\|WP_Post_Type, WP_Post_Type\|null given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$postarr of function wp_update_post expects array\{ID\?\: int, post_author\?\: int, post_date\?\: string, post_date_gmt\?\: string, post_content\?\: string, post_content_filtered\?\: string, post_title\?\: string, post_excerpt\?\: string, \.\.\.\}, array\{ID\: int, post_title\: mixed\} given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$product of method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Products\\Controller\:\:set_product_images\(\) expects Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Products\\WC_Product, WC_Product given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$product of method WC_Admin_Duplicate_Product\:\:product_duplicate\(\) expects WC_Product, Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Products\\WC_Data\|WP_Error given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$product of method WC_REST_Products_V2_Controller\:\:get_product_data\(\) expects WC_Product, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$product of method WC_REST_Products_V2_Controller\:\:save_product_shipping_data\(\) expects WC_Product, object\|false\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$quantity of method WC_Product\:\:set_stock_quantity\(\) expects float\|null, string given\.$#'
+ identifier: argument.type
+ count: 3
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$request of method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Products\\Controller\:\:set_cogs_info_in_product_object\(\) expects Automattic\\WooCommerce\\Internal\\CostOfGoodsSold\\WP_Rest_Request, WP_REST_Request given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$sku of method WC_Product\:\:set_sku\(\) expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$term of function term_exists expects int\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$term of function wp_insert_term expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$url of function esc_url_raw expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$weight_unit of static method Automattic\\WooCommerce\\Utilities\\I18nUtil\:\:get_weight_unit_label\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Parameter \#2 \$callback of function array_filter expects \(callable\(string\)\: bool\)\|null, ''strlen'' given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Parameter \#2 \$data of method WC_REST_Products_V2_Controller\:\:save_product_shipping_data\(\) expects array, WP_REST_Request given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Parameter \#2 \$product of function wc_product_attach_featured_image expects WC_Product\|null, Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Products\\WC_Product given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Parameter \#2 \$product of method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Products\\Controller\:\:add_cogs_info_to_returned_product_data\(\) expects Automattic\\WooCommerce\\Internal\\CostOfGoodsSold\\WC_Product, Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Products\\WC_Data given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Parameter \#2 \$product of method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Products\\Controller\:\:set_cogs_info_in_product_object\(\) expects Automattic\\WooCommerce\\Internal\\CostOfGoodsSold\\WC_Product, Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Products\\WC_Product\|WC_Product given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Parameter \#2 \$value of function get_term_by expects int\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Parameter \$object_data of method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Products\\Controller\:\:prepare_object_for_response_core\(\) has invalid type Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Products\\WC_Data\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Parameter \$product of method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Products\\Controller\:\:add_cogs_info_to_returned_product_data\(\) has invalid type Automattic\\WooCommerce\\Internal\\CostOfGoodsSold\\WC_Product\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Parameter \$product of method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Products\\Controller\:\:get_downloads\(\) has invalid type Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Products\\WC_Product\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Parameter \$product of method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Products\\Controller\:\:get_images\(\) has invalid type Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Products\\WC_Product\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Parameter \$product of method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Products\\Controller\:\:get_images\(\) has invalid type Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Products\\WC_Product_Variation\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Parameter \$product of method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Products\\Controller\:\:get_product_data\(\) has invalid type Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Products\\WC_Product\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Parameter \$product of method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Products\\Controller\:\:set_cogs_info_in_product_object\(\) has invalid type Automattic\\WooCommerce\\Internal\\CostOfGoodsSold\\WC_Product\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Parameter \$product of method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Products\\Controller\:\:set_product_images\(\) has invalid type Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Products\\WC_Product\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Parameter \$request of method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Products\\Controller\:\:set_cogs_info_in_product_object\(\) has invalid type Automattic\\WooCommerce\\Internal\\CostOfGoodsSold\\WP_Rest_Request\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Throwing object of an unknown class Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Products\\WC_REST_Exception\.$#'
+ identifier: class.notFound
+ count: 2
+ path: src/Internal/RestApi/Routes/V4/Products/Controller.php
+
+ -
+ message: '#^Cannot access property \$max_num_pages on array\|object\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Refunds/CollectionQuery.php
+
+ -
+ message: '#^Cannot access property \$orders on array\|object\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Refunds/CollectionQuery.php
+
+ -
+ message: '#^Cannot access property \$total on array\|object\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Refunds/CollectionQuery.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Refunds\\CollectionQuery\:\:get_query_args\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Refunds/CollectionQuery.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Refunds\\CollectionQuery\:\:get_query_results\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Refunds/CollectionQuery.php
+
+ -
+ message: '#^@param WC_Order_Refund \$refund does not accept actual type of parameter\: bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Refunds/Controller.php
+
+ -
+ message: '#^Call to an undefined method WP_Error\|WP_REST_Response\:\:header\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Refunds/Controller.php
+
+ -
+ message: '#^Call to an undefined method WP_Error\|WP_REST_Response\:\:set_status\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Refunds/Controller.php
+
+ -
+ message: '#^Call to method get_item_response\(\) on an unknown class Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Refunds\\OrderSchema\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Refunds/Controller.php
+
+ -
+ message: '#^Call to method get_item_schema\(\) on an unknown class Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Refunds\\OrderSchema\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Refunds/Controller.php
+
+ -
+ message: '#^Cannot access offset ''id'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Refunds/Controller.php
+
+ -
+ message: '#^Cannot access offset ''key'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Refunds/Controller.php
+
+ -
+ message: '#^Cannot access offset ''value'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Refunds/Controller.php
+
+ -
+ message: '#^Cannot call method delete\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Refunds/Controller.php
+
+ -
+ message: '#^Cannot call method get_id\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Refunds/Controller.php
+
+ -
+ message: '#^Cannot call method get_id\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Refunds/Controller.php
+
+ -
+ message: '#^Cannot call method get_parent_id\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Refunds/Controller.php
+
+ -
+ message: '#^Cannot call method get_refunded_by\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: src/Internal/RestApi/Routes/V4/Refunds/Controller.php
+
+ -
+ message: '#^Dead catch \- WC_REST_Exception is already caught above\.$#'
+ identifier: catch.alreadyCaught
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Refunds/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Refunds\\Controller\:\:create_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Refunds/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Refunds\\Controller\:\:create_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Refunds/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Refunds\\Controller\:\:delete_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Refunds/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Refunds\\Controller\:\:delete_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Refunds/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Refunds\\Controller\:\:get_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Refunds/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Refunds\\Controller\:\:get_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Refunds/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Refunds\\Controller\:\:get_item_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Refunds/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Refunds\\Controller\:\:get_items\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Refunds/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Refunds\\Controller\:\:get_items_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Refunds/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Refunds\\Controller\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Refunds/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Refunds\\Controller\:\:prepare_links\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Refunds/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Refunds\\Controller\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Refunds/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$error_code of method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\AbstractController\:\:get_route_error_response\(\) expects string, int\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Refunds/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$key of method WC_Data\:\:update_meta_data\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Refunds/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$refund of method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Refunds\\Controller\:\:is_valid_refund_for_request\(\) expects WC_Order_Refund, bool\|WC_Order\|WC_Order_Refund given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Internal/RestApi/Routes/V4/Refunds/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$response of method WP_REST_Controller\:\:prepare_response_for_collection\(\) expects WP_REST_Response, WP_Error\|WP_REST_Response given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Refunds/Controller.php
+
+ -
+ message: '#^Parameter \#2 \$order of method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Refunds\\DataUtils\:\:convert_line_items_to_internal_format\(\) expects WC_Order, WC_Order\|WC_Order_Refund\|true given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Refunds/Controller.php
+
+ -
+ message: '#^Parameter \#2 \$order of method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Refunds\\DataUtils\:\:validate_line_items\(\) expects WC_Order, WC_Order\|WC_Order_Refund\|true given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Refunds/Controller.php
+
+ -
+ message: '#^Parameter \#2 \$value of method WC_Data\:\:update_meta_data\(\) expects array\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Refunds/Controller.php
+
+ -
+ message: '#^Parameter \#3 \$meta_id of method WC_Data\:\:update_meta_data\(\) expects int, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Refunds/Controller.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Refunds\\Controller\:\:\$item_schema \(Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Refunds\\OrderSchema\) does not accept Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Refunds\\Schema\\RefundSchema\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Refunds/Controller.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Refunds\\Controller\:\:\$item_schema has unknown class Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Refunds\\OrderSchema as its type\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Refunds/Controller.php
+
+ -
+ message: '#^Binary operation "\+" between string and string results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Refunds/DataUtils.php
+
+ -
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_label\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Refunds/DataUtils.php
+
+ -
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_rate_id\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Refunds/DataUtils.php
+
+ -
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_rate_percent\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Refunds/DataUtils.php
+
+ -
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_taxes\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Refunds/DataUtils.php
+
+ -
+ message: '#^Call to an undefined method WC_Order_Item\:\:is_compound\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Refunds/DataUtils.php
+
+ -
+ message: '#^Cannot access offset ''refund_total'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Refunds/DataUtils.php
+
+ -
+ message: '#^Call to method get_amount\(\) on an unknown class Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Refunds\\Schema\\WC_Order_Refund\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Refunds/Schema/RefundSchema.php
+
+ -
+ message: '#^Call to method get_cogs_total_value\(\) on an unknown class Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Refunds\\Schema\\WC_Order_Refund\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Refunds/Schema/RefundSchema.php
+
+ -
+ message: '#^Call to method get_currency\(\) on an unknown class Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Refunds\\Schema\\WC_Order_Refund\.$#'
+ identifier: class.notFound
+ count: 2
+ path: src/Internal/RestApi/Routes/V4/Refunds/Schema/RefundSchema.php
+
+ -
+ message: '#^Call to method get_date_created\(\) on an unknown class Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Refunds\\Schema\\WC_Order_Refund\.$#'
+ identifier: class.notFound
+ count: 2
+ path: src/Internal/RestApi/Routes/V4/Refunds/Schema/RefundSchema.php
+
+ -
+ message: '#^Call to method get_id\(\) on an unknown class Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Refunds\\Schema\\WC_Order_Item\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Refunds/Schema/RefundSchema.php
+
+ -
+ message: '#^Call to method get_id\(\) on an unknown class Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Refunds\\Schema\\WC_Order_Refund\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Refunds/Schema/RefundSchema.php
+
+ -
+ message: '#^Call to method get_items\(\) on an unknown class Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Refunds\\Schema\\WC_Order_Refund\.$#'
+ identifier: class.notFound
+ count: 3
+ path: src/Internal/RestApi/Routes/V4/Refunds/Schema/RefundSchema.php
+
+ -
+ message: '#^Call to method get_meta\(\) on an unknown class Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Refunds\\Schema\\WC_Order_Item\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Refunds/Schema/RefundSchema.php
+
+ -
+ message: '#^Call to method get_meta_data\(\) on an unknown class Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Refunds\\Schema\\WC_Order_Refund\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Refunds/Schema/RefundSchema.php
+
+ -
+ message: '#^Call to method get_parent_id\(\) on an unknown class Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Refunds\\Schema\\WC_Order_Refund\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Refunds/Schema/RefundSchema.php
+
+ -
+ message: '#^Call to method get_quantity\(\) on an unknown class Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Refunds\\Schema\\WC_Order_Item\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Refunds/Schema/RefundSchema.php
+
+ -
+ message: '#^Call to method get_reason\(\) on an unknown class Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Refunds\\Schema\\WC_Order_Refund\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Refunds/Schema/RefundSchema.php
+
+ -
+ message: '#^Call to method get_refunded_by\(\) on an unknown class Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Refunds\\Schema\\WC_Order_Refund\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Refunds/Schema/RefundSchema.php
+
+ -
+ message: '#^Call to method get_refunded_payment\(\) on an unknown class Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Refunds\\Schema\\WC_Order_Refund\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Refunds/Schema/RefundSchema.php
+
+ -
+ message: '#^Call to method get_taxes\(\) on an unknown class Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Refunds\\Schema\\WC_Order_Item\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Refunds/Schema/RefundSchema.php
+
+ -
+ message: '#^Call to method get_total\(\) on an unknown class Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Refunds\\Schema\\WC_Order_Item\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Refunds/Schema/RefundSchema.php
+
+ -
+ message: '#^Cannot call method call_function\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Refunds/Schema/RefundSchema.php
+
+ -
+ message: '#^Cannot call method feature_is_enabled\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Refunds/Schema/RefundSchema.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Refunds\\Schema\\RefundSchema\:\:get_item_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Refunds/Schema/RefundSchema.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Refunds\\Schema\\RefundSchema\:\:get_line_items_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Refunds/Schema/RefundSchema.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Refunds\\Schema\\RefundSchema\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Refunds/Schema/RefundSchema.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Refunds\\Schema\\RefundSchema\:\:prepare_line_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Refunds/Schema/RefundSchema.php
+
+ -
+ message: '#^Parameter \$line_item of method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Refunds\\Schema\\RefundSchema\:\:prepare_line_item\(\) has invalid type Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Refunds\\Schema\\WC_Order_Item\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Refunds/Schema/RefundSchema.php
+
+ -
+ message: '#^Parameter \$refund of method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Refunds\\Schema\\RefundSchema\:\:get_item_response\(\) has invalid type Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Refunds\\Schema\\WC_Order_Refund\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Refunds/Schema/RefundSchema.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Refunds\\Schema\\RefundSchema\:\:\$order_fee_schema is never read, only written\.$#'
+ identifier: property.onlyWritten
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Refunds/Schema/RefundSchema.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Refunds\\Schema\\RefundSchema\:\:\$order_item_schema is never read, only written\.$#'
+ identifier: property.onlyWritten
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Refunds/Schema/RefundSchema.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Refunds\\Schema\\RefundSchema\:\:\$order_shipping_schema is never read, only written\.$#'
+ identifier: property.onlyWritten
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Refunds/Schema/RefundSchema.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Refunds\\Schema\\RefundSchema\:\:\$order_tax_schema is never read, only written\.$#'
+ identifier: property.onlyWritten
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Refunds/Schema/RefundSchema.php
+
+ -
+ message: '#^Constant WC_ABSPATH not found\.$#'
+ identifier: constant.notFound
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Account/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Settings\\Account\\Controller\:\:get_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Account/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Settings\\Account\\Controller\:\:get_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Account/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Settings\\Account\\Controller\:\:get_item_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Account/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Settings\\Account\\Controller\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Account/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Settings\\Account\\Controller\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Account/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Settings\\Account\\Controller\:\:update_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Account/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Settings\\Account\\Controller\:\:update_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Account/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Settings\\Account\\Controller\:\:validate_setting_value\(\) never returns WP_Error so it can be removed from the return type\.$#'
+ identifier: return.unusedType
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Account/Controller.php
+
+ -
+ message: '#^PHPDoc type Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Settings\\Account\\Schema\\AccountSettingsSchema of property Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Settings\\Account\\Controller\:\:\$schema is not covariant with PHPDoc type array of overridden property Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\AbstractController\:\:\$schema\.$#'
+ identifier: property.phpDocType
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Account/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$bool of function wc_bool_to_string expects bool\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Account/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$callback of function array_map expects \(callable\(mixed\)\: mixed\)\|null, ''sanitize_text_field'' given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Account/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$str of function sanitize_text_field expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 3
+ path: src/Internal/RestApi/Routes/V4/Settings/Account/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$str of function sanitize_textarea_field expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Account/Controller.php
+
+ -
+ message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Account/Schema/AccountSettingsSchema.php
+
+ -
+ message: '#^Cannot access offset ''default'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Account/Schema/AccountSettingsSchema.php
+
+ -
+ message: '#^Cannot access offset ''desc'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Account/Schema/AccountSettingsSchema.php
+
+ -
+ message: '#^Cannot access offset ''id'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: src/Internal/RestApi/Routes/V4/Settings/Account/Schema/AccountSettingsSchema.php
+
+ -
+ message: '#^Cannot access offset ''order'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Account/Schema/AccountSettingsSchema.php
+
+ -
+ message: '#^Cannot access offset ''title'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Account/Schema/AccountSettingsSchema.php
+
+ -
+ message: '#^Cannot access offset ''type'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Account/Schema/AccountSettingsSchema.php
+
+ -
+ message: '#^Cannot cast mixed to int\.$#'
+ identifier: cast.int
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Account/Schema/AccountSettingsSchema.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Settings\\Account\\Schema\\AccountSettingsSchema\:\:get_item_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Account/Schema/AccountSettingsSchema.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Settings\\Account\\Schema\\AccountSettingsSchema\:\:transform_setting_to_field\(\) never returns null so it can be removed from the return type\.$#'
+ identifier: return.unusedType
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Account/Schema/AccountSettingsSchema.php
+
+ -
+ message: '#^Offset ''order'' on array\{title\: mixed, description\: mixed, order\: int, fields\: list\<non\-empty\-array\>\} on left side of \?\? always exists and is not nullable\.$#'
+ identifier: nullCoalesce.offset
+ count: 2
+ path: src/Internal/RestApi/Routes/V4/Settings/Account/Schema/AccountSettingsSchema.php
+
+ -
+ message: '#^Parameter \#1 \$callback of function array_map expects \(callable\(mixed\)\: mixed\)\|null, ''sanitize_text_field'' given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Account/Schema/AccountSettingsSchema.php
+
+ -
+ message: '#^Parameter \#1 \$setting of method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Settings\\Account\\Schema\\AccountSettingsSchema\:\:transform_setting_to_field\(\) expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Account/Schema/AccountSettingsSchema.php
+
+ -
+ message: '#^Parameter \#1 \$str of function sanitize_text_field expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Account/Schema/AccountSettingsSchema.php
+
+ -
+ message: '#^Parameter \#1 \$str of function sanitize_textarea_field expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Account/Schema/AccountSettingsSchema.php
+
+ -
+ message: '#^Parameter \#1 \$string of function wc_string_to_bool expects bool\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Account/Schema/AccountSettingsSchema.php
+
+ -
+ message: '#^Possibly invalid array key type mixed\.$#'
+ identifier: offsetAccess.invalidOffset
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Account/Schema/AccountSettingsSchema.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Settings\\Email\\Controller\:\:get_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Email/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Settings\\Email\\Controller\:\:get_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Email/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Settings\\Email\\Controller\:\:get_item_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Email/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Settings\\Email\\Controller\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Email/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Settings\\Email\\Controller\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Email/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Settings\\Email\\Controller\:\:update_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Email/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Settings\\Email\\Controller\:\:update_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Email/Controller.php
+
+ -
+ message: '#^PHPDoc type Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Settings\\Email\\Schema\\EmailSettingsSchema of property Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Settings\\Email\\Controller\:\:\$schema is not covariant with PHPDoc type array of overridden property Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\AbstractController\:\:\$schema\.$#'
+ identifier: property.phpDocType
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Email/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$bool of function wc_bool_to_string expects bool\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Email/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$email of function is_email expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Internal/RestApi/Routes/V4/Settings/Email/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$email of function sanitize_email expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Email/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$str of function sanitize_text_field expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Internal/RestApi/Routes/V4/Settings/Email/Controller.php
+
+ -
+ message: '#^Parameter \#3 \$reply_to_enabled of method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Settings\\Email\\Controller\:\:validate_setting_value\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Email/Controller.php
+
+ -
+ message: '#^Cannot access offset ''default'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Email/Schema/EmailSettingsSchema.php
+
+ -
+ message: '#^Cannot access offset ''desc'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: src/Internal/RestApi/Routes/V4/Settings/Email/Schema/EmailSettingsSchema.php
+
+ -
+ message: '#^Cannot access offset ''id'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: src/Internal/RestApi/Routes/V4/Settings/Email/Schema/EmailSettingsSchema.php
+
+ -
+ message: '#^Cannot access offset ''options'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Email/Schema/EmailSettingsSchema.php
+
+ -
+ message: '#^Cannot access offset ''order'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Email/Schema/EmailSettingsSchema.php
+
+ -
+ message: '#^Cannot access offset ''title'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: src/Internal/RestApi/Routes/V4/Settings/Email/Schema/EmailSettingsSchema.php
+
+ -
+ message: '#^Cannot access offset ''type'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: src/Internal/RestApi/Routes/V4/Settings/Email/Schema/EmailSettingsSchema.php
+
+ -
+ message: '#^Cannot cast mixed to int\.$#'
+ identifier: cast.int
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Email/Schema/EmailSettingsSchema.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Settings\\Email\\Schema\\EmailSettingsSchema\:\:get_item_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Email/Schema/EmailSettingsSchema.php
+
+ -
+ message: '#^Parameter \#1 \$option of function get_option expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Email/Schema/EmailSettingsSchema.php
+
+ -
+ message: '#^Parameter \#1 \$setting_type of method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Settings\\Email\\Schema\\EmailSettingsSchema\:\:map_setting_type_to_api_type\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Email/Schema/EmailSettingsSchema.php
+
+ -
+ message: '#^Possibly invalid array key type mixed\.$#'
+ identifier: offsetAccess.invalidOffset
+ count: 2
+ path: src/Internal/RestApi/Routes/V4/Settings/Email/Schema/EmailSettingsSchema.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Settings\\Emails\\Controller\:\:get_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Emails/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Settings\\Emails\\Controller\:\:get_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Emails/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Settings\\Emails\\Controller\:\:get_item_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Emails/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Settings\\Emails\\Controller\:\:get_items\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Emails/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Settings\\Emails\\Controller\:\:get_items_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Emails/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Settings\\Emails\\Controller\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Emails/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Settings\\Emails\\Controller\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Emails/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Settings\\Emails\\Controller\:\:update_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Emails/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Settings\\Emails\\Controller\:\:update_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Emails/Controller.php
+
+ -
+ message: '#^PHPDoc type Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Settings\\Emails\\Schema\\EmailsSettingsSchema of property Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Settings\\Emails\\Controller\:\:\$schema is not covariant with PHPDoc type array of overridden property Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\AbstractController\:\:\$schema\.$#'
+ identifier: property.phpDocType
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Emails/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$email of method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Settings\\Emails\\Schema\\EmailsSettingsSchema\:\:get_item_response\(\) expects WC_Email, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Emails/Controller.php
+
+ -
+ message: '#^Call to function method_exists\(\) with WC_Email and ''get_additional…'' will always evaluate to true\.$#'
+ identifier: function.alreadyNarrowedType
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Emails/Schema/EmailsSettingsSchema.php
+
+ -
+ message: '#^Call to function method_exists\(\) with WC_Email and ''get_heading'' will always evaluate to true\.$#'
+ identifier: function.alreadyNarrowedType
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Emails/Schema/EmailsSettingsSchema.php
+
+ -
+ message: '#^Call to function method_exists\(\) with WC_Email and ''get_preheader'' will always evaluate to true\.$#'
+ identifier: function.alreadyNarrowedType
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Emails/Schema/EmailsSettingsSchema.php
+
+ -
+ message: '#^Call to function method_exists\(\) with WC_Email and ''get_recipient'' will always evaluate to true\.$#'
+ identifier: function.alreadyNarrowedType
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Emails/Schema/EmailsSettingsSchema.php
+
+ -
+ message: '#^Call to function method_exists\(\) with WC_Email and ''get_subject'' will always evaluate to true\.$#'
+ identifier: function.alreadyNarrowedType
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Emails/Schema/EmailsSettingsSchema.php
+
+ -
+ message: '#^Call to function method_exists\(\) with WC_Email and ''is_enabled'' will always evaluate to true\.$#'
+ identifier: function.alreadyNarrowedType
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Emails/Schema/EmailsSettingsSchema.php
+
+ -
+ message: '#^Cannot access offset ''type'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Emails/Schema/EmailsSettingsSchema.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Settings\\Emails\\Schema\\EmailsSettingsSchema\:\:get_item_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Emails/Schema/EmailsSettingsSchema.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Settings\\Emails\\Schema\\EmailsSettingsSchema\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Emails/Schema/EmailsSettingsSchema.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Settings\\Emails\\Schema\\EmailsSettingsSchema\:\:unwrap_woocommerce_tags\(\) should return string but returns string\|null\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Emails/Schema/EmailsSettingsSchema.php
+
+ -
+ message: '#^Parameter \#1 \$bool of function wc_bool_to_string expects bool\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Emails/Schema/EmailsSettingsSchema.php
+
+ -
+ message: '#^Parameter \#1 \$callback of function array_map expects \(callable\(mixed\)\: mixed\)\|null, ''sanitize_text_field'' given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Emails/Schema/EmailsSettingsSchema.php
+
+ -
+ message: '#^Parameter \#1 \$email of function is_email expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Emails/Schema/EmailsSettingsSchema.php
+
+ -
+ message: '#^Parameter \#1 \$email of function sanitize_email expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Emails/Schema/EmailsSettingsSchema.php
+
+ -
+ message: '#^Parameter \#1 \$key of function array_key_exists expects int\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Internal/RestApi/Routes/V4/Settings/Emails/Schema/EmailsSettingsSchema.php
+
+ -
+ message: '#^Parameter \#1 \$str of function sanitize_text_field expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Emails/Schema/EmailsSettingsSchema.php
+
+ -
+ message: '#^Parameter \#1 \$str of function sanitize_textarea_field expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Emails/Schema/EmailsSettingsSchema.php
+
+ -
+ message: '#^Parameter \#3 \$field of method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Settings\\Emails\\Schema\\EmailsSettingsSchema\:\:get_field_default_value\(\) expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Emails/Schema/EmailsSettingsSchema.php
+
+ -
+ message: '#^Parameter \#3 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Emails/Schema/EmailsSettingsSchema.php
+
+ -
+ message: '#^Property WC_Email\:\:\$bcc \(string\) on left side of \?\? is not nullable\.$#'
+ identifier: nullCoalesce.property
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Emails/Schema/EmailsSettingsSchema.php
+
+ -
+ message: '#^Property WC_Email\:\:\$cc \(string\) on left side of \?\? is not nullable\.$#'
+ identifier: nullCoalesce.property
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Emails/Schema/EmailsSettingsSchema.php
+
+ -
+ message: '#^Property WC_Email\:\:\$description \(string\) on left side of \?\? is not nullable\.$#'
+ identifier: nullCoalesce.property
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Emails/Schema/EmailsSettingsSchema.php
+
+ -
+ message: '#^Property WC_Email\:\:\$email_group \(string\) on left side of \?\? is not nullable\.$#'
+ identifier: nullCoalesce.property
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Emails/Schema/EmailsSettingsSchema.php
+
+ -
+ message: '#^Property WC_Email\:\:\$email_type \(string\) on left side of \?\? is not nullable\.$#'
+ identifier: nullCoalesce.property
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Emails/Schema/EmailsSettingsSchema.php
+
+ -
+ message: '#^Property WC_Email\:\:\$id \(string\) on left side of \?\? is not nullable\.$#'
+ identifier: nullCoalesce.property
+ count: 2
+ path: src/Internal/RestApi/Routes/V4/Settings/Emails/Schema/EmailsSettingsSchema.php
+
+ -
+ message: '#^Property WC_Email\:\:\$title \(string\) on left side of \?\? is not nullable\.$#'
+ identifier: nullCoalesce.property
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Emails/Schema/EmailsSettingsSchema.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Settings\\General\\Controller\:\:get_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/General/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Settings\\General\\Controller\:\:get_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/General/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Settings\\General\\Controller\:\:get_item_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/General/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Settings\\General\\Controller\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/General/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Settings\\General\\Controller\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/General/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Settings\\General\\Controller\:\:update_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/General/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Settings\\General\\Controller\:\:update_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/General/Controller.php
+
+ -
+ message: '#^PHPDoc type Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Settings\\General\\Schema\\GeneralSettingsSchema of property Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Settings\\General\\Controller\:\:\$schema is not covariant with PHPDoc type array of overridden property Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\AbstractController\:\:\$schema\.$#'
+ identifier: property.phpDocType
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/General/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$bool of function wc_bool_to_string expects bool\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/General/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$callback of function array_map expects \(callable\(mixed\)\: mixed\)\|null, ''sanitize_text_field'' given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/General/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$country_or_state of method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Settings\\General\\Controller\:\:validate_country_or_state_code\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/General/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$str of function sanitize_text_field expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 3
+ path: src/Internal/RestApi/Routes/V4/Settings/General/Controller.php
+
+ -
+ message: '#^Parameter \#2 \$subject of function preg_match expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/General/Controller.php
+
+ -
+ message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/General/Schema/GeneralSettingsSchema.php
+
+ -
+ message: '#^Call to function in_array\(\) with arguments mixed, array\{''title'', ''sectionend''\} and true will always evaluate to false\.$#'
+ identifier: function.impossibleType
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/General/Schema/GeneralSettingsSchema.php
+
+ -
+ message: '#^Cannot access offset ''default'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/General/Schema/GeneralSettingsSchema.php
+
+ -
+ message: '#^Cannot access offset ''desc'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/General/Schema/GeneralSettingsSchema.php
+
+ -
+ message: '#^Cannot access offset ''id'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: src/Internal/RestApi/Routes/V4/Settings/General/Schema/GeneralSettingsSchema.php
+
+ -
+ message: '#^Cannot access offset ''order'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/General/Schema/GeneralSettingsSchema.php
+
+ -
+ message: '#^Cannot access offset ''title'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/General/Schema/GeneralSettingsSchema.php
+
+ -
+ message: '#^Cannot access offset ''type'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/General/Schema/GeneralSettingsSchema.php
+
+ -
+ message: '#^Cannot cast mixed to int\.$#'
+ identifier: cast.int
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/General/Schema/GeneralSettingsSchema.php
+
+ -
+ message: '#^Cannot cast mixed to string\.$#'
+ identifier: cast.string
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/General/Schema/GeneralSettingsSchema.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Settings\\General\\Schema\\GeneralSettingsSchema\:\:get_item_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/General/Schema/GeneralSettingsSchema.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Settings\\General\\Schema\\GeneralSettingsSchema\:\:transform_setting_to_field\(\) never returns null so it can be removed from the return type\.$#'
+ identifier: return.unusedType
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/General/Schema/GeneralSettingsSchema.php
+
+ -
+ message: '#^Offset ''order'' on array\{title\: mixed, description\: mixed, order\: int, fields\: list\<non\-empty\-array\>\} on left side of \?\? always exists and is not nullable\.$#'
+ identifier: nullCoalesce.offset
+ count: 2
+ path: src/Internal/RestApi/Routes/V4/Settings/General/Schema/GeneralSettingsSchema.php
+
+ -
+ message: '#^Parameter \#1 \$callback of function array_map expects \(callable\(mixed\)\: mixed\)\|null, ''sanitize_text_field'' given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/General/Schema/GeneralSettingsSchema.php
+
+ -
+ message: '#^Parameter \#1 \$setting of method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Settings\\General\\Schema\\GeneralSettingsSchema\:\:transform_setting_to_field\(\) expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/General/Schema/GeneralSettingsSchema.php
+
+ -
+ message: '#^Parameter \#1 \$string of function wc_string_to_bool expects bool\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/General/Schema/GeneralSettingsSchema.php
+
+ -
+ message: '#^Possibly invalid array key type mixed\.$#'
+ identifier: offsetAccess.invalidOffset
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/General/Schema/GeneralSettingsSchema.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Settings\\OfflinePaymentMethods\\Controller\:\:get_item_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/OfflinePaymentMethods/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Settings\\OfflinePaymentMethods\\Controller\:\:get_items\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/OfflinePaymentMethods/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Settings\\OfflinePaymentMethods\\Controller\:\:get_items_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/OfflinePaymentMethods/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Settings\\OfflinePaymentMethods\\Controller\:\:get_offline_payment_methods_data\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/OfflinePaymentMethods/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Settings\\OfflinePaymentMethods\\Controller\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/OfflinePaymentMethods/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Settings\\OfflinePaymentMethods\\Controller\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/OfflinePaymentMethods/Controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(AbstractController\)\: Unexpected token "\\n ", expected ''\<'' at offset 91 on line 4$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/OfflinePaymentMethods/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$url of function esc_url_raw expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/OfflinePaymentMethods/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Settings\\OfflinePaymentMethods\\Schema\\OfflinePaymentMethodSchema\:\:get_item_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/OfflinePaymentMethods/Schema/OfflinePaymentMethodSchema.php
+
+ -
+ message: '#^PHPDoc tag @SuppressWarnings has invalid value \(\(PHPMD\.UnusedFormalParameter\) \$request is unused; filtering handled by REST server\.\)\: Unexpected token "\.UnusedFormalParameter\)", expected ''\)'' at offset 289 on line 8$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/OfflinePaymentMethods/Schema/OfflinePaymentMethodSchema.php
+
+ -
+ message: '#^Access to an undefined property WooCommerce\:\:\$payment_gateways\.$#'
+ identifier: property.notFound
+ count: 2
+ path: src/Internal/RestApi/Routes/V4/Settings/PaymentGateways/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Settings\\PaymentGateways\\Controller\:\:get_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/PaymentGateways/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Settings\\PaymentGateways\\Controller\:\:get_item_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/PaymentGateways/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Settings\\PaymentGateways\\Controller\:\:get_items_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/PaymentGateways/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Settings\\PaymentGateways\\Controller\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/PaymentGateways/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Settings\\PaymentGateways\\Controller\:\:update_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/PaymentGateways/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Settings\\PaymentGateways\\Controller\:\:update_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/PaymentGateways/Controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(AbstractController\)\: Unexpected token "\\n ", expected ''\<'' at offset 84 on line 4$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/PaymentGateways/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$bool of function wc_bool_to_string expects bool\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/PaymentGateways/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Settings\\PaymentGateways\\Schema\\AbstractPaymentGatewaySettingsSchema\:\:get_item_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/PaymentGateways/Schema/AbstractPaymentGatewaySettingsSchema.php
+
+ -
+ message: '#^Parameter \#1 \$bool of function wc_bool_to_string expects bool\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/PaymentGateways/Schema/AbstractPaymentGatewaySettingsSchema.php
+
+ -
+ message: '#^Parameter \#1 \$callback of function array_map expects \(callable\(mixed\)\: mixed\)\|null, ''sanitize_text_field'' given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/PaymentGateways/Schema/AbstractPaymentGatewaySettingsSchema.php
+
+ -
+ message: '#^Parameter \#1 \$email of function sanitize_email expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/PaymentGateways/Schema/AbstractPaymentGatewaySettingsSchema.php
+
+ -
+ message: '#^Parameter \#1 \$key of function array_key_exists expects int\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Internal/RestApi/Routes/V4/Settings/PaymentGateways/Schema/AbstractPaymentGatewaySettingsSchema.php
+
+ -
+ message: '#^Parameter \#1 \$str of function sanitize_text_field expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Internal/RestApi/Routes/V4/Settings/PaymentGateways/Schema/AbstractPaymentGatewaySettingsSchema.php
+
+ -
+ message: '#^Parameter \#1 \$str of function sanitize_textarea_field expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/PaymentGateways/Schema/AbstractPaymentGatewaySettingsSchema.php
+
+ -
+ message: '#^Parameter \#3 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/PaymentGateways/Schema/AbstractPaymentGatewaySettingsSchema.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_zones\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/PaymentGateways/Schema/CodGatewaySettingsSchema.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Settings\\Products\\Controller\:\:get_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Products/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Settings\\Products\\Controller\:\:get_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Products/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Settings\\Products\\Controller\:\:get_item_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Products/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Settings\\Products\\Controller\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Products/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Settings\\Products\\Controller\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Products/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Settings\\Products\\Controller\:\:update_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Products/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Settings\\Products\\Controller\:\:update_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Products/Controller.php
+
+ -
+ message: '#^PHPDoc type Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Settings\\Products\\Schema\\ProductSettingsSchema of property Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Settings\\Products\\Controller\:\:\$schema is not covariant with PHPDoc type array of overridden property Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\AbstractController\:\:\$schema\.$#'
+ identifier: property.phpDocType
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Products/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$bool of function wc_bool_to_string expects bool\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Products/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$callback of function array_map expects \(callable\(mixed\)\: mixed\)\|null, ''sanitize_text_field'' given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Products/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$str of function sanitize_text_field expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 3
+ path: src/Internal/RestApi/Routes/V4/Settings/Products/Controller.php
+
+ -
+ message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Products/Schema/ProductSettingsSchema.php
+
+ -
+ message: '#^Call to function in_array\(\) with arguments mixed, array\{''title'', ''sectionend''\} and true will always evaluate to false\.$#'
+ identifier: function.impossibleType
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Products/Schema/ProductSettingsSchema.php
+
+ -
+ message: '#^Cannot access offset ''default'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Products/Schema/ProductSettingsSchema.php
+
+ -
+ message: '#^Cannot access offset ''desc'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Products/Schema/ProductSettingsSchema.php
+
+ -
+ message: '#^Cannot access offset ''id'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: src/Internal/RestApi/Routes/V4/Settings/Products/Schema/ProductSettingsSchema.php
+
+ -
+ message: '#^Cannot access offset ''order'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Products/Schema/ProductSettingsSchema.php
+
+ -
+ message: '#^Cannot access offset ''title'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Products/Schema/ProductSettingsSchema.php
+
+ -
+ message: '#^Cannot access offset ''type'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Products/Schema/ProductSettingsSchema.php
+
+ -
+ message: '#^Cannot cast mixed to int\.$#'
+ identifier: cast.int
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Products/Schema/ProductSettingsSchema.php
+
+ -
+ message: '#^Cannot cast mixed to string\.$#'
+ identifier: cast.string
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Products/Schema/ProductSettingsSchema.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Settings\\Products\\Schema\\ProductSettingsSchema\:\:get_item_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Products/Schema/ProductSettingsSchema.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Settings\\Products\\Schema\\ProductSettingsSchema\:\:transform_setting_to_field\(\) never returns null so it can be removed from the return type\.$#'
+ identifier: return.unusedType
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Products/Schema/ProductSettingsSchema.php
+
+ -
+ message: '#^Offset ''order'' on array\{title\: mixed, description\: mixed, order\: int, fields\: list\<non\-empty\-array\>\} on left side of \?\? always exists and is not nullable\.$#'
+ identifier: nullCoalesce.offset
+ count: 2
+ path: src/Internal/RestApi/Routes/V4/Settings/Products/Schema/ProductSettingsSchema.php
+
+ -
+ message: '#^Parameter \#1 \$setting of method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Settings\\Products\\Schema\\ProductSettingsSchema\:\:transform_setting_to_field\(\) expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Products/Schema/ProductSettingsSchema.php
+
+ -
+ message: '#^Parameter \#1 \$string of function wc_string_to_bool expects bool\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Products/Schema/ProductSettingsSchema.php
+
+ -
+ message: '#^Possibly invalid array key type mixed\.$#'
+ identifier: offsetAccess.invalidOffset
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Products/Schema/ProductSettingsSchema.php
+
+ -
+ message: '#^Cannot cast mixed to string\.$#'
+ identifier: cast.string
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Tax/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Settings\\Tax\\Controller\:\:get_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Tax/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Settings\\Tax\\Controller\:\:get_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Tax/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Settings\\Tax\\Controller\:\:get_item_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Tax/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Settings\\Tax\\Controller\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Tax/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Settings\\Tax\\Controller\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Tax/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Settings\\Tax\\Controller\:\:update_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Tax/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Settings\\Tax\\Controller\:\:update_item_permissions_check\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Tax/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$bool of function wc_bool_to_string expects bool\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Tax/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$callback of function array_map expects \(callable\(mixed\)\: mixed\)\|null, ''sanitize_text_field'' given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Tax/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$callback of function array_map expects \(callable\(mixed\)\: mixed\)\|null, ''strval'' given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Tax/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$str of function sanitize_text_field expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 3
+ path: src/Internal/RestApi/Routes/V4/Settings/Tax/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$str of function sanitize_textarea_field expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Tax/Controller.php
+
+ -
+ message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Tax/Schema/TaxSettingsSchema.php
+
+ -
+ message: '#^Cannot access offset ''default'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Tax/Schema/TaxSettingsSchema.php
+
+ -
+ message: '#^Cannot access offset ''desc'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Tax/Schema/TaxSettingsSchema.php
+
+ -
+ message: '#^Cannot access offset ''id'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: src/Internal/RestApi/Routes/V4/Settings/Tax/Schema/TaxSettingsSchema.php
+
+ -
+ message: '#^Cannot access offset ''order'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Tax/Schema/TaxSettingsSchema.php
+
+ -
+ message: '#^Cannot access offset ''title'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Tax/Schema/TaxSettingsSchema.php
+
+ -
+ message: '#^Cannot access offset ''type'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Tax/Schema/TaxSettingsSchema.php
+
+ -
+ message: '#^Cannot cast mixed to int\.$#'
+ identifier: cast.int
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Tax/Schema/TaxSettingsSchema.php
+
+ -
+ message: '#^Cannot cast mixed to string\.$#'
+ identifier: cast.string
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Tax/Schema/TaxSettingsSchema.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Settings\\Tax\\Schema\\TaxSettingsSchema\:\:get_item_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Tax/Schema/TaxSettingsSchema.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Settings\\Tax\\Schema\\TaxSettingsSchema\:\:transform_setting_to_field\(\) never returns null so it can be removed from the return type\.$#'
+ identifier: return.unusedType
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Tax/Schema/TaxSettingsSchema.php
+
+ -
+ message: '#^Offset ''order'' on array\{title\: mixed, description\: mixed, order\: int, fields\: list\<non\-empty\-array\>\} on left side of \?\? always exists and is not nullable\.$#'
+ identifier: nullCoalesce.offset
+ count: 2
+ path: src/Internal/RestApi/Routes/V4/Settings/Tax/Schema/TaxSettingsSchema.php
+
+ -
+ message: '#^Parameter \#1 \$setting of method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\Settings\\Tax\\Schema\\TaxSettingsSchema\:\:transform_setting_to_field\(\) expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Tax/Schema/TaxSettingsSchema.php
+
+ -
+ message: '#^Parameter \#1 \$string of function wc_string_to_bool expects bool\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Tax/Schema/TaxSettingsSchema.php
+
+ -
+ message: '#^Possibly invalid array key type mixed\.$#'
+ identifier: offsetAccess.invalidOffset
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/Settings/Tax/Schema/TaxSettingsSchema.php
+
+ -
+ message: '#^@param Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\ShippingZoneMethod\\WC_Shipping_Method \$method does not accept actual type of parameter\: WC_Shipping_Method\|true\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/ShippingZoneMethod/Controller.php
+
+ -
+ message: '#^@param Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\ShippingZoneMethod\\WP_REST_Response \$response does not accept actual type of parameter\: WP_Error\|WP_REST_Response\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/ShippingZoneMethod/Controller.php
+
+ -
+ message: '#^Call to an undefined method WP_Error\|WP_REST_Response\:\:set_status\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/ShippingZoneMethod/Controller.php
+
+ -
+ message: '#^Cannot assign offset ''zone_id'' to WP_REST_Request\.$#'
+ identifier: offsetAssign.dimType
+ count: 3
+ path: src/Internal/RestApi/Routes/V4/ShippingZoneMethod/Controller.php
+
+ -
+ message: '#^Cannot call method get_id\(\) on WC_Shipping_Zone\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/ShippingZoneMethod/Controller.php
+
+ -
+ message: '#^Cannot call method get_zone_name\(\) on WC_Shipping_Zone\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/ShippingZoneMethod/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\ShippingZoneMethod\\Controller\:\:check_permissions\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/ShippingZoneMethod/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\ShippingZoneMethod\\Controller\:\:check_permissions\(\) should return WP_Error\|true but returns WP_Error\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/ShippingZoneMethod/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\ShippingZoneMethod\\Controller\:\:create_item\(\) has invalid return type Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\ShippingZoneMethod\\WP_REST_Response\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/ShippingZoneMethod/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\ShippingZoneMethod\\Controller\:\:create_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/ShippingZoneMethod/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\ShippingZoneMethod\\Controller\:\:create_item\(\) should return Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\ShippingZoneMethod\\WP_REST_Response\|WP_Error but returns WP_Error\|WP_REST_Response\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/ShippingZoneMethod/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\ShippingZoneMethod\\Controller\:\:delete_item\(\) has invalid return type Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\ShippingZoneMethod\\WP_REST_Response\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/ShippingZoneMethod/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\ShippingZoneMethod\\Controller\:\:delete_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/ShippingZoneMethod/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\ShippingZoneMethod\\Controller\:\:delete_item\(\) should return Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\ShippingZoneMethod\\WP_REST_Response\|WP_Error but returns WP_Error\|WP_REST_Response\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/ShippingZoneMethod/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\ShippingZoneMethod\\Controller\:\:get_item\(\) has invalid return type Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\ShippingZoneMethod\\WP_REST_Response\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/ShippingZoneMethod/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\ShippingZoneMethod\\Controller\:\:get_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/ShippingZoneMethod/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\ShippingZoneMethod\\Controller\:\:get_item\(\) should return Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\ShippingZoneMethod\\WP_REST_Response\|WP_Error but returns WP_Error\|WP_REST_Response\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/ShippingZoneMethod/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\ShippingZoneMethod\\Controller\:\:get_item_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/ShippingZoneMethod/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\ShippingZoneMethod\\Controller\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/ShippingZoneMethod/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\ShippingZoneMethod\\Controller\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/ShippingZoneMethod/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\ShippingZoneMethod\\Controller\:\:update_item\(\) has invalid return type Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\ShippingZoneMethod\\WP_REST_Response\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/ShippingZoneMethod/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\ShippingZoneMethod\\Controller\:\:update_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/ShippingZoneMethod/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\ShippingZoneMethod\\Controller\:\:update_item\(\) should return Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\ShippingZoneMethod\\WP_REST_Response\|WP_Error but returns WP_Error\|WP_REST_Response\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/ShippingZoneMethod/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\ShippingZoneMethod\\Controller\:\:validate_zone\(\) should return WC_Shipping_Zone\|WP_Error but returns WC_Shipping_Zone\|true\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/ShippingZoneMethod/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\ShippingZoneMethod\\Controller\:\:validate_zone_by_method_instance\(\) should return WC_Shipping_Zone\|WP_Error but returns WC_Shipping_Zone\|true\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/ShippingZoneMethod/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$method of method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\ShippingZoneMethod\\ShippingMethodSchema\:\:get_item_response\(\) expects object, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/ShippingZoneMethod/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$method of method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\ShippingZoneMethod\\ShippingZoneMethodService\:\:update_shipping_zone_method\(\) expects WC_Shipping_Method, WC_Shipping_Method\|true given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Internal/RestApi/Routes/V4/ShippingZoneMethod/Controller.php
+
+ -
+ message: '#^WP_REST_Request does not accept int\.$#'
+ identifier: offsetAssign.valueType
+ count: 3
+ path: src/Internal/RestApi/Routes/V4/ShippingZoneMethod/Controller.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$enabled\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/ShippingZoneMethod/ShippingMethodSchema.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$id\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/ShippingZoneMethod/ShippingMethodSchema.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$instance_id\.$#'
+ identifier: property.notFound
+ count: 2
+ path: src/Internal/RestApi/Routes/V4/ShippingZoneMethod/ShippingMethodSchema.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$method_order\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/ShippingZoneMethod/ShippingMethodSchema.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_zone_id_by_instance_id\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/ShippingZoneMethod/ShippingMethodSchema.php
+
+ -
+ message: '#^Call to an undefined method object\:\:get_title\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/ShippingZoneMethod/ShippingMethodSchema.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\ShippingZoneMethod\\ShippingMethodSchema\:\:get_item_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/ShippingZoneMethod/ShippingMethodSchema.php
+
+ -
+ message: '#^Call to an undefined method WP_Error\|WP_REST_Response\:\:header\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/ShippingZones/Controller.php
+
+ -
+ message: '#^Call to an undefined method WP_Error\|WP_REST_Response\:\:set_status\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/ShippingZones/Controller.php
+
+ -
+ message: '#^Call to method create_shipping_zone\(\) on an unknown class Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\ShippingZones\\ShippingZoneSchemaService\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/ShippingZones/Controller.php
+
+ -
+ message: '#^Call to method get_sorted_shipping_zones\(\) on an unknown class Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\ShippingZones\\ShippingZoneSchemaService\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/ShippingZones/Controller.php
+
+ -
+ message: '#^Call to method update_shipping_zone\(\) on an unknown class Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\ShippingZones\\ShippingZoneSchemaService\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/ShippingZones/Controller.php
+
+ -
+ message: '#^Cannot call method get_id\(\) on WC_Shipping_Zone\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/ShippingZones/Controller.php
+
+ -
+ message: '#^Cannot call method get_zone_name\(\) on WC_Shipping_Zone\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/ShippingZones/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\ShippingZones\\Controller\:\:check_permissions\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/ShippingZones/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\ShippingZones\\Controller\:\:check_permissions\(\) should return WP_Error\|true but returns WP_Error\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/ShippingZones/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\ShippingZones\\Controller\:\:create_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/ShippingZones/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\ShippingZones\\Controller\:\:delete_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/ShippingZones/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\ShippingZones\\Controller\:\:get_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/ShippingZones/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\ShippingZones\\Controller\:\:get_item_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/ShippingZones/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\ShippingZones\\Controller\:\:get_items\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/ShippingZones/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\ShippingZones\\Controller\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/ShippingZones/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\ShippingZones\\Controller\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/ShippingZones/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\ShippingZones\\Controller\:\:update_item\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/ShippingZones/Controller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\ShippingZones\\Controller\:\:validate_zone\(\) should return WC_Shipping_Zone\|WP_Error but returns WC_Shipping_Zone\|true\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/ShippingZones/Controller.php
+
+ -
+ message: '#^PHPDoc tag @extends has invalid value \(AbstractController\)\: Unexpected token "\\n ", expected ''\<'' at offset 82 on line 4$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/ShippingZones/Controller.php
+
+ -
+ message: '#^Parameter \#1 \$response of method WP_REST_Controller\:\:prepare_response_for_collection\(\) expects WP_REST_Response, WP_Error\|WP_REST_Response given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/ShippingZones/Controller.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\ShippingZones\\Controller\:\:\$shipping_zone_service \(Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\ShippingZones\\ShippingZoneSchemaService\) does not accept Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\ShippingZones\\ShippingZoneService\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/ShippingZones/Controller.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\ShippingZones\\Controller\:\:\$shipping_zone_service has unknown class Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\ShippingZones\\ShippingZoneSchemaService as its type\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/ShippingZones/Controller.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$code\.$#'
+ identifier: property.notFound
+ count: 9
+ path: src/Internal/RestApi/Routes/V4/ShippingZones/ShippingZoneSchema.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$type\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/ShippingZones/ShippingZoneSchema.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\ShippingZones\\ShippingZoneSchema\:\:get_item_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/ShippingZones/ShippingZoneSchema.php
+
+ -
+ message: '#^Cannot call method get_data\(\) on bool\|WC_Shipping_Zone\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/ShippingZones/ShippingZoneService.php
+
+ -
+ message: '#^Cannot call method get_id\(\) on bool\|WC_Shipping_Zone\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/ShippingZones/ShippingZoneService.php
+
+ -
+ message: '#^Cannot call method get_shipping_methods\(\) on bool\|WC_Shipping_Zone\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/ShippingZones/ShippingZoneService.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApi\\Routes\\V4\\ShippingZones\\ShippingZoneService\:\:update_shipping_zone\(\) should return WC_Shipping_Zone\|WP_Error but returns bool\|WC_Shipping_Zone\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/RestApi/Routes/V4/ShippingZones/ShippingZoneService.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApiControllerBase\:\:check_permission\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApiControllerBase.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApiControllerBase\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/RestApiControllerBase.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApiControllerBase\:\:run\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApiControllerBase.php
+
+ -
+ message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
+ count: 1
+ path: src/Internal/RestApiParameterUtil.php
+
+ -
+ message: '#^Cannot access offset ''id'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 4
+ path: src/Internal/RestApiParameterUtil.php
+
+ -
+ message: '#^Cannot access offset ''qty'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: src/Internal/RestApiParameterUtil.php
+
+ -
+ message: '#^Cannot access offset ''quantity'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: src/Internal/RestApiParameterUtil.php
+
+ -
+ message: '#^Cannot access offset ''refund_tax'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: src/Internal/RestApiParameterUtil.php
+
+ -
+ message: '#^Cannot access offset ''refund_total'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: src/Internal/RestApiParameterUtil.php
+
+ -
+ message: '#^Cannot assign offset ''amount'' to WP_REST_Request\.$#'
+ identifier: offsetAssign.dimType
+ count: 1
+ path: src/Internal/RestApiParameterUtil.php
+
+ -
+ message: '#^Cannot assign offset ''api_refund'' to WP_REST_Request\.$#'
+ identifier: offsetAssign.dimType
+ count: 1
+ path: src/Internal/RestApiParameterUtil.php
+
+ -
+ message: '#^Cannot assign offset ''api_restock'' to WP_REST_Request\.$#'
+ identifier: offsetAssign.dimType
+ count: 1
+ path: src/Internal/RestApiParameterUtil.php
+
+ -
+ message: '#^Cannot assign offset ''line_items'' to WP_REST_Request\.$#'
+ identifier: offsetAssign.dimType
+ count: 1
+ path: src/Internal/RestApiParameterUtil.php
+
+ -
+ message: '#^Cannot assign offset ''reason'' to WP_REST_Request\.$#'
+ identifier: offsetAssign.dimType
+ count: 1
+ path: src/Internal/RestApiParameterUtil.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApiParameterUtil\:\:adjust_create_refund_request_parameters\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/RestApiParameterUtil.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApiParameterUtil\:\:adjust_create_refund_request_parameters\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApiParameterUtil.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestApiParameterUtil\:\:calculate_refund_amount_from_line_items\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/Internal/RestApiParameterUtil.php
+
+ -
+ message: '#^Parameter \#1 \$taxes_array of static method Automattic\\WooCommerce\\Internal\\RestApiParameterUtil\:\:adjust_taxes_for_create_refund_request_line_item\(\) expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/RestApiParameterUtil.php
+
+ -
+ message: '#^Possibly invalid array key type mixed\.$#'
+ identifier: offsetAccess.invalidOffset
+ count: 3
+ path: src/Internal/RestApiParameterUtil.php
+
+ -
+ message: '#^WP_REST_Request does not accept array\.$#'
+ identifier: offsetAssign.valueType
+ count: 1
+ path: src/Internal/RestApiParameterUtil.php
+
+ -
+ message: '#^WP_REST_Request does not accept null\.$#'
+ identifier: offsetAssign.valueType
+ count: 1
+ path: src/Internal/RestApiParameterUtil.php
+
+ -
+ message: '#^WP_REST_Request does not accept string\.$#'
+ identifier: offsetAssign.valueType
+ count: 1
+ path: src/Internal/RestApiParameterUtil.php
+
+ -
+ message: '#^WP_REST_Request does not accept true\.$#'
+ identifier: offsetAssign.valueType
+ count: 2
+ path: src/Internal/RestApiParameterUtil.php
+
+ -
+ message: '#^Call to static method get_order_item\(\) on an unknown class Automattic\\WooCommerce\\Internal\\WC_Order_Factory\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/RestockRefundedItemsAdjuster.php
+
+ -
+ message: '#^Cannot call method get_instance_of\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/RestockRefundedItemsAdjuster.php
+
+ -
+ message: '#^Cannot call method get_qty_refunded_for_item\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/RestockRefundedItemsAdjuster.php
+
+ -
+ message: '#^Cannot call method get_refunds\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/RestockRefundedItemsAdjuster.php
+
+ -
+ message: '#^Cannot call method get_version\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/RestockRefundedItemsAdjuster.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestockRefundedItemsAdjuster\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/RestockRefundedItemsAdjuster.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\RestockRefundedItemsAdjuster\:\:initialize_restock_refunded_items\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/RestockRefundedItemsAdjuster.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Internal\\RestockRefundedItemsAdjuster\:\:\$order_factory has unknown class Automattic\\WooCommerce\\Internal\\WC_Order_Factory as its type\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/RestockRefundedItemsAdjuster.php
+
+ -
+ message: '#^Parameter \#1 \$color of function sanitize_hex_color expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Settings/OptionSanitizer.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Settings\\PointOfSaleDefaultSettings\:\:get_default_store_email\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/Settings/PointOfSaleDefaultSettings.php
+
+ -
+ message: '#^Parameter \#4 \$ver of function wp_register_script expects bool\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/StockNotifications/Admin/AdminManager.php
+
+ -
+ message: '#^Binary operation "/" between array\<Automattic\\WooCommerce\\Internal\\StockNotifications\\Notification\|int\>\|int and int\<1, max\> results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: src/Internal/StockNotifications/Admin/ListTable.php
+
+ -
+ message: '#^Call to an undefined method Automattic\\WooCommerce\\Internal\\StockNotifications\\Admin\\ListTable\:\:get_product_formatted_variation_list\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Internal/StockNotifications/Admin/ListTable.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:query\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Internal/StockNotifications/Admin/ListTable.php
+
+ -
+ message: '#^Cannot access property \$month on mixed\.$#'
+ identifier: property.nonObject
+ count: 2
+ path: src/Internal/StockNotifications/Admin/ListTable.php
+
+ -
+ message: '#^Cannot access property \$year on mixed\.$#'
+ identifier: property.nonObject
+ count: 3
+ path: src/Internal/StockNotifications/Admin/ListTable.php
+
+ -
+ message: '#^Cannot call method set_status\(\) on Automattic\\WooCommerce\\Internal\\StockNotifications\\Notification\|bool\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: src/Internal/StockNotifications/Admin/ListTable.php
+
+ -
+ message: '#^Cannot cast mixed to int\.$#'
+ identifier: cast.int
+ count: 3
+ path: src/Internal/StockNotifications/Admin/ListTable.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\StockNotifications\\Admin\\ListTable\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/StockNotifications/Admin/ListTable.php
+
+ -
+ message: '#^Parameter \#1 \$args of method WP_List_Table\:\:set_pagination_args\(\) expects array\{total_items\?\: int, total_pages\?\: int, per_page\?\: int\}, array\{total_items\: array\<Automattic\\WooCommerce\\Internal\\StockNotifications\\Notification\|int\>\|int, per_page\: int\<1, max\>, total_pages\: \(float\|false\)\} given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/StockNotifications/Admin/ListTable.php
+
+ -
+ message: '#^Parameter \#1 \$callback of function array_map expects \(callable\(mixed\)\: mixed\)\|null, ''absint'' given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/StockNotifications/Admin/ListTable.php
+
+ -
+ message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 4
+ path: src/Internal/StockNotifications/Admin/ListTable.php
+
+ -
+ message: '#^Parameter \#1 \$notification of method Automattic\\WooCommerce\\Internal\\DataStores\\StockNotifications\\StockNotificationsDataStore\:\:delete\(\) expects Automattic\\WooCommerce\\Internal\\StockNotifications\\Notification, Automattic\\WooCommerce\\Internal\\StockNotifications\\Notification\|bool given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Internal/StockNotifications/Admin/ListTable.php
+
+ -
+ message: '#^Parameter \#1 \$notification of method Automattic\\WooCommerce\\Internal\\DataStores\\StockNotifications\\StockNotificationsDataStore\:\:update\(\) expects Automattic\\WooCommerce\\Internal\\StockNotifications\\Notification, Automattic\\WooCommerce\\Internal\\StockNotifications\\Notification\|bool given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Internal/StockNotifications/Admin/ListTable.php
+
+ -
+ message: '#^Parameter \#1 \$object_or_string of function is_a expects object, WC_Product\|false given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Internal/StockNotifications/Admin/ListTable.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_attr expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Internal/StockNotifications/Admin/ListTable.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_attr expects string, int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/StockNotifications/Admin/ListTable.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_html expects string, int given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Internal/StockNotifications/Admin/ListTable.php
+
+ -
+ message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 4
+ path: src/Internal/StockNotifications/Admin/ListTable.php
+
+ -
+ message: '#^Possibly invalid array key type array\|string\.$#'
+ identifier: array.invalidKey
+ count: 1
+ path: src/Internal/StockNotifications/Admin/ListTable.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Internal\\StockNotifications\\Admin\\ListTable\:\:\$data_store \(Automattic\\WooCommerce\\Internal\\DataStores\\StockNotifications\\StockNotificationsDataStore\) does not accept WC_Data_Store\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/Internal/StockNotifications/Admin/ListTable.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Internal\\StockNotifications\\Admin\\ListTable\:\:\$total_active_items \(int\) does not accept array\<Automattic\\WooCommerce\\Internal\\StockNotifications\\Notification\|int\>\|int\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/Internal/StockNotifications/Admin/ListTable.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Internal\\StockNotifications\\Admin\\ListTable\:\:\$total_cancelled_items \(int\) does not accept array\<Automattic\\WooCommerce\\Internal\\StockNotifications\\Notification\|int\>\|int\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/Internal/StockNotifications/Admin/ListTable.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Internal\\StockNotifications\\Admin\\ListTable\:\:\$total_items \(int\) does not accept array\<Automattic\\WooCommerce\\Internal\\StockNotifications\\Notification\|int\>\|int\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/Internal/StockNotifications/Admin/ListTable.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Internal\\StockNotifications\\Admin\\ListTable\:\:\$total_pending_items \(int\) does not accept array\<Automattic\\WooCommerce\\Internal\\StockNotifications\\Notification\|int\>\|int\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/Internal/StockNotifications/Admin/ListTable.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Internal\\StockNotifications\\Admin\\ListTable\:\:\$total_sent_items \(int\) does not accept array\<Automattic\\WooCommerce\\Internal\\StockNotifications\\Notification\|int\>\|int\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/Internal/StockNotifications/Admin/ListTable.php
+
+ -
+ message: '#^Property WP_List_Table\:\:\$items \(array\) does not accept array\<Automattic\\WooCommerce\\Internal\\StockNotifications\\Notification\|int\>\|int\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/Internal/StockNotifications/Admin/ListTable.php
+
+ -
+ message: '#^Action callback returns bool\|void but should not return anything\.$#'
+ identifier: return.void
+ count: 1
+ path: src/Internal/StockNotifications/Admin/MenusController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\StockNotifications\\Admin\\MenusController\:\:notifications_page\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/StockNotifications/Admin/MenusController.php
+
+ -
+ message: '#^Parameter \#1 \$str of function sanitize_text_field expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/StockNotifications/Admin/MenusController.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:query\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Internal/StockNotifications/Admin/NotificationCreatePage.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\StockNotifications\\Admin\\NotificationCreatePage\:\:output\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/StockNotifications/Admin/NotificationCreatePage.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\StockNotifications\\Admin\\NotificationCreatePage\:\:process_create_form\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/StockNotifications/Admin/NotificationCreatePage.php
+
+ -
+ message: '#^Offset ''user_email'' might not exist on array\{product_id\: int, user_id\: int, user_email\: string\}\|array\{product_id\: int\}\.$#'
+ identifier: offsetAccess.notFound
+ count: 1
+ path: src/Internal/StockNotifications/Admin/NotificationCreatePage.php
+
+ -
+ message: '#^Offset ''user_id'' might not exist on array\{product_id\: int, user_id\: int, user_email\: string\}\|array\{product_id\: int\}\.$#'
+ identifier: offsetAccess.notFound
+ count: 1
+ path: src/Internal/StockNotifications/Admin/NotificationCreatePage.php
+
+ -
+ message: '#^Parameter \#1 \$object_or_string of function is_a expects object, WP_User\|false given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Internal/StockNotifications/Admin/NotificationCreatePage.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\StockNotifications\\Admin\\NotificationEditPage\:\:output\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/StockNotifications/Admin/NotificationEditPage.php
+
+ -
+ message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/StockNotifications/Admin/NotificationEditPage.php
+
+ -
+ message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/StockNotifications/Admin/NotificationEditPage.php
+
+ -
+ message: '#^Variable \$notification might not be defined\.$#'
+ identifier: variable.undefined
+ count: 1
+ path: src/Internal/StockNotifications/Admin/NotificationEditPage.php
+
+ -
+ message: '#^Cannot call method prepare_items\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/StockNotifications/Admin/NotificationsPage.php
+
+ -
+ message: '#^Cannot call method process_actions\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/StockNotifications/Admin/NotificationsPage.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\StockNotifications\\Admin\\NotificationsPage\:\:create\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/StockNotifications/Admin/NotificationsPage.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\StockNotifications\\Admin\\NotificationsPage\:\:edit\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/StockNotifications/Admin/NotificationsPage.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\StockNotifications\\Admin\\NotificationsPage\:\:output\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/StockNotifications/Admin/NotificationsPage.php
+
+ -
+ message: '#^Parameter \#1 \$message of function wp_admin_notice expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/StockNotifications/Admin/NotificationsPage.php
+
+ -
+ message: '#^Call to method get_meta\(\) on an unknown class Automattic\\WooCommerce\\Internal\\StockNotifications\\Admin\\WC_Product\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/StockNotifications/Admin/SettingsController.php
+
+ -
+ message: '#^Call to method is_type\(\) on an unknown class Automattic\\WooCommerce\\Internal\\StockNotifications\\Admin\\WC_Product\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/StockNotifications/Admin/SettingsController.php
+
+ -
+ message: '#^Call to method update_meta_data\(\) on an unknown class Automattic\\WooCommerce\\Internal\\StockNotifications\\Admin\\WC_Product\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/StockNotifications/Admin/SettingsController.php
+
+ -
+ message: '#^Parameter \$product of method Automattic\\WooCommerce\\Internal\\StockNotifications\\Admin\\SettingsController\:\:process_product_object\(\) has invalid type Automattic\\WooCommerce\\Internal\\StockNotifications\\Admin\\WC_Product\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/StockNotifications/Admin/SettingsController.php
+
+ -
+ message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Internal/StockNotifications/Admin/Templates/html-admin-notification-create.php
+
+ -
+ message: '#^Parameter \#1 \$object_or_string of function is_a expects object, WC_Product\|false\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/StockNotifications/Admin/Templates/html-admin-notification-create.php
+
+ -
+ message: '#^Parameter \#1 \$str of function sanitize_text_field expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/StockNotifications/Admin/Templates/html-admin-notification-create.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_attr expects string, int\<min, \-1\>\|int\<1, max\> given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Internal/StockNotifications/Admin/Templates/html-admin-notification-create.php
+
+ -
+ message: '#^Parameter \#1 \$object_or_string of function is_a expects object, WP_User\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/StockNotifications/Admin/Templates/html-admin-notification-edit.php
+
+ -
+ message: '#^Parameter \#1 \$object_or_string of function is_a expects object, WP_User\|false\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/StockNotifications/Admin/Templates/html-admin-notification-edit.php
+
+ -
+ message: '#^Variable \$notification might not be defined\.$#'
+ identifier: variable.undefined
+ count: 20
+ path: src/Internal/StockNotifications/Admin/Templates/html-admin-notification-edit.php
+
+ -
+ message: '#^Variable \$signed_up_customers might not be defined\.$#'
+ identifier: variable.undefined
+ count: 2
+ path: src/Internal/StockNotifications/Admin/Templates/html-admin-notification-edit.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_attr expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Internal/StockNotifications/Admin/Templates/html-admin-notifications.php
+
+ -
+ message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Internal/StockNotifications/Admin/Templates/html-admin-notifications.php
+
+ -
+ message: '#^Variable \$table might not be defined\.$#'
+ identifier: variable.undefined
+ count: 3
+ path: src/Internal/StockNotifications/Admin/Templates/html-admin-notifications.php
+
+ -
+ message: '#^Variable \$product might not be defined\.$#'
+ identifier: variable.undefined
+ count: 11
+ path: src/Internal/StockNotifications/Admin/Templates/html-product-data-admin.php
+
+ -
+ message: '#^PHPDoc tag @param for parameter \$product_id with type int\|string is not subtype of native type int\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: src/Internal/StockNotifications/AsyncTasks/CycleStateService.php
+
+ -
+ message: '#^Call to method error\(\) on an unknown class Automattic\\WooCommerce\\Internal\\StockNotifications\\AsyncTasks\\Logger\.$#'
+ identifier: class.notFound
+ count: 2
+ path: src/Internal/StockNotifications/AsyncTasks/NotificationsProcessor.php
+
+ -
+ message: '#^Expression on left side of \?\? is not nullable\.$#'
+ identifier: nullCoalesce.expr
+ count: 1
+ path: src/Internal/StockNotifications/AsyncTasks/NotificationsProcessor.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Internal\\StockNotifications\\AsyncTasks\\NotificationsProcessor\:\:\$logger \(Automattic\\WooCommerce\\Internal\\StockNotifications\\AsyncTasks\\Logger\) does not accept WC_Logger_Interface\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/Internal/StockNotifications/AsyncTasks/NotificationsProcessor.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Internal\\StockNotifications\\AsyncTasks\\NotificationsProcessor\:\:\$logger has unknown class Automattic\\WooCommerce\\Internal\\StockNotifications\\AsyncTasks\\Logger as its type\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/StockNotifications/AsyncTasks/NotificationsProcessor.php
+
+ -
+ message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/StockNotifications/Config.php
+
+ -
+ message: '#^Cannot call method delete\(\) on Automattic\\WooCommerce\\Internal\\StockNotifications\\Notification\|bool\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/StockNotifications/DataRetentionController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\StockNotifications\\DataRetentionController\:\:clear_daily_task\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/StockNotifications/DataRetentionController.php
+
+ -
+ message: '#^@param Automattic\\WooCommerce\\Internal\\StockNotifications\\Notification \$notification does not accept actual type of parameter\: bool\|object\.$#'
+ identifier: parameter.phpDocType
+ count: 2
+ path: src/Internal/StockNotifications/Emails/CustomerStockNotificationEmail.php
+
+ -
+ message: '#^Cannot call method get_id\(\) on bool\|object\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/StockNotifications/Emails/CustomerStockNotificationEmail.php
+
+ -
+ message: '#^Cannot call method get_name\(\) on WC_Product\|false\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/StockNotifications/Emails/CustomerStockNotificationEmail.php
+
+ -
+ message: '#^Cannot call method get_product\(\) on bool\|object\.$#'
+ identifier: method.nonObject
+ count: 3
+ path: src/Internal/StockNotifications/Emails/CustomerStockNotificationEmail.php
+
+ -
+ message: '#^Cannot call method get_product_permalink\(\) on bool\|object\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/StockNotifications/Emails/CustomerStockNotificationEmail.php
+
+ -
+ message: '#^Cannot call method get_unsubscribe_key\(\) on bool\|object\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/StockNotifications/Emails/CustomerStockNotificationEmail.php
+
+ -
+ message: '#^Cannot call method get_user_email\(\) on bool\|object\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/StockNotifications/Emails/CustomerStockNotificationEmail.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\StockNotifications\\Emails\\CustomerStockNotificationEmail\:\:maybe_restore_notification_locale\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/StockNotifications/Emails/CustomerStockNotificationEmail.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\StockNotifications\\Emails\\CustomerStockNotificationEmail\:\:maybe_setup_notification_locale\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/StockNotifications/Emails/CustomerStockNotificationEmail.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\StockNotifications\\Emails\\CustomerStockNotificationEmail\:\:trigger\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/StockNotifications/Emails/CustomerStockNotificationEmail.php
+
+ -
+ message: '#^Parameter \#1 \$locale of function switch_to_locale expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/StockNotifications/Emails/CustomerStockNotificationEmail.php
+
+ -
+ message: '#^Parameter \#1 \$object_or_string of function is_a expects object, WP_User\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/StockNotifications/Emails/CustomerStockNotificationEmail.php
+
+ -
+ message: '#^Cannot call method get_id\(\) on bool\|object\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/StockNotifications/Emails/CustomerStockNotificationVerifiedEmail.php
+
+ -
+ message: '#^Cannot call method get_name\(\) on WC_Product\|false\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/StockNotifications/Emails/CustomerStockNotificationVerifiedEmail.php
+
+ -
+ message: '#^Cannot call method get_product\(\) on bool\|object\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: src/Internal/StockNotifications/Emails/CustomerStockNotificationVerifiedEmail.php
+
+ -
+ message: '#^Cannot call method get_unsubscribe_key\(\) on bool\|object\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/StockNotifications/Emails/CustomerStockNotificationVerifiedEmail.php
+
+ -
+ message: '#^Cannot call method get_user_email\(\) on bool\|object\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/StockNotifications/Emails/CustomerStockNotificationVerifiedEmail.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\StockNotifications\\Emails\\CustomerStockNotificationVerifiedEmail\:\:maybe_restore_notification_locale\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/StockNotifications/Emails/CustomerStockNotificationVerifiedEmail.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\StockNotifications\\Emails\\CustomerStockNotificationVerifiedEmail\:\:maybe_setup_notification_locale\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/StockNotifications/Emails/CustomerStockNotificationVerifiedEmail.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\StockNotifications\\Emails\\CustomerStockNotificationVerifiedEmail\:\:trigger\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/StockNotifications/Emails/CustomerStockNotificationVerifiedEmail.php
+
+ -
+ message: '#^Parameter \#1 \$locale of function switch_to_locale expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/StockNotifications/Emails/CustomerStockNotificationVerifiedEmail.php
+
+ -
+ message: '#^Parameter \#1 \$object_or_string of function is_a expects object, WP_User\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/StockNotifications/Emails/CustomerStockNotificationVerifiedEmail.php
+
+ -
+ message: '#^@param Automattic\\WooCommerce\\Internal\\StockNotifications\\Notification \$notification does not accept actual type of parameter\: bool\|object\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: src/Internal/StockNotifications/Emails/CustomerStockNotificationVerifyEmail.php
+
+ -
+ message: '#^Cannot call method get_id\(\) on bool\|object\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/StockNotifications/Emails/CustomerStockNotificationVerifyEmail.php
+
+ -
+ message: '#^Cannot call method get_name\(\) on WC_Product\|false\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/StockNotifications/Emails/CustomerStockNotificationVerifyEmail.php
+
+ -
+ message: '#^Cannot call method get_product\(\) on bool\|object\.$#'
+ identifier: method.nonObject
+ count: 3
+ path: src/Internal/StockNotifications/Emails/CustomerStockNotificationVerifyEmail.php
+
+ -
+ message: '#^Cannot call method get_verification_key\(\) on bool\|object\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/StockNotifications/Emails/CustomerStockNotificationVerifyEmail.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\StockNotifications\\Emails\\CustomerStockNotificationVerifyEmail\:\:maybe_restore_notification_locale\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/StockNotifications/Emails/CustomerStockNotificationVerifyEmail.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\StockNotifications\\Emails\\CustomerStockNotificationVerifyEmail\:\:maybe_setup_notification_locale\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/StockNotifications/Emails/CustomerStockNotificationVerifyEmail.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\StockNotifications\\Emails\\CustomerStockNotificationVerifyEmail\:\:trigger\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/StockNotifications/Emails/CustomerStockNotificationVerifyEmail.php
+
+ -
+ message: '#^Parameter \#1 \$locale of function switch_to_locale expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/StockNotifications/Emails/CustomerStockNotificationVerifyEmail.php
+
+ -
+ message: '#^@param string \$url does not accept actual type of parameter\: string\|false\.$#'
+ identifier: parameter.phpDocType
+ count: 2
+ path: src/Internal/StockNotifications/Emails/EmailActionController.php
+
+ -
+ message: '#^Call to an undefined method WC_Session\:\:has_session\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: src/Internal/StockNotifications/Emails/EmailActionController.php
+
+ -
+ message: '#^Call to an undefined method WC_Session\:\:set_customer_session_cookie\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: src/Internal/StockNotifications/Emails/EmailActionController.php
+
+ -
+ message: '#^Cannot call method get_meta\(\) on Automattic\\WooCommerce\\Internal\\StockNotifications\\Notification\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/StockNotifications/Emails/EmailActionController.php
+
+ -
+ message: '#^Cannot call method get_name\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: src/Internal/StockNotifications/Emails/EmailActionController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\StockNotifications\\Emails\\EmailActionController\:\:get_notification_to_be_processed\(\) never returns null so it can be removed from the return type\.$#'
+ identifier: return.unusedType
+ count: 1
+ path: src/Internal/StockNotifications/Emails/EmailActionController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\StockNotifications\\Emails\\EmailActionController\:\:get_notification_to_be_processed\(\) should return Automattic\\WooCommerce\\Internal\\StockNotifications\\Notification\|null but returns Automattic\\WooCommerce\\Internal\\StockNotifications\\Notification\|true\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/StockNotifications/Emails/EmailActionController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\StockNotifications\\Emails\\EmailActionController\:\:get_notification_to_be_processed\(\) should return Automattic\\WooCommerce\\Internal\\StockNotifications\\Notification\|null but returns false\.$#'
+ identifier: return.type
+ count: 2
+ path: src/Internal/StockNotifications/Emails/EmailActionController.php
+
+ -
+ message: '#^PHPDoc tag @return with type Automattic\\WooCommerce\\Internal\\StockNotifications\\Notification\|false is not subtype of native type Automattic\\WooCommerce\\Internal\\StockNotifications\\Notification\|null\.$#'
+ identifier: return.phpDocType
+ count: 1
+ path: src/Internal/StockNotifications/Emails/EmailActionController.php
+
+ -
+ message: '#^Parameter \#1 \$haystack of function strpos expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/StockNotifications/Emails/EmailActionController.php
+
+ -
+ message: '#^Parameter \#1 \$maybeint of function absint expects array\|bool\|float\|int\|resource\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/StockNotifications/Emails/EmailActionController.php
+
+ -
+ message: '#^Access to property \$id on an unknown class Automattic\\WooCommerce\\Internal\\StockNotifications\\Emails\\WC_Email\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/StockNotifications/Emails/EmailManager.php
+
+ -
+ message: '#^Action callback returns array but should not return anything\.$#'
+ identifier: return.void
+ count: 1
+ path: src/Internal/StockNotifications/Emails/EmailManager.php
+
+ -
+ message: '#^Call to an undefined method WC_Email\:\:prepare_email\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Internal/StockNotifications/Emails/EmailManager.php
+
+ -
+ message: '#^Call to an undefined method WC_Email\:\:trigger\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Internal/StockNotifications/Emails/EmailManager.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_attr expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 11
+ path: src/Internal/StockNotifications/Emails/EmailManager.php
+
+ -
+ message: '#^Parameter \$email of method Automattic\\WooCommerce\\Internal\\StockNotifications\\Emails\\EmailManager\:\:add_stylesheets\(\) has invalid type Automattic\\WooCommerce\\Internal\\StockNotifications\\Emails\\WC_Email\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/StockNotifications/Emails/EmailManager.php
+
+ -
+ message: '#^Property WooCommerce\:\:\$customer \(WC_Customer\) in empty\(\) is not falsy\.$#'
+ identifier: empty.property
+ count: 1
+ path: src/Internal/StockNotifications/Emails/EmailManager.php
+
+ -
+ message: '#^Call to method get_image_id\(\) on an unknown class Automattic\\WooCommerce\\Internal\\StockNotifications\\Emails\\WC_Product\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/StockNotifications/Emails/EmailTemplatesController.php
+
+ -
+ message: '#^Call to method get_name\(\) on an unknown class Automattic\\WooCommerce\\Internal\\StockNotifications\\Emails\\WC_Product\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/StockNotifications/Emails/EmailTemplatesController.php
+
+ -
+ message: '#^Call to method get_price_html\(\) on an unknown class Automattic\\WooCommerce\\Internal\\StockNotifications\\Emails\\WC_Product\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/StockNotifications/Emails/EmailTemplatesController.php
+
+ -
+ message: '#^Call to method get_title\(\) on an unknown class Automattic\\WooCommerce\\Internal\\StockNotifications\\Emails\\WC_Product\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/StockNotifications/Emails/EmailTemplatesController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\StockNotifications\\Emails\\EmailTemplatesController\:\:email_product_attributes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/StockNotifications/Emails/EmailTemplatesController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\StockNotifications\\Emails\\EmailTemplatesController\:\:email_product_image\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/StockNotifications/Emails/EmailTemplatesController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\StockNotifications\\Emails\\EmailTemplatesController\:\:email_product_price\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/StockNotifications/Emails/EmailTemplatesController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\StockNotifications\\Emails\\EmailTemplatesController\:\:email_product_title\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/StockNotifications/Emails/EmailTemplatesController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\StockNotifications\\Emails\\EmailTemplatesController\:\:register_template_hooks\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/StockNotifications/Emails/EmailTemplatesController.php
+
+ -
+ message: '#^Parameter \#1 \$data of function wp_kses_post expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 4
+ path: src/Internal/StockNotifications/Emails/EmailTemplatesController.php
+
+ -
+ message: '#^Parameter \$product of method Automattic\\WooCommerce\\Internal\\StockNotifications\\Emails\\EmailTemplatesController\:\:email_product_attributes\(\) has invalid type Automattic\\WooCommerce\\Internal\\StockNotifications\\Emails\\WC_Product\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/StockNotifications/Emails/EmailTemplatesController.php
+
+ -
+ message: '#^Parameter \$product of method Automattic\\WooCommerce\\Internal\\StockNotifications\\Emails\\EmailTemplatesController\:\:email_product_image\(\) has invalid type Automattic\\WooCommerce\\Internal\\StockNotifications\\Emails\\WC_Product\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/StockNotifications/Emails/EmailTemplatesController.php
+
+ -
+ message: '#^Parameter \$product of method Automattic\\WooCommerce\\Internal\\StockNotifications\\Emails\\EmailTemplatesController\:\:email_product_price\(\) has invalid type Automattic\\WooCommerce\\Internal\\StockNotifications\\Emails\\WC_Product\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/StockNotifications/Emails/EmailTemplatesController.php
+
+ -
+ message: '#^Parameter \$product of method Automattic\\WooCommerce\\Internal\\StockNotifications\\Emails\\EmailTemplatesController\:\:email_product_title\(\) has invalid type Automattic\\WooCommerce\\Internal\\StockNotifications\\Emails\\WC_Product\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/StockNotifications/Emails/EmailTemplatesController.php
+
+ -
+ message: '#^Parameter \#1 \$image_id of method WC_Product\:\:set_image_id\(\) expects int\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/StockNotifications/Factory.php
+
+ -
+ message: '#^Parameter \#1 \$price of method WC_Product\:\:set_price\(\) expects string, int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/StockNotifications/Factory.php
+
+ -
+ message: '#^Call to method error\(\) on an unknown class Automattic\\WooCommerce\\Internal\\StockNotifications\\Frontend\\LoggerInterface\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/StockNotifications/Frontend/FormHandlerService.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\StockNotifications\\Frontend\\FormHandlerService\:\:handle_signup\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/StockNotifications/Frontend/FormHandlerService.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\StockNotifications\\Frontend\\FormHandlerService\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/StockNotifications/Frontend/FormHandlerService.php
+
+ -
+ message: '#^Parameter \#1 \$error_code of method Automattic\\WooCommerce\\Internal\\StockNotifications\\Frontend\\SignupService\:\:get_error_message\(\) expects string, int\|string given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Internal/StockNotifications/Frontend/FormHandlerService.php
+
+ -
+ message: '#^Parameter \#2 \$notification of method Automattic\\WooCommerce\\Internal\\StockNotifications\\Frontend\\SignupService\:\:get_signup_user_message\(\) expects Automattic\\WooCommerce\\Internal\\StockNotifications\\Notification, Automattic\\WooCommerce\\Internal\\StockNotifications\\Notification\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/StockNotifications/Frontend/FormHandlerService.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Internal\\StockNotifications\\Frontend\\FormHandlerService\:\:\$logger \(Automattic\\WooCommerce\\Internal\\StockNotifications\\Frontend\\LoggerInterface\) does not accept WC_Logger_Interface\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/Internal/StockNotifications/Frontend/FormHandlerService.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Internal\\StockNotifications\\Frontend\\FormHandlerService\:\:\$logger has unknown class Automattic\\WooCommerce\\Internal\\StockNotifications\\Frontend\\LoggerInterface as its type\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/StockNotifications/Frontend/FormHandlerService.php
+
+ -
+ message: '#^Call to an undefined method WC_Product\:\:has_purchasable_variations\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Internal/StockNotifications/Frontend/ProductPageIntegration.php
+
+ -
+ message: '#^Cannot access property \$ID on WP_User\|false\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: src/Internal/StockNotifications/Frontend/ProductPageIntegration.php
+
+ -
+ message: '#^Cannot access property \$user_email on WP_User\|false\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: src/Internal/StockNotifications/Frontend/ProductPageIntegration.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\StockNotifications\\Frontend\\SignupService\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/StockNotifications/Frontend/SignupService.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\StockNotifications\\Frontend\\SignupService\:\:is_already_signed_up\(\) should return Automattic\\WooCommerce\\Internal\\StockNotifications\\Notification\|null but returns Automattic\\WooCommerce\\Internal\\StockNotifications\\Notification\|true\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/StockNotifications/Frontend/SignupService.php
+
+ -
+ message: '#^Parameter \#1 \$notification_id of static method Automattic\\WooCommerce\\Internal\\StockNotifications\\Factory\:\:get_notification\(\) expects int, float\|int\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/StockNotifications/Frontend/SignupService.php
+
+ -
+ message: '#^Parameter \#1 \$object_or_string of function is_a expects object, int\|WP_Error given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/StockNotifications/Frontend/SignupService.php
+
+ -
+ message: '#^Parameter \#1 \$string of function html_entity_decode expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/StockNotifications/Frontend/SignupService.php
+
+ -
+ message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
+ count: 1
+ path: src/Internal/StockNotifications/Notification.php
+
+ -
+ message: '#^Call to an undefined method object\:\:create\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Internal/StockNotifications/Notification.php
+
+ -
+ message: '#^Call to an undefined method object\:\:update\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Internal/StockNotifications/Notification.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\StockNotifications\\Notification\:\:get_cancellation_source\(\) should return string\|null but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/StockNotifications/Notification.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\StockNotifications\\Notification\:\:get_date_cancelled\(\) should return WC_DateTime\|null but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/StockNotifications/Notification.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\StockNotifications\\Notification\:\:get_date_confirmed\(\) should return WC_DateTime\|null but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/StockNotifications/Notification.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\StockNotifications\\Notification\:\:get_date_created\(\) should return WC_DateTime\|null but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/StockNotifications/Notification.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\StockNotifications\\Notification\:\:get_date_last_attempt\(\) should return WC_DateTime\|null but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/StockNotifications/Notification.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\StockNotifications\\Notification\:\:get_date_modified\(\) should return WC_DateTime\|null but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/StockNotifications/Notification.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\StockNotifications\\Notification\:\:get_date_notified\(\) should return WC_DateTime\|null but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/StockNotifications/Notification.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\StockNotifications\\Notification\:\:get_product_id\(\) should return int but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/StockNotifications/Notification.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\StockNotifications\\Notification\:\:get_status\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/StockNotifications/Notification.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\StockNotifications\\Notification\:\:get_user_email\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/StockNotifications/Notification.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\StockNotifications\\Notification\:\:get_user_id\(\) should return int but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/StockNotifications/Notification.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\StockNotifications\\Notification\:\:set_cancellation_source\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/StockNotifications/Notification.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\StockNotifications\\Notification\:\:set_date_cancelled\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/StockNotifications/Notification.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\StockNotifications\\Notification\:\:set_date_confirmed\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/StockNotifications/Notification.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\StockNotifications\\Notification\:\:set_date_created\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/StockNotifications/Notification.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\StockNotifications\\Notification\:\:set_date_last_attempt\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/StockNotifications/Notification.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\StockNotifications\\Notification\:\:set_date_modified\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/StockNotifications/Notification.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\StockNotifications\\Notification\:\:set_date_notified\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/StockNotifications/Notification.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\StockNotifications\\Notification\:\:set_product_id\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/StockNotifications/Notification.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\StockNotifications\\Notification\:\:set_status\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/StockNotifications/Notification.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\StockNotifications\\Notification\:\:set_user_email\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/StockNotifications/Notification.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\StockNotifications\\Notification\:\:set_user_id\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/StockNotifications/Notification.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\StockNotifications\\Notification\:\:validate_props\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/StockNotifications/Notification.php
+
+ -
+ message: '#^Method WC_Product\:\:get_permalink\(\) invoked with 1 parameter, 0 required\.$#'
+ identifier: arguments.count
+ count: 1
+ path: src/Internal/StockNotifications/Notification.php
+
+ -
+ message: '#^Parameter \#1 \$haystack of function str_contains expects string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/StockNotifications/Notification.php
+
+ -
+ message: '#^Parameter \#1 \$haystack of function strpos expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/StockNotifications/Notification.php
+
+ -
+ message: '#^Parameter \#2 \$hash of static method Automattic\\WooCommerce\\Internal\\StockNotifications\\Utilities\\HasherHelper\:\:wp_verify_fast_hash\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/StockNotifications/Notification.php
+
+ -
+ message: '#^Parameter \#2 \$str of function explode expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/StockNotifications/Notification.php
+
+ -
+ message: '#^Parameter \#3 \$subject of function str_replace expects array\<string\>\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Internal/StockNotifications/Notification.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Internal\\StockNotifications\\Notification\:\:\$product \(WC_Product\) does not accept null\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/Internal/StockNotifications/Notification.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\Internal\\StockNotifications\\Notification\:\:\$product \(WC_Product\) in empty\(\) is not falsy\.$#'
+ identifier: empty.property
+ count: 1
+ path: src/Internal/StockNotifications/Notification.php
+
+ -
+ message: '#^Unreachable statement \- code above always terminates\.$#'
+ identifier: deadCode.unreachable
+ count: 1
+ path: src/Internal/StockNotifications/Notification.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:notification_exists_by_email\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Internal/StockNotifications/NotificationQuery.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:notification_exists_by_user_id\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Internal/StockNotifications/NotificationQuery.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:product_has_active_notifications\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Internal/StockNotifications/NotificationQuery.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:query\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Internal/StockNotifications/NotificationQuery.php
+
+ -
+ message: '#^Cannot call method get_product_id\(\) on Automattic\\WooCommerce\\Internal\\StockNotifications\\Notification\|bool\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/StockNotifications/Privacy/PrivacyEraser.php
+
+ -
+ message: '#^Cannot call method save\(\) on Automattic\\WooCommerce\\Internal\\StockNotifications\\Notification\|bool\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/StockNotifications/Privacy/PrivacyEraser.php
+
+ -
+ message: '#^Cannot call method set_cancellation_source\(\) on Automattic\\WooCommerce\\Internal\\StockNotifications\\Notification\|bool\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/StockNotifications/Privacy/PrivacyEraser.php
+
+ -
+ message: '#^Cannot call method set_date_cancelled\(\) on Automattic\\WooCommerce\\Internal\\StockNotifications\\Notification\|bool\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/StockNotifications/Privacy/PrivacyEraser.php
+
+ -
+ message: '#^Cannot call method set_status\(\) on Automattic\\WooCommerce\\Internal\\StockNotifications\\Notification\|bool\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/StockNotifications/Privacy/PrivacyEraser.php
+
+ -
+ message: '#^Cannot call method set_user_email\(\) on Automattic\\WooCommerce\\Internal\\StockNotifications\\Notification\|bool\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/StockNotifications/Privacy/PrivacyEraser.php
+
+ -
+ message: '#^Cannot call method set_user_id\(\) on Automattic\\WooCommerce\\Internal\\StockNotifications\\Notification\|bool\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/StockNotifications/Privacy/PrivacyEraser.php
+
+ -
+ message: '#^Cannot call method update_meta_data\(\) on Automattic\\WooCommerce\\Internal\\StockNotifications\\Notification\|bool\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: src/Internal/StockNotifications/Privacy/PrivacyEraser.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\StockNotifications\\Privacy\\PrivacyEraser\:\:register_erasers_exporters\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/StockNotifications/Privacy/PrivacyEraser.php
+
+ -
+ message: '#^Cannot call method on_woo_install_or_update\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/StockNotifications/StockNotifications.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\StockNotifications\\StockNotifications\:\:init_hooks\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/StockNotifications/StockNotifications.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\StockNotifications\\StockNotifications\:\:on_install_or_update\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/StockNotifications/StockNotifications.php
+
+ -
+ message: '#^Parameter \#1 \$message of function wp_admin_notice expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/StockNotifications/StockSyncController.php
+
+ -
+ message: '#^Parameter \#1 \$object_or_string of function is_a expects object, WC_Product\|false\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/StockNotifications/StockSyncController.php
+
+ -
+ message: '#^Trait Automattic\\WooCommerce\\Internal\\Traits\\AccessiblePrivateMethods is used zero times and is not analysed\.$#'
+ identifier: trait.unused
+ count: 1
+ path: src/Internal/Traits/AccessiblePrivateMethods.php
+
+ -
+ message: '#^Trait Automattic\\WooCommerce\\Internal\\Traits\\RestApiCache is used zero times and is not analysed\.$#'
+ identifier: trait.unused
+ count: 1
+ path: src/Internal/Traits/RestApiCache.php
+
+ -
+ message: '#^Binary operation "\+" between mixed and int results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: src/Internal/TransientFiles/TransientFilesEngine.php
+
+ -
+ message: '#^Cannot access offset ''basedir'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/TransientFiles/TransientFilesEngine.php
+
+ -
+ message: '#^Cannot call method call_function\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 6
+ path: src/Internal/TransientFiles/TransientFilesEngine.php
+
+ -
+ message: '#^Cannot call method exit\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 4
+ path: src/Internal/TransientFiles/TransientFilesEngine.php
+
+ -
+ message: '#^Cannot call method format\(\) on DateTime\|false\.$#'
+ identifier: method.nonObject
+ count: 4
+ path: src/Internal/TransientFiles/TransientFilesEngine.php
+
+ -
+ message: '#^Cannot call method put_contents\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 3
+ path: src/Internal/TransientFiles/TransientFilesEngine.php
+
+ -
+ message: '#^Expected 1 @param tags, found 2\.$#'
+ identifier: paramTag.count
+ count: 1
+ path: src/Internal/TransientFiles/TransientFilesEngine.php
+
+ -
+ message: '#^Function as_has_scheduled_action not found\.$#'
+ identifier: function.notFound
+ count: 1
+ path: src/Internal/TransientFiles/TransientFilesEngine.php
+
+ -
+ message: '#^Function as_schedule_single_action not found\.$#'
+ identifier: function.notFound
+ count: 1
+ path: src/Internal/TransientFiles/TransientFilesEngine.php
+
+ -
+ message: '#^Function as_unschedule_action not found\.$#'
+ identifier: function.notFound
+ count: 1
+ path: src/Internal/TransientFiles/TransientFilesEngine.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\TransientFiles\\TransientFilesEngine\:\:add_endpoint\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/TransientFiles/TransientFilesEngine.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\TransientFiles\\TransientFilesEngine\:\:delete_directory_if_not_empty\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/TransientFiles/TransientFilesEngine.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\TransientFiles\\TransientFilesEngine\:\:get_public_url\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/TransientFiles/TransientFilesEngine.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\TransientFiles\\TransientFilesEngine\:\:handle_parse_request\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/TransientFiles/TransientFilesEngine.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\TransientFiles\\TransientFilesEngine\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/TransientFiles/TransientFilesEngine.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\TransientFiles\\TransientFilesEngine\:\:serve_file_contents\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/TransientFiles/TransientFilesEngine.php
+
+ -
+ message: '#^Parameter \#1 \$data of function bin2hex expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/TransientFiles/TransientFilesEngine.php
+
+ -
+ message: '#^Parameter \#1 \$datetime of class DateTime constructor expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Internal/TransientFiles/TransientFilesEngine.php
+
+ -
+ message: '#^Parameter \#1 \$file_path of method Automattic\\WooCommerce\\Internal\\TransientFiles\\TransientFilesEngine\:\:file_has_expired\(\) expects string, string\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/TransientFiles/TransientFilesEngine.php
+
+ -
+ message: '#^Parameter \#1 \$filename of function filesize expects string, string\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/TransientFiles/TransientFilesEngine.php
+
+ -
+ message: '#^Parameter \#1 \$filename of function fopen expects string, string\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/TransientFiles/TransientFilesEngine.php
+
+ -
+ message: '#^Parameter \#1 \$fp of function fclose expects resource, resource\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/TransientFiles/TransientFilesEngine.php
+
+ -
+ message: '#^Parameter \#1 \$fp of function feof expects resource, resource\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/TransientFiles/TransientFilesEngine.php
+
+ -
+ message: '#^Parameter \#1 \$fp of function fread expects resource, resource\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/TransientFiles/TransientFilesEngine.php
+
+ -
+ message: '#^Parameter \#1 \$input of function array_slice expects array, list\<string\>\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/TransientFiles/TransientFilesEngine.php
+
+ -
+ message: '#^Parameter \#1 \$value of function untrailingslashit expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Internal/TransientFiles/TransientFilesEngine.php
+
+ -
+ message: '#^Parameter \#1 \$var of function count expects array\|Countable, list\<string\>\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/TransientFiles/TransientFilesEngine.php
+
+ -
+ message: '#^Parameter \#2 \$timestamp of function gmdate expects int, int\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/TransientFiles/TransientFilesEngine.php
+
+ -
+ message: '#^Variable \$file_handle might not be defined\.$#'
+ identifier: variable.undefined
+ count: 3
+ path: src/Internal/TransientFiles/TransientFilesEngine.php
+
+ -
+ message: '#^Variable \$file_length might not be defined\.$#'
+ identifier: variable.undefined
+ count: 1
+ path: src/Internal/TransientFiles/TransientFilesEngine.php
+
+ -
+ message: '#^Parameter \#1 \$array \(list\) of array_values is already a list, call has no effect\.$#'
+ identifier: arrayValues.list
+ count: 1
+ path: src/Internal/Utilities/ArrayUtil.php
+
+ -
+ message: '#^Cannot access offset ''content'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/Utilities/BlocksUtil.php
+
+ -
+ message: '#^Cannot access property \$content on WP_Block_Template\|null\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: src/Internal/Utilities/BlocksUtil.php
+
+ -
+ message: '#^Parameter \#1 \$arr1 of function array_merge expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Utilities/BlocksUtil.php
+
+ -
+ message: '#^Parameter \#1 \$content of function parse_blocks expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Utilities/BlocksUtil.php
+
+ -
+ message: '#^Parameter \#1 \$stack of function array_push expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Internal/Utilities/BlocksUtil.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:get_order_type\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: src/Internal/Utilities/COTMigrationUtil.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Utilities\\COTMigrationUtil\:\:get_post_or_order_id\(\) has parameter \$post_or_order_object with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: src/Internal/Utilities/COTMigrationUtil.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Utilities\\COTMigrationUtil\:\:init_theorder_object\(\) has invalid return type Automattic\\WooCommerce\\Internal\\Utilities\\WC_Order_Refund\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/Utilities/COTMigrationUtil.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Utilities\\COTMigrationUtil\:\:init_theorder_object\(\) should return Automattic\\WooCommerce\\Internal\\Utilities\\WC_Order_Refund\|bool\|WC_Order but returns bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/Utilities/COTMigrationUtil.php
+
+ -
+ message: '#^PHPDoc tag @param has invalid value \(WP_Post/WC_Order \$post_or_order_object WP_Post/WC_Order object to get ID for\.\)\: Unexpected token "/WC_Order", expected variable at offset 85 on line 4$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Internal/Utilities/COTMigrationUtil.php
+
+ -
+ message: '#^Cannot cast mixed to int\.$#'
+ identifier: cast.int
+ count: 1
+ path: src/Internal/Utilities/DatabaseUtil.php
+
+ -
+ message: '#^Parameter \#1 \$datetime of class DateTime constructor expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Utilities/DatabaseUtil.php
+
+ -
+ message: '#^Parameter \#1 \$number of function wc_format_decimal expects float\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Utilities/DatabaseUtil.php
+
+ -
+ message: '#^Parameter \#1 \$string of function wc_string_to_bool expects bool\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Utilities/DatabaseUtil.php
+
+ -
+ message: '#^Parameter \#1 \$var of function strval expects bool\|float\|int\|resource\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Utilities/DatabaseUtil.php
+
+ -
+ message: '#^Part \$value \(mixed\) of encapsed string cannot be cast to string\.$#'
+ identifier: encapsedStringPart.nonString
+ count: 1
+ path: src/Internal/Utilities/DatabaseUtil.php
+
+ -
+ message: '#^Cannot call method call_function\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: src/Internal/Utilities/FilesystemUtil.php
+
+ -
+ message: '#^Parameter \#1 \$args of function WP_Filesystem expects array\|false, non\-empty\-array\|true given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Utilities/FilesystemUtil.php
+
+ -
+ message: '#^Parameter \#1 \$path of function wp_normalize_path expects string, string\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Utilities/FilesystemUtil.php
+
+ -
+ message: '#^Parameter \#1 \$url of class Automattic\\WooCommerce\\Internal\\Utilities\\URL constructor expects string, string\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Utilities/FilesystemUtil.php
+
+ -
+ message: '#^Parameter \#3 \$subject of function preg_replace expects array\<float\|int\|string\>\|string, string\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Utilities/FilesystemUtil.php
+
+ -
+ message: '#^Parameter \#1 \$callbacks of method Automattic\\WooCommerce\\Internal\\Utilities\\HtmlSanitizer\:\:apply_string_callbacks\(\) expects array\<callable\(\)\: mixed\>, array\<mixed, mixed\> given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Utilities/HtmlSanitizer.php
+
+ -
+ message: '#^Parameter \#2 \$allowed_html of function wp_kses expects array\<array\>\|string, array\<mixed\> given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Utilities/HtmlSanitizer.php
+
+ -
+ message: '#^Action callback returns array but should not return anything\.$#'
+ identifier: return.void
+ count: 1
+ path: src/Internal/Utilities/LegacyRestApiStub.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Utilities\\LegacyRestApiStub\:\:add_rewrite_rules_for_legacy_rest_api_stub\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Utilities/LegacyRestApiStub.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Utilities\\LegacyRestApiStub\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Utilities/LegacyRestApiStub.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Utilities\\LegacyRestApiStub\:\:maybe_process_wc_api_query_var\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Utilities/LegacyRestApiStub.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Utilities\\LegacyRestApiStub\:\:parse_legacy_rest_api_request\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Utilities/LegacyRestApiStub.php
+
+ -
+ message: '#^Parameter \#1 \$key of function sanitize_key expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Utilities/LegacyRestApiStub.php
+
+ -
+ message: '#^Parameter \#1 \$str of function strtolower expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Utilities/LegacyRestApiStub.php
+
+ -
+ message: '#^Parameter \#3 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Utilities/LegacyRestApiStub.php
+
+ -
+ message: '#^@param bool \$display_notice does not accept actual type of parameter\: ''__return_true''\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: src/Internal/Utilities/PluginInstaller.php
+
+ -
+ message: '#^Cannot access an offset on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/Utilities/PluginInstaller.php
+
+ -
+ message: '#^Cannot access offset ''date'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: src/Internal/Utilities/PluginInstaller.php
+
+ -
+ message: '#^Cannot access offset ''info_link'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/Utilities/PluginInstaller.php
+
+ -
+ message: '#^Cannot access offset ''installed_by'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/Utilities/PluginInstaller.php
+
+ -
+ message: '#^Cannot access offset ''metadata'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: src/Internal/Utilities/PluginInstaller.php
+
+ -
+ message: '#^Cannot access offset ''version'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/Utilities/PluginInstaller.php
+
+ -
+ message: '#^Cannot access offset string on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Internal/Utilities/PluginInstaller.php
+
+ -
+ message: '#^Cannot access offset string\|false on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 3
+ path: src/Internal/Utilities/PluginInstaller.php
+
+ -
+ message: '#^Cannot call method get_all_active_valid_plugins\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Utilities/PluginInstaller.php
+
+ -
+ message: '#^Constant WC_ABSPATH not found\.$#'
+ identifier: constant.notFound
+ count: 2
+ path: src/Internal/Utilities/PluginInstaller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Utilities\\PluginInstaller\:\:handle_plugin_list_rows\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Utilities/PluginInstaller.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Utilities\\PluginInstaller\:\:handle_upgrader_process_complete\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Utilities/PluginInstaller.php
+
+ -
+ message: '#^Parameter \#1 \$arr1 of function array_diff expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Utilities/PluginInstaller.php
+
+ -
+ message: '#^Parameter \#1 \$arr1 of function array_diff_key expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Utilities/PluginInstaller.php
+
+ -
+ message: '#^Parameter \#1 \$input of function array_keys expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Utilities/PluginInstaller.php
+
+ -
+ message: '#^Parameter \#1 \$string of static method Automattic\\WooCommerce\\Utilities\\StringUtil\:\:starts_with\(\) expects string, string\|null given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Internal/Utilities/PluginInstaller.php
+
+ -
+ message: '#^Parameter \#2 \$haystack of function in_array expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Utilities/PluginInstaller.php
+
+ -
+ message: '#^Parameter \#2 \$starts_with of static method Automattic\\WooCommerce\\Utilities\\StringUtil\:\:starts_with\(\) expects string, string\|null given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Internal/Utilities/PluginInstaller.php
+
+ -
+ message: '#^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Internal/Utilities/PluginInstaller.php
+
+ -
+ message: '#^Parameter \#3 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Internal/Utilities/PluginInstaller.php
+
+ -
+ message: '#^Parameter \#4 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Utilities/PluginInstaller.php
+
+ -
+ message: '#^Cannot call method call_function\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 3
+ path: src/Internal/Utilities/PostMetaUtil.php
+
+ -
+ message: '#^Parameter \#1 \$data of function maybe_serialize expects array\|object\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 3
+ path: src/Internal/Utilities/PostMetaUtil.php
+
+ -
+ message: '#^Binary operation "\." between ''wc_child_has…''\|''wc_child_has_weight_''\|''wc_product_children_''\|''wc_related_''\|''wc_var_prices_'' and Automattic\\WooCommerce\\Internal\\Utilities\\WC_Product\|int results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: src/Internal/Utilities/ProductUtil.php
+
+ -
+ message: '#^Call to method get_id\(\) on an unknown class Automattic\\WooCommerce\\Internal\\Utilities\\WC_Product\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/Utilities/ProductUtil.php
+
+ -
+ message: '#^Parameter \$product_or_id of method Automattic\\WooCommerce\\Internal\\Utilities\\ProductUtil\:\:delete_product_specific_transients\(\) has invalid type Automattic\\WooCommerce\\Internal\\Utilities\\WC_Product\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Internal/Utilities/ProductUtil.php
+
+ -
+ message: '#^Cannot assign offset ''drive'' to array\<null\>\|string\.$#'
+ identifier: offsetAssign.dimType
+ count: 1
+ path: src/Internal/Utilities/URL.php
+
+ -
+ message: '#^Cannot assign offset ''path'' to array\<null\>\|string\.$#'
+ identifier: offsetAssign.dimType
+ count: 1
+ path: src/Internal/Utilities/URL.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Utilities\\URL\:\:get_all_parent_urls\(\) should return array\<string\> but returns list\<string\|false\>\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/Utilities/URL.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Utilities\\URL\:\:preprocess\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Utilities/URL.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Utilities\\URL\:\:process_path\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Internal/Utilities/URL.php
+
+ -
+ message: '#^Offset ''drive'' might not exist on array\<null\>\|string\.$#'
+ identifier: offsetAccess.notFound
+ count: 1
+ path: src/Internal/Utilities/URL.php
+
+ -
+ message: '#^Offset ''path'' might not exist on array\<null\>\|string\.$#'
+ identifier: offsetAccess.notFound
+ count: 4
+ path: src/Internal/Utilities/URL.php
+
+ -
+ message: '#^Offset ''scheme'' might not exist on array\<null\>\|string\.$#'
+ identifier: offsetAccess.notFound
+ count: 4
+ path: src/Internal/Utilities/URL.php
+
+ -
+ message: '#^Parameter \#1 \$arr1 of function array_merge expects array, array\<null\>\|string given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Internal/Utilities/URL.php
+
+ -
+ message: '#^Parameter \#1 \$string of function strlen expects string, null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Utilities/URL.php
+
+ -
+ message: '#^Parameter \#1 \$string of function substr expects string, null given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Internal/Utilities/URL.php
+
+ -
+ message: '#^Parameter \#2 \$str of function explode expects string, null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Utilities/URL.php
+
+ -
+ message: '#^@param Automattic\\WooCommerce\\Internal\\Utilities\\WC_Order \$order does not accept actual type of parameter\: bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: src/Internal/Utilities/Users.php
+
+ -
+ message: '#^Cannot call method call_function\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 3
+ path: src/Internal/Utilities/Users.php
+
+ -
+ message: '#^Cannot call method get_billing_email\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Utilities/Users.php
+
+ -
+ message: '#^Cannot call method get_customer_id\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Utilities/Users.php
+
+ -
+ message: '#^Cannot call method get_date_created\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Internal/Utilities/Users.php
+
+ -
+ message: '#^One or more @param tags has an invalid name or invalid syntax\.$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Internal/Utilities/Users.php
+
+ -
+ message: '#^PHPDoc tag @param has invalid value \(WC_Order \$this The order for which this grace period is being assessed\.\)\: Unexpected token "\$this", expected variable at offset 592 on line 12$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Internal/Utilities/Users.php
+
+ -
+ message: '#^Parameter \#1 \$object_or_string of function is_a expects object\|string, WC_DateTime\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Internal/Utilities/Users.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:search_webhooks\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/Internal/Utilities/WebhookUtil.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Internal\\Utilities\\WebhookUtil\:\:get_legacy_webhooks_count\(\) should return int but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Internal/Utilities/WebhookUtil.php
+
+ -
+ message: '#^@param Automattic\\WooCommerce\\Admin\\BlockTemplates\\BlockTemplateInterface \$layout_template does not accept actual type of parameter\: object\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: src/LayoutTemplates/LayoutTemplateRegistry.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\LayoutTemplates\\LayoutTemplateRegistry\:\:get_layout_template_instance\(\) should return Automattic\\WooCommerce\\Admin\\BlockTemplates\\BlockTemplateInterface but returns object\.$#'
+ identifier: return.type
+ count: 1
+ path: src/LayoutTemplates/LayoutTemplateRegistry.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\LayoutTemplates\\LayoutTemplateRegistry\:\:register\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/LayoutTemplates/LayoutTemplateRegistry.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\LayoutTemplates\\LayoutTemplateRegistry\:\:unregister_all\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/LayoutTemplates/LayoutTemplateRegistry.php
+
+ -
+ message: '#^@param bool \$activated_plugin does not accept actual type of parameter\: mixed\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: src/Packages.php
+
+ -
+ message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
+ count: 1
+ path: src/Packages.php
+
+ -
+ message: '#^Binary operation "\." between non\-falsy\-string and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: src/Packages.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Packages\:\:deactivate_merged_packages\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Packages.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Packages\:\:deactivate_merged_plugins\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Packages.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Packages\:\:display_notice_for_merged_plugins\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Packages.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Packages\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Packages.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Packages\:\:initialize_packages\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Packages.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Packages\:\:mark_merged_plugins_as_pending_update\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Packages.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Packages\:\:missing_package\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Packages.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Packages\:\:on_init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Packages.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Packages\:\:prepare_packages\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Packages.php
+
+ -
+ message: '#^Parameter \#1 \$file of function plugin_basename expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Packages.php
+
+ -
+ message: '#^Parameter \#1 \$function of function call_user_func expects callable\(\)\: mixed, array\{class\-string\|object, ''is_enabled''\} given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Packages.php
+
+ -
+ message: '#^Parameter \#1 \$function of function call_user_func expects callable\(\)\: mixed, array\{class\-string\|object, ''prepare''\} given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Packages.php
+
+ -
+ message: '#^Parameter \#1 \$function of function call_user_func expects callable\(\)\: mixed, array\{mixed, ''init''\} given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Packages.php
+
+ -
+ message: '#^Parameter \#1 \$plugins of function deactivate_plugins expects array\<string\>\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Packages.php
+
+ -
+ message: '#^Parameter \#1 \$function of function call_user_func_array expects callable\(\)\: mixed, non\-falsy\-string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Proxies/LegacyProxy.php
+
+ -
+ message: '#^Parameter \#1 \$function of function call_user_func_array expects callable\(\)\: mixed, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Proxies/LegacyProxy.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$enabled\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/StoreApi/Authentication.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$limit\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/StoreApi/Authentication.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$proxy_support\.$#'
+ identifier: property.notFound
+ count: 2
+ path: src/StoreApi/Authentication.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$remaining\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/StoreApi/Authentication.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$reset\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/StoreApi/Authentication.php
+
+ -
+ message: '#^Cannot access property \$query_vars on mixed\.$#'
+ identifier: property.nonObject
+ count: 2
+ path: src/StoreApi/Authentication.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Authentication\:\:apply_rate_limiting\(\) should return bool\|WP_Error\|null but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/StoreApi/Authentication.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Authentication\:\:check_authentication\(\) should return bool\|WP_Error\|null but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/StoreApi/Authentication.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Authentication\:\:get_cart_token\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Authentication.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Authentication\:\:get_cart_token\(\) should return string but returns array\|string\.$#'
+ identifier: return.type
+ count: 1
+ path: src/StoreApi/Authentication.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Authentication\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/StoreApi/Authentication.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Authentication\:\:opt_in_checkout_endpoint\(\) should return bool\|WP_Error\|null but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/StoreApi/Authentication.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Authentication\:\:send_cors_headers\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Authentication.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Authentication\:\:set_logged_in_cookie\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/StoreApi/Authentication.php
+
+ -
+ message: '#^Method WP_REST_Server\:\:send_header\(\) invoked with 3 parameters, 2 required\.$#'
+ identifier: arguments.count
+ count: 1
+ path: src/StoreApi/Authentication.php
+
+ -
+ message: '#^Parameter \#1 \$str of function sanitize_text_field expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/StoreApi/Authentication.php
+
+ -
+ message: '#^Parameter \#2 \$value of method WP_REST_Server\:\:send_header\(\) expects string, int given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/StoreApi/Authentication.php
+
+ -
+ message: '#^Parameter \#2 \$value of method WP_REST_Server\:\:send_header\(\) expects string, int\|true given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/StoreApi/Authentication.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Formatters\:\:__get\(\) has invalid return type Automattic\\WooCommerce\\StoreApi\\FormatterInterface\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/StoreApi/Formatters.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Formatters\:\:__get\(\) should return Automattic\\WooCommerce\\StoreApi\\FormatterInterface but returns Automattic\\WooCommerce\\StoreApi\\Formatters\\DefaultFormatter\.$#'
+ identifier: return.type
+ count: 1
+ path: src/StoreApi/Formatters.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Formatters\:\:register\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/StoreApi/Formatters.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Formatters\\HtmlFormatter\:\:format\(\) should return string but returns array\<string\>\.$#'
+ identifier: return.type
+ count: 1
+ path: src/StoreApi/Formatters/HtmlFormatter.php
+
+ -
+ message: '#^Access to protected property Automattic\\WooCommerce\\StoreApi\\Payments\\PaymentContext\:\:\$order\.$#'
+ identifier: property.protected
+ count: 1
+ path: src/StoreApi/Legacy.php
+
+ -
+ message: '#^Access to protected property Automattic\\WooCommerce\\StoreApi\\Payments\\PaymentContext\:\:\$payment_data\.$#'
+ identifier: property.protected
+ count: 1
+ path: src/StoreApi/Legacy.php
+
+ -
+ message: '#^Access to protected property Automattic\\WooCommerce\\StoreApi\\Payments\\PaymentResult\:\:\$payment_details\.$#'
+ identifier: property.protected
+ count: 1
+ path: src/StoreApi/Legacy.php
+
+ -
+ message: '#^Access to protected property Automattic\\WooCommerce\\StoreApi\\Payments\\PaymentResult\:\:\$status\.$#'
+ identifier: property.protected
+ count: 1
+ path: src/StoreApi/Legacy.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Legacy\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/StoreApi/Legacy.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Legacy\:\:process_legacy_payment\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/StoreApi/Legacy.php
+
+ -
+ message: '#^Parameter \#1 \$arr1 of function array_merge expects array, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/StoreApi/Legacy.php
+
+ -
+ message: '#^Access to an undefined property WooCommerce\:\:\$payment_gateways\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/StoreApi/Payments/PaymentContext.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Payments\\PaymentContext\:\:__get\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/StoreApi/Payments/PaymentContext.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Payments\\PaymentContext\:\:get_payment_method_instance\(\) should return WC_Payment_Gateway\|null but empty return statement found\.$#'
+ identifier: return.empty
+ count: 1
+ path: src/StoreApi/Payments/PaymentContext.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Payments\\PaymentContext\:\:set_order\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/StoreApi/Payments/PaymentContext.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Payments\\PaymentContext\:\:set_payment_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/StoreApi/Payments/PaymentContext.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Payments\\PaymentContext\:\:set_payment_method\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/StoreApi/Payments/PaymentContext.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Payments\\PaymentResult\:\:__get\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/StoreApi/Payments/PaymentResult.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Payments\\PaymentResult\:\:set_payment_details\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/StoreApi/Payments/PaymentResult.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Payments\\PaymentResult\:\:set_redirect_url\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/StoreApi/Payments/PaymentResult.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Payments\\PaymentResult\:\:set_status\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/StoreApi/Payments/PaymentResult.php
+
+ -
+ message: '#^Parameter \#1 \$url of function esc_url_raw expects string, array given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/StoreApi/Payments/PaymentResult.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\StoreApi\\Payments\\PaymentResult\:\:\$payment_details \(string\) does not accept array\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/StoreApi/Payments/PaymentResult.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\StoreApi\\Payments\\PaymentResult\:\:\$payment_details \(string\) does not accept default value of type array\.$#'
+ identifier: property.defaultValue
+ count: 1
+ path: src/StoreApi/Payments/PaymentResult.php
+
+ -
+ message: '#^Expected 2 @param tags, found 3\.$#'
+ identifier: paramTag.count
+ count: 1
+ path: src/StoreApi/Routes/V1/AbstractCartRoute.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\AbstractCartRoute\:\:cart_updated\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/StoreApi/Routes/V1/AbstractCartRoute.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\AbstractCartRoute\:\:cart_updated\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Routes/V1/AbstractCartRoute.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\AbstractCartRoute\:\:check_nonce\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Routes/V1/AbstractCartRoute.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\AbstractCartRoute\:\:get_cart_token\(\) should return string but returns null\.$#'
+ identifier: return.type
+ count: 1
+ path: src/StoreApi/Routes/V1/AbstractCartRoute.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\AbstractCartRoute\:\:get_draft_order\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/StoreApi/Routes/V1/AbstractCartRoute.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\AbstractCartRoute\:\:get_draft_order_id\(\) should return int but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/StoreApi/Routes/V1/AbstractCartRoute.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\AbstractCartRoute\:\:get_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Routes/V1/AbstractCartRoute.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\AbstractCartRoute\:\:has_cart_token\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Routes/V1/AbstractCartRoute.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\AbstractCartRoute\:\:is_update_request\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Routes/V1/AbstractCartRoute.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\AbstractCartRoute\:\:load_cart_session\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/StoreApi/Routes/V1/AbstractCartRoute.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\AbstractCartRoute\:\:load_cart_session\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Routes/V1/AbstractCartRoute.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\AbstractCartRoute\:\:requires_nonce\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Routes/V1/AbstractCartRoute.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\AbstractCartRoute\:\:set_draft_order_id\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/StoreApi/Routes/V1/AbstractCartRoute.php
+
+ -
+ message: '#^PHPDoc tag @return has invalid value \(\\WC_Order\|null;\)\: Unexpected token ";", expected TOKEN_HORIZONTAL_WS at offset 99 on line 4$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/StoreApi/Routes/V1/AbstractCartRoute.php
+
+ -
+ message: '#^Parameter \#1 \$order_object of method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\AbstractCartRoute\:\:is_valid_draft_order\(\) expects WC_Order, bool\|WC_Order\|WC_Order_Refund given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/StoreApi/Routes/V1/AbstractCartRoute.php
+
+ -
+ message: '#^Parameter \#2 \$value of method WP_HTTP_Response\:\:header\(\) expects string, int\<0, max\> given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/StoreApi/Routes/V1/AbstractCartRoute.php
+
+ -
+ message: '#^Parameter \#2 \$value of method WP_HTTP_Response\:\:header\(\) expects string, int\<1, max\> given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/StoreApi/Routes/V1/AbstractCartRoute.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\AbstractCartRoute\:\:\$cart_item_schema \(Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\CartItemSchema\) does not accept Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\AbstractSchema\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/StoreApi/Routes/V1/AbstractCartRoute.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\AbstractCartRoute\:\:\$cart_schema \(Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\CartSchema\) does not accept Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\AbstractSchema\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/StoreApi/Routes/V1/AbstractCartRoute.php
+
+ -
+ message: '#^Call to an undefined method WP_Error\|WP_REST_Response\:\:add_links\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/StoreApi/Routes/V1/AbstractRoute.php
+
+ -
+ message: '#^Cannot access offset ''status'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/StoreApi/Routes/V1/AbstractRoute.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\AbstractRoute\:\:get_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Routes/V1/AbstractRoute.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\AbstractRoute\:\:get_response_by_request_method\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Routes/V1/AbstractRoute.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\AbstractRoute\:\:get_route_delete_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Routes/V1/AbstractRoute.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\AbstractRoute\:\:get_route_delete_response\(\) should return WP_REST_Response but returns WP_Error\.$#'
+ identifier: return.type
+ count: 1
+ path: src/StoreApi/Routes/V1/AbstractRoute.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\AbstractRoute\:\:get_route_post_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Routes/V1/AbstractRoute.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\AbstractRoute\:\:get_route_post_response\(\) should return WP_REST_Response but returns WP_Error\.$#'
+ identifier: return.type
+ count: 1
+ path: src/StoreApi/Routes/V1/AbstractRoute.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\AbstractRoute\:\:get_route_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Routes/V1/AbstractRoute.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\AbstractRoute\:\:get_route_response\(\) should return WP_REST_Response but returns WP_Error\.$#'
+ identifier: return.type
+ count: 1
+ path: src/StoreApi/Routes/V1/AbstractRoute.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\AbstractRoute\:\:get_route_update_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Routes/V1/AbstractRoute.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\AbstractRoute\:\:get_route_update_response\(\) should return WP_REST_Response but returns WP_Error\.$#'
+ identifier: return.type
+ count: 1
+ path: src/StoreApi/Routes/V1/AbstractRoute.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\AbstractRoute\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Routes/V1/AbstractRoute.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\AbstractRoute\:\:prepare_item_for_response\(\) should return WP_REST_Response but returns WP_Error\|WP_REST_Response\.$#'
+ identifier: return.type
+ count: 1
+ path: src/StoreApi/Routes/V1/AbstractRoute.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\AbstractRoute\:\:prepare_links\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Routes/V1/AbstractRoute.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\AbstractRoute\:\:set_namespace\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/StoreApi/Routes/V1/AbstractRoute.php
+
+ -
+ message: '#^Parameter \#2 \$status of class WP_REST_Response constructor expects int, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/StoreApi/Routes/V1/AbstractRoute.php
+
+ -
+ message: '#^Argument of an invalid type array\<int\|string\|WP_Term\>\|string supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
+ count: 1
+ path: src/StoreApi/Routes/V1/AbstractTermsRoute.php
+
+ -
+ message: '#^Cannot cast numeric\-string\|WP_Error to int\.$#'
+ identifier: cast.int
+ count: 1
+ path: src/StoreApi/Routes/V1/AbstractTermsRoute.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\AbstractTermsRoute\:\:get_terms_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Routes/V1/AbstractTermsRoute.php
+
+ -
+ message: '#^Parameter \#1 \$args of function wp_count_terms expects array\{taxonomy\?\: array\<string\>\|string, object_ids\?\: array\<int\>\|int, orderby\?\: string, order\?\: string, hide_empty\?\: bool\|int, include\?\: array\<int\>\|string, exclude\?\: array\<int\>\|string, exclude_tree\?\: array\<int\>\|string, \.\.\.\}, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/StoreApi/Routes/V1/AbstractTermsRoute.php
+
+ -
+ message: '#^Parameter \#1 \$var of function count expects array\|Countable, array\<int\|string\|WP_Term\>\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/StoreApi/Routes/V1/AbstractTermsRoute.php
+
+ -
+ message: '#^Parameter \#4 \$total_pages of method Automattic\\WooCommerce\\StoreApi\\Utilities\\Pagination\:\:add_headers\(\) expects int, float given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/StoreApi/Routes/V1/AbstractTermsRoute.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\Agentic\\AgenticCheckoutSession\:\:get_or_set_checkout_session_id\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/StoreApi/Routes/V1/Agentic/AgenticCheckoutSession.php
+
+ -
+ message: '#^Call to method to_rest_response\(\) on an unknown class Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\Agentic\\Errors\\Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/StoreApi/Routes/V1/Agentic/CheckoutSessions.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\Agentic\\CheckoutSessions\:\:get_route_post_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Routes/V1/Agentic/CheckoutSessions.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\Agentic\\CheckoutSessions\:\:is_authorized\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Routes/V1/Agentic/CheckoutSessions.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\Agentic\\CheckoutSessions\:\:requires_nonce\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Routes/V1/Agentic/CheckoutSessions.php
+
+ -
+ message: '#^Parameter \#1 \$cart of method Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\CartSchema\:\:get_item_response\(\) expects WC_Cart, Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\Agentic\\AgenticCheckoutSession given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/StoreApi/Routes/V1/Agentic/CheckoutSessions.php
+
+ -
+ message: '#^@param WC_Order \$order does not accept actual type of parameter\: WC_Order\|null\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: src/StoreApi/Routes/V1/Agentic/CheckoutSessionsComplete.php
+
+ -
+ message: '#^Access to protected property Automattic\\WooCommerce\\StoreApi\\Payments\\PaymentResult\:\:\$status\.$#'
+ identifier: property.protected
+ count: 3
+ path: src/StoreApi/Routes/V1/Agentic/CheckoutSessionsComplete.php
+
+ -
+ message: '#^Call to an undefined method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\Agentic\\CheckoutSessionsComplete\:\:get_request_payment_method\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: src/StoreApi/Routes/V1/Agentic/CheckoutSessionsComplete.php
+
+ -
+ message: '#^Call to an undefined method WC_Session\:\:save_data\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/StoreApi/Routes/V1/Agentic/CheckoutSessionsComplete.php
+
+ -
+ message: '#^Cannot access property \$payment_result on mixed\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: src/StoreApi/Routes/V1/Agentic/CheckoutSessionsComplete.php
+
+ -
+ message: '#^Cannot call method get_checkout_order_received_url\(\) on WC_Order\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/StoreApi/Routes/V1/Agentic/CheckoutSessionsComplete.php
+
+ -
+ message: '#^Cannot call method get_customer_id\(\) on WC_Order\|null\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: src/StoreApi/Routes/V1/Agentic/CheckoutSessionsComplete.php
+
+ -
+ message: '#^Cannot call method get_id\(\) on WC_Order\|null\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: src/StoreApi/Routes/V1/Agentic/CheckoutSessionsComplete.php
+
+ -
+ message: '#^Cannot call method get_payment_method_title\(\) on WC_Order\|null\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: src/StoreApi/Routes/V1/Agentic/CheckoutSessionsComplete.php
+
+ -
+ message: '#^Cannot call method needs_payment\(\) on WC_Order\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/StoreApi/Routes/V1/Agentic/CheckoutSessionsComplete.php
+
+ -
+ message: '#^Cannot call method payment_complete\(\) on WC_Order\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/StoreApi/Routes/V1/Agentic/CheckoutSessionsComplete.php
+
+ -
+ message: '#^Cannot call method save\(\) on WC_Order\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/StoreApi/Routes/V1/Agentic/CheckoutSessionsComplete.php
+
+ -
+ message: '#^Cannot call method set_customer_note\(\) on WC_Order\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/StoreApi/Routes/V1/Agentic/CheckoutSessionsComplete.php
+
+ -
+ message: '#^Cannot call method set_payment_method\(\) on WC_Order\|null\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: src/StoreApi/Routes/V1/Agentic/CheckoutSessionsComplete.php
+
+ -
+ message: '#^Cannot call method set_payment_method_title\(\) on WC_Order\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/StoreApi/Routes/V1/Agentic/CheckoutSessionsComplete.php
+
+ -
+ message: '#^Expression on left side of \?\? is not nullable\.$#'
+ identifier: nullCoalesce.expr
+ count: 1
+ path: src/StoreApi/Routes/V1/Agentic/CheckoutSessionsComplete.php
+
+ -
+ message: '#^Instanceof between Automattic\\WooCommerce\\StoreApi\\Payments\\PaymentResult and Automattic\\WooCommerce\\StoreApi\\Payments\\PaymentResult will always evaluate to true\.$#'
+ identifier: instanceof.alwaysTrue
+ count: 1
+ path: src/StoreApi/Routes/V1/Agentic/CheckoutSessionsComplete.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\Agentic\\CheckoutSessionsComplete\:\:get_document_object_from_rest_request\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Routes/V1/Agentic/CheckoutSessionsComplete.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\Agentic\\CheckoutSessionsComplete\:\:get_request_payment_data\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Routes/V1/Agentic/CheckoutSessionsComplete.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\Agentic\\CheckoutSessionsComplete\:\:get_request_payment_method_id\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Routes/V1/Agentic/CheckoutSessionsComplete.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\Agentic\\CheckoutSessionsComplete\:\:get_request_payment_method_title\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Routes/V1/Agentic/CheckoutSessionsComplete.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\Agentic\\CheckoutSessionsComplete\:\:get_route_post_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Routes/V1/Agentic/CheckoutSessionsComplete.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\Agentic\\CheckoutSessionsComplete\:\:has_cart_token\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Routes/V1/Agentic/CheckoutSessionsComplete.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\Agentic\\CheckoutSessionsComplete\:\:is_authorized\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Routes/V1/Agentic/CheckoutSessionsComplete.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\Agentic\\CheckoutSessionsComplete\:\:persist_additional_fields_for_order\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/StoreApi/Routes/V1/Agentic/CheckoutSessionsComplete.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\Agentic\\CheckoutSessionsComplete\:\:persist_additional_fields_for_order\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Routes/V1/Agentic/CheckoutSessionsComplete.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\Agentic\\CheckoutSessionsComplete\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Routes/V1/Agentic/CheckoutSessionsComplete.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\Agentic\\CheckoutSessionsComplete\:\:process_payment\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/StoreApi/Routes/V1/Agentic/CheckoutSessionsComplete.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\Agentic\\CheckoutSessionsComplete\:\:process_payment\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Routes/V1/Agentic/CheckoutSessionsComplete.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\Agentic\\CheckoutSessionsComplete\:\:process_without_payment\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/StoreApi/Routes/V1/Agentic/CheckoutSessionsComplete.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\Agentic\\CheckoutSessionsComplete\:\:process_without_payment\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Routes/V1/Agentic/CheckoutSessionsComplete.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\Agentic\\CheckoutSessionsComplete\:\:requires_nonce\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Routes/V1/Agentic/CheckoutSessionsComplete.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\Agentic\\CheckoutSessionsComplete\:\:update_order_from_request\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/StoreApi/Routes/V1/Agentic/CheckoutSessionsComplete.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\Agentic\\CheckoutSessionsComplete\:\:update_order_from_request\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Routes/V1/Agentic/CheckoutSessionsComplete.php
+
+ -
+ message: '#^One or more @param tags has an invalid name or invalid syntax\.$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/StoreApi/Routes/V1/Agentic/CheckoutSessionsComplete.php
+
+ -
+ message: '#^PHPDoc tag @param has invalid value \(bool The WP_DEBUG mode\.\)\: Unexpected token "The", expected variable at offset 115 on line 4$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/StoreApi/Routes/V1/Agentic/CheckoutSessionsComplete.php
+
+ -
+ message: '#^Parameter \#1 \$cart of method Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\CartSchema\:\:get_item_response\(\) expects WC_Cart, Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\Agentic\\AgenticCheckoutSession given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/StoreApi/Routes/V1/Agentic/CheckoutSessionsComplete.php
+
+ -
+ message: '#^Parameter \#1 \$order of method Automattic\\WooCommerce\\Blocks\\Domain\\Services\\CheckoutFields\:\:sync_customer_additional_fields_with_order\(\) expects WC_Order, WC_Order\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/StoreApi/Routes/V1/Agentic/CheckoutSessionsComplete.php
+
+ -
+ message: '#^Parameter \#1 \$order of method Automattic\\WooCommerce\\StoreApi\\Payments\\PaymentContext\:\:set_order\(\) expects WC_Order, WC_Order\|null given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/StoreApi/Routes/V1/Agentic/CheckoutSessionsComplete.php
+
+ -
+ message: '#^Parameter \#1 \$redirect_url of method Automattic\\WooCommerce\\StoreApi\\Payments\\PaymentResult\:\:set_redirect_url\(\) expects array, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/StoreApi/Routes/V1/Agentic/CheckoutSessionsComplete.php
+
+ -
+ message: '#^Parameter \#3 \$order of method Automattic\\WooCommerce\\Blocks\\Domain\\Services\\CheckoutFields\:\:persist_field_for_order\(\) expects WC_Order, WC_Order\|null given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/StoreApi/Routes/V1/Agentic/CheckoutSessionsComplete.php
+
+ -
+ message: '#^Call to method to_rest_response\(\) on an unknown class Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\Agentic\\Errors\\Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/StoreApi/Routes/V1/Agentic/CheckoutSessionsUpdate.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\Agentic\\CheckoutSessionsUpdate\:\:get_route_post_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Routes/V1/Agentic/CheckoutSessionsUpdate.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\Agentic\\CheckoutSessionsUpdate\:\:has_cart_token\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Routes/V1/Agentic/CheckoutSessionsUpdate.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\Agentic\\CheckoutSessionsUpdate\:\:is_authorized\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Routes/V1/Agentic/CheckoutSessionsUpdate.php
+
+ -
+ message: '#^Parameter \#1 \$cart of method Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\CartSchema\:\:get_item_response\(\) expects WC_Cart, Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\Agentic\\AgenticCheckoutSession given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/StoreApi/Routes/V1/Agentic/CheckoutSessionsUpdate.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\Agentic\\Messages\\Message\:\:use_markdown\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/StoreApi/Routes/V1/Agentic/Messages/Message.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\Batch\:\:get_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Routes/V1/Batch.php
+
+ -
+ message: '#^Parameter \#2 \$value of method WP_HTTP_Response\:\:header\(\) expects string, int\<0, max\> given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/StoreApi/Routes/V1/Batch.php
+
+ -
+ message: '#^Parameter \#2 \$value of method WP_HTTP_Response\:\:header\(\) expects string, int\<1, max\> given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/StoreApi/Routes/V1/Batch.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\Cart\:\:get_route_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Routes/V1/Cart.php
+
+ -
+ message: '#^Expected 2 @param tags, found 1\.$#'
+ identifier: paramTag.count
+ count: 1
+ path: src/StoreApi/Routes/V1/CartAddItem.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\CartAddItem\:\:get_route_post_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Routes/V1/CartAddItem.php
+
+ -
+ message: '#^Dead catch \- WC_REST_Exception is never thrown in the try block\.$#'
+ identifier: catch.neverThrown
+ count: 1
+ path: src/StoreApi/Routes/V1/CartApplyCoupon.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\CartApplyCoupon\:\:get_route_post_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Routes/V1/CartApplyCoupon.php
+
+ -
+ message: '#^Dead catch \- WC_REST_Exception is never thrown in the try block\.$#'
+ identifier: catch.neverThrown
+ count: 1
+ path: src/StoreApi/Routes/V1/CartCoupons.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\CartCoupons\:\:get_route_delete_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Routes/V1/CartCoupons.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\CartCoupons\:\:get_route_post_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Routes/V1/CartCoupons.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\CartCoupons\:\:get_route_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Routes/V1/CartCoupons.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\CartCoupons\:\:prepare_links\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Routes/V1/CartCoupons.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\CartCouponsByCode\:\:get_route_delete_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Routes/V1/CartCouponsByCode.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\CartCouponsByCode\:\:get_route_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Routes/V1/CartCouponsByCode.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\CartExtensions\:\:get_route_post_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Routes/V1/CartExtensions.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\CartExtensions\:\:get_route_post_response\(\) should return WP_REST_Response but returns array\.$#'
+ identifier: return.type
+ count: 1
+ path: src/StoreApi/Routes/V1/CartExtensions.php
+
+ -
+ message: '#^Parameter \#1 \$cart of method Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\CartSchema\:\:get_item_response\(\) expects WC_Cart, WP_REST_Request given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/StoreApi/Routes/V1/CartExtensions.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\CartItems\:\:get_route_delete_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Routes/V1/CartItems.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\CartItems\:\:get_route_post_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Routes/V1/CartItems.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\CartItems\:\:get_route_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Routes/V1/CartItems.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\CartItems\:\:prepare_links\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Routes/V1/CartItems.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\CartItemsByKey\:\:get_route_delete_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Routes/V1/CartItemsByKey.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\CartItemsByKey\:\:get_route_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Routes/V1/CartItemsByKey.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\CartItemsByKey\:\:get_route_update_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Routes/V1/CartItemsByKey.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\CartItemsByKey\:\:prepare_links\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Routes/V1/CartItemsByKey.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\CartRemoveCoupon\:\:get_route_post_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Routes/V1/CartRemoveCoupon.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\CartRemoveItem\:\:get_draft_order\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/StoreApi/Routes/V1/CartRemoveItem.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\CartRemoveItem\:\:get_draft_order_id\(\) should return int but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/StoreApi/Routes/V1/CartRemoveItem.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\CartRemoveItem\:\:get_route_post_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Routes/V1/CartRemoveItem.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\CartRemoveItem\:\:set_draft_order_id\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/StoreApi/Routes/V1/CartRemoveItem.php
+
+ -
+ message: '#^PHPDoc tag @return has invalid value \(\\WC_Order\|null;\)\: Unexpected token ";", expected TOKEN_HORIZONTAL_WS at offset 99 on line 4$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/StoreApi/Routes/V1/CartRemoveItem.php
+
+ -
+ message: '#^Parameter \#1 \$order_object of method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\CartRemoveItem\:\:is_valid_draft_order\(\) expects WC_Order, bool\|WC_Order\|WC_Order_Refund given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/StoreApi/Routes/V1/CartRemoveItem.php
+
+ -
+ message: '#^Class WC_REST_Exception referenced with incorrect case\: WC_Rest_Exception\.$#'
+ identifier: class.nameCase
+ count: 1
+ path: src/StoreApi/Routes/V1/CartSelectShippingRate.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\CartSelectShippingRate\:\:get_route_post_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Routes/V1/CartSelectShippingRate.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\CartUpdateCustomer\:\:get_draft_order\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/StoreApi/Routes/V1/CartUpdateCustomer.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\CartUpdateCustomer\:\:get_draft_order_id\(\) should return int but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/StoreApi/Routes/V1/CartUpdateCustomer.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\CartUpdateCustomer\:\:get_route_post_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Routes/V1/CartUpdateCustomer.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\CartUpdateCustomer\:\:get_route_post_response\(\) should return WP_REST_Response but returns WP_Error\.$#'
+ identifier: return.type
+ count: 1
+ path: src/StoreApi/Routes/V1/CartUpdateCustomer.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\CartUpdateCustomer\:\:set_draft_order_id\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/StoreApi/Routes/V1/CartUpdateCustomer.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\CartUpdateCustomer\:\:validate_address_params\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Routes/V1/CartUpdateCustomer.php
+
+ -
+ message: '#^PHPDoc tag @return has invalid value \(\\WC_Order\|null;\)\: Unexpected token ";", expected TOKEN_HORIZONTAL_WS at offset 99 on line 4$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/StoreApi/Routes/V1/CartUpdateCustomer.php
+
+ -
+ message: '#^Parameter \#1 \$order_object of method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\CartUpdateCustomer\:\:is_valid_draft_order\(\) expects WC_Order, bool\|WC_Order\|WC_Order_Refund given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/StoreApi/Routes/V1/CartUpdateCustomer.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\CartUpdateItem\:\:get_route_post_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Routes/V1/CartUpdateItem.php
+
+ -
+ message: '#^Access to an undefined property WooCommerce\:\:\$payment_gateways\.$#'
+ identifier: property.notFound
+ count: 2
+ path: src/StoreApi/Routes/V1/Checkout.php
+
+ -
+ message: '#^Access to protected property Automattic\\WooCommerce\\StoreApi\\Payments\\PaymentResult\:\:\$status\.$#'
+ identifier: property.protected
+ count: 2
+ path: src/StoreApi/Routes/V1/Checkout.php
+
+ -
+ message: '#^Cannot access offset string on 0\|0\.0\|''''\|''0''\|array\<string, array\|string\>\|false\|null\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/StoreApi/Routes/V1/Checkout.php
+
+ -
+ message: '#^Cannot access property \$payment_result on mixed\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: src/StoreApi/Routes/V1/Checkout.php
+
+ -
+ message: '#^Expression on left side of \?\? is not nullable\.$#'
+ identifier: nullCoalesce.expr
+ count: 4
+ path: src/StoreApi/Routes/V1/Checkout.php
+
+ -
+ message: '#^Instanceof between Automattic\\WooCommerce\\StoreApi\\Payments\\PaymentResult and Automattic\\WooCommerce\\StoreApi\\Payments\\PaymentResult will always evaluate to true\.$#'
+ identifier: instanceof.alwaysTrue
+ count: 1
+ path: src/StoreApi/Routes/V1/Checkout.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\Checkout\:\:add_data_to_error_object\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/StoreApi/Routes/V1/Checkout.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\Checkout\:\:create_or_update_draft_order\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/StoreApi/Routes/V1/Checkout.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\Checkout\:\:create_or_update_draft_order\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Routes/V1/Checkout.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\Checkout\:\:get_document_object_from_rest_request\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Routes/V1/Checkout.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\Checkout\:\:get_draft_order\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/StoreApi/Routes/V1/Checkout.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\Checkout\:\:get_draft_order_id\(\) should return int but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/StoreApi/Routes/V1/Checkout.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\Checkout\:\:get_request_payment_data\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Routes/V1/Checkout.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\Checkout\:\:get_request_payment_data\(\) should return array but returns array\<string, array\|string\>\|float\|int\|string\|false\|null\.$#'
+ identifier: return.type
+ count: 1
+ path: src/StoreApi/Routes/V1/Checkout.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\Checkout\:\:get_request_payment_method\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Routes/V1/Checkout.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\Checkout\:\:get_request_payment_method_id\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Routes/V1/Checkout.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\Checkout\:\:get_request_payment_method_title\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Routes/V1/Checkout.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\Checkout\:\:get_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Routes/V1/Checkout.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\Checkout\:\:get_route_post_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Routes/V1/Checkout.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\Checkout\:\:get_route_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Routes/V1/Checkout.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\Checkout\:\:get_route_update_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Routes/V1/Checkout.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\Checkout\:\:persist_additional_fields_for_order\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/StoreApi/Routes/V1/Checkout.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\Checkout\:\:persist_additional_fields_for_order\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Routes/V1/Checkout.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\Checkout\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Routes/V1/Checkout.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\Checkout\:\:process_customer\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/StoreApi/Routes/V1/Checkout.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\Checkout\:\:process_customer\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Routes/V1/Checkout.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\Checkout\:\:process_payment\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/StoreApi/Routes/V1/Checkout.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\Checkout\:\:process_payment\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Routes/V1/Checkout.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\Checkout\:\:process_without_payment\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/StoreApi/Routes/V1/Checkout.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\Checkout\:\:process_without_payment\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Routes/V1/Checkout.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\Checkout\:\:requires_nonce\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Routes/V1/Checkout.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\Checkout\:\:set_draft_order_id\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/StoreApi/Routes/V1/Checkout.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\Checkout\:\:should_create_customer_account\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Routes/V1/Checkout.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\Checkout\:\:update_customer_address_field\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/StoreApi/Routes/V1/Checkout.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\Checkout\:\:update_customer_from_request\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/StoreApi/Routes/V1/Checkout.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\Checkout\:\:update_customer_from_request\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Routes/V1/Checkout.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\Checkout\:\:update_order_from_request\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/StoreApi/Routes/V1/Checkout.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\Checkout\:\:update_order_from_request\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Routes/V1/Checkout.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\Checkout\:\:validate_callback\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Routes/V1/Checkout.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\Checkout\:\:validate_user_can_place_order\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/StoreApi/Routes/V1/Checkout.php
+
+ -
+ message: '#^One or more @param tags has an invalid name or invalid syntax\.$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/StoreApi/Routes/V1/Checkout.php
+
+ -
+ message: '#^PHPDoc tag @param has invalid value \(bool The WP_DEBUG mode\.\)\: Unexpected token "The", expected variable at offset 115 on line 4$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/StoreApi/Routes/V1/Checkout.php
+
+ -
+ message: '#^PHPDoc tag @return has invalid value \(\\WC_Order\|null;\)\: Unexpected token ";", expected TOKEN_HORIZONTAL_WS at offset 99 on line 4$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/StoreApi/Routes/V1/Checkout.php
+
+ -
+ message: '#^Parameter \#1 \$order_object of method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\Checkout\:\:is_valid_draft_order\(\) expects WC_Order, bool\|WC_Order\|WC_Order_Refund given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/StoreApi/Routes/V1/Checkout.php
+
+ -
+ message: '#^Parameter \#1 \$redirect_url of method Automattic\\WooCommerce\\StoreApi\\Payments\\PaymentResult\:\:set_redirect_url\(\) expects array, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/StoreApi/Routes/V1/Checkout.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_html expects string, int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/StoreApi/Routes/V1/Checkout.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_html expects string, int\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/StoreApi/Routes/V1/Checkout.php
+
+ -
+ message: '#^Parameter \#3 \$http_status_code of class Automattic\\WooCommerce\\StoreApi\\Exceptions\\RouteException constructor expects int, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/StoreApi/Routes/V1/Checkout.php
+
+ -
+ message: '#^@param WC_Order \$order does not accept actual type of parameter\: WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: src/StoreApi/Routes/V1/CheckoutOrder.php
+
+ -
+ message: '#^Access to an undefined property WooCommerce\:\:\$payment_gateways\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/StoreApi/Routes/V1/CheckoutOrder.php
+
+ -
+ message: '#^Access to protected property Automattic\\WooCommerce\\StoreApi\\Payments\\PaymentResult\:\:\$status\.$#'
+ identifier: property.protected
+ count: 1
+ path: src/StoreApi/Routes/V1/CheckoutOrder.php
+
+ -
+ message: '#^Cannot access offset string on 0\|0\.0\|''''\|''0''\|array\<string, array\|string\>\|false\|null\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/StoreApi/Routes/V1/CheckoutOrder.php
+
+ -
+ message: '#^Cannot access property \$payment_result on mixed\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: src/StoreApi/Routes/V1/CheckoutOrder.php
+
+ -
+ message: '#^Cannot call method needs_payment\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: src/StoreApi/Routes/V1/CheckoutOrder.php
+
+ -
+ message: '#^Expression on left side of \?\? is not nullable\.$#'
+ identifier: nullCoalesce.expr
+ count: 1
+ path: src/StoreApi/Routes/V1/CheckoutOrder.php
+
+ -
+ message: '#^Instanceof between Automattic\\WooCommerce\\StoreApi\\Payments\\PaymentResult and Automattic\\WooCommerce\\StoreApi\\Payments\\PaymentResult will always evaluate to true\.$#'
+ identifier: instanceof.alwaysTrue
+ count: 1
+ path: src/StoreApi/Routes/V1/CheckoutOrder.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\CheckoutOrder\:\:cart_updated\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/StoreApi/Routes/V1/CheckoutOrder.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\CheckoutOrder\:\:cart_updated\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Routes/V1/CheckoutOrder.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\CheckoutOrder\:\:get_document_object_from_rest_request\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Routes/V1/CheckoutOrder.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\CheckoutOrder\:\:get_request_payment_data\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Routes/V1/CheckoutOrder.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\CheckoutOrder\:\:get_request_payment_data\(\) should return array but returns array\<string, array\|string\>\|float\|int\|string\|false\|null\.$#'
+ identifier: return.type
+ count: 1
+ path: src/StoreApi/Routes/V1/CheckoutOrder.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\CheckoutOrder\:\:get_request_payment_method\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Routes/V1/CheckoutOrder.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\CheckoutOrder\:\:get_request_payment_method_id\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Routes/V1/CheckoutOrder.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\CheckoutOrder\:\:get_request_payment_method_title\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Routes/V1/CheckoutOrder.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\CheckoutOrder\:\:get_route_post_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Routes/V1/CheckoutOrder.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\CheckoutOrder\:\:get_route_post_response\(\) should return WP_REST_Response but returns WP_Error\.$#'
+ identifier: return.type
+ count: 1
+ path: src/StoreApi/Routes/V1/CheckoutOrder.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\CheckoutOrder\:\:is_authorized\(\) has invalid return type Automattic\\WooCommerce\\StoreApi\\Utilities\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/StoreApi/Routes/V1/CheckoutOrder.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\CheckoutOrder\:\:is_authorized\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Routes/V1/CheckoutOrder.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\CheckoutOrder\:\:is_authorized\(\) should return Automattic\\WooCommerce\\StoreApi\\Utilities\\WP_Error\|bool but returns WP_Error\.$#'
+ identifier: return.type
+ count: 1
+ path: src/StoreApi/Routes/V1/CheckoutOrder.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\CheckoutOrder\:\:persist_additional_fields_for_order\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/StoreApi/Routes/V1/CheckoutOrder.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\CheckoutOrder\:\:persist_additional_fields_for_order\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Routes/V1/CheckoutOrder.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\CheckoutOrder\:\:prepare_item_for_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Routes/V1/CheckoutOrder.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\CheckoutOrder\:\:process_customer\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/StoreApi/Routes/V1/CheckoutOrder.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\CheckoutOrder\:\:process_customer\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Routes/V1/CheckoutOrder.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\CheckoutOrder\:\:process_payment\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/StoreApi/Routes/V1/CheckoutOrder.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\CheckoutOrder\:\:process_payment\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Routes/V1/CheckoutOrder.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\CheckoutOrder\:\:process_without_payment\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/StoreApi/Routes/V1/CheckoutOrder.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\CheckoutOrder\:\:process_without_payment\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Routes/V1/CheckoutOrder.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\CheckoutOrder\:\:update_billing_address\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/StoreApi/Routes/V1/CheckoutOrder.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\CheckoutOrder\:\:update_billing_address\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Routes/V1/CheckoutOrder.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\CheckoutOrder\:\:update_order_from_request\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/StoreApi/Routes/V1/CheckoutOrder.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\CheckoutOrder\:\:update_order_from_request\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Routes/V1/CheckoutOrder.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\CheckoutOrder\:\:validate_billing_email_matches_order\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/StoreApi/Routes/V1/CheckoutOrder.php
+
+ -
+ message: '#^One or more @param tags has an invalid name or invalid syntax\.$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/StoreApi/Routes/V1/CheckoutOrder.php
+
+ -
+ message: '#^PHPDoc tag @param has invalid value \(bool The WP_DEBUG mode\.\)\: Unexpected token "The", expected variable at offset 115 on line 4$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/StoreApi/Routes/V1/CheckoutOrder.php
+
+ -
+ message: '#^Parameter \#1 \$order of method Automattic\\WooCommerce\\StoreApi\\Utilities\\OrderController\:\:validate_existing_order_before_payment\(\) expects WC_Order, WC_Order\|WC_Order_Refund\|true given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/StoreApi/Routes/V1/CheckoutOrder.php
+
+ -
+ message: '#^Parameter \#1 \$redirect_url of method Automattic\\WooCommerce\\StoreApi\\Payments\\PaymentResult\:\:set_redirect_url\(\) expects array, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/StoreApi/Routes/V1/CheckoutOrder.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_html expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/StoreApi/Routes/V1/CheckoutOrder.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\CheckoutOrder\:\:\$order \(WC_Order\) does not accept bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/StoreApi/Routes/V1/CheckoutOrder.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\Order\:\:get_route_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Routes/V1/Order.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\Order\:\:get_route_response\(\) should return WP_REST_Response but returns WP_Error\|WP_REST_Response\.$#'
+ identifier: return.type
+ count: 1
+ path: src/StoreApi/Routes/V1/Order.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\Order\:\:is_authorized\(\) has invalid return type Automattic\\WooCommerce\\StoreApi\\Utilities\\WP_Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/StoreApi/Routes/V1/Order.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\Order\:\:is_authorized\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Routes/V1/Order.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\Order\:\:is_authorized\(\) should return Automattic\\WooCommerce\\StoreApi\\Utilities\\WP_Error\|bool but returns WP_Error\.$#'
+ identifier: return.type
+ count: 1
+ path: src/StoreApi/Routes/V1/Order.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\Order\:\:validate_billing_email_matches_order\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/StoreApi/Routes/V1/Order.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\Patterns\:\:get_route_post_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Routes/V1/Patterns.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\Patterns\:\:get_route_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Routes/V1/Patterns.php
+
+ -
+ message: '#^Parameter \#1 \$content of function wp_kses expects string, int\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/StoreApi/Routes/V1/Patterns.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\ProductAttributeTerms\:\:get_route_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Routes/V1/ProductAttributeTerms.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\ProductAttributes\:\:get_route_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Routes/V1/ProductAttributes.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\ProductAttributesById\:\:get_route_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Routes/V1/ProductAttributesById.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\ProductBrands\:\:get_route_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Routes/V1/ProductBrands.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\ProductBrandsById\:\:get_route_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Routes/V1/ProductBrandsById.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\ProductCategories\:\:get_route_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Routes/V1/ProductCategories.php
+
+ -
+ message: '#^Access to an undefined property WP_Error\|WP_Term\:\:\$id\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/StoreApi/Routes/V1/ProductCategoriesById.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\ProductCategoriesById\:\:get_route_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Routes/V1/ProductCategoriesById.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$max_price\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/StoreApi/Routes/V1/ProductCollectionData.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$min_price\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/StoreApi/Routes/V1/ProductCollectionData.php
+
+ -
+ message: '#^If condition is always true\.$#'
+ identifier: if.alwaysTrue
+ count: 1
+ path: src/StoreApi/Routes/V1/ProductCollectionData.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\ProductCollectionData\:\:get_route_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Routes/V1/ProductCollectionData.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\ProductCollectionData\:\:get_route_response\(\) should return WP_REST_Response but returns WP_Error\|WP_REST_Response\.$#'
+ identifier: return.type
+ count: 1
+ path: src/StoreApi/Routes/V1/ProductCollectionData.php
+
+ -
+ message: '#^Argument of an invalid type array\|int supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
+ count: 1
+ path: src/StoreApi/Routes/V1/ProductReviews.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\ProductReviews\:\:get_route_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Routes/V1/ProductReviews.php
+
+ -
+ message: '#^Parameter \#2 \.\.\.\$args of function array_merge expects array, array\<string\>\|WP_Error given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/StoreApi/Routes/V1/ProductReviews.php
+
+ -
+ message: '#^Parameter \#2 \.\.\.\$args of function array_merge expects array, array\|WP_Error given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/StoreApi/Routes/V1/ProductReviews.php
+
+ -
+ message: '#^Parameter \#3 \$total_items of method Automattic\\WooCommerce\\StoreApi\\Utilities\\Pagination\:\:add_headers\(\) expects int, array\|int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/StoreApi/Routes/V1/ProductReviews.php
+
+ -
+ message: '#^Parameter \#4 \$total_pages of method Automattic\\WooCommerce\\StoreApi\\Utilities\\Pagination\:\:add_headers\(\) expects int, float\|int\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/StoreApi/Routes/V1/ProductReviews.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\ProductTags\:\:get_route_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Routes/V1/ProductTags.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\Products\:\:get_route_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Routes/V1/Products.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\Products\:\:prepare_links\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Routes/V1/Products.php
+
+ -
+ message: '#^Parameter \#1 \$response of method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\AbstractRoute\:\:prepare_response_for_collection\(\) expects WP_REST_Response, WP_Error\|WP_REST_Response given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/StoreApi/Routes/V1/Products.php
+
+ -
+ message: '#^Parameter \#2 \$value of method WP_HTTP_Response\:\:header\(\) expects string, int\<min, \-1\>\|int\<1, max\> given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/StoreApi/Routes/V1/Products.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\ProductsById\:\:get_route_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Routes/V1/ProductsById.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\ProductsById\:\:get_route_response\(\) should return WP_REST_Response but returns WP_Error\|WP_REST_Response\.$#'
+ identifier: return.type
+ count: 1
+ path: src/StoreApi/Routes/V1/ProductsById.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\ProductsBySlug\:\:get_product_by_slug\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/StoreApi/Routes/V1/ProductsBySlug.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\ProductsBySlug\:\:get_product_variation_by_slug\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/StoreApi/Routes/V1/ProductsBySlug.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\ProductsBySlug\:\:get_route_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Routes/V1/ProductsBySlug.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\ProductsBySlug\:\:get_route_response\(\) should return WP_REST_Response but returns WP_Error\|WP_REST_Response\.$#'
+ identifier: return.type
+ count: 1
+ path: src/StoreApi/Routes/V1/ProductsBySlug.php
+
+ -
+ message: '#^Default value of the parameter \#2 \$controller \(false\) of method Automattic\\WooCommerce\\StoreApi\\RoutesController\:\:get_all_routes\(\) is incompatible with type string\.$#'
+ identifier: parameter.defaultValue
+ count: 1
+ path: src/StoreApi/RoutesController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\RoutesController\:\:get\(\) should return Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\AbstractRoute but returns object\.$#'
+ identifier: return.type
+ count: 1
+ path: src/StoreApi/RoutesController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\RoutesController\:\:get_all_routes\(\) should return array\<string\> but returns array\<string, array\|class\-string\|object\>\.$#'
+ identifier: return.type
+ count: 1
+ path: src/StoreApi/RoutesController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\RoutesController\:\:register_all_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/StoreApi/RoutesController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\RoutesController\:\:register_routes\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/StoreApi/RoutesController.php
+
+ -
+ message: '#^Parameter \#1 \$name of method Automattic\\WooCommerce\\StoreApi\\RoutesController\:\:get\(\) expects string, int\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/StoreApi/RoutesController.php
+
+ -
+ message: '#^Cannot access offset string on Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\AbstractSchema\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/StoreApi/SchemaController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\SchemaController\:\:get\(\) should return Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\AbstractSchema but returns object\.$#'
+ identifier: return.type
+ count: 1
+ path: src/StoreApi/SchemaController.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\StoreApi\\SchemaController\:\:\$schemas \(array\<Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\AbstractSchema\>\) does not accept array\<string, array\<string, string\>\>\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/StoreApi/SchemaController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Schemas\\ExtendSchema\:\:get_formatter\(\) has invalid return type Automattic\\WooCommerce\\StoreApi\\Schemas\\FormatterInterface\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/StoreApi/Schemas/ExtendSchema.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Schemas\\ExtendSchema\:\:register_endpoint_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/StoreApi/Schemas/ExtendSchema.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Schemas\\ExtendSchema\:\:register_payment_requirements\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/StoreApi/Schemas/ExtendSchema.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Schemas\\ExtendSchema\:\:register_update_callback\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/StoreApi/Schemas/ExtendSchema.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Schemas\\ExtendSchema\:\:throw_exception\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/StoreApi/Schemas/ExtendSchema.php
+
+ -
+ message: '#^Parameter \#1 \$exception_object of function wc_caught_exception expects Exception, Throwable given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/StoreApi/Schemas/ExtendSchema.php
+
+ -
+ message: '#^Variable \$data might not be defined\.$#'
+ identifier: variable.undefined
+ count: 1
+ path: src/StoreApi/Schemas/ExtendSchema.php
+
+ -
+ message: '#^Variable \$schema might not be defined\.$#'
+ identifier: variable.undefined
+ count: 1
+ path: src/StoreApi/Schemas/ExtendSchema.php
+
+ -
+ message: '#^Cannot access offset \(int\|string\) on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 4
+ path: src/StoreApi/Schemas/V1/AbstractAddressSchema.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\AbstractAddressSchema\:\:sanitize_callback\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Schemas/V1/AbstractAddressSchema.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\AbstractAddressSchema\:\:sanitize_callback\(\) should return array but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/StoreApi/Schemas/V1/AbstractAddressSchema.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\AbstractAddressSchema\:\:validate_callback\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Schemas/V1/AbstractAddressSchema.php
+
+ -
+ message: '#^Method WP_Error\:\:has_errors\(\) invoked with 1 parameter, 0 required\.$#'
+ identifier: arguments.count
+ count: 1
+ path: src/StoreApi/Schemas/V1/AbstractAddressSchema.php
+
+ -
+ message: '#^Call to method format\(\) on an unknown class Automattic\\WooCommerce\\StoreApi\\Schemas\\FormatterInterface\.$#'
+ identifier: class.notFound
+ count: 3
+ path: src/StoreApi/Schemas/V1/AbstractSchema.php
+
+ -
+ message: '#^Invoking callable on an unknown class Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\function\.$#'
+ identifier: class.notFound
+ count: 2
+ path: src/StoreApi/Schemas/V1/AbstractSchema.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\AbstractSchema\:\:get_item_response\(\) has invalid return type Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\stdClass\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/StoreApi/Schemas/V1/AbstractSchema.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\AbstractSchema\:\:get_recursive_sanitize_callback\(\) has invalid return type Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\function\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/StoreApi/Schemas/V1/AbstractSchema.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\AbstractSchema\:\:get_recursive_sanitize_callback\(\) should return Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\function but returns Closure\.$#'
+ identifier: return.type
+ count: 1
+ path: src/StoreApi/Schemas/V1/AbstractSchema.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\AbstractSchema\:\:get_recursive_validate_callback\(\) has invalid return type Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\function\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/StoreApi/Schemas/V1/AbstractSchema.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\AbstractSchema\:\:get_recursive_validate_callback\(\) should return Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\function but returns Closure\.$#'
+ identifier: return.type
+ count: 1
+ path: src/StoreApi/Schemas/V1/AbstractSchema.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\AbstractSchema\:\:remove_arg_options\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/StoreApi/Schemas/V1/AbstractSchema.php
+
+ -
+ message: '#^Parameter \#1 \$properties of method Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\AbstractSchema\:\:get_recursive_sanitize_callback\(\) expects array, object given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/StoreApi/Schemas/V1/AbstractSchema.php
+
+ -
+ message: '#^Parameter \#1 \$properties of method Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\AbstractSchema\:\:get_recursive_schema_property_defaults\(\) expects array, object given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/StoreApi/Schemas/V1/AbstractSchema.php
+
+ -
+ message: '#^Parameter \#1 \$properties of method Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\AbstractSchema\:\:get_recursive_validate_callback\(\) expects array, object given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/StoreApi/Schemas/V1/AbstractSchema.php
+
+ -
+ message: '#^Binary operation "\+" between string and string results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: src/StoreApi/Schemas/V1/Agentic/CheckoutSessionSchema.php
+
+ -
+ message: '#^Binary operation "\-" between \(float\|int\) and string results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: src/StoreApi/Schemas/V1/Agentic/CheckoutSessionSchema.php
+
+ -
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_product\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/StoreApi/Schemas/V1/Agentic/CheckoutSessionSchema.php
+
+ -
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_product_id\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/StoreApi/Schemas/V1/Agentic/CheckoutSessionSchema.php
+
+ -
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_subtotal\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: src/StoreApi/Schemas/V1/Agentic/CheckoutSessionSchema.php
+
+ -
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_total\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/StoreApi/Schemas/V1/Agentic/CheckoutSessionSchema.php
+
+ -
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_total_tax\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/StoreApi/Schemas/V1/Agentic/CheckoutSessionSchema.php
+
+ -
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_variation_id\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: src/StoreApi/Schemas/V1/Agentic/CheckoutSessionSchema.php
+
+ -
+ message: '#^Call to an undefined method WC_Payment_Gateway\:\:get_agentic_commerce_payment_methods\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/StoreApi/Schemas/V1/Agentic/CheckoutSessionSchema.php
+
+ -
+ message: '#^Call to an undefined method WC_Payment_Gateway\:\:get_agentic_commerce_provider\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/StoreApi/Schemas/V1/Agentic/CheckoutSessionSchema.php
+
+ -
+ message: '#^Call to method format\(\) on an unknown class Automattic\\WooCommerce\\StoreApi\\Schemas\\FormatterInterface\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/StoreApi/Schemas/V1/Agentic/CheckoutSessionSchema.php
+
+ -
+ message: '#^Cannot access offset 0 on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/StoreApi/Schemas/V1/Agentic/CheckoutSessionSchema.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\Agentic\\CheckoutSessionSchema\:\:get_draft_order\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/StoreApi/Schemas/V1/Agentic/CheckoutSessionSchema.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\Agentic\\CheckoutSessionSchema\:\:get_draft_order_id\(\) should return int but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/StoreApi/Schemas/V1/Agentic/CheckoutSessionSchema.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\Agentic\\CheckoutSessionSchema\:\:get_selected_fulfillment_option_id\(\) should return string\|null but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/StoreApi/Schemas/V1/Agentic/CheckoutSessionSchema.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\Agentic\\CheckoutSessionSchema\:\:set_draft_order_id\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/StoreApi/Schemas/V1/Agentic/CheckoutSessionSchema.php
+
+ -
+ message: '#^PHPDoc tag @return has invalid value \(\\WC_Order\|null;\)\: Unexpected token ";", expected TOKEN_HORIZONTAL_WS at offset 99 on line 4$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/StoreApi/Schemas/V1/Agentic/CheckoutSessionSchema.php
+
+ -
+ message: '#^Parameter \#1 \$order_object of method Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\Agentic\\CheckoutSessionSchema\:\:is_valid_draft_order\(\) expects WC_Order, bool\|WC_Order\|WC_Order_Refund given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/StoreApi/Schemas/V1/Agentic/CheckoutSessionSchema.php
+
+ -
+ message: '#^Parameter \#1 \$post of function get_permalink expects int\|WP_Post, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/StoreApi/Schemas/V1/Agentic/CheckoutSessionSchema.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\BillingAddressSchema\:\:sanitize_callback\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Schemas/V1/BillingAddressSchema.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\BillingAddressSchema\:\:validate_callback\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Schemas/V1/BillingAddressSchema.php
+
+ -
+ message: '#^Method WP_Error\:\:has_errors\(\) invoked with 1 parameter, 0 required\.$#'
+ identifier: arguments.count
+ count: 1
+ path: src/StoreApi/Schemas/V1/BillingAddressSchema.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\CartExtensionsSchema\:\:get_item_response\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Schemas/V1/CartExtensionsSchema.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\CartExtensionsSchema\:\:get_item_response\(\) should return array but returns WP_REST_Response\.$#'
+ identifier: return.type
+ count: 1
+ path: src/StoreApi/Schemas/V1/CartExtensionsSchema.php
+
+ -
+ message: '#^Offset ''data'' might not exist on WP_REST_Request\|null\.$#'
+ identifier: offsetAccess.notFound
+ count: 1
+ path: src/StoreApi/Schemas/V1/CartExtensionsSchema.php
+
+ -
+ message: '#^Offset ''namespace'' might not exist on WP_REST_Request\|null\.$#'
+ identifier: offsetAccess.notFound
+ count: 1
+ path: src/StoreApi/Schemas/V1/CartExtensionsSchema.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\CartExtensionsSchema\:\:\$cart_schema \(Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\CartSchema\) does not accept Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\AbstractSchema\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/StoreApi/Schemas/V1/CartExtensionsSchema.php
+
+ -
+ message: '#^Cannot access property \$id on array\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: src/StoreApi/Schemas/V1/CartFeeSchema.php
+
+ -
+ message: '#^Cannot access property \$name on array\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: src/StoreApi/Schemas/V1/CartFeeSchema.php
+
+ -
+ message: '#^Cannot access property \$tax on array\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: src/StoreApi/Schemas/V1/CartFeeSchema.php
+
+ -
+ message: '#^Cannot access property \$total on array\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: src/StoreApi/Schemas/V1/CartFeeSchema.php
+
+ -
+ message: '#^Cannot access property \$id on mixed\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: src/StoreApi/Schemas/V1/CartItemSchema.php
+
+ -
+ message: '#^Parameter \#1 \$cart_item \(array\) of method Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\CartItemSchema\:\:get_item_response\(\) should be compatible with parameter \$product \(WC_Product\) of method Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\ProductSchema\:\:get_item_response\(\)$#'
+ identifier: method.childParameterType
+ count: 1
+ path: src/StoreApi/Schemas/V1/CartItemSchema.php
+
+ -
+ message: '#^Parameter \#2 \$tax_display_mode of method Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\CartItemSchema\:\:prepare_product_price_response\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/StoreApi/Schemas/V1/CartItemSchema.php
+
+ -
+ message: '#^Trying to invoke string but it might not be a callable\.$#'
+ identifier: callable.nonCallable
+ count: 3
+ path: src/StoreApi/Schemas/V1/CartItemSchema.php
+
+ -
+ message: '#^Access to an undefined property WooCommerce\:\:\$payment_gateways\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/StoreApi/Schemas/V1/CartSchema.php
+
+ -
+ message: '#^Parameter \#2 \$callback of function array_filter expects \(callable\(WC_Product\|false\|null\)\: bool\)\|null, ''wc_products_array…'' given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/StoreApi/Schemas/V1/CartSchema.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\CartSchema\:\:\$billing_address_schema \(Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\BillingAddressSchema\) does not accept Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\AbstractSchema\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/StoreApi/Schemas/V1/CartSchema.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\CartSchema\:\:\$coupon_schema \(Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\CartCouponSchema\) does not accept Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\AbstractSchema\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/StoreApi/Schemas/V1/CartSchema.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\CartSchema\:\:\$cross_sells_item_schema \(Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\ProductSchema\) does not accept Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\AbstractSchema\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/StoreApi/Schemas/V1/CartSchema.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\CartSchema\:\:\$error_schema \(Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\ErrorSchema\) does not accept Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\AbstractSchema\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/StoreApi/Schemas/V1/CartSchema.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\CartSchema\:\:\$fee_schema \(Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\CartFeeSchema\) does not accept Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\AbstractSchema\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/StoreApi/Schemas/V1/CartSchema.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\CartSchema\:\:\$item_schema \(Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\CartItemSchema\) does not accept Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\AbstractSchema\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/StoreApi/Schemas/V1/CartSchema.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\CartSchema\:\:\$shipping_address_schema \(Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\ShippingAddressSchema\) does not accept Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\AbstractSchema\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/StoreApi/Schemas/V1/CartSchema.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\CartSchema\:\:\$shipping_rate_schema \(Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\CartShippingRateSchema\) does not accept Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\AbstractSchema\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/StoreApi/Schemas/V1/CartSchema.php
+
+ -
+ message: '#^Call to method get_meta_data\(\) on an unknown class Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\WC_Shipping_Rate\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/StoreApi/Schemas/V1/CartShippingRateSchema.php
+
+ -
+ message: '#^Cannot access an offset on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/StoreApi/Schemas/V1/CartShippingRateSchema.php
+
+ -
+ message: '#^Cannot access offset mixed on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/StoreApi/Schemas/V1/CartShippingRateSchema.php
+
+ -
+ message: '#^Parameter \#2 \$selected_rate of method Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\CartShippingRateSchema\:\:get_rate_response\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/StoreApi/Schemas/V1/CartShippingRateSchema.php
+
+ -
+ message: '#^Parameter \$rate of method Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\CartShippingRateSchema\:\:get_rate_meta_data\(\) has invalid type Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\WC_Shipping_Rate\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/StoreApi/Schemas/V1/CartShippingRateSchema.php
+
+ -
+ message: '#^Parameter \$rate of method Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\CartShippingRateSchema\:\:get_rate_prop\(\) has invalid type Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\WC_Shipping_Rate\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/StoreApi/Schemas/V1/CartShippingRateSchema.php
+
+ -
+ message: '#^Parameter \$rate of method Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\CartShippingRateSchema\:\:get_rate_response\(\) has invalid type Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\WC_Shipping_Rate\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/StoreApi/Schemas/V1/CartShippingRateSchema.php
+
+ -
+ message: '#^Access to an undefined property WooCommerce\:\:\$payment_gateways\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/StoreApi/Schemas/V1/CheckoutSchema.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$order\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/StoreApi/Schemas/V1/CheckoutSchema.php
+
+ -
+ message: '#^Access to protected property Automattic\\WooCommerce\\StoreApi\\Payments\\PaymentResult\:\:\$payment_details\.$#'
+ identifier: property.protected
+ count: 1
+ path: src/StoreApi/Schemas/V1/CheckoutSchema.php
+
+ -
+ message: '#^Access to protected property Automattic\\WooCommerce\\StoreApi\\Payments\\PaymentResult\:\:\$redirect_url\.$#'
+ identifier: property.protected
+ count: 1
+ path: src/StoreApi/Schemas/V1/CheckoutSchema.php
+
+ -
+ message: '#^Access to protected property Automattic\\WooCommerce\\StoreApi\\Payments\\PaymentResult\:\:\$status\.$#'
+ identifier: property.protected
+ count: 1
+ path: src/StoreApi/Schemas/V1/CheckoutSchema.php
+
+ -
+ message: '#^Cannot access offset \(int\|string\) on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/StoreApi/Schemas/V1/CheckoutSchema.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\CheckoutSchema\:\:get_additional_fields_response\(\) should return array but returns stdClass\.$#'
+ identifier: return.type
+ count: 1
+ path: src/StoreApi/Schemas/V1/CheckoutSchema.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\CheckoutSchema\:\:sanitize_additional_fields\(\) should return array but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/StoreApi/Schemas/V1/CheckoutSchema.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\CheckoutSchema\:\:validate_additional_fields\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Schemas/V1/CheckoutSchema.php
+
+ -
+ message: '#^Parameter \#1 \$array of method Automattic\\WooCommerce\\StoreApi\\Utilities\\SanitizationUtils\:\:wp_kses_array\(\) expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/StoreApi/Schemas/V1/CheckoutSchema.php
+
+ -
+ message: '#^Parameter \#1 \$payment_details of method Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\CheckoutSchema\:\:prepare_payment_details_for_response\(\) expects array, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/StoreApi/Schemas/V1/CheckoutSchema.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\CheckoutSchema\:\:\$billing_address_schema \(Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\BillingAddressSchema\) does not accept Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\AbstractSchema\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/StoreApi/Schemas/V1/CheckoutSchema.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\CheckoutSchema\:\:\$cart_schema \(Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\CartSchema\) does not accept Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\AbstractSchema\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/StoreApi/Schemas/V1/CheckoutSchema.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\CheckoutSchema\:\:\$image_attachment_schema \(Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\ImageAttachmentSchema\) does not accept Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\AbstractSchema\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/StoreApi/Schemas/V1/CheckoutSchema.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\CheckoutSchema\:\:\$shipping_address_schema \(Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\ShippingAddressSchema\) does not accept Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\AbstractSchema\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/StoreApi/Schemas/V1/CheckoutSchema.php
+
+ -
+ message: '#^Parameter \#1 \$response of method Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\AbstractSchema\:\:prepare_html_response\(\) expects array\|string, int\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/StoreApi/Schemas/V1/ErrorSchema.php
+
+ -
+ message: '#^Parameter \#1 \$array_arg of function current expects array\|object, list\<bool\|int\|string\>\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/StoreApi/Schemas/V1/ImageAttachmentSchema.php
+
+ -
+ message: '#^Ternary operator condition is always true\.$#'
+ identifier: ternary.alwaysTrue
+ count: 1
+ path: src/StoreApi/Schemas/V1/OrderCouponSchema.php
+
+ -
+ message: '#^Parameter \#1 \$object_or_string of function is_a expects object, bool\|WC_Product given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/StoreApi/Schemas/V1/OrderItemSchema.php
+
+ -
+ message: '#^Parameter \#1 \$order_item \(WC_Order_Item_Product\) of method Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\OrderItemSchema\:\:get_item_response\(\) should be compatible with parameter \$product \(WC_Product\) of method Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\ProductSchema\:\:get_item_response\(\)$#'
+ identifier: method.childParameterType
+ count: 1
+ path: src/StoreApi/Schemas/V1/OrderItemSchema.php
+
+ -
+ message: '#^Parameter \#2 \$tax_display_mode of method Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\OrderItemSchema\:\:prepare_product_price_response\(\) expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/StoreApi/Schemas/V1/OrderItemSchema.php
+
+ -
+ message: '#^Trying to invoke string but it might not be a callable\.$#'
+ identifier: callable.nonCallable
+ count: 3
+ path: src/StoreApi/Schemas/V1/OrderItemSchema.php
+
+ -
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_label\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/StoreApi/Schemas/V1/OrderSchema.php
+
+ -
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_rate_percent\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/StoreApi/Schemas/V1/OrderSchema.php
+
+ -
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_tax_total\(\)\.$#'
+ identifier: method.notFound
+ count: 2
+ path: src/StoreApi/Schemas/V1/OrderSchema.php
+
+ -
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_total\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/StoreApi/Schemas/V1/OrderSchema.php
+
+ -
+ message: '#^Call to an undefined method WC_Order_Item\:\:get_total_tax\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/StoreApi/Schemas/V1/OrderSchema.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\OrderSchema\:\:\$billing_address_schema \(Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\BillingAddressSchema\) does not accept Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\AbstractSchema\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/StoreApi/Schemas/V1/OrderSchema.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\OrderSchema\:\:\$coupon_schema \(Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\OrderCouponSchema\) does not accept Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\AbstractSchema\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/StoreApi/Schemas/V1/OrderSchema.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\OrderSchema\:\:\$error_schema \(Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\ErrorSchema\) does not accept Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\AbstractSchema\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/StoreApi/Schemas/V1/OrderSchema.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\OrderSchema\:\:\$fee_schema \(Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\OrderFeeSchema\) does not accept Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\AbstractSchema\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/StoreApi/Schemas/V1/OrderSchema.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\OrderSchema\:\:\$item_schema \(Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\OrderItemSchema\) does not accept Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\AbstractSchema\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/StoreApi/Schemas/V1/OrderSchema.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\OrderSchema\:\:\$shipping_address_schema \(Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\ShippingAddressSchema\) does not accept Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\AbstractSchema\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/StoreApi/Schemas/V1/OrderSchema.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\OrderSchema\:\:\$shipping_rate_schema \(Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\CartShippingRateSchema\) does not accept Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\AbstractSchema\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/StoreApi/Schemas/V1/OrderSchema.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$has_archives\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/StoreApi/Schemas/V1/ProductAttributeSchema.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$id\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/StoreApi/Schemas/V1/ProductAttributeSchema.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$name\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/StoreApi/Schemas/V1/ProductAttributeSchema.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$order_by\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/StoreApi/Schemas/V1/ProductAttributeSchema.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$slug\.$#'
+ identifier: property.notFound
+ count: 2
+ path: src/StoreApi/Schemas/V1/ProductAttributeSchema.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$type\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/StoreApi/Schemas/V1/ProductAttributeSchema.php
+
+ -
+ message: '#^Cannot cast numeric\-string\|WP_Error to int\.$#'
+ identifier: cast.int
+ count: 1
+ path: src/StoreApi/Schemas/V1/ProductAttributeSchema.php
+
+ -
+ message: '#^Cannot cast mixed to int\.$#'
+ identifier: cast.int
+ count: 1
+ path: src/StoreApi/Schemas/V1/ProductBrandSchema.php
+
+ -
+ message: '#^Parameter \#1 \$attachment_id of method Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\ImageAttachmentSchema\:\:get_item_response\(\) expects int, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/StoreApi/Schemas/V1/ProductBrandSchema.php
+
+ -
+ message: '#^Parameter \#1 \$data of function esc_sql expects array\|string, int\<0, max\>\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/StoreApi/Schemas/V1/ProductBrandSchema.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\ProductBrandSchema\:\:\$image_attachment_schema \(Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\ImageAttachmentSchema\) does not accept Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\AbstractSchema\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/StoreApi/Schemas/V1/ProductBrandSchema.php
+
+ -
+ message: '#^Cannot cast mixed to int\.$#'
+ identifier: cast.int
+ count: 1
+ path: src/StoreApi/Schemas/V1/ProductCategorySchema.php
+
+ -
+ message: '#^Parameter \#1 \$attachment_id of method Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\ImageAttachmentSchema\:\:get_item_response\(\) expects int, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/StoreApi/Schemas/V1/ProductCategorySchema.php
+
+ -
+ message: '#^Parameter \#1 \$data of function esc_sql expects array\|string, int\<0, max\>\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/StoreApi/Schemas/V1/ProductCategorySchema.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\ProductCategorySchema\:\:\$image_attachment_schema \(Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\ImageAttachmentSchema\) does not accept Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\AbstractSchema\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/StoreApi/Schemas/V1/ProductCategorySchema.php
+
+ -
+ message: '#^Cannot cast mixed to int\.$#'
+ identifier: cast.int
+ count: 1
+ path: src/StoreApi/Schemas/V1/ProductReviewSchema.php
+
+ -
+ message: '#^Parameter \#1 \$attachment_id of method Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\ImageAttachmentSchema\:\:get_item_response\(\) expects int, int\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/StoreApi/Schemas/V1/ProductReviewSchema.php
+
+ -
+ message: '#^Parameter \#1 \$comment_id of function get_comment_meta expects int, string given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/StoreApi/Schemas/V1/ProductReviewSchema.php
+
+ -
+ message: '#^Parameter \#1 \$comment_id of function wc_review_is_from_verified_owner expects int, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/StoreApi/Schemas/V1/ProductReviewSchema.php
+
+ -
+ message: '#^Parameter \#2 \$comment_id of function get_comment_date expects int\|WP_Comment, string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/StoreApi/Schemas/V1/ProductReviewSchema.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\ProductReviewSchema\:\:\$image_attachment_schema \(Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\ImageAttachmentSchema\) does not accept Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\AbstractSchema\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/StoreApi/Schemas/V1/ProductReviewSchema.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$default\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/StoreApi/Schemas/V1/ProductSchema.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$slug\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/StoreApi/Schemas/V1/ProductSchema.php
+
+ -
+ message: '#^Call to an undefined method WC_Product\:\:get_variation_prices\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/StoreApi/Schemas/V1/ProductSchema.php
+
+ -
+ message: '#^Call to an undefined method WC_Product\:\:get_variation_regular_price\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/StoreApi/Schemas/V1/ProductSchema.php
+
+ -
+ message: '#^Call to an undefined method WC_Product\:\:get_variation_sale_price\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/StoreApi/Schemas/V1/ProductSchema.php
+
+ -
+ message: '#^Call to an undefined method WC_Product\:\:get_visible_children\(\)\.$#'
+ identifier: method.notFound
+ count: 3
+ path: src/StoreApi/Schemas/V1/ProductSchema.php
+
+ -
+ message: '#^Cannot access offset ''data'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/StoreApi/Schemas/V1/ProductSchema.php
+
+ -
+ message: '#^Cannot access offset ''last_modified'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/StoreApi/Schemas/V1/ProductSchema.php
+
+ -
+ message: '#^Cannot access offset int\|string on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/StoreApi/Schemas/V1/ProductSchema.php
+
+ -
+ message: '#^Cannot access offset mixed on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/StoreApi/Schemas/V1/ProductSchema.php
+
+ -
+ message: '#^Cannot access offset string on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/StoreApi/Schemas/V1/ProductSchema.php
+
+ -
+ message: '#^Cannot call method get_variation\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/StoreApi/Schemas/V1/ProductSchema.php
+
+ -
+ message: '#^Cannot cast mixed to int\.$#'
+ identifier: cast.int
+ count: 1
+ path: src/StoreApi/Schemas/V1/ProductSchema.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\ProductSchema\:\:get_tax_display_mode\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/StoreApi/Schemas/V1/ProductSchema.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\ProductSchema\:\:get_variations\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/StoreApi/Schemas/V1/ProductSchema.php
+
+ -
+ message: '#^Parameter \#1 \$callback of function array_map expects \(callable\(int\|string\)\: mixed\)\|null, ''esc_sql'' given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/StoreApi/Schemas/V1/ProductSchema.php
+
+ -
+ message: '#^Parameter \#1 \$input of function array_reduce expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/StoreApi/Schemas/V1/ProductSchema.php
+
+ -
+ message: '#^Parameter \#1 \$object_or_string of function is_a expects object, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/StoreApi/Schemas/V1/ProductSchema.php
+
+ -
+ message: '#^Parameter \#1 \$variation of function wc_get_formatted_variation expects array\|WC_Product_Variation, WC_Product given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/StoreApi/Schemas/V1/ProductSchema.php
+
+ -
+ message: '#^Parameter \#2 \$array of function implode expects array\<string\>, array\<array\|string\> given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/StoreApi/Schemas/V1/ProductSchema.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\ProductSchema\:\:\$image_attachment_schema \(Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\ImageAttachmentSchema\) does not accept Automattic\\WooCommerce\\StoreApi\\Schemas\\V1\\AbstractSchema\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/StoreApi/Schemas/V1/ProductSchema.php
+
+ -
+ message: '#^Trying to invoke string but it might not be a callable\.$#'
+ identifier: callable.nonCallable
+ count: 3
+ path: src/StoreApi/Schemas/V1/ProductSchema.php
+
+ -
+ message: '#^Cannot access property \$prefix on mixed\.$#'
+ identifier: property.nonObject
+ count: 1
+ path: src/StoreApi/SessionHandler.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\SessionHandler\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/StoreApi/SessionHandler.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\SessionHandler\:\:init_session_from_token\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/StoreApi/SessionHandler.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\SessionHandler\:\:save_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/StoreApi/SessionHandler.php
+
+ -
+ message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/StoreApi/SessionHandler.php
+
+ -
+ message: '#^Property Automattic\\WooCommerce\\StoreApi\\SessionHandler\:\:\$token \(string\) does not accept array\|string\.$#'
+ identifier: assign.propertyType
+ count: 1
+ path: src/StoreApi/SessionHandler.php
+
+ -
+ message: '#^Cannot call method get\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 4
+ path: src/StoreApi/StoreApi.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\StoreApi\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/StoreApi/StoreApi.php
+
+ -
+ message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
+ identifier: foreach.nonIterable
+ count: 1
+ path: src/StoreApi/Utilities/AgenticCheckoutUtils.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Utilities\\AgenticCheckoutUtils\:\:add_items_to_cart\(\) has invalid return type Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\Agentic\\Errors\\Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/StoreApi/Utilities/AgenticCheckoutUtils.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Utilities\\AgenticCheckoutUtils\:\:add_items_to_cart\(\) should return Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\Agentic\\Errors\\Error\|null but returns Automattic\\WooCommerce\\StoreApi\\Routes\\V1\\Agentic\\Error\.$#'
+ identifier: return.type
+ count: 2
+ path: src/StoreApi/Utilities/AgenticCheckoutUtils.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Utilities\\AgenticCheckoutUtils\:\:add_protocol_headers\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Utilities/AgenticCheckoutUtils.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Utilities\\AgenticCheckoutUtils\:\:clear_fulfillment_address\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/StoreApi/Utilities/AgenticCheckoutUtils.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Utilities\\AgenticCheckoutUtils\:\:get_agentic_commerce_gateway\(\) should return WC_Payment_Gateway\|null but returns class\-string\|object\.$#'
+ identifier: return.type
+ count: 1
+ path: src/StoreApi/Utilities/AgenticCheckoutUtils.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Utilities\\AgenticCheckoutUtils\:\:is_authorized\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Utilities/AgenticCheckoutUtils.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Utilities\\AgenticCheckoutUtils\:\:set_billing_address\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/StoreApi/Utilities/AgenticCheckoutUtils.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Utilities\\AgenticCheckoutUtils\:\:set_buyer_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/StoreApi/Utilities/AgenticCheckoutUtils.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Utilities\\AgenticCheckoutUtils\:\:set_fulfillment_address\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/StoreApi/Utilities/AgenticCheckoutUtils.php
+
+ -
+ message: '#^Parameter \#1 \$input of function array_filter expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/StoreApi/Utilities/AgenticCheckoutUtils.php
+
+ -
+ message: '#^Parameter \#1 \$value of method WC_Customer\:\:set_billing_address_1\(\) expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/StoreApi/Utilities/AgenticCheckoutUtils.php
+
+ -
+ message: '#^Parameter \#1 \$value of method WC_Customer\:\:set_billing_address_2\(\) expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/StoreApi/Utilities/AgenticCheckoutUtils.php
+
+ -
+ message: '#^Parameter \#1 \$value of method WC_Customer\:\:set_billing_city\(\) expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/StoreApi/Utilities/AgenticCheckoutUtils.php
+
+ -
+ message: '#^Parameter \#1 \$value of method WC_Customer\:\:set_billing_country\(\) expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/StoreApi/Utilities/AgenticCheckoutUtils.php
+
+ -
+ message: '#^Parameter \#1 \$value of method WC_Customer\:\:set_billing_first_name\(\) expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/StoreApi/Utilities/AgenticCheckoutUtils.php
+
+ -
+ message: '#^Parameter \#1 \$value of method WC_Customer\:\:set_billing_last_name\(\) expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/StoreApi/Utilities/AgenticCheckoutUtils.php
+
+ -
+ message: '#^Parameter \#1 \$value of method WC_Customer\:\:set_billing_phone\(\) expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/StoreApi/Utilities/AgenticCheckoutUtils.php
+
+ -
+ message: '#^Parameter \#1 \$value of method WC_Customer\:\:set_billing_postcode\(\) expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/StoreApi/Utilities/AgenticCheckoutUtils.php
+
+ -
+ message: '#^Parameter \#1 \$value of method WC_Customer\:\:set_billing_state\(\) expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/StoreApi/Utilities/AgenticCheckoutUtils.php
+
+ -
+ message: '#^Parameter \#1 \$value of method WC_Customer\:\:set_shipping_address_1\(\) expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/StoreApi/Utilities/AgenticCheckoutUtils.php
+
+ -
+ message: '#^Parameter \#1 \$value of method WC_Customer\:\:set_shipping_address_2\(\) expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/StoreApi/Utilities/AgenticCheckoutUtils.php
+
+ -
+ message: '#^Parameter \#1 \$value of method WC_Customer\:\:set_shipping_city\(\) expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/StoreApi/Utilities/AgenticCheckoutUtils.php
+
+ -
+ message: '#^Parameter \#1 \$value of method WC_Customer\:\:set_shipping_country\(\) expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/StoreApi/Utilities/AgenticCheckoutUtils.php
+
+ -
+ message: '#^Parameter \#1 \$value of method WC_Customer\:\:set_shipping_first_name\(\) expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/StoreApi/Utilities/AgenticCheckoutUtils.php
+
+ -
+ message: '#^Parameter \#1 \$value of method WC_Customer\:\:set_shipping_last_name\(\) expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/StoreApi/Utilities/AgenticCheckoutUtils.php
+
+ -
+ message: '#^Parameter \#1 \$value of method WC_Customer\:\:set_shipping_postcode\(\) expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/StoreApi/Utilities/AgenticCheckoutUtils.php
+
+ -
+ message: '#^Parameter \#1 \$value of method WC_Customer\:\:set_shipping_state\(\) expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/StoreApi/Utilities/AgenticCheckoutUtils.php
+
+ -
+ message: '#^Parameter \#2 \$hash of function wp_check_password expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/StoreApi/Utilities/AgenticCheckoutUtils.php
+
+ -
+ message: '#^Parameter \#2 \$str of function explode expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/StoreApi/Utilities/AgenticCheckoutUtils.php
+
+ -
+ message: '#^@param int \$request_quantity does not accept actual type of parameter\: float\|int\.$#'
+ identifier: parameter.phpDocType
+ count: 1
+ path: src/StoreApi/Utilities/CartController.php
+
+ -
+ message: '#^Call to an undefined method WC_Data_Store\:\:find_matching_product_variation\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/StoreApi/Utilities/CartController.php
+
+ -
+ message: '#^Call to method is_type\(\) on an unknown class Automattic\\WooCommerce\\StoreApi\\Utilities\\Error\.$#'
+ identifier: class.notFound
+ count: 2
+ path: src/StoreApi/Utilities/CartController.php
+
+ -
+ message: '#^Cannot access offset ''package_id'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: src/StoreApi/Utilities/CartController.php
+
+ -
+ message: '#^Cannot access offset ''package_name'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: src/StoreApi/Utilities/CartController.php
+
+ -
+ message: '#^Cannot access offset int\|string on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/StoreApi/Utilities/CartController.php
+
+ -
+ message: '#^Cannot call method get_id\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/StoreApi/Utilities/CartController.php
+
+ -
+ message: '#^Cannot call method get_parent_id\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/StoreApi/Utilities/CartController.php
+
+ -
+ message: '#^Cannot call method is_sold_individually\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/StoreApi/Utilities/CartController.php
+
+ -
+ message: '#^Cannot call method is_type\(\) on WC_Product\|false\|null\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/StoreApi/Utilities/CartController.php
+
+ -
+ message: '#^Dead catch \- Automattic\\WooCommerce\\StoreApi\\Exceptions\\RouteException is never thrown in the try block\.$#'
+ identifier: catch.neverThrown
+ count: 2
+ path: src/StoreApi/Utilities/CartController.php
+
+ -
+ message: '#^Dead catch \- Exception is never thrown in the try block\.$#'
+ identifier: catch.neverThrown
+ count: 1
+ path: src/StoreApi/Utilities/CartController.php
+
+ -
+ message: '#^Expected 6 @param tags, found 5\.$#'
+ identifier: paramTag.count
+ count: 1
+ path: src/StoreApi/Utilities/CartController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Utilities\\CartController\:\:add_product_names_to_message\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/StoreApi/Utilities/CartController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Utilities\\CartController\:\:apply_coupon\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/StoreApi/Utilities/CartController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Utilities\\CartController\:\:empty_cart\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/StoreApi/Utilities/CartController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Utilities\\CartController\:\:get_draft_order\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/StoreApi/Utilities/CartController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Utilities\\CartController\:\:get_draft_order_id\(\) should return int but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/StoreApi/Utilities/CartController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Utilities\\CartController\:\:get_product_for_cart\(\) has invalid return type Automattic\\WooCommerce\\StoreApi\\Utilities\\Error\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/StoreApi/Utilities/CartController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Utilities\\CartController\:\:get_remaining_stock_for_product\(\) should return int but returns float\|int\.$#'
+ identifier: return.type
+ count: 1
+ path: src/StoreApi/Utilities/CartController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Utilities\\CartController\:\:load_cart\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/StoreApi/Utilities/CartController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Utilities\\CartController\:\:normalize_cart\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/StoreApi/Utilities/CartController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Utilities\\CartController\:\:select_shipping_rate\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/StoreApi/Utilities/CartController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Utilities\\CartController\:\:set_cart_item_quantity\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/StoreApi/Utilities/CartController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Utilities\\CartController\:\:set_draft_order_id\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/StoreApi/Utilities/CartController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Utilities\\CartController\:\:throw_default_product_exception\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/StoreApi/Utilities/CartController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Utilities\\CartController\:\:validate_add_to_cart\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/StoreApi/Utilities/CartController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Utilities\\CartController\:\:validate_cart\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/StoreApi/Utilities/CartController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Utilities\\CartController\:\:validate_cart_coupon\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/StoreApi/Utilities/CartController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Utilities\\CartController\:\:validate_cart_coupons\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/StoreApi/Utilities/CartController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Utilities\\CartController\:\:validate_cart_item\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/StoreApi/Utilities/CartController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Utilities\\CartController\:\:validate_cart_items\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/StoreApi/Utilities/CartController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Utilities\\CartController\:\:validate_cart_not_empty\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/StoreApi/Utilities/CartController.php
+
+ -
+ message: '#^PHPDoc tag @return has invalid value \(\\WC_Order\|null;\)\: Unexpected token ";", expected TOKEN_HORIZONTAL_WS at offset 99 on line 4$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/StoreApi/Utilities/CartController.php
+
+ -
+ message: '#^Parameter \#1 \$error_code of class Automattic\\WooCommerce\\StoreApi\\Exceptions\\RouteException constructor expects string, int\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/StoreApi/Utilities/CartController.php
+
+ -
+ message: '#^Parameter \#1 \$order_object of method Automattic\\WooCommerce\\StoreApi\\Utilities\\CartController\:\:is_valid_draft_order\(\) expects WC_Order, bool\|WC_Order\|WC_Order_Refund given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/StoreApi/Utilities/CartController.php
+
+ -
+ message: '#^Parameter \#1 \$package of method Automattic\\WooCommerce\\StoreApi\\Utilities\\CartController\:\:get_package_name\(\) expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/StoreApi/Utilities/CartController.php
+
+ -
+ message: '#^Parameter \#1 \$product of function wc_get_cart_item_data_hash expects WC_Product, Automattic\\WooCommerce\\StoreApi\\Utilities\\Error\|WC_Product given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/StoreApi/Utilities/CartController.php
+
+ -
+ message: '#^Parameter \#1 \$product of method Automattic\\WooCommerce\\StoreApi\\Utilities\\CartController\:\:get_product_id\(\) expects WC_Product, Automattic\\WooCommerce\\StoreApi\\Utilities\\Error\|WC_Product given\.$#'
+ identifier: argument.type
+ count: 3
+ path: src/StoreApi/Utilities/CartController.php
+
+ -
+ message: '#^Parameter \#1 \$product of method Automattic\\WooCommerce\\StoreApi\\Utilities\\CartController\:\:get_variable_product_attributes\(\) expects WC_Product, Automattic\\WooCommerce\\StoreApi\\Utilities\\Error\|WC_Product given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/StoreApi/Utilities/CartController.php
+
+ -
+ message: '#^Parameter \#1 \$product of method Automattic\\WooCommerce\\StoreApi\\Utilities\\CartController\:\:get_variation_id\(\) expects WC_Product, Automattic\\WooCommerce\\StoreApi\\Utilities\\Error\|WC_Product given\.$#'
+ identifier: argument.type
+ count: 3
+ path: src/StoreApi/Utilities/CartController.php
+
+ -
+ message: '#^Parameter \#1 \$product of method Automattic\\WooCommerce\\StoreApi\\Utilities\\CartController\:\:validate_add_to_cart\(\) expects WC_Product, Automattic\\WooCommerce\\StoreApi\\Utilities\\Error\|WC_Product given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/StoreApi/Utilities/CartController.php
+
+ -
+ message: '#^Parameter \#1 \$product of method Automattic\\WooCommerce\\StoreApi\\Utilities\\QuantityLimits\:\:get_add_to_cart_limits\(\) expects WC_Product, Automattic\\WooCommerce\\StoreApi\\Utilities\\Error\|WC_Product given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/StoreApi/Utilities/CartController.php
+
+ -
+ message: '#^Parameter \#1 \$str of function md5 expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 4
+ path: src/StoreApi/Utilities/CartController.php
+
+ -
+ message: '#^Parameter \#1 \$string of function html_entity_decode expects string, array\|string given\.$#'
+ identifier: argument.type
+ count: 3
+ path: src/StoreApi/Utilities/CartController.php
+
+ -
+ message: '#^Parameter \#1 \$text of function esc_html expects string, int\|string given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/StoreApi/Utilities/CartController.php
+
+ -
+ message: '#^Parameter \#2 \$product of method Automattic\\WooCommerce\\StoreApi\\Utilities\\CartController\:\:get_variation_id_from_variation_data\(\) expects WC_Product, Automattic\\WooCommerce\\StoreApi\\Utilities\\Error\|WC_Product given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/StoreApi/Utilities/CartController.php
+
+ -
+ message: '#^Parameter \#2 \$quantity of method WC_Cart\:\:set_quantity\(\) expects int, float\|int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/StoreApi/Utilities/CartController.php
+
+ -
+ message: '#^Parameter \#3 \$additional_data of class Automattic\\WooCommerce\\StoreApi\\Exceptions\\InvalidCartException constructor expects array, int given\.$#'
+ identifier: argument.type
+ count: 6
+ path: src/StoreApi/Utilities/CartController.php
+
+ -
+ message: '#^Parameter \#4 \$additional_data of class Automattic\\WooCommerce\\StoreApi\\Exceptions\\RouteException constructor expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/StoreApi/Utilities/CartController.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$payload\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/StoreApi/Utilities/CartTokenUtils.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$header\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/StoreApi/Utilities/JsonWebToken.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$header_encoded\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/StoreApi/Utilities/JsonWebToken.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$payload\.$#'
+ identifier: property.notFound
+ count: 2
+ path: src/StoreApi/Utilities/JsonWebToken.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$payload_encoded\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/StoreApi/Utilities/JsonWebToken.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$signature_encoded\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/StoreApi/Utilities/JsonWebToken.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Utilities\\JsonWebToken\:\:generate_signature\(\) never returns false so it can be removed from the return type\.$#'
+ identifier: return.unusedType
+ count: 1
+ path: src/StoreApi/Utilities/JsonWebToken.php
+
+ -
+ message: '#^Parameter \#1 \$string of static method Automattic\\WooCommerce\\StoreApi\\Utilities\\JsonWebToken\:\:to_base_64_url\(\) expects string, bool\|string given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/StoreApi/Utilities/JsonWebToken.php
+
+ -
+ message: '#^Parameter \#1 \$string of static method Automattic\\WooCommerce\\StoreApi\\Utilities\\JsonWebToken\:\:to_base_64_url\(\) expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/StoreApi/Utilities/JsonWebToken.php
+
+ -
+ message: '#^Cannot access an offset on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/StoreApi/Utilities/LocalPickupUtils.php
+
+ -
+ message: '#^Cannot access offset ''cost'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 2
+ path: src/StoreApi/Utilities/LocalPickupUtils.php
+
+ -
+ message: '#^Cannot access offset ''enabled'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 6
+ path: src/StoreApi/Utilities/LocalPickupUtils.php
+
+ -
+ message: '#^Cannot access offset ''title'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 4
+ path: src/StoreApi/Utilities/LocalPickupUtils.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Utilities\\LocalPickupUtils\:\:get_local_pickup_settings\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/StoreApi/Utilities/LocalPickupUtils.php
+
+ -
+ message: '#^Parameter \#1 \$string of function wc_string_to_bool expects bool\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/StoreApi/Utilities/LocalPickupUtils.php
+
+ -
+ message: '#^Parameter \#1 \$var of function wc_clean expects array\|string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/StoreApi/Utilities/LocalPickupUtils.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Utilities\\NoticeHandler\:\:convert_notices_to_exceptions\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/StoreApi/Utilities/NoticeHandler.php
+
+ -
+ message: '#^Access to an undefined property WooCommerce\:\:\$checkout\.$#'
+ identifier: property.notFound
+ count: 5
+ path: src/StoreApi/Utilities/OrderController.php
+
+ -
+ message: '#^Call to an undefined method object\:\:get_stock_reduced\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/StoreApi/Utilities/OrderController.php
+
+ -
+ message: '#^Call to an undefined method object\:\:get_tentative_usages_for_user\(\)\.$#'
+ identifier: method.notFound
+ count: 1
+ path: src/StoreApi/Utilities/OrderController.php
+
+ -
+ message: '#^Cannot call method find_user_ids_by_billing_email_for_coupons_usage_lookup\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/StoreApi/Utilities/OrderController.php
+
+ -
+ message: '#^Cannot call method get_data_store\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/StoreApi/Utilities/OrderController.php
+
+ -
+ message: '#^Cannot call method get_id\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/StoreApi/Utilities/OrderController.php
+
+ -
+ message: '#^Cannot call method get_id\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: src/StoreApi/Utilities/OrderController.php
+
+ -
+ message: '#^Cannot call method get_items\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 2
+ path: src/StoreApi/Utilities/OrderController.php
+
+ -
+ message: '#^Cannot call method get_order_key\(\) on WC_Order\|WC_Order_Refund\|true\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/StoreApi/Utilities/OrderController.php
+
+ -
+ message: '#^Cannot call method has_status\(\) on bool\|WC_Order\|WC_Order_Refund\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/StoreApi/Utilities/OrderController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Utilities\\OrderController\:\:get_failed_order_stock_error\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/StoreApi/Utilities/OrderController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Utilities\\OrderController\:\:perform_custom_order_validation\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/StoreApi/Utilities/OrderController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Utilities\\OrderController\:\:sync_customer_data_with_order\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/StoreApi/Utilities/OrderController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Utilities\\OrderController\:\:update_addresses_from_cart\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/StoreApi/Utilities/OrderController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Utilities\\OrderController\:\:update_line_items_from_cart\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/StoreApi/Utilities/OrderController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Utilities\\OrderController\:\:update_order_from_cart\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/StoreApi/Utilities/OrderController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Utilities\\OrderController\:\:validate_address_fields\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/StoreApi/Utilities/OrderController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Utilities\\OrderController\:\:validate_addresses\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/StoreApi/Utilities/OrderController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Utilities\\OrderController\:\:validate_coupon_email_restriction\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/StoreApi/Utilities/OrderController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Utilities\\OrderController\:\:validate_coupon_usage_limit\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/StoreApi/Utilities/OrderController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Utilities\\OrderController\:\:validate_coupons\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/StoreApi/Utilities/OrderController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Utilities\\OrderController\:\:validate_email\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/StoreApi/Utilities/OrderController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Utilities\\OrderController\:\:validate_existing_order_before_payment\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/StoreApi/Utilities/OrderController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Utilities\\OrderController\:\:validate_order_before_payment\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/StoreApi/Utilities/OrderController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Utilities\\OrderController\:\:validate_order_key\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/StoreApi/Utilities/OrderController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Utilities\\OrderController\:\:validate_selected_shipping_methods\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/StoreApi/Utilities/OrderController.php
+
+ -
+ message: '#^One or more @param tags has an invalid name or invalid syntax\.$#'
+ identifier: phpDoc.parseError
+ count: 2
+ path: src/StoreApi/Utilities/OrderController.php
+
+ -
+ message: '#^PHPDoc tag @param has invalid value \(boolean True if has enough stock\.\)\: Unexpected token "True", expected variable at offset 99 on line 4$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/StoreApi/Utilities/OrderController.php
+
+ -
+ message: '#^PHPDoc tag @param has invalid value \(boolean True if in stock\.\)\: Unexpected token "True", expected variable at offset 117 on line 4$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/StoreApi/Utilities/OrderController.php
+
+ -
+ message: '#^Parameter \#2 \$array of function implode expects array\<string\>, array\<array\|string\> given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/StoreApi/Utilities/OrderController.php
+
+ -
+ message: '#^Parameter \#2 \$chosen_shipping_methods of method Automattic\\WooCommerce\\StoreApi\\Utilities\\OrderController\:\:validate_selected_shipping_methods\(\) expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/StoreApi/Utilities/OrderController.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Utilities\\Pagination\:\:add_headers\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Utilities/Pagination.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Utilities\\Pagination\:\:add_page_link\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/StoreApi/Utilities/Pagination.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Utilities\\Pagination\:\:get_current_page\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Utilities/Pagination.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Utilities\\Pagination\:\:get_link_base\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Utilities/Pagination.php
+
+ -
+ message: '#^Parameter \#2 \$value of method WP_HTTP_Response\:\:header\(\) expects string, int given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/StoreApi/Utilities/Pagination.php
+
+ -
+ message: '#^Access to an undefined property WooCommerce\:\:\$payment_gateways\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/StoreApi/Utilities/PaymentUtils.php
+
+ -
+ message: '#^Call to method get_id\(\) on an unknown class WC_Token\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/StoreApi/Utilities/PaymentUtils.php
+
+ -
+ message: '#^Function remove_filter invoked with 4 parameters, 2\-3 required\.$#'
+ identifier: arguments.count
+ count: 1
+ path: src/StoreApi/Utilities/PaymentUtils.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Utilities\\PaymentUtils\:\:get_default_payment_method\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/StoreApi/Utilities/PaymentUtils.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Utilities\\PaymentUtils\:\:get_saved_payment_methods\(\) should return array but empty return statement found\.$#'
+ identifier: return.empty
+ count: 1
+ path: src/StoreApi/Utilities/PaymentUtils.php
+
+ -
+ message: '#^Parameter \$token of method Automattic\\WooCommerce\\StoreApi\\Utilities\\PaymentUtils\:\:include_token_id_with_payment_methods\(\) has invalid type WC_Token\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/StoreApi/Utilities/PaymentUtils.php
+
+ -
+ message: '#^Binary operation "/" between int\|string and \(float\|int\) results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: src/StoreApi/Utilities/ProductQuery.php
+
+ -
+ message: '#^Call to an undefined method WC_Query\:\:get\(\)\.$#'
+ identifier: method.notFound
+ count: 4
+ path: src/StoreApi/Utilities/ProductQuery.php
+
+ -
+ message: '#^Call to function is_callable\(\) with ''_prime_post_caches'' will always evaluate to true\.$#'
+ identifier: function.alreadyNarrowedType
+ count: 1
+ path: src/StoreApi/Utilities/ProductQuery.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Utilities\\ProductQuery\:\:get_last_modified\(\) should return int but returns int\|false\|null\.$#'
+ identifier: return.type
+ count: 1
+ path: src/StoreApi/Utilities/ProductQuery.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Utilities\\ProductQuery\:\:get_objects\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Utilities/ProductQuery.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Utilities\\ProductQuery\:\:get_results\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Utilities/ProductQuery.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Utilities\\ProductQuery\:\:prepare_objects_query\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Utilities/ProductQuery.php
+
+ -
+ message: '#^Offset ''tax_query'' does not exist on non\-empty\-array\<''date_query''\|''fields''\|''ignore_sticky_posts''\|''max_price''\|''min_price''\|''offset''\|''order''\|''orderby''\|''paged''\|''post__in''\|''post__not_in''\|''post_parent__in''\|''post_parent__not_in''\|''post_status''\|''post_type''\|''posts_per_page''\|''search''\|''sku''\|''slug''\|''stock_status'', mixed\>\.$#'
+ identifier: offsetAccess.notFound
+ count: 2
+ path: src/StoreApi/Utilities/ProductQuery.php
+
+ -
+ message: '#^Offset ''tax_query'' on non\-empty\-array\<''date_query''\|''fields''\|''ignore_sticky_posts''\|''max_price''\|''min_price''\|''offset''\|''order''\|''orderby''\|''paged''\|''post__in''\|''post__not_in''\|''post_parent__in''\|''post_parent__not_in''\|''post_status''\|''post_type''\|''posts_per_page''\|''search''\|''sku''\|''slug''\|''stock_status'', mixed\> in empty\(\) does not exist\.$#'
+ identifier: empty.offset
+ count: 2
+ path: src/StoreApi/Utilities/ProductQuery.php
+
+ -
+ message: '#^Parameter \#1 \$callback of function array_map expects \(callable\(mixed\)\: mixed\)\|null, ''esc_sql'' given\.$#'
+ identifier: argument.type
+ count: 3
+ path: src/StoreApi/Utilities/ProductQuery.php
+
+ -
+ message: '#^Parameter \#2 \$array of function array_map expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/StoreApi/Utilities/ProductQuery.php
+
+ -
+ message: '#^Parameter \#2 \$array of function implode expects array\<string\>, array\<array\|string\> given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/StoreApi/Utilities/ProductQuery.php
+
+ -
+ message: '#^Parameter \#2 \$array of function implode expects array\<string\>, list\<array\|string\> given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/StoreApi/Utilities/ProductQuery.php
+
+ -
+ message: '#^Parameter \#2 \$str of function explode expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/StoreApi/Utilities/ProductQuery.php
+
+ -
+ message: '#^Parameter \#2 \$wp_query of method Automattic\\WooCommerce\\StoreApi\\Utilities\\ProductQuery\:\:add_price_filter_clauses\(\) expects WC_Query, WP_Query given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/StoreApi/Utilities/ProductQuery.php
+
+ -
+ message: '#^Cannot call method with\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/StoreApi/Utilities/ProductQueryFilters.php
+
+ -
+ message: '#^Cannot unset offset ''outofstock'' on list\<string\>\.$#'
+ identifier: unset.offset
+ count: 1
+ path: src/StoreApi/Utilities/ProductQueryFilters.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Utilities\\ProductQueryFilters\:\:get_attribute_counts\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Utilities/ProductQueryFilters.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Utilities\\ProductQueryFilters\:\:get_filtered_price\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Utilities/ProductQueryFilters.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Utilities\\ProductQueryFilters\:\:get_rating_counts\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Utilities/ProductQueryFilters.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Utilities\\ProductQueryFilters\:\:get_stock_status_counts\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Utilities/ProductQueryFilters.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Utilities\\ProductQueryFilters\:\:get_taxonomy_counts\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
+ identifier: missingType.generics
+ count: 1
+ path: src/StoreApi/Utilities/ProductQueryFilters.php
+
+ -
+ message: '#^Binary operation "\*" between \(float\|false\) and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: src/StoreApi/Utilities/QuantityLimits.php
+
+ -
+ message: '#^Binary operation "/" between mixed and mixed results in an error\.$#'
+ identifier: binaryOp.invalid
+ count: 1
+ path: src/StoreApi/Utilities/QuantityLimits.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Utilities\\QuantityLimits\:\:get_draft_order\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/StoreApi/Utilities/QuantityLimits.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Utilities\\QuantityLimits\:\:get_draft_order_id\(\) should return int but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/StoreApi/Utilities/QuantityLimits.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Utilities\\QuantityLimits\:\:limit_to_multiple\(\) should return float\|int but returns mixed\.$#'
+ identifier: return.type
+ count: 2
+ path: src/StoreApi/Utilities/QuantityLimits.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Utilities\\QuantityLimits\:\:set_draft_order_id\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/StoreApi/Utilities/QuantityLimits.php
+
+ -
+ message: '#^PHPDoc tag @return has invalid value \(\\WC_Order\|null;\)\: Unexpected token ";", expected TOKEN_HORIZONTAL_WS at offset 99 on line 4$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/StoreApi/Utilities/QuantityLimits.php
+
+ -
+ message: '#^Parameter \#1 \$amount of function wc_stock_amount expects float\|int, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/StoreApi/Utilities/QuantityLimits.php
+
+ -
+ message: '#^Parameter \#1 \$number of method Automattic\\WooCommerce\\StoreApi\\Utilities\\QuantityLimits\:\:is_multiple_of\(\) expects float\|int, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/StoreApi/Utilities/QuantityLimits.php
+
+ -
+ message: '#^Parameter \#1 \$number of method Automattic\\WooCommerce\\StoreApi\\Utilities\\QuantityLimits\:\:limit_to_multiple\(\) expects float\|int, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/StoreApi/Utilities/QuantityLimits.php
+
+ -
+ message: '#^Parameter \#1 \$order_object of method Automattic\\WooCommerce\\StoreApi\\Utilities\\QuantityLimits\:\:is_valid_draft_order\(\) expects WC_Order, bool\|WC_Order\|WC_Order_Refund given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/StoreApi/Utilities/QuantityLimits.php
+
+ -
+ message: '#^Parameter \#1 \$value of method Automattic\\WooCommerce\\StoreApi\\Utilities\\QuantityLimits\:\:filter_numeric_value\(\) expects float\|int, float\|int\<min, \-1\>\|int\<1, max\>\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/StoreApi/Utilities/QuantityLimits.php
+
+ -
+ message: '#^Parameter \#1 \.\.\.\$arg1 of function min expects non\-empty\-array, array\{0\?\: float\|int\<1, max\>, 1\?\: float\|int\<min, \-1\>\|int\<1, max\>\} given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/StoreApi/Utilities/QuantityLimits.php
+
+ -
+ message: '#^Parameter \#2 \$multiple_of of method Automattic\\WooCommerce\\StoreApi\\Utilities\\QuantityLimits\:\:is_multiple_of\(\) expects float\|int, mixed given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/StoreApi/Utilities/QuantityLimits.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$limit\.$#'
+ identifier: property.notFound
+ count: 2
+ path: src/StoreApi/Utilities/RateLimits.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$remaining\.$#'
+ identifier: property.notFound
+ count: 1
+ path: src/StoreApi/Utilities/RateLimits.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$reset\.$#'
+ identifier: property.notFound
+ count: 2
+ path: src/StoreApi/Utilities/RateLimits.php
+
+ -
+ message: '#^Access to an undefined property object\:\:\$seconds\.$#'
+ identifier: property.notFound
+ count: 2
+ path: src/StoreApi/Utilities/RateLimits.php
+
+ -
+ message: '#^Cannot access offset string on object\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/StoreApi/Utilities/RateLimits.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\StoreApi\\Utilities\\RateLimits\:\:get_cached\(\) should return object\|false but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/StoreApi/Utilities/RateLimits.php
+
+ -
+ message: '#^Cannot call method get\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 4
+ path: src/StoreApi/functions.php
+
+ -
+ message: '#^Function woocommerce_store_api_register_endpoint_data\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/StoreApi/functions.php
+
+ -
+ message: '#^Function woocommerce_store_api_register_payment_requirements\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/StoreApi/functions.php
+
+ -
+ message: '#^Function woocommerce_store_api_register_update_callback\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/StoreApi/functions.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Utilities\\ArrayUtil\:\:deep_assoc_array_diff\(\) should return array but returns array\|bool\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Utilities/ArrayUtil.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Utilities\\ArrayUtil\:\:deep_compare_array_diff\(\) should return bool but returns array\|bool\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Utilities/ArrayUtil.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Utilities\\ArrayUtil\:\:group_by_column\(\) should return array but returns array\|false\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Utilities/ArrayUtil.php
+
+ -
+ message: '#^Cannot call method allow_activating_plugins_with_incompatible_features\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Utilities/FeaturesUtil.php
+
+ -
+ message: '#^Cannot call method allow_enabling_features_with_incompatible_plugins\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Utilities/FeaturesUtil.php
+
+ -
+ message: '#^Cannot call method declare_compatibility\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Utilities/FeaturesUtil.php
+
+ -
+ message: '#^Cannot call method feature_is_enabled\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Utilities/FeaturesUtil.php
+
+ -
+ message: '#^Cannot call method get_compatible_features_for_plugin\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Utilities/FeaturesUtil.php
+
+ -
+ message: '#^Cannot call method get_compatible_plugins_for_feature\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Utilities/FeaturesUtil.php
+
+ -
+ message: '#^Cannot call method get_features\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Utilities/FeaturesUtil.php
+
+ -
+ message: '#^Cannot call method get_default_handler\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Utilities/LoggingUtil.php
+
+ -
+ message: '#^Cannot call method get_level_threshold\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Utilities/LoggingUtil.php
+
+ -
+ message: '#^Cannot call method get_log_directory_size\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Utilities/LoggingUtil.php
+
+ -
+ message: '#^Cannot call method get_logs_tab_url\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Utilities/LoggingUtil.php
+
+ -
+ message: '#^Cannot call method get_retention_period\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Utilities/LoggingUtil.php
+
+ -
+ message: '#^Cannot call method logging_is_enabled\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Utilities/LoggingUtil.php
+
+ -
+ message: '#^Constant WC_ROUNDING_PRECISION not found\.$#'
+ identifier: constant.notFound
+ count: 1
+ path: src/Utilities/NumberUtil.php
+
+ -
+ message: '#^Parameter \#1 \$number of function ceil expects float, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Utilities/NumberUtil.php
+
+ -
+ message: '#^Parameter \#1 \$number of function floor expects float, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Utilities/NumberUtil.php
+
+ -
+ message: '#^Parameter \#1 \$number of function round expects float, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Utilities/NumberUtil.php
+
+ -
+ message: '#^Parameter \#3 \$mode of function round expects 1\|2\|3\|4, int given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Utilities/NumberUtil.php
+
+ -
+ message: '#^Cannot call method custom_orders_table_usage_is_enabled\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Utilities/OrderUtil.php
+
+ -
+ message: '#^Cannot call method get_edit_url\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Utilities/OrderUtil.php
+
+ -
+ message: '#^Cannot call method get_new_page_url\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Utilities/OrderUtil.php
+
+ -
+ message: '#^Cannot call method get_order_admin_screen\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Utilities/OrderUtil.php
+
+ -
+ message: '#^Cannot call method get_order_type\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Utilities/OrderUtil.php
+
+ -
+ message: '#^Cannot call method get_post_or_object_meta\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Utilities/OrderUtil.php
+
+ -
+ message: '#^Cannot call method get_post_or_order_id\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Utilities/OrderUtil.php
+
+ -
+ message: '#^Cannot call method get_table_for_order_meta\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Utilities/OrderUtil.php
+
+ -
+ message: '#^Cannot call method get_table_for_orders\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Utilities/OrderUtil.php
+
+ -
+ message: '#^Cannot call method hpos_data_caching_is_enabled\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Utilities/OrderUtil.php
+
+ -
+ message: '#^Cannot call method init_theorder_object\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Utilities/OrderUtil.php
+
+ -
+ message: '#^Cannot call method is_custom_order_tables_in_sync\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Utilities/OrderUtil.php
+
+ -
+ message: '#^Cannot call method is_order\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Utilities/OrderUtil.php
+
+ -
+ message: '#^Cannot call method is_order_screen\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 3
+ path: src/Utilities/OrderUtil.php
+
+ -
+ message: '#^Cannot call method orders_cache_usage_is_enabled\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Utilities/OrderUtil.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Utilities\\OrderUtil\:\:get_post_or_order_id\(\) has parameter \$post_or_order_object with no type specified\.$#'
+ identifier: missingType.parameter
+ count: 1
+ path: src/Utilities/OrderUtil.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Utilities\\OrderUtil\:\:init_theorder_object\(\) has invalid return type Automattic\\WooCommerce\\Utilities\\WC_Order_Refund\.$#'
+ identifier: class.notFound
+ count: 1
+ path: src/Utilities/OrderUtil.php
+
+ -
+ message: '#^PHPDoc tag @param has invalid value \(WP_Post/WC_Order \$post_or_order_object WP_Post/WC_Order object to get ID for\.\)\: Unexpected token "/WC_Order", expected variable at offset 82 on line 4$#'
+ identifier: phpDoc.parseError
+ count: 1
+ path: src/Utilities/OrderUtil.php
+
+ -
+ message: '#^Parameter \#1 \$version1 of function version_compare expects string, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Utilities/OrderUtil.php
+
+ -
+ message: '#^Cannot access offset ''Name'' on mixed\.$#'
+ identifier: offsetAccess.nonOffsetAccessible
+ count: 1
+ path: src/Utilities/PluginUtil.php
+
+ -
+ message: '#^Cannot call method get_default_plugin_compatibility\(\) on mixed\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Utilities/PluginUtil.php
+
+ -
+ message: '#^Constant WPINC not found\.$#'
+ identifier: constant.notFound
+ count: 2
+ path: src/Utilities/PluginUtil.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Utilities\\PluginUtil\:\:get_plugin_name\(\) should return string but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Utilities/PluginUtil.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Utilities\\PluginUtil\:\:get_woocommerce_aware_plugins\(\) should return array\<string\> but returns array\|null\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Utilities/PluginUtil.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Utilities\\PluginUtil\:\:get_wp_plugin_id\(\) should return string\|false but returns int\|string\.$#'
+ identifier: return.type
+ count: 3
+ path: src/Utilities/PluginUtil.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Utilities\\PluginUtil\:\:init\(\) has no return type specified\.$#'
+ identifier: missingType.return
+ count: 1
+ path: src/Utilities/PluginUtil.php
+
+ -
+ message: '#^Parameter \#1 \$haystack of function strpos expects string, int\|string given\.$#'
+ identifier: argument.type
+ count: 2
+ path: src/Utilities/PluginUtil.php
+
+ -
+ message: '#^Parameter \#1 \$input of function array_filter expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Utilities/PluginUtil.php
+
+ -
+ message: '#^Parameter \#1 \$input of function array_keys expects array, mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Utilities/PluginUtil.php
+
+ -
+ message: '#^Parameter \#2 \$callback of function array_filter expects \(callable\(int\|string\)\: bool\)\|null, Closure\(mixed\)\: mixed given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Utilities/PluginUtil.php
+
+ -
+ message: '#^Parameter \#2 \$callback of function array_filter expects \(callable\(mixed\)\: bool\)\|null, array\{\$this\(Automattic\\WooCommerce\\Utilities\\PluginUtil\), ''is_woocommerce…''\} given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Utilities/PluginUtil.php
+
+ -
+ message: '#^Cannot call method get_route\(\) on class\-string\|object\.$#'
+ identifier: method.nonObject
+ count: 1
+ path: src/Utilities/RestApiUtil.php
+
+ -
+ message: '#^Method Automattic\\WooCommerce\\Utilities\\RestApiUtil\:\:get_endpoint_data\(\) should return array\|WP_Error but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: src/Utilities/RestApiUtil.php
+
+ -
+ message: '#^Parameter \#1 \$json of function json_decode expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Utilities/RestApiUtil.php
+
+ -
+ message: '#^Parameter \#1 \$string of function substr expects string, string\|false given\.$#'
+ identifier: argument.type
+ count: 1
+ path: src/Utilities/StringUtil.php
+
+ -
+ message: '#^Function wc_get_container\(\) should return Automattic\\WooCommerce\\Container but returns mixed\.$#'
+ identifier: return.type
+ count: 1
+ path: woocommerce.php
+
diff --git a/plugins/woocommerce/phpstan.neon b/plugins/woocommerce/phpstan.neon
new file mode 100644
index 0000000000..bfcdfb7008
--- /dev/null
+++ b/plugins/woocommerce/phpstan.neon
@@ -0,0 +1,28 @@
+includes:
+ - phpstan-baseline.neon
+ - vendor/szepeviktor/phpstan-wordpress/extension.neon
+
+parameters:
+ tmpDir: tmp
+ level: 9
+ phpVersion: 70400
+ paths:
+ - woocommerce.php
+ - src/
+ - includes/
+ excludePaths:
+ # Matches the prior test implementation; GeoIP relies on data files.
+ - includes/class-wc-geo-ip.php
+ - includes/react-admin/feature-config.php (?)
+ bootstrapFiles:
+ - vendor/autoload.php
+ scanDirectories:
+ - vendor/wordpress/abilities-api
+ scanFiles:
+ - php-stubs/wc-admin-feature-config.php
+ treatPhpDocTypesAsCertain: false
+ ignoreErrors:
+ - identifier: missingType.iterableValue
+ parallel:
+ maximumNumberOfProcesses: 4
+