Add plugin template registration API #104154
Annotations
4 errors and 3 warnings
Run PHPCS on all Gutenberg files
Process completed with exit code 2.
|
Show PHPCS results in PR:
lib/class-wp-block-templates-registry.php#L8
The "WP_Block_Templates_Registry" class should be guarded against redeclaration.
|
Show PHPCS results in PR:
lib/class-wp-block-templates-registry.php#L22
Functions must not contain multiple empty lines in a row; found 2 empty lines
|
Show PHPCS results in PR
Process completed with exit code 1.
|
Show PHPCS results in PR:
lib/class-wp-block-templates-registry.php#L230
Unused function parameter $template_name.
|
Show PHPCS results in PR:
lib/compat/wordpress-6.6/class-gutenberg-rest-templates-controller-6-6.php#L132
Unused variable $namespace.
|
Show PHPCS results in PR:
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
|
Loading