Skip to content

Commit 6a7f4da

Browse files
committed
Updated Rector to commit ea5089e06e5cde30885f3c3dade4a8428c80e149
rectorphp/rector-src@ea5089e Fix ArrayItem scope filling on Foreach_ value (#7858)
1 parent ce2f762 commit 6a7f4da

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

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 = 'b855ff8d2228d11898d847a85b36d3e55de98cb8';
22+
public const PACKAGE_VERSION = 'ea5089e06e5cde30885f3c3dade4a8428c80e149';
2323
/**
2424
* @api
2525
* @var string
2626
*/
27-
public const RELEASE_DATE = '2026-01-22 19:37:29';
27+
public const RELEASE_DATE = '2026-01-27 00:48:21';
2828
/**
2929
* @var int
3030
*/

src/Config/Level/CodeQualityLevel.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@
8383
use Rector\Php71\Rector\FuncCall\RemoveExtraParametersRector;
8484
use Rector\Renaming\Rector\FuncCall\RenameFunctionRector;
8585
use Rector\Strict\Rector\Empty_\DisallowedEmptyRuleFixerRector;
86-
use Rector\TypeDeclaration\Rector\StmtsAwareInterface\SafeDeclareStrictTypesRector;
8786
/**
8887
* Key 0 = level 0
8988
* Key 50 = level 50

src/NodeTypeResolver/PHPStan/Scope/PHPStanNodeScopeResolver.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -450,6 +450,7 @@ private function processArray($array, MutatingScope $mutatingScope): void
450450
}
451451
private function processArrayItem(ArrayItem $arrayItem, MutatingScope $mutatingScope): void
452452
{
453+
$arrayItem->setAttribute(AttributeKey::SCOPE, $mutatingScope);
453454
if ($arrayItem->key instanceof Expr) {
454455
$arrayItem->key->setAttribute(AttributeKey::SCOPE, $mutatingScope);
455456
}

0 commit comments

Comments
 (0)