Skip to content

Commit

Permalink
CS: Whitespace fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
peterwilsoncc committed Sep 17, 2024
1 parent 5e7bb7e commit aba231b
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions tests/php/test-core.php
Original file line number Diff line number Diff line change
Expand Up @@ -698,7 +698,7 @@ public function testRedirectToExternalDomainWithNonSubstitutingRegex269() {
$expected_redirect = 'http://xu-osp-plugins.local/404-regex';
$expected_status = 301;

$actual_request = '';
$actual_request = '';
$actual_redirect = '';
$actual_status = 0;

Expand All @@ -707,9 +707,9 @@ public function testRedirectToExternalDomainWithNonSubstitutingRegex269() {
add_action(
'srm_do_redirect',
function( $requested_path, $redirected_to, $status_code ) use ( &$actual_request, &$actual_redirect, &$actual_status ) {
$actual_request = $requested_path;
$actual_request = $requested_path;
$actual_redirect = $redirected_to;
$actual_status = $status_code;
$actual_status = $status_code;
},
10,
3
Expand Down Expand Up @@ -737,7 +737,7 @@ public function testRedirectToExternalDomainWithSubstitutingRegex380() {
$expected_redirect = 'http://example.org/1234';
$expected_status = 301;

$actual_request = '';
$actual_request = '';
$actual_redirect = '';
$actual_status = 0;

Expand All @@ -746,9 +746,9 @@ public function testRedirectToExternalDomainWithSubstitutingRegex380() {
add_action(
'srm_do_redirect',
function( $requested_path, $redirected_to, $status_code ) use ( &$actual_request, &$actual_redirect, &$actual_status ) {
$actual_request = $requested_path;
$actual_request = $requested_path;
$actual_redirect = $redirected_to;
$actual_status = $status_code;
$actual_status = $status_code;
},
10,
3
Expand Down Expand Up @@ -776,7 +776,7 @@ public function testRedirectToPathWithSubstitutingRegex380() {
$expected_redirect = '/result/1234';
$expected_status = 301;

$actual_request = '';
$actual_request = '';
$actual_redirect = '';
$actual_status = 0;

Expand All @@ -785,9 +785,9 @@ public function testRedirectToPathWithSubstitutingRegex380() {
add_action(
'srm_do_redirect',
function( $requested_path, $redirected_to, $status_code ) use ( &$actual_request, &$actual_redirect, &$actual_status ) {
$actual_request = $requested_path;
$actual_request = $requested_path;
$actual_redirect = $redirected_to;
$actual_status = $status_code;
$actual_status = $status_code;
},
10,
3
Expand Down

0 comments on commit aba231b

Please sign in to comment.