diff --git a/packages/Testing/TestingParser/TestingParser.php b/packages/Testing/TestingParser/TestingParser.php index f42e61342dc2..a0683136dfa1 100644 --- a/packages/Testing/TestingParser/TestingParser.php +++ b/packages/Testing/TestingParser/TestingParser.php @@ -5,8 +5,6 @@ use RectorPrefix202312\Nette\Utils\FileSystem; use PhpParser\Node; -use Rector\Core\Configuration\Option; -use Rector\Core\Configuration\Parameter\SimpleParameterProvider; use Rector\Core\PhpParser\Parser\RectorParser; use Rector\Core\Provider\CurrentFileProvider; use Rector\Core\ValueObject\Application\File; @@ -63,7 +61,6 @@ public function parseFileToDecoratedNodes(string $filePath) : array { // needed for PHPStan reflection, as it caches the last processed file $this->dynamicSourceLocatorProvider->setFilePath($filePath); - SimpleParameterProvider::setParameter(Option::SOURCE, [$filePath]); $fileContent = FileSystem::read($filePath); $stmts = $this->rectorParser->parseString($fileContent); $file = new File($filePath, $fileContent); diff --git a/src/Application/VersionResolver.php b/src/Application/VersionResolver.php index 480c4508f036..371700754cb1 100644 --- a/src/Application/VersionResolver.php +++ b/src/Application/VersionResolver.php @@ -19,12 +19,12 @@ final class VersionResolver * @api * @var string */ - public const PACKAGE_VERSION = '63201f76725831988f1484476f6f84e0976a5742'; + public const PACKAGE_VERSION = 'affdec96db31156ab2b05a5801f980e284e291a5'; /** * @api * @var string */ - public const RELEASE_DATE = '2023-12-17 16:22:12'; + public const RELEASE_DATE = '2023-12-17 22:31:31'; /** * @var int */