Skip to content

Commit dd8c5b5

Browse files
committed
Updated Rector to commit 29e926608b0008df286370f94cf5c26b4aa86226
rectorphp/rector-src@29e9266 [NodeTypeResolver] Fill scope of dynamic variable variable (#6175)
1 parent 5ab7399 commit dd8c5b5

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

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 = 'e4c27be2ed869ed495cb5631ec9e6efc0ddc68ee';
22+
public const PACKAGE_VERSION = '29e926608b0008df286370f94cf5c26b4aa86226';
2323
/**
2424
* @api
2525
* @var string
2626
*/
27-
public const RELEASE_DATE = '2024-07-23 05:09:04';
27+
public const RELEASE_DATE = '2024-07-22 22:16:46';
2828
/**
2929
* @var int
3030
*/

src/NodeTypeResolver/PHPStan/Scope/PHPStanNodeScopeResolver.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,8 +177,7 @@ public function processNodes(array $stmts, string $filePath, ?MutatingScope $for
177177
if ($node instanceof Assign || $node instanceof AssignOp) {
178178
$this->processAssign($node, $mutatingScope);
179179
if ($node->var instanceof Variable && $node->var->name instanceof Expr) {
180-
$node->var->name->setAttribute(AttributeKey::SCOPE, $mutatingScope);
181-
$this->nodeScopeResolverProcessNodes([new Expression($node->expr)], $mutatingScope, $nodeCallback);
180+
$this->nodeScopeResolverProcessNodes([new Expression($node->var), new Expression($node->expr)], $mutatingScope, $nodeCallback);
182181
}
183182
return;
184183
}

vendor/scoper-autoload.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
// Restore the backup and ensure the excluded files are properly marked as loaded
1515
$GLOBALS['__composer_autoload_files'] = \array_merge(
1616
$existingComposerAutoloadFiles,
17-
\array_fill_keys(['0e6d7bf4a5811bfa5cf40c5ccd6fae6a', '5928a00fa978807cf85d90ec3f4b0147'], true)
17+
\array_fill_keys(['5928a00fa978807cf85d90ec3f4b0147', '0e6d7bf4a5811bfa5cf40c5ccd6fae6a'], true)
1818
);
1919

2020
return $loader;

0 commit comments

Comments
 (0)