Skip to content

Gallery: Add lightbox support #113683

Gallery: Add lightbox support

Gallery: Add lightbox support #113683

Triggered via pull request September 3, 2024 11:49
Status Cancelled
Total duration 5m 9s
Artifacts 1

unit-test.yml

on: pull_request
Compute previous WordPress version
1s
Compute previous WordPress version
Build JavaScript assets for PHP unit tests
4m 6s
Build JavaScript assets for PHP unit tests
PHP coding standards
23s
PHP coding standards
Matrix: unit-js-date
Matrix: unit-js
Matrix: test-php
Fit to window
Zoom out
Zoom in

Annotations

34 errors and 13 warnings
PHP coding standards
Process completed with exit code 2.
PHP coding standards: packages/block-library/src/gallery/index.php#L79
The function name 'interactive_block_gallery_id()' is invalid. In this file, PHP function names must either match one of the allowed prefixes exactly or begin with one of them, followed by an underscore. The allowed prefixes are: 'block_core_gallery', 'render_block_core_gallery', 'register_block_core_gallery'.
PHP coding standards: packages/block-library/src/gallery/index.php#L80
Tabs must be used to indent lines; spaces are not allowed
PHP coding standards: packages/block-library/src/gallery/index.php#L81
Tabs must be used to indent lines; spaces are not allowed
PHP coding standards: packages/block-library/src/gallery/index.php#L82
Tabs must be used to indent lines; spaces are not allowed
PHP coding standards: packages/block-library/src/gallery/index.php#L83
Tabs must be used to indent lines; spaces are not allowed
PHP coding standards: packages/block-library/src/gallery/index.php#L84
Tabs must be used to indent lines; spaces are not allowed
PHP coding standards
Process completed with exit code 1.
PHP 7.3 on ubuntu-latest
Canceling since a higher priority waiting request for 'Unit Tests-gallery/lightbox' exists
PHP 7.3 on ubuntu-latest
The operation was canceled.
PHP 7.2 on ubuntu-latest
Canceling since a higher priority waiting request for 'Unit Tests-gallery/lightbox' exists
PHP 7.2 on ubuntu-latest
The operation was canceled.
PHP 7.2 multisite on ubuntu-latest
Canceling since a higher priority waiting request for 'Unit Tests-gallery/lightbox' exists
PHP 7.2 multisite on ubuntu-latest
The operation was canceled.
PHP 8.2 (WP previous major version) on ubuntu-latest
Canceling since a higher priority waiting request for 'Unit Tests-gallery/lightbox' exists
PHP 8.2 (WP previous major version) on ubuntu-latest
The operation was canceled.
PHP 7.4 (WP previous major version) on ubuntu-latest
Canceling since a higher priority waiting request for 'Unit Tests-gallery/lightbox' exists
PHP 7.4 (WP previous major version) on ubuntu-latest
The operation was canceled.
PHP 8.0 on ubuntu-latest
Canceling since a higher priority waiting request for 'Unit Tests-gallery/lightbox' exists
PHP 8.0 on ubuntu-latest
The operation was canceled.
PHP 8.1 on ubuntu-latest
Canceling since a higher priority waiting request for 'Unit Tests-gallery/lightbox' exists
PHP 8.1 on ubuntu-latest
The operation was canceled.
PHP 7.4 multisite on ubuntu-latest
Canceling since a higher priority waiting request for 'Unit Tests-gallery/lightbox' exists
PHP 7.2 (WP previous major version) on ubuntu-latest
Canceling since a higher priority waiting request for 'Unit Tests-gallery/lightbox' exists
PHP 7.4 multisite on ubuntu-latest
The operation was canceled.
PHP 7.2 (WP previous major version) on ubuntu-latest
The operation was canceled.
PHP 7.4 on ubuntu-latest
Canceling since a higher priority waiting request for 'Unit Tests-gallery/lightbox' exists
PHP 7.4 on ubuntu-latest
The operation was canceled.
PHP 7.3 multisite on ubuntu-latest
Canceling since a higher priority waiting request for 'Unit Tests-gallery/lightbox' exists
PHP 8.1 multisite on ubuntu-latest
Canceling since a higher priority waiting request for 'Unit Tests-gallery/lightbox' exists
PHP 8.0 multisite on ubuntu-latest
Canceling since a higher priority waiting request for 'Unit Tests-gallery/lightbox' exists
PHP 8.2 on ubuntu-latest
Canceling since a higher priority waiting request for 'Unit Tests-gallery/lightbox' exists
PHP 8.2 multisite on ubuntu-latest
Canceling since a higher priority waiting request for 'Unit Tests-gallery/lightbox' exists
PHP
Process completed with exit code 1.
PHP coding standards: packages/block-library/src/gallery/index.php#L51
Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
PHP coding standards: packages/block-library/src/gallery/index.php#L53
Equals sign not aligned correctly; expected 1 space but found 3 spaces
PHP coding standards: packages/block-library/src/gallery/index.php#L61
Array double arrow not aligned correctly; expected 1 space(s) between "'images'" and double arrow, but found 4.
JavaScript Date Tests (Node.js 22)
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 22) 2/4
Both node-version and node-version-file inputs are specified, only node-version will be used
JavaScript (Node.js 22) 3/4
Both node-version and node-version-file inputs are specified, only node-version will be used
JavaScript (Node.js 22) 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 20) 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 22) 1/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
9.75 MB