Skip to content

Commit

Permalink
Updated Rector to commit 29e926608b0008df286370f94cf5c26b4aa86226
Browse files Browse the repository at this point in the history
rectorphp/rector-src@29e9266  [NodeTypeResolver] Fill scope of dynamic variable variable  (#6175)
  • Loading branch information
TomasVotruba committed Jul 22, 2024
1 parent 5ab7399 commit dd8c5b5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
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 = 'e4c27be2ed869ed495cb5631ec9e6efc0ddc68ee';
public const PACKAGE_VERSION = '29e926608b0008df286370f94cf5c26b4aa86226';
/**
* @api
* @var string
*/
public const RELEASE_DATE = '2024-07-23 05:09:04';
public const RELEASE_DATE = '2024-07-22 22:16:46';
/**
* @var int
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -177,8 +177,7 @@ public function processNodes(array $stmts, string $filePath, ?MutatingScope $for
if ($node instanceof Assign || $node instanceof AssignOp) {
$this->processAssign($node, $mutatingScope);
if ($node->var instanceof Variable && $node->var->name instanceof Expr) {
$node->var->name->setAttribute(AttributeKey::SCOPE, $mutatingScope);
$this->nodeScopeResolverProcessNodes([new Expression($node->expr)], $mutatingScope, $nodeCallback);
$this->nodeScopeResolverProcessNodes([new Expression($node->var), new Expression($node->expr)], $mutatingScope, $nodeCallback);
}
return;
}
Expand Down
2 changes: 1 addition & 1 deletion vendor/scoper-autoload.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
// Restore the backup and ensure the excluded files are properly marked as loaded
$GLOBALS['__composer_autoload_files'] = \array_merge(
$existingComposerAutoloadFiles,
\array_fill_keys(['0e6d7bf4a5811bfa5cf40c5ccd6fae6a', '5928a00fa978807cf85d90ec3f4b0147'], true)
\array_fill_keys(['5928a00fa978807cf85d90ec3f4b0147', '0e6d7bf4a5811bfa5cf40c5ccd6fae6a'], true)
);

return $loader;
Expand Down

0 comments on commit dd8c5b5

Please sign in to comment.