Skip to content

Navigation Overlay customisation via Template Parts #97620

Navigation Overlay customisation via Template Parts

Navigation Overlay customisation via Template Parts #97620

Triggered via pull request February 20, 2024 15:39
Status Failure
Total duration 6m 37s
Artifacts

unit-test.yml

on: pull_request
Compute previous WordPress version
2s
Compute previous WordPress version
PHP coding standards
15s
PHP coding standards
Matrix: unit-js
Matrix: test-php
Fit to window
Zoom out
Zoom in

Annotations

33 errors and 29 warnings
PHP coding standards
Process completed with exit code 2.
PHP coding standards: lib/experimental/blocks.php#L81
The "add_navigation_overlay_area()" function should be guarded against redeclaration.
PHP coding standards: lib/experimental/blocks.php#L95
The "add_default_navigation_overlay_template_part()" function should be guarded against redeclaration.
PHP coding standards: lib/experimental/blocks.php#L103
Use Yoda Condition checks, you must.
PHP coding standards: packages/block-library/src/navigation-overlay-close/index.php#L6
Tabs must be used to indent lines; spaces are not allowed
PHP coding standards: packages/block-library/src/navigation-overlay-close/index.php#L7
Tabs must be used to indent lines; spaces are not allowed
PHP coding standards: packages/block-library/src/navigation-overlay-close/index.php#L8
Tabs must be used to indent lines; spaces are not allowed
PHP coding standards: packages/block-library/src/navigation-overlay-close/index.php#L11
Variable "$hasIcon" is not in valid snake_case format, try "$has_icon"
PHP coding standards: packages/block-library/src/navigation-overlay-close/index.php#L21
Variable "$hasIcon" is not in valid snake_case format, try "$has_icon"
PHP coding standards: packages/block-library/src/navigation-overlay-close/index.php#L26
Variable "$hasIcon" is not in valid snake_case format, try "$has_icon"
PHP coding standards: 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
JavaScript (Node.js 21)
Process completed with exit code 1.
JavaScript (Node.js 20)
Process completed with exit code 1.
PHP 7.0 multisite on ubuntu-latest
Process completed with exit code 1.
PHP 8.2 on ubuntu-latest
The operation was canceled.
PHP 7.3 on ubuntu-latest
The operation was canceled.
PHP 7.2 multisite on ubuntu-latest
The operation was canceled.
PHP 8.1 on ubuntu-latest
The operation was canceled.
PHP 8.2 (WP 6.3.3) on ubuntu-latest
The operation was canceled.
PHP 7.0 on ubuntu-latest
The operation was canceled.
PHP 7.2 on ubuntu-latest
The operation was canceled.
PHP 7.1 on ubuntu-latest
The operation was canceled.
PHP 8.0 multisite on ubuntu-latest
The operation was canceled.
PHP 8.1 multisite on ubuntu-latest
The operation was canceled.
PHP 7.4 multisite on ubuntu-latest
The operation was canceled.
PHP 7.1 multisite on ubuntu-latest
The operation was canceled.
PHP 7.0 (WP 6.3.3) on ubuntu-latest
The operation was canceled.
PHP 8.0 on ubuntu-latest
The operation was canceled.
PHP 8.2 multisite on ubuntu-latest
The operation was canceled.
PHP 7.4 on ubuntu-latest
The operation was canceled.
PHP 7.4 (WP 6.3.3) on ubuntu-latest
The operation was canceled.
PHP 7.3 multisite on ubuntu-latest
The operation was canceled.
PHP
Process completed with exit code 1.
PHP coding standards
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/.
PHP coding standards: 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.
PHP coding standards: 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.
PHP coding standards: 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.
PHP coding standards: 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.
Mobile
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
JavaScript (Node.js 21)
Both node-version and node-version-file inputs are specified, only node-version will be used
JavaScript (Node.js 21)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
JavaScript (Node.js 20)
Both node-version and node-version-file inputs are specified, only node-version will be used
JavaScript (Node.js 20)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHP 7.0 multisite on ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHP 8.2 on ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHP 7.3 on ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHP 7.2 multisite on ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHP 8.1 on ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHP 8.2 (WP 6.3.3) on ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHP 7.0 on ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHP 7.2 on ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHP 7.1 on ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHP 8.0 multisite on ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHP 8.1 multisite on ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHP 7.4 multisite on ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHP 7.1 multisite on ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHP 7.0 (WP 6.3.3) on ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHP 8.0 on ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHP 8.2 multisite on ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHP 7.4 on ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHP 7.4 (WP 6.3.3) on ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHP 7.3 multisite on ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.