Navigation Overlay customisation via Template Parts #97620
Annotations
11 errors and 5 warnings
Run PHPCS on all Gutenberg files
Process completed with exit code 2.
|
Show PHPCS results in PR:
lib/experimental/blocks.php#L81
The "add_navigation_overlay_area()" function should be guarded against redeclaration.
|
Show PHPCS results in PR:
lib/experimental/blocks.php#L95
The "add_default_navigation_overlay_template_part()" function should be guarded against redeclaration.
|
Show PHPCS results in PR:
lib/experimental/blocks.php#L103
Use Yoda Condition checks, you must.
|
Show PHPCS results in PR:
packages/block-library/src/navigation-overlay-close/index.php#L6
Tabs must be used to indent lines; spaces are not allowed
|
Show PHPCS results in PR:
packages/block-library/src/navigation-overlay-close/index.php#L7
Tabs must be used to indent lines; spaces are not allowed
|
Show PHPCS results in PR:
packages/block-library/src/navigation-overlay-close/index.php#L8
Tabs must be used to indent lines; spaces are not allowed
|
Show PHPCS results in PR:
packages/block-library/src/navigation-overlay-close/index.php#L11
Variable "$hasIcon" is not in valid snake_case format, try "$has_icon"
|
Show PHPCS results in PR:
packages/block-library/src/navigation-overlay-close/index.php#L21
Variable "$hasIcon" is not in valid snake_case format, try "$has_icon"
|
Show PHPCS results in PR:
packages/block-library/src/navigation-overlay-close/index.php#L26
Variable "$hasIcon" is not in valid snake_case format, try "$has_icon"
|
Show PHPCS results in PR:
packages/block-library/src/navigation-overlay-close/index.php#L31
Trailing comma's are not allowed in function calls in PHP 7.2 or earlier
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Show PHPCS results in PR:
lib/experimental/blocks.php#L84
Missing $domain parameter in function call to _x(). If this text string is supposed to use a WP Core translation, use the "default" text domain.
|
Show PHPCS results in PR:
lib/experimental/blocks.php#L85
Missing $domain parameter in function call to __(). If this text string is supposed to use a WP Core translation, use the "default" text domain.
|
Show PHPCS results in PR:
lib/experimental/navigation-overlay.php#L1
Missing $domain parameter in function call to __(). If this text string is supposed to use a WP Core translation, use the "default" text domain.
|
Show PHPCS results in PR:
lib/experimental/navigation-overlay.php#L6
Missing $domain parameter in function call to __(). If this text string is supposed to use a WP Core translation, use the "default" text domain.
|
The logs for this run have expired and are no longer available.
Loading