Skip to content

Commit

Permalink
[tests] note about doTestFileInfo() deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasVotruba committed Sep 1, 2022
1 parent 84a48e5 commit 1ac8dd3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/Testing/PHPUnit/AbstractRectorTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,9 @@ protected function doTestFile(string $fixtureFilePath): void
$this->doTestFileMatchesExpectedContent($inputFilePath, $expectedFilePath, $fixtureFilePath);
}

/**
* @deprecated Use doTestFile() with file path instead
*/
protected function doTestFileInfo(SmartFileInfo $fixtureFileInfo): void
{
$fixtureFileRealPath = $fixtureFileInfo->getRealPath();
Expand Down

0 comments on commit 1ac8dd3

Please sign in to comment.