Skip to content

Rough POC of respecting "supports multiple" in the auto-inserted block metadata #82020

Rough POC of respecting "supports multiple" in the auto-inserted block metadata

Rough POC of respecting "supports multiple" in the auto-inserted block metadata #82020

Triggered via pull request August 24, 2023 18:12
Status Failure
Total duration 8m 41s
Artifacts

unit-test.yml

on: pull_request
Compute previous WordPress version
5s
Compute previous WordPress version
PHP coding standards
24s
PHP coding standards
Matrix: JavaScript
Matrix: test-php
Fit to window
Zoom out
Zoom in

Annotations

13 errors and 4 warnings
PHP coding standards
Process completed with exit code 2.
PHP coding standards: lib/experimental/auto-inserting-blocks.php#L1
Class file names should be based on the class name with "class-" prepended. Expected class-autoinserttracker.php, but found auto-inserting-blocks.php.
PHP coding standards: lib/experimental/auto-inserting-blocks.php#L6
There must be no blank lines after the class comment
PHP coding standards: lib/experimental/auto-inserting-blocks.php#L8
Line indented incorrectly; expected 0 tabs, found 1 spaces
PHP coding standards: lib/experimental/auto-inserting-blocks.php#L8
The "AutoInsertTracker" class should be guarded against redeclaration.
PHP coding standards: lib/experimental/auto-inserting-blocks.php#L9
Missing member variable doc comment
PHP coding standards: lib/experimental/auto-inserting-blocks.php#L9
Short array syntax is not allowed
PHP coding standards: lib/experimental/auto-inserting-blocks.php#L10
Missing doc comment for function block_has_been_inserted()
PHP coding standards: lib/experimental/auto-inserting-blocks.php#L13
Missing doc comment for function set_block_has_been_inserted()
PHP coding standards: lib/experimental/auto-inserting-blocks.php#L16
Line indented incorrectly; expected 0 tabs, found 1 spaces
JavaScript (16)
Process completed with exit code 1.
PHP
Process completed with exit code 1.
PHP coding standards: lib/experimental/auto-inserting-blocks.php#L8
Found precision alignment of 1 spaces.
PHP coding standards: lib/experimental/auto-inserting-blocks.php#L16
Found precision alignment of 1 spaces.
PHP coding standards: lib/experimental/auto-inserting-blocks.php#L94
Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
JavaScript (16)
Both node-version and node-version-file inputs are specified, only node-version will be used