Skip to content

[WooCommerce Analytics] Support for Search and Landing Page #66743

[WooCommerce Analytics] Support for Search and Landing Page

[WooCommerce Analytics] Support for Search and Landing Page #66743

Triggered via pull request December 20, 2024 10:46
Status Failure
Total duration 2m 34s
Artifacts

linting.yml

on: pull_request
detect changed files
8s
detect changed files
Copied files are in sync
7s
Copied files are in sync
Changelogger use
18s
Changelogger use
Changelogger validity
24s
Changelogger validity
Project structure
1m 20s
Project structure
PHP Code Sniffer (non-excluded files only)
2m 5s
PHP Code Sniffer (non-excluded files only)
PHP Compatibility
1m 15s
PHP Compatibility
PHP Code Sniffer (changes to excluded files only)
0s
PHP Code Sniffer (changes to excluded files only)
ESLint (non-excluded files only)
0s
ESLint (non-excluded files only)
ESLint (changes to excluded files only)
0s
ESLint (changes to excluded files only)
Lint GitHub Actions yaml files
0s
Lint GitHub Actions yaml files
Check linter exclude lists
0s
Check linter exclude lists
Lock files are up to date
0s
Lock files are up to date
Monorepo package version refs
0s
Monorepo package version refs
Matrix: php_lint
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 14 warnings
PHP Code Sniffer (non-excluded files only): projects/packages/woocommerce-analytics/src/class-universal.php#L71
Detected usage of a non-sanitized, non-validated input variable _SERVER: "://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]" (WordPress.Security.ValidatedSanitizedInput.InputNotValidatedNotSanitized)
PHP Code Sniffer (non-excluded files only): projects/packages/woocommerce-analytics/src/class-universal.php#L71
Detected usage of a non-sanitized, non-validated input variable _SERVER: "://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]" (WordPress.Security.ValidatedSanitizedInput.InputNotValidatedNotSanitized)
PHP Code Sniffer (non-excluded files only): projects/packages/woocommerce-analytics/src/class-woo-analytics-trait.php#L266
$_COOKIE['woocommerceanalytics_session'] not unslashed before sanitization. Use wp_unslash() or similar (WordPress.Security.ValidatedSanitizedInput.MissingUnslash)
PHP Code Sniffer (non-excluded files only)
Process completed with exit code 1.
detect changed files
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Copied files are in sync
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Changelogger use
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Changelogger validity
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHP lint (7.4)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHP lint (7.2)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHP lint (8.4)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHP lint (8.0)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHP lint (8.2)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHP lint (8.1)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHP lint (8.3)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Project structure
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHP Compatibility
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHP Code Sniffer (non-excluded files only)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636