Skip to content

Commit

Permalink
chore: run php-cs-fixer
Browse files Browse the repository at this point in the history
  • Loading branch information
allejo committed Jun 25, 2020
1 parent 4a71804 commit 6a8c607
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
16 changes: 8 additions & 8 deletions tests/VCR/RelaxedRequestMatcherTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -137,23 +137,23 @@ public function testRelaxedRequestMatcherPostFields()
{
$actualRequest = Request::fromArray(
array(
'method' => 'POST',
'url' => 'http://example.com/api/v2',
'post_fields' => [
'method' => 'POST',
'url' => 'http://example.com/api/v2',
'post_fields' => array(
'Something Public' => 'public',
'VerySecret' => 'Do not tell anyone this secret',
],
),
)
);

$cleanRequest = Request::fromArray(
array(
'method' => 'POST',
'url' => 'http://example.com/api/v2',
'post_fields' => [
'method' => 'POST',
'url' => 'http://example.com/api/v2',
'post_fields' => array(
'Something Public' => 'public',
'VerySecret' => 'REDACTED',
],
),
)
);

Expand Down
3 changes: 2 additions & 1 deletion tests/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@

if (PHP_VERSION_ID >= 70100) {
if (!class_exists('\PHPUnit_Framework_TestCase')) {
class PHPUnit_Framework_TestCase extends \PHPUnit\Framework\TestCase {
class PHPUnit_Framework_TestCase extends \PHPUnit\Framework\TestCase
{
}
}
}

0 comments on commit 6a8c607

Please sign in to comment.