Use allow-list for mobile editor settings endpoint #88909
Annotations
11 errors and 10 warnings
Run PHPCS on all Gutenberg files
Process completed with exit code 2.
|
Show PHPCS results in PR:
lib/experimental/block-editor-settings-mobile.php#L21
The "keep_supported_block_editor_settings_mobile()" function should be guarded against redeclaration.
|
Show PHPCS results in PR:
lib/experimental/block-editor-settings-mobile.php#L21
Expected 1 spaces after opening parenthesis; 0 found
|
Show PHPCS results in PR:
lib/experimental/block-editor-settings-mobile.php#L21
Expected 1 spaces before closing parenthesis; 0 found
|
Show PHPCS results in PR:
lib/experimental/block-editor-settings-mobile.php#L22
Tabs must be used to indent lines; spaces are not allowed
|
Show PHPCS results in PR:
lib/experimental/block-editor-settings-mobile.php#L24
Tabs must be used to indent lines; spaces are not allowed
|
Show PHPCS results in PR:
lib/experimental/block-editor-settings-mobile.php#L24
No space after opening parenthesis is prohibited
|
Show PHPCS results in PR:
lib/experimental/block-editor-settings-mobile.php#L24
No space before closing parenthesis is prohibited
|
Show PHPCS results in PR:
lib/experimental/block-editor-settings-mobile.php#L25
Tabs must be used to indent lines; spaces are not allowed
|
Show PHPCS results in PR:
lib/experimental/block-editor-settings-mobile.php#L25
Array keys must be surrounded by spaces unless they contain a string or an integer.
|
Show PHPCS results in PR:
lib/experimental/block-editor-settings-mobile.php#L27
Tabs must be used to indent lines; spaces are not allowed
|
Show PHPCS results in PR:
lib/experimental/block-editor-settings-mobile.php#L69
Array double arrow not aligned correctly; expected 24 space(s) between ""alignWide"" and double arrow, but found 1.
|
Show PHPCS results in PR:
lib/experimental/block-editor-settings-mobile.php#L70
Array double arrow not aligned correctly; expected 16 space(s) between ""allowedBlockTypes"" and double arrow, but found 1.
|
Show PHPCS results in PR:
lib/experimental/block-editor-settings-mobile.php#L71
Array double arrow not aligned correctly; expected 17 space(s) between ""allowedMimeTypes"" and double arrow, but found 1.
|
Show PHPCS results in PR:
lib/experimental/block-editor-settings-mobile.php#L72
Array double arrow not aligned correctly; expected 14 space(s) between ""defaultEditorStyles"" and double arrow, but found 1.
|
Show PHPCS results in PR:
lib/experimental/block-editor-settings-mobile.php#L73
Array double arrow not aligned correctly; expected 18 space(s) between ""blockCategories"" and double arrow, but found 1.
|
Show PHPCS results in PR:
lib/experimental/block-editor-settings-mobile.php#L74
Array double arrow not aligned correctly; expected 28 space(s) between ""isRTL"" and double arrow, but found 1.
|
Show PHPCS results in PR:
lib/experimental/block-editor-settings-mobile.php#L75
Array double arrow not aligned correctly; expected 17 space(s) between ""imageDefaultSize"" and double arrow, but found 1.
|
Show PHPCS results in PR:
lib/experimental/block-editor-settings-mobile.php#L76
Array double arrow not aligned correctly; expected 18 space(s) between ""imageDimensions"" and double arrow, but found 1.
|
Show PHPCS results in PR:
lib/experimental/block-editor-settings-mobile.php#L77
Array double arrow not aligned correctly; expected 21 space(s) between ""imageEditing"" and double arrow, but found 1.
|
Show PHPCS results in PR:
lib/experimental/block-editor-settings-mobile.php#L78
Array double arrow not aligned correctly; expected 23 space(s) between ""imageSizes"" and double arrow, but found 1.
|
The logs for this run have expired and are no longer available.
Loading