Skip to content

Commit

Permalink
Delete unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Oct 13, 2023
1 parent 07ad506 commit 788a762
Showing 1 changed file with 0 additions and 27 deletions.
27 changes: 0 additions & 27 deletions src/Metadata/Api/DataProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -263,31 +263,4 @@ private function dataProvidedByTestWithAnnotation(string $className, string $met

return $data;
}

/**
* @psalm-param class-string $className
* @psalm-param non-empty-string $methodName
*
* @throws MoreThanOneDataSetFromDataProviderException
*/
private function valueObjectForTestMethodWithoutTestData(string $className, string $methodName): TestMethod
{
$location = Reflection::sourceLocationFor($className, $methodName);

return new TestMethod(
$className,
$methodName,
$location['file'],
$location['line'],
Event\Code\TestDoxBuilder::fromClassNameAndMethodName(
$className,
$methodName,
),
MetadataRegistry::parser()->forClassAndMethod(
$className,
$methodName,
),
TestDataCollection::fromArray([]),
);
}
}

0 comments on commit 788a762

Please sign in to comment.