Skip to content

๐Ÿงช Adjust tests to reflect the new expectations #10844

๐Ÿงช Adjust tests to reflect the new expectations

๐Ÿงช Adjust tests to reflect the new expectations #10844

Triggered via push April 28, 2026 12:15
Status Failure
Total duration 1m 20s
Artifacts

php.yml

on: push
coding-standards-analysis-php  /  coding-standards-php
1m 5s
coding-standards-analysis-php / coding-standards-php
static-code-analysis-php  /  static-analysis-php
1m 4s
static-code-analysis-php / static-analysis-php
Matrix: tests-unit-php
Fit to window
Zoom out
Zoom in

Annotations

16 errors and 3 warnings
tests-unit-php (8.2) / tests-unit-php
Process completed with exit code 2.
tests-unit-php (8.2) / tests-unit-php: tests/PHPUnit/StoreSync/Response/CartResponseTest.php#L239
Failed asserting that an array has the key 'subtotal'.
tests-unit-php (7.4) / tests-unit-php
The strategy configuration was canceled because "tests-unit-php._8_2" failed
tests-unit-php (8.0) / tests-unit-php
The strategy configuration was canceled because "tests-unit-php._8_2" failed
tests-unit-php (8.4) / tests-unit-php
The strategy configuration was canceled because "tests-unit-php._8_2" failed
tests-unit-php (8.3) / tests-unit-php
The strategy configuration was canceled because "tests-unit-php._8_2" failed
tests-unit-php (8.1) / tests-unit-php
The strategy configuration was canceled because "tests-unit-php._8_2" failed
static-code-analysis-php / static-analysis-php
Process completed with exit code 1.
static-code-analysis-php / static-analysis-php: modules/ppcp-wc-payment-tokens/src/WooCommercePaymentTokens.php#L339
Method WooCommerce\PayPalCommerce\WcPaymentTokens\WooCommercePaymentTokens::first_token_of_type() should return WC_Payment_Token|null but returns object.
static-code-analysis-php / static-analysis-php: modules/ppcp-wc-payment-tokens/src/PaymentTokenVenmo.php#L48
Method WooCommerce\PayPalCommerce\WcPaymentTokens\PaymentTokenVenmo::set_email() has no return type specified.
static-code-analysis-php / static-analysis-php: modules/ppcp-wc-payment-tokens/src/PaymentTokenPayPal.php#L48
Method WooCommerce\PayPalCommerce\WcPaymentTokens\PaymentTokenPayPal::set_email() has no return type specified.
CI
The strategy configuration was canceled because "tests-unit-php._8_2" failed
CI
The strategy configuration was canceled because "tests-unit-php._8_2" failed
CI
The strategy configuration was canceled because "tests-unit-php._8_2" failed
CI
The strategy configuration was canceled because "tests-unit-php._8_2" failed
CI
The strategy configuration was canceled because "tests-unit-php._8_2" failed
tests-unit-php (8.2) / tests-unit-php
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809, actions/checkout@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
coding-standards-analysis-php / coding-standards-php
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809, actions/checkout@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
static-code-analysis-php / static-analysis-php
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809, actions/checkout@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/