Skip to content

Commit

Permalink
fixup! Require PHPUnit v8.2
Browse files Browse the repository at this point in the history
  • Loading branch information
lcobucci committed Jun 21, 2019
1 parent cf42eef commit 8bbcf89
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions tests/Formatter/JsonTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@
use Lcobucci\ContentNegotiation\Tests\PersonDto;
use PHPUnit\Framework\TestCase;
use RuntimeException;
use const JSON_HEX_AMP;
use const JSON_HEX_APOS;
use const JSON_HEX_QUOT;
use const JSON_HEX_TAG;
use const JSON_UNESCAPED_SLASHES;
use function acos;

Expand All @@ -32,7 +28,7 @@ public function constructorShouldAllowTheConfigurationOfEncodingFlags(): void
{
self::assertSame(
'["<foo>","\'bar\'","\"baz\"","&blong&","\u00e9","http://"]',
(new Json(JSON_UNESCAPED_SLASHES))->format(['<foo>',"'bar'",'"baz"','&blong&', "\xc3\xa9", 'http://'])
(new Json(JSON_UNESCAPED_SLASHES))->format(['<foo>', "'bar'", '"baz"', '&blong&', "\xc3\xa9", 'http://'])
);
}

Expand All @@ -47,7 +43,7 @@ public function constructorShouldUseDefaultFlagsWhenNothingWasSet(): void
{
self::assertSame(
'["\u003Cfoo\u003E","\u0027bar\u0027","\u0022baz\u0022","\u0026blong\u0026","\u00e9","http://"]',
$this->format(['<foo>',"'bar'",'"baz"','&blong&', "\xc3\xa9", 'http://'])
$this->format(['<foo>', "'bar'", '"baz"', '&blong&', "\xc3\xa9", 'http://'])
);
}

Expand Down

0 comments on commit 8bbcf89

Please sign in to comment.