Revision with an array in meta saves correctly even when included in _wp_post_revision_fields
.
#27991
coding-standards.yml
on: pull_request
PHP coding standards
17s
JavaScript coding standards
1m 0s
Slack Notifications
/
Cancelled notifications
Slack Notifications
/
Failure notifications
Slack Notifications
/
Fixed notifications
Slack Notifications
/
Success notifications
Failed workflow tasks
0s
Annotations
10 errors
PHP coding standards
Process completed with exit code 2.
|
PHP coding standards:
tests/phpunit/tests/post/metaRevisions.php#L742
Opening parenthesis of a multi-line function call must be the last content on the line
|
PHP coding standards:
tests/phpunit/tests/post/metaRevisions.php#L742
Only one argument is allowed per line in a multi-line function call
|
PHP coding standards:
tests/phpunit/tests/post/metaRevisions.php#L742
Expected 1 space after FUNCTION keyword; 0 found
|
PHP coding standards:
tests/phpunit/tests/post/metaRevisions.php#L743
Array keys must NOT be surrounded by spaces if they only contain a string or an integer.
|
PHP coding standards:
tests/phpunit/tests/post/metaRevisions.php#L745
Closing parenthesis of a multi-line function call must be on a line by itself
|
PHP coding standards:
tests/phpunit/tests/post/metaRevisions.php#L765
Space found before comma in argument list
|
PHP coding standards:
tests/phpunit/tests/post/metaRevisions.php#L771
Space found before comma in argument list
|
PHP coding standards:
tests/phpunit/tests/post/metaRevisions.php#L803
Function closing brace must go on the next line following the body; found 1 blank lines before brace
|
PHP coding standards
Process completed with exit code 1.
|