Co-authored-by: Abdul Malik Ikhsan <samsonasik@gmail.com>
Co-authored-by: Markus Staab <maggus.staab@googlemail.com>
Co-authored-by: Markus Staab <markus.staab@redaxo.de>
Co-authored-by: GitHub Action <action@github.com>
* [DeadCode] Skip RemoveUnusedPrivatePropertyRector on property used by Trait in Source
* eol
* rename
* getting trait via ReflectionProvider
* getting from AstResolver
* using NodeScopeAndMetadataDecorator
* default nodes to $classLike->stmts
* debug
* get
* Fixed 🎉
* phpstan and cs fix
* static
* clean up
* move locate trait to AstResolver
* Add failing test fixture for ClassPropertyAssignToConstructorPromotionRector
# Failing Test for ClassPropertyAssignToConstructorPromotionRector
Based on https://getrector.org/demo/1ebe95c8-2d22-6d0e-b6ff-7be843d783d4
The ClassPropertyAssignToConstructorPromotionRector should ignore properties that have properties linked to them. Looking at the demo it seems to have gotten rid of both properties, which I did not expect/want it to do
* Update coordinate.php.inc
reverse order of use statement and namespace
* fix: skip properties that have attributes
* copy over attrGroups from to to keep them
* added test case for multiple attributes
Co-authored-by: Dominik Peters <d.peters@billiger-mietwagen.de>
* Add failing test fixture for AddArrayParamDocTypeRector
# Failing Test for AddArrayParamDocTypeRector
Based on https://getrector.org/demo/1ebe8b81-128c-6c70-9515-338e645e9149
* is array maybe
* Fix#482
* fixture fail
* Fixed 🎉
* cs
* clean up
* clean up
Co-authored-by: Robin Richtsfeld <robin.richtsfeld@gmail.com>
* [Core] Avoid "Backtrack limit was exhausted" error on BetterStandardPrinter
* update
* using mU
* allow static modifier
* allow direct static function
* function can be final too
* fix
* fix
* [DeadCode] Skip next used as variable variable on RemoveUnusedVariableAssignRector
* [ci-review] Rector Rectify
* clean up
* clean up
Co-authored-by: GitHub Action <action@github.com>
* fixing 6559
* Fixed 🎉
* different name to show it only change the property fetch
* Fixed 🎉
* fixture name
* skip no typed property never changing, means it is null
* eol
* phpstan
* skip never assigned, means null
* skip never assigned, means null