mirror of
https://github.com/rectorphp/rector.git
synced 2025-02-16 05:44:59 +01:00
* [DowngradePhp70] [WIP] Add DowngradeDefineArrayConstantRector * add fixture * create const * it works * skip inside method or inside function * register DowngradeDefineArrayConstantRector to downgrade-php70 config set * skip not in expression * phpstan * final touch * ensure expression expr is a define func call * final touch * [ci-review] Rector Rectify * working prototype * update to Expression * config * phpstan * final touch Co-authored-by: kaizen-ci <info@kaizen-ci.org> Co-authored-by: TomasVotruba <tomas.vot@gmail.com>