Rough POC of respecting "supports multiple" in the auto-inserted block metadata #82020
unit-test.yml
on: pull_request
Compute previous WordPress version
5s
PHP coding standards
24s
Mobile
6m 5s
Matrix: JavaScript
Matrix: test-php
PHP
0s
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#L1
Missing file doc comment
|
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
|