Skip to content

Commit

Permalink
Updated Rector to commit affdec96db31156ab2b05a5801f980e284e291a5
Browse files Browse the repository at this point in the history
rectorphp/rector-src@affdec9 [Testing] Remove unnecessary set Parameter Source on TestingParser (#5371)
  • Loading branch information
TomasVotruba committed Dec 17, 2023
1 parent 335a386 commit 5f40a31
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
3 changes: 0 additions & 3 deletions packages/Testing/TestingParser/TestingParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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);
Expand Down
4 changes: 2 additions & 2 deletions src/Application/VersionResolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down

0 comments on commit 5f40a31

Please sign in to comment.