Add plugin template registration API #103987
unit-test.yml
on: pull_request
Compute previous WordPress version
3s
Build JavaScript assets for PHP unit tests
4m 39s
PHP coding standards
16s
Mobile
4m 20s
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#L9
When a multi-item array uses associative keys, each value should start on a new line.
|
PHP coding standards:
lib/class-wp-block-templates-registry.php#L72
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#L74
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#L85
Use Yoda Condition checks, you must.
|
PHP coding standards:
lib/class-wp-block-templates-registry.php#L100
Space after opening control structure is required
|
PHP coding standards:
lib/class-wp-block-templates-registry.php#L100
No space before opening parenthesis is prohibited
|
PHP coding standards:
lib/class-wp-block-templates-registry.php#L100
Expected 1 space after FOREACH keyword; 0 found
|
PHP coding standards:
lib/class-wp-block-templates-registry.php#L183
Space after opening control structure is required
|
PHP coding standards:
lib/class-wp-block-templates-registry.php#L183
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
Equals sign not aligned with surrounding assignments; expected 12 spaces but found 1 space
|
PHP coding standards:
lib/class-wp-block-templates-registry.php#L16
Equals sign not aligned with surrounding assignments; expected 6 spaces but found 1 space
|
PHP coding standards:
lib/class-wp-block-templates-registry.php#L17
Equals sign not aligned with surrounding assignments; expected 1 space but found 7 spaces
|
PHP coding standards:
lib/class-wp-block-templates-registry.php#L23
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#L32
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#L41
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#L51
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#L61
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#L68
Equals sign not aligned with surrounding assignments; expected 15 spaces but found 1 space
|
PHP coding standards:
lib/class-wp-block-templates-registry.php#L69
Equals sign not aligned with surrounding assignments; expected 17 spaces but found 1 space
|
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 20) 3/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) 4/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) 2/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 21) 3/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 |
|