We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b9b1ce commit 436a3c6Copy full SHA for 436a3c6
src/Rector/ToNativeUsagesRector.php
@@ -665,8 +665,8 @@ protected function refactorKey(PropertyFetch $fetch): ?Node
665
protected function refactorMatch(Match_ $match): ?Node
666
{
667
$cond = $match->cond;
668
- while ($cond instanceof AlwaysRememberedExpr) {
669
- $cond = $cond->getExpr();
+ while ($cond instanceof AlwaysRememberedExpr) { // @phpstan-ignore phpstanApi.class (backwards compatibility not guaranteed)
+ $cond = $cond->getExpr(); // @phpstan-ignore phpstanApi.method (backwards compatibility not guaranteed)
670
}
671
if (($cond instanceof PropertyFetch || $cond instanceof NullsafePropertyFetch)
672
&& $this->inConfiguredClasses($cond->var)
0 commit comments