Skip to content

Commit

Permalink
Add missing annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Aug 23, 2018
1 parent 34705f8 commit 0391874
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Util/TestDox/NamePrettifier.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ public function prettifyTestClass(string $className): string
return $result;
}

/**
* @throws \ReflectionException
*/
public function prettifyTestCase(TestCase $test): string
{
$annotations = $test->getAnnotations();
Expand Down Expand Up @@ -151,6 +154,9 @@ public function prettifyTestMethod(string $name): string
return $buffer;
}

/**
* @throws \ReflectionException
*/
private function mapTestMethodParameterNamesToProvidedDataValues(TestCase $test): array
{
$reflector = new \ReflectionMethod(\get_class($test), $test->getName(false));
Expand Down

0 comments on commit 0391874

Please sign in to comment.