Add plugin template registration API #104005
unit-test.yml
on: pull_request
Compute previous WordPress version
2s
Build JavaScript assets for PHP unit tests
4m 55s
PHP coding standards
26s
Mobile
4m 16s
Matrix: unit-js-date
Matrix: unit-js
Matrix: test-php
PHP
0s
Annotations
12 errors and 20 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#L11
There should be a comma after the last array item in a multi-line array.
|
PHP coding standards:
lib/class-wp-block-templates-registry.php#L75
Array keys must NOT be surrounded by spaces if they only contain a string or an integer.
|
PHP coding standards:
lib/class-wp-block-templates-registry.php#L77
Array keys must NOT be surrounded by spaces if they only contain a string or an integer.
|
PHP coding standards:
lib/class-wp-block-templates-registry.php#L88
Use Yoda Condition checks, you must.
|
PHP coding standards:
lib/class-wp-block-templates-registry.php#L103
Space after opening control structure is required
|
PHP coding standards:
lib/class-wp-block-templates-registry.php#L103
No space before opening parenthesis is prohibited
|
PHP coding standards:
lib/class-wp-block-templates-registry.php#L103
Expected 1 space after FOREACH keyword; 0 found
|
PHP coding standards:
lib/class-wp-block-templates-registry.php#L186
Space after opening control structure is required
|
PHP coding standards:
lib/class-wp-block-templates-registry.php#L186
No space before opening parenthesis is prohibited
|
PHP
Process completed with exit code 1.
|
PHP coding standards:
lib/class-wp-block-templates-registry.php#L10
Array double arrow not aligned correctly; expected 6 space(s) between "'wp_template'" and double arrow, but found 1.
|
PHP coding standards:
lib/class-wp-block-templates-registry.php#L13
Equals sign not aligned with surrounding assignments; expected 12 spaces but found 1 space
|
PHP coding standards:
lib/class-wp-block-templates-registry.php#L19
Equals sign not aligned with surrounding assignments; expected 6 spaces but found 1 space
|
PHP coding standards:
lib/class-wp-block-templates-registry.php#L20
Equals sign not aligned with surrounding assignments; expected 1 space but found 7 spaces
|
PHP coding standards:
lib/class-wp-block-templates-registry.php#L26
Missing $domain parameter in function call to __(). If this text string is supposed to use a WP Core translation, use the "default" text domain.
|
PHP coding standards:
lib/class-wp-block-templates-registry.php#L35
Missing $domain parameter in function call to __(). If this text string is supposed to use a WP Core translation, use the "default" text domain.
|
PHP coding standards:
lib/class-wp-block-templates-registry.php#L44
Missing $domain parameter in function call to __(). If this text string is supposed to use a WP Core translation, use the "default" text domain.
|
PHP coding standards:
lib/class-wp-block-templates-registry.php#L54
Missing $domain parameter in function call to __(). If this text string is supposed to use a WP Core translation, use the "default" text domain.
|
PHP coding standards:
lib/class-wp-block-templates-registry.php#L64
Missing $domain parameter in function call to __(). If this text string is supposed to use a WP Core translation, use the "default" text domain.
|
PHP coding standards:
lib/class-wp-block-templates-registry.php#L71
Equals sign not aligned with surrounding assignments; expected 15 spaces but found 1 space
|
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 21)
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) 3/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 21) 1/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 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.56 MB |
|