File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed
packages/Testing/TestingParser Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change 55
66use RectorPrefix202312 \Nette \Utils \FileSystem ;
77use PhpParser \Node ;
8- use Rector \Core \Configuration \Option ;
9- use Rector \Core \Configuration \Parameter \SimpleParameterProvider ;
108use Rector \Core \PhpParser \Parser \RectorParser ;
119use Rector \Core \Provider \CurrentFileProvider ;
1210use Rector \Core \ValueObject \Application \File ;
@@ -63,7 +61,6 @@ public function parseFileToDecoratedNodes(string $filePath) : array
6361 {
6462 // needed for PHPStan reflection, as it caches the last processed file
6563 $ this ->dynamicSourceLocatorProvider ->setFilePath ($ filePath );
66- SimpleParameterProvider::setParameter (Option::SOURCE , [$ filePath ]);
6764 $ fileContent = FileSystem::read ($ filePath );
6865 $ stmts = $ this ->rectorParser ->parseString ($ fileContent );
6966 $ file = new File ($ filePath , $ fileContent );
Original file line number Diff line number Diff line change @@ -19,12 +19,12 @@ final class VersionResolver
1919 * @api
2020 * @var string
2121 */
22- public const PACKAGE_VERSION = '63201f76725831988f1484476f6f84e0976a5742 ' ;
22+ public const PACKAGE_VERSION = 'affdec96db31156ab2b05a5801f980e284e291a5 ' ;
2323 /**
2424 * @api
2525 * @var string
2626 */
27- public const RELEASE_DATE = '2023-12-17 16: 22:12 ' ;
27+ public const RELEASE_DATE = '2023-12-17 22:31:31 ' ;
2828 /**
2929 * @var int
3030 */
You can’t perform that action at this time.
0 commit comments