Skip to content

Commit

Permalink
[Testing] Remove require_once on TestingParser::parseFileToDecoratedN…
Browse files Browse the repository at this point in the history
…odes() (#4009)
  • Loading branch information
samsonasik committed May 29, 2023
1 parent 45a9dd5 commit 0ea7b49
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions packages/Testing/TestingParser/TestingParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,6 @@ public function parseFilePathToFile(string $filePath): File
*/
public function parseFileToDecoratedNodes(string $filePath): array
{
// autoload file
require_once $filePath;

$this->parameterProvider->changeParameter(Option::SOURCE, [$filePath]);

$nodes = $this->rectorParser->parseFile($filePath);
Expand Down

0 comments on commit 0ea7b49

Please sign in to comment.