mirror of
https://github.com/rectorphp/rector.git
synced 2025-02-13 12:33:52 +01:00
* [DowngradePhp70] [WIP] Add DowngradeAnonymousClassRector * typo * add test * check is anonymous * adding new Anonymous class before class * anonymous class must have New_ parent * getting args * without param * with args fixture * adding with args * debug * with args * getting args from next attribute * try move to New_ * skip not anonymous * try using New_ * [ci-review] Rector Rectify * it works with New_ node * with addNodeBeforeNode() * class exists fixture * adding increment class if exists * implemented increment class name for inside class * handle no namespace * in function * in function no namespace * works * register to downgrade php70 set * [ci-review] Rector Rectify * typo fix * phpstan * [ci-review] Rector Rectify * add handle in closure Co-authored-by: kaizen-ci <info@kaizen-ci.org>