Skip to content

Commit 85dbe29

Browse files
author
James Judd
committed
styleci fixes
1 parent fc3150c commit 85dbe29

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/Illuminate/Foundation/Testing/TestResponse.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,7 @@ public function assertJsonFragment(array $data)
471471
PHPUnit::assertTrue(
472472
Str::contains($actual, $expected),
473473
'Unable to find JSON fragment: '.PHP_EOL.PHP_EOL.
474-
"[". json_encode([$key => $value]) ."]".PHP_EOL.PHP_EOL.
474+
'['.json_encode([$key => $value]).']'.PHP_EOL.PHP_EOL.
475475
'within'.PHP_EOL.PHP_EOL.
476476
"[{$actual}]."
477477
);
@@ -503,7 +503,7 @@ public function assertJsonMissing(array $data, $exact = false)
503503
PHPUnit::assertFalse(
504504
Str::contains($actual, $unexpected),
505505
'Found unexpected JSON fragment: '.PHP_EOL.PHP_EOL.
506-
"[".json_encode([$key => $value])."]".PHP_EOL.PHP_EOL.
506+
'['.json_encode([$key => $value]).']'.PHP_EOL.PHP_EOL.
507507
'within'.PHP_EOL.PHP_EOL.
508508
"[{$actual}]."
509509
);
@@ -555,9 +555,9 @@ protected function jsonSearchStrings($key, $value)
555555
$needle = substr(json_encode([$key => $value]), 1, -1);
556556

557557
return [
558-
$needle . ']',
559-
$needle . '}',
560-
$needle . ',',
558+
$needle.']',
559+
$needle.'}',
560+
$needle.',',
561561
];
562562
}
563563

0 commit comments

Comments
 (0)