-
-
Notifications
You must be signed in to change notification settings - Fork 333
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Renaming] Remove Scope filling from Name node on PHPStanNodeScopeRes…
…olver for RenameClassRector (#4422) * [Renaming] Remove Scope filling from Name node on PHPStanNodeScopeResolver for RenameClassRector * [ci-review] Rector Rectify * [ci-review] Rector Rectify * clean up * [ci-review] Rector Rectify * avoid too deep scope filling --------- Co-authored-by: GitHub Action <actions@github.com>
- Loading branch information
1 parent
b4ff32e
commit 3fa4bec
Showing
6 changed files
with
33 additions
and
106 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
...ClassMethod/OptionalParametersAfterRequiredRector/Fixture/skip_variable_variable3.php.inc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<?php | ||
|
||
abstract class SkipVariableVariable3 | ||
{ | ||
private static function loadCurveByParam(\DOMXPath $xpath) | ||
{ | ||
$$param = $$bar = self::decodeValue($result::$item(0)::$textContent); | ||
} | ||
} |
9 changes: 9 additions & 0 deletions
9
...ClassMethod/OptionalParametersAfterRequiredRector/Fixture/skip_variable_variable4.php.inc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<?php | ||
|
||
abstract class SkipVariableVariable4 | ||
{ | ||
private static function loadCurveByParam(\DOMXPath $xpath) | ||
{ | ||
$$param = $$bar = self::decodeValue($result->getItem()->getTextContent()); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters