Skip to content

Commit 5f40a31

Browse files
committed
Updated Rector to commit affdec96db31156ab2b05a5801f980e284e291a5
rectorphp/rector-src@affdec9 [Testing] Remove unnecessary set Parameter Source on TestingParser (#5371)
1 parent 335a386 commit 5f40a31

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

packages/Testing/TestingParser/TestingParser.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55

66
use RectorPrefix202312\Nette\Utils\FileSystem;
77
use PhpParser\Node;
8-
use Rector\Core\Configuration\Option;
9-
use Rector\Core\Configuration\Parameter\SimpleParameterProvider;
108
use Rector\Core\PhpParser\Parser\RectorParser;
119
use Rector\Core\Provider\CurrentFileProvider;
1210
use 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);

src/Application/VersionResolver.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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
*/

0 commit comments

Comments
 (0)