Skip to content

Fix PHP notice that showed when orderby query parameter was an array (With Unit tests) #33584

Fix PHP notice that showed when orderby query parameter was an array (With Unit tests)

Fix PHP notice that showed when orderby query parameter was an array (With Unit tests) #33584

Triggered via pull request May 26, 2024 01:46
Status Failure
Total duration 1m 15s
Artifacts

coding-standards.yml

on: pull_request
PHP coding standards  /  Run coding standards checks
20s
PHP coding standards / Run coding standards checks
JavaScript coding standards  /  Run coding standards checks
57s
JavaScript coding standards / Run coding standards checks
Slack Notifications  /  Prepare notifications
Slack Notifications / Prepare notifications
Slack Notifications  /  Cancelled notifications
Slack Notifications / Cancelled notifications
Slack Notifications  /  Failure notifications
Slack Notifications / Failure notifications
Slack Notifications  /  Fixed notifications
Slack Notifications / Fixed notifications
Slack Notifications  /  Success notifications
Slack Notifications / Success notifications
Failed workflow tasks
0s
Failed workflow tasks
Fit to window
Zoom out
Zoom in

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.