Skip to content

Add plugin template registration API #104154

Add plugin template registration API

Add plugin template registration API #104154

Triggered via pull request May 13, 2024 14:34
Status Failure
Total duration 8m 49s
Artifacts 1

unit-test.yml

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

Annotations

5 errors and 13 warnings
PHP coding standards
Process completed with exit code 2.
PHP coding standards: lib/class-wp-block-templates-registry.php#L8
The "WP_Block_Templates_Registry" class should be guarded against redeclaration.
PHP coding standards: lib/class-wp-block-templates-registry.php#L22
Functions must not contain multiple empty lines in a row; found 2 empty lines
PHP coding standards
Process completed with exit code 1.
PHP
Process completed with exit code 1.
PHP coding standards: lib/class-wp-block-templates-registry.php#L230
Unused function parameter $template_name.
PHP coding standards: lib/compat/wordpress-6.6/class-gutenberg-rest-templates-controller-6-6.php#L537
Equals sign not aligned with surrounding assignments; expected 6 spaces but found 2 spaces
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 20)
Both node-version and node-version-file inputs are specified, only node-version will be used
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) 2/4
Both node-version and node-version-file inputs are specified, only node-version will be used
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) 1/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 20) 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

Artifacts

Produced during runtime
Name Size
build-assets Expired
9.57 MB