Skip to content

Commit

Permalink
Fix CS violations
Browse files Browse the repository at this point in the history
  • Loading branch information
marcospassos authored and sebastianbergmann committed Nov 27, 2018
1 parent 73a4961 commit e58045a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/Util/TestDox/NamePrettifier.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public function prettifyTestCase(TestCase $test): string
$annotations = $test->getAnnotations();
$annotationWithPlaceholders = false;

$callback = static function (string $variable) : string {
$callback = static function (string $variable): string {
return \sprintf('/%s(?=\b)/', \preg_quote($variable, '/'));
};

Expand Down
12 changes: 6 additions & 6 deletions tests/unit/Util/TestDox/NamePrettifierTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -118,13 +118,13 @@ public function testPhpDoxArgumentExporting(): void
public function __construct()
{
parent::__construct('testExport', [
'int' => 1234,
'strInt' => '1234',
'float' => 2.123,
'int' => 1234,
'strInt' => '1234',
'float' => 2.123,
'strFloat' => '2.123',
'string' => 'foo',
'bool' => true,
'null' => null,
'string' => 'foo',
'bool' => true,
'null' => null,
]);
}

Expand Down

0 comments on commit e58045a

Please sign in to comment.