Fix PHP notice that showed when orderby query parameter was an array (With Unit tests) #33584
coding-standards.yml
on: pull_request
PHP coding standards
/
Run coding standards checks
20s
JavaScript coding standards
/
Run coding standards checks
57s
Slack Notifications
/
Cancelled notifications
Slack Notifications
/
Failure notifications
Slack Notifications
/
Fixed notifications
Slack Notifications
/
Success notifications
Failed workflow tasks
0s
Annotations
2 errors and 2 warnings
PHP coding standards / Run coding standards checks
Process completed with exit code 2.
|
PHP coding standards / Run coding standards checks
Process completed with exit code 1.
|
PHP coding standards / Run coding standards checks:
tests/phpunit/tests/admin/wpListTable.php#L532
Equals sign not aligned with surrounding assignments; expected 7 spaces but found 1 space
|
PHP coding standards / Run coding standards checks:
tests/phpunit/tests/admin/wpListTable.php#L535
Array double arrow not aligned correctly; expected 6 space(s) between "'title'" and double arrow, but found 1.
|