File tree 2 files changed +2
-5
lines changed
packages/Testing/TestingParser
2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change 5
5
6
6
use RectorPrefix202312 \Nette \Utils \FileSystem ;
7
7
use PhpParser \Node ;
8
- use Rector \Core \Configuration \Option ;
9
- use Rector \Core \Configuration \Parameter \SimpleParameterProvider ;
10
8
use Rector \Core \PhpParser \Parser \RectorParser ;
11
9
use Rector \Core \Provider \CurrentFileProvider ;
12
10
use Rector \Core \ValueObject \Application \File ;
@@ -63,7 +61,6 @@ public function parseFileToDecoratedNodes(string $filePath) : array
63
61
{
64
62
// needed for PHPStan reflection, as it caches the last processed file
65
63
$ this ->dynamicSourceLocatorProvider ->setFilePath ($ filePath );
66
- SimpleParameterProvider::setParameter (Option::SOURCE , [$ filePath ]);
67
64
$ fileContent = FileSystem::read ($ filePath );
68
65
$ stmts = $ this ->rectorParser ->parseString ($ fileContent );
69
66
$ file = new File ($ filePath , $ fileContent );
Original file line number Diff line number Diff line change @@ -19,12 +19,12 @@ final class VersionResolver
19
19
* @api
20
20
* @var string
21
21
*/
22
- public const PACKAGE_VERSION = '63201f76725831988f1484476f6f84e0976a5742 ' ;
22
+ public const PACKAGE_VERSION = 'affdec96db31156ab2b05a5801f980e284e291a5 ' ;
23
23
/**
24
24
* @api
25
25
* @var string
26
26
*/
27
- public const RELEASE_DATE = '2023-12-17 16: 22:12 ' ;
27
+ public const RELEASE_DATE = '2023-12-17 22:31:31 ' ;
28
28
/**
29
29
* @var int
30
30
*/
You can’t perform that action at this time.
0 commit comments