Skip to content

Adds additional check to make sure the show_in_rest parameter is present before it is manipulated #102049

Adds additional check to make sure the show_in_rest parameter is present before it is manipulated

Adds additional check to make sure the show_in_rest parameter is present before it is manipulated #102049

Triggered via pull request April 18, 2024 13:00
Status Failure
Total duration 7m 25s
Artifacts 1

unit-test.yml

on: pull_request
Compute previous WordPress version
3s
Compute previous WordPress version
Build JavaScript assets for PHP unit tests
4m 16s
Build JavaScript assets for PHP unit tests
PHP coding standards
29s
PHP coding standards
Matrix: unit-js-date
Matrix: unit-js
Matrix: test-php
Fit to window
Zoom out
Zoom in

Annotations

34 errors and 24 warnings
PHP coding standards
Process completed with exit code 2.
PHP coding standards: lib/compat/wordpress-6.6/option.php#L30
Expected exactly one space between closing parenthesis and opening control structure; " " found.
PHP coding standards: lib/compat/wordpress-6.6/option.php#L30
Expected 1 spaces before closing parenthesis; 0 found
PHP coding standards: lib/compat/wordpress-6.6/option.php#L30
Expected 1 space after closing parenthesis; found 2
PHP coding standards
Process completed with exit code 1.
PHP 7.0 (WP 6.4.4) on ubuntu-latest
Process completed with exit code 1.
PHP 7.4 on ubuntu-latest
Process completed with exit code 1.
PHP 7.2 on ubuntu-latest
The job was canceled because "_7_0_6_4_4" failed.
PHP 7.2 on ubuntu-latest
Process completed with exit code 1.
PHP 8.1 on ubuntu-latest
The job was canceled because "_7_0_6_4_4" failed.
PHP 8.1 on ubuntu-latest
Process completed with exit code 1.
PHP 7.2 multisite on ubuntu-latest
The job was canceled because "_7_0_6_4_4" failed.
PHP 7.2 multisite on ubuntu-latest
Process completed with exit code 1.
PHP 7.3 multisite on ubuntu-latest
The job was canceled because "_7_0_6_4_4" failed.
PHP 7.3 multisite on ubuntu-latest
The operation was canceled.
PHP 7.3 on ubuntu-latest
The job was canceled because "_7_0_6_4_4" failed.
PHP 7.3 on ubuntu-latest
The operation was canceled.
PHP 8.2 multisite on ubuntu-latest
The job was canceled because "_7_0_6_4_4" failed.
PHP 8.2 multisite on ubuntu-latest
The operation was canceled.
PHP 8.2 (WP 6.4.4) on ubuntu-latest
The job was canceled because "_7_0_6_4_4" failed.
PHP 8.2 (WP 6.4.4) on ubuntu-latest
The operation was canceled.
PHP 7.4 (WP 6.4.4) on ubuntu-latest
The job was canceled because "_7_0_6_4_4" failed.
PHP 7.4 (WP 6.4.4) on ubuntu-latest
The operation was canceled.
PHP 8.2 on ubuntu-latest
The job was canceled because "_7_0_6_4_4" failed.
PHP 8.2 on ubuntu-latest
The operation was canceled.
PHP 7.4 multisite on ubuntu-latest
The job was canceled because "_7_0_6_4_4" failed.
PHP 7.4 multisite on ubuntu-latest
The operation was canceled.
PHP 8.1 multisite on ubuntu-latest
The job was canceled because "_7_0_6_4_4" failed.
PHP 8.1 multisite on ubuntu-latest
The operation was canceled.
PHP 8.0 on ubuntu-latest
The job was canceled because "_7_0_6_4_4" failed.
PHP 8.0 on ubuntu-latest
The operation was canceled.
PHP 8.0 multisite on ubuntu-latest
The job was canceled because "_7_0_6_4_4" failed.
PHP 8.0 multisite on ubuntu-latest
The operation was canceled.
PHP
Process completed with exit code 1.
JavaScript Date Tests (Node.js 20)
Both node-version and node-version-file inputs are specified, only node-version will be used
JavaScript Date Tests (Node.js 20)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
JavaScript Date Tests (Node.js 21)
Both node-version and node-version-file inputs are specified, only node-version will be used
JavaScript Date Tests (Node.js 21)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
JavaScript (Node.js 21) 3/4
Both node-version and node-version-file inputs are specified, only node-version will be used
JavaScript (Node.js 21) 3/4
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
JavaScript (Node.js 20) 3/4
Both node-version and node-version-file inputs are specified, only node-version will be used
JavaScript (Node.js 20) 3/4
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
JavaScript (Node.js 21) 1/4
Both node-version and node-version-file inputs are specified, only node-version will be used
JavaScript (Node.js 21) 1/4
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
JavaScript (Node.js 20) 4/4
Both node-version and node-version-file inputs are specified, only node-version will be used
JavaScript (Node.js 20) 4/4
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
JavaScript (Node.js 21) 2/4
Both node-version and node-version-file inputs are specified, only node-version will be used
JavaScript (Node.js 21) 2/4
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
JavaScript (Node.js 21) 4/4
Both node-version and node-version-file inputs are specified, only node-version will be used
JavaScript (Node.js 21) 4/4
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
JavaScript (Node.js 20) 1/4
Both node-version and node-version-file inputs are specified, only node-version will be used
JavaScript (Node.js 20) 1/4
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
JavaScript (Node.js 20) 2/4
Both node-version and node-version-file inputs are specified, only node-version will be used
JavaScript (Node.js 20) 2/4
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Mobile
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Build JavaScript assets for PHP unit tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHP 7.0 (WP 6.4.4) on ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHP 7.4 on ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.

Artifacts

Produced during runtime
Name Size
build-assets Expired
9.57 MB