Skip to content

Global Styles: Create new public function to make it easier to expose style variations from other themes #109121

Global Styles: Create new public function to make it easier to expose style variations from other themes

Global Styles: Create new public function to make it easier to expose style variations from other themes #109121

Triggered via pull request July 9, 2024 16:10
Status Failure
Total duration 7m 23s
Artifacts 1

unit-test.yml

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

Annotations

32 errors and 14 warnings
PHP coding standards
Process completed with exit code 2.
PHP coding standards: lib/class-wp-theme-json-resolver-gutenberg.php#L813
Use Yoda Condition checks, you must.
PHP coding standards
Process completed with exit code 1.
PHP 7.2 multisite on ubuntu-latest
Process completed with exit code 1.
PHP 7.2 on ubuntu-latest
Process completed with exit code 1.
PHP 8.1 multisite on ubuntu-latest
The job was canceled because "_7_2_true" failed.
PHP 8.1 multisite on ubuntu-latest
Process completed with exit code 1.
PHP 7.4 on ubuntu-latest
The job was canceled because "_7_2_true" failed.
PHP 7.4 on ubuntu-latest
Process completed with exit code 1.
PHP 8.0 on ubuntu-latest
The job was canceled because "_7_2_true" failed.
PHP 8.0 on ubuntu-latest
The operation was canceled.
PHP 7.3 on ubuntu-latest
The job was canceled because "_7_2_true" failed.
PHP 7.3 on ubuntu-latest
The operation was canceled.
PHP 8.2 (WP previous major version) on ubuntu-latest
The job was canceled because "_7_2_true" failed.
PHP 8.2 (WP previous major version) on ubuntu-latest
The operation was canceled.
PHP 8.1 on ubuntu-latest
The job was canceled because "_7_2_true" failed.
PHP 8.1 on ubuntu-latest
The operation was canceled.
PHP 7.4 multisite on ubuntu-latest
The job was canceled because "_7_2_true" failed.
PHP 7.4 multisite on ubuntu-latest
The operation was canceled.
PHP 7.2 (WP previous major version) on ubuntu-latest
The job was canceled because "_7_2_true" failed.
PHP 7.2 (WP previous major version) on ubuntu-latest
The operation was canceled.
PHP 7.4 (WP previous major version) on ubuntu-latest
The job was canceled because "_7_2_true" failed.
PHP 7.4 (WP previous major version) on ubuntu-latest
The operation was canceled.
PHP 7.3 multisite on ubuntu-latest
The job was canceled because "_7_2_true" failed.
PHP 7.3 multisite on ubuntu-latest
The operation was canceled.
PHP 8.0 multisite on ubuntu-latest
The job was canceled because "_7_2_true" failed.
PHP 8.0 multisite on ubuntu-latest
The operation was canceled.
PHP 8.2 on ubuntu-latest
The job was canceled because "_7_2_true" failed.
PHP 8.2 on ubuntu-latest
The operation was canceled.
PHP 8.2 multisite on ubuntu-latest
The job was canceled because "_7_2_true" failed.
PHP 8.2 multisite on ubuntu-latest
The operation was canceled.
PHP
Process completed with exit code 1.
PHP coding standards: lib/class-wp-theme-json-resolver-gutenberg.php#L766
Unused function parameter $scope.
PHP coding standards: lib/class-wp-theme-json-resolver-gutenberg.php#L810
Equals sign not aligned with surrounding assignments; expected 1 space but found 4 spaces
PHP coding standards: lib/class-wp-theme-json-resolver-gutenberg.php#L811
Equals sign not aligned with surrounding assignments; expected 6 spaces but found 9 spaces
PHP coding standards: lib/class-wp-theme-json-resolver-gutenberg.php#L816
Variable $base_directory is undefined.
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 22)
Both node-version and node-version-file inputs are specified, only node-version will be used
JavaScript (Node.js 22) 4/4
Both node-version and node-version-file inputs are specified, only node-version will be used
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) 4/4
Both node-version and node-version-file inputs are specified, only node-version will be used
JavaScript (Node.js 22) 3/4
Both node-version and node-version-file inputs are specified, only node-version will be used
JavaScript (Node.js 22) 2/4
Both node-version and node-version-file inputs are specified, only node-version will be used
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) 1/4
Both node-version and node-version-file inputs are specified, only node-version will be used
JavaScript (Node.js 22) 1/4
Both node-version and node-version-file inputs are specified, only node-version will be used

Artifacts

Produced during runtime
Name Size
build-assets Expired
9.81 MB