Skip to content

Improve PHP 8.6 / WordPress 7.1 compatibility #12510

Improve PHP 8.6 / WordPress 7.1 compatibility

Improve PHP 8.6 / WordPress 7.1 compatibility #12510

Triggered via pull request August 24, 2026 09:39
@swissspidyswissspidy
synchronize #8236
add/php86
Status Failure
Total duration 7m 41s
Artifacts 2

build-test-measure.yml

on: pull_request
Pre run
6s
Pre run
Matrix: E2E test: JS
Matrix: feature-test-php
Matrix: unit-test-php
Fit to window
Zoom out
Zoom in

Annotations

11 errors, 31 warnings, and 2 notices
Unit test: PHP 7.4, WP 6.6
Process completed with exit code 1.
Unit test: PHP 7.4, WP 6.6: tests/php/validation/test-class-amp-validation-manager.php#L1475
Failed asserting that two strings are equal.
Unit test (with coverage): PHP 8.0, WP latest
Process completed with exit code 255.
E2E test: JS (2, 2)
Process completed with exit code 1.
E2E test: JS (2, 2): tests/e2e/specs/amp-onboarding/exit-links.js#L813
TimeoutError: waiting for selector `.wp-admin` failed: timeout 60000ms exceeded at new WaitTask (/home/runner/work/amp-wp/amp-wp/node_modules/@wordpress/scripts/node_modules/puppeteer-core/src/common/DOMWorld.ts:813:28) at DOMWorld.waitForSelectorInPage (/home/runner/work/amp-wp/amp-wp/node_modules/@wordpress/scripts/node_modules/puppeteer-core/src/common/DOMWorld.ts:656:22) at Object.internalHandler.waitFor (/home/runner/work/amp-wp/amp-wp/node_modules/@wordpress/scripts/node_modules/puppeteer-core/src/common/QueryHandler.ts:78:19) at DOMWorld.waitForSelector (/home/runner/work/amp-wp/amp-wp/node_modules/@wordpress/scripts/node_modules/puppeteer-core/src/common/DOMWorld.ts:511:25) at Frame.waitForSelector (/home/runner/work/amp-wp/amp-wp/node_modules/@wordpress/scripts/node_modules/puppeteer-core/src/common/FrameManager.ts:1290:47) at Page.waitForSelector (/home/runner/work/amp-wp/amp-wp/node_modules/@wordpress/scripts/node_modules/puppeteer-core/src/common/Page.ts:3222:29) at Object.waitForSelector (/home/runner/work/amp-wp/amp-wp/tests/e2e/specs/amp-onboarding/exit-links.js:43:14) at processTicksAndRejections (node:internal/process/task_queues:95:5)
E2E test: JS (1, 2)
Process completed with exit code 1.
E2E test: JS (1, 2): tests/e2e/specs/block-editor/featured-image-notice.js#L197
Error: expect(received).toPassAxeTests(expected) Expected page to pass Axe accessibility tests. Violations found: Rule: "aria-allowed-attr" (Elements must only use supported ARIA attributes) Help: https://dequeuniversity.com/rules/axe/4.10/aria-allowed-attr?application=axe-puppeteer Affected Nodes: iframe,#block-cc6fe7b1-d89b-476e-b915-f2c707a1a57b Fix ALL of the following: - ARIA attributes are not allowed: aria-multiline="true", aria-readonly="false". at toPassAxeTests (/home/runner/work/amp-wp/amp-wp/tests/e2e/config/bootstrap.js:197:21) at processTicksAndRejections (node:internal/process/task_queues:95:5) at Object.<anonymous> (/home/runner/work/amp-wp/amp-wp/tests/e2e/config/bootstrap.js:308:2)
E2E test: JS (1, 2): tests/e2e/specs/block-editor/featured-image-notice.js#L197
Error: expect(received).toPassAxeTests(expected) Expected page to pass Axe accessibility tests. Violations found: Rule: "aria-allowed-attr" (Elements must only use supported ARIA attributes) Help: https://dequeuniversity.com/rules/axe/4.10/aria-allowed-attr?application=axe-puppeteer Affected Nodes: iframe,#block-084c8e2a-1602-4165-912d-0890e0e0c784 Fix ALL of the following: - ARIA attributes are not allowed: aria-multiline="true", aria-readonly="false". at toPassAxeTests (/home/runner/work/amp-wp/amp-wp/tests/e2e/config/bootstrap.js:197:21) at processTicksAndRejections (node:internal/process/task_queues:95:5) at Object.<anonymous> (/home/runner/work/amp-wp/amp-wp/tests/e2e/config/bootstrap.js:308:2)
E2E test: JS (1, 2): tests/e2e/specs/block-editor/amp-preview-menu-item.js#L197
Error: expect(received).toPassAxeTests(expected) Expected page to pass Axe accessibility tests. Violations found: Rule: "aria-allowed-attr" (Elements must only use supported ARIA attributes) Help: https://dequeuniversity.com/rules/axe/4.10/aria-allowed-attr?application=axe-puppeteer Affected Nodes: iframe,#block-cafd125d-de5d-4080-8ef9-c395c409591f Fix ALL of the following: - ARIA attributes are not allowed: aria-multiline="true", aria-readonly="false". at toPassAxeTests (/home/runner/work/amp-wp/amp-wp/tests/e2e/config/bootstrap.js:197:21) at processTicksAndRejections (node:internal/process/task_queues:95:5) at Object.<anonymous> (/home/runner/work/amp-wp/amp-wp/tests/e2e/config/bootstrap.js:308:2)
E2E test: JS (1, 2): tests/e2e/specs/admin/after-plugin-activation.js#L23
Error: No node found for selector: tr[data-slug="e2e-tests-demo-plugin"] .activate a at assert (/home/runner/work/amp-wp/amp-wp/node_modules/@wordpress/scripts/node_modules/puppeteer-core/src/common/assert.ts:23:21) at DOMWorld.click (/home/runner/work/amp-wp/amp-wp/node_modules/@wordpress/scripts/node_modules/puppeteer-core/src/common/DOMWorld.ts:461:11) at processTicksAndRejections (node:internal/process/task_queues:95:5) at activate (/home/runner/work/amp-wp/amp-wp/tests/e2e/specs/admin/after-plugin-activation.js:20:3) at /home/runner/work/amp-wp/amp-wp/tests/e2e/specs/admin/after-plugin-activation.js:71:4
E2E test: JS (1, 2): tests/e2e/specs/admin/after-plugin-activation.js#L813
TimeoutError: waiting for selector `tr[data-slug="do-not-allow-amp-validate-capability"] .delete a` failed: timeout 60000ms exceeded at new WaitTask (/home/runner/work/amp-wp/amp-wp/node_modules/@wordpress/scripts/node_modules/puppeteer-core/src/common/DOMWorld.ts:813:28) at DOMWorld.waitForSelectorInPage (/home/runner/work/amp-wp/amp-wp/node_modules/@wordpress/scripts/node_modules/puppeteer-core/src/common/DOMWorld.ts:656:22) at Object.internalHandler.waitFor (/home/runner/work/amp-wp/amp-wp/node_modules/@wordpress/scripts/node_modules/puppeteer-core/src/common/QueryHandler.ts:78:19) at DOMWorld.waitForSelector (/home/runner/work/amp-wp/amp-wp/node_modules/@wordpress/scripts/node_modules/puppeteer-core/src/common/DOMWorld.ts:511:25) at Frame.waitForSelector (/home/runner/work/amp-wp/amp-wp/node_modules/@wordpress/scripts/node_modules/puppeteer-core/src/common/FrameManager.ts:1290:47) at Page.waitForSelector (/home/runner/work/amp-wp/amp-wp/node_modules/@wordpress/scripts/node_modules/puppeteer-core/src/common/Page.ts:3222:29) at waitForSelector (/home/runner/work/amp-wp/amp-wp/tests/e2e/specs/admin/after-plugin-activation.js:16:14) at processTicksAndRejections (node:internal/process/task_queues:95:5) at Object.<anonymous> (/home/runner/work/amp-wp/amp-wp/tests/e2e/specs/admin/after-plugin-activation.js:58:3)
Lint: CSS
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4, actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Lint: JS
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4, actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8, ataylorme/eslint-annotate-action@d57a1193d4c59cbfbf3f86c271f42612f9dbd9e9. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Unit test: JS
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4, actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Unit test: JS
Unexpected input(s) 'file', valid inputs are ['base_sha', 'binary', 'codecov_yml_path', 'commit_parent', 'directory', 'disable_file_fixes', 'disable_search', 'disable_safe_directory', 'disable_telem', 'dry_run', 'env_vars', 'exclude', 'fail_ci_if_error', 'files', 'flags', 'force', 'git_service', 'gcov_args', 'gcov_executable', 'gcov_ignore', 'gcov_include', 'handle_no_reports_found', 'job_code', 'name', 'network_filter', 'network_prefix', 'os', 'override_branch', 'override_build', 'override_build_url', 'override_commit', 'override_pr', 'plugins', 'recurse_submodules', 'report_code', 'report_type', 'root_dir', 'run_command', 'skip_validation', 'slug', 'swift_project', 'token', 'url', 'use_legacy_upload_endpoint', 'use_oidc', 'use_pypi', 'verbose', 'version', 'working-directory']
Lint: PHP
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4, shivammathur/setup-php@2e947f1f6932d141d076ca441d0e1e881775e95b. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Static Analysis: PHP
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4, shivammathur/setup-php@2e947f1f6932d141d076ca441d0e1e881775e95b. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Feature tests: PHP 7.4, WP 6.6
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4, actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8, shivammathur/setup-php@2e947f1f6932d141d076ca441d0e1e881775e95b. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Feature tests: PHP 8.3, WP latest
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4, actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8, shivammathur/setup-php@2e947f1f6932d141d076ca441d0e1e881775e95b. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Feature tests: PHP 8.0, WP latest
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4, actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8, shivammathur/setup-php@2e947f1f6932d141d076ca441d0e1e881775e95b. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Feature tests: PHP 8.2, WP latest
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4, actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8, shivammathur/setup-php@2e947f1f6932d141d076ca441d0e1e881775e95b. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Feature tests: PHP 7.4, WP latest
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4, actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8, shivammathur/setup-php@2e947f1f6932d141d076ca441d0e1e881775e95b. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Feature tests: PHP 8.1, WP latest
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4, actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8, shivammathur/setup-php@2e947f1f6932d141d076ca441d0e1e881775e95b. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Feature tests: PHP 8.5, WP trunk
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4, actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8, shivammathur/setup-php@2e947f1f6932d141d076ca441d0e1e881775e95b. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Unit test: PHP 7.4, WP latest Multisite
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4, actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8, shivammathur/setup-php@2e947f1f6932d141d076ca441d0e1e881775e95b. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Feature tests: PHP 8.6, WP trunk
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4, actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8, shivammathur/setup-php@2e947f1f6932d141d076ca441d0e1e881775e95b. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Feature tests: PHP 8.4, WP trunk
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4, actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8, shivammathur/setup-php@2e947f1f6932d141d076ca441d0e1e881775e95b. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Unit test: PHP 8.3, WP trunk
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4, actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8, shivammathur/setup-php@2e947f1f6932d141d076ca441d0e1e881775e95b. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Unit test: PHP 8.0, WP latest
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4, actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8, shivammathur/setup-php@2e947f1f6932d141d076ca441d0e1e881775e95b. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Unit test: PHP 8.6, WP trunk
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4, actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8, shivammathur/setup-php@2e947f1f6932d141d076ca441d0e1e881775e95b. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Unit test: PHP 8.0, WP trunk Multisite
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4, actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8, shivammathur/setup-php@2e947f1f6932d141d076ca441d0e1e881775e95b. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Unit test: PHP 8.5, WP trunk
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4, actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8, shivammathur/setup-php@2e947f1f6932d141d076ca441d0e1e881775e95b. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Unit test: PHP 8.4, WP trunk
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4, actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8, shivammathur/setup-php@2e947f1f6932d141d076ca441d0e1e881775e95b. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Unit test: PHP 8.1, WP trunk
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4, actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8, shivammathur/setup-php@2e947f1f6932d141d076ca441d0e1e881775e95b. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Unit test: PHP 8.0, WP latest , Testsuite: external-http
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4, actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8, shivammathur/setup-php@2e947f1f6932d141d076ca441d0e1e881775e95b. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Unit test: PHP 7.4, WP 6.6
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4, actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8, shivammathur/setup-php@2e947f1f6932d141d076ca441d0e1e881775e95b. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Unit test: PHP 7.4, WP 6.6 , Testsuite: external-http
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4, actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8, shivammathur/setup-php@2e947f1f6932d141d076ca441d0e1e881775e95b. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Unit test: PHP 7.4, WP latest , Testsuite: external-http
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4, actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8, shivammathur/setup-php@2e947f1f6932d141d076ca441d0e1e881775e95b. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Unit test: PHP 8.2, WP trunk
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4, actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8, shivammathur/setup-php@2e947f1f6932d141d076ca441d0e1e881775e95b. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Unit test (with coverage): PHP 8.0, WP latest
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4, actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8, shivammathur/setup-php@2e947f1f6932d141d076ca441d0e1e881775e95b. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
E2E test: JS (2, 2)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4, actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8, shivammathur/setup-php@2e947f1f6932d141d076ca441d0e1e881775e95b. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
E2E test: JS (1, 2)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/cache@v4, actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8, shivammathur/setup-php@2e947f1f6932d141d076ca441d0e1e881775e95b. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
E2E test: JS (2, 2)
Using Chromium from /home/runner/.cache/puppeteer/chrome/linux-127.0.6533.88/chrome-linux64/chrome
E2E test: JS (1, 2)
Using Chromium from /home/runner/.cache/puppeteer/chrome/linux-127.0.6533.88/chrome-linux64/chrome

Artifacts

Produced during runtime
Name Size Digest
e2e-failure-artifacts
97.6 KB
sha256:45b400713267a7eccc40c999d283df8e2b59d699b45af68e7ce177e370bdd9e8
e2e-failure-artifacts
322 KB
sha256:cc1fdfdb08b38130e4cd091f06a6d27fd8b12ebb3460ac5a39247e113589bbfa