Skip to content

Commit

Permalink
phpcs
Browse files Browse the repository at this point in the history
  • Loading branch information
Rajinsharwar committed May 26, 2024
1 parent 7240123 commit cdf482a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/phpunit/tests/admin/wpListTable.php
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,10 @@ public function data_compat_fields() {
*/
public function test_search_box_working_with_array_of_orderby() {
$_REQUEST['s'] = 'search term';
$_REQUEST['orderby'] = array( 'menu_order' => 'ASC', 'title' => 'ASC' );
$_REQUEST['orderby'] = array(
'menu_order' => 'ASC',
'title' => 'ASC',
);

Check failure on line 536 in tests/phpunit/tests/admin/wpListTable.php

View workflow job for this annotation

GitHub Actions / PHP coding standards / Run coding standards checks

Spaces must be used for mid-line alignment; tabs are not allowed

Check failure on line 536 in tests/phpunit/tests/admin/wpListTable.php

View workflow job for this annotation

GitHub Actions / PHP coding standards / Run coding standards checks

Whitespace found at end of line

$output = get_echo( array( $this->list_table, 'search_box' ), array( 'foo Label', 59494 ) );

Expand Down

0 comments on commit cdf482a

Please sign in to comment.