10 Commits

Author SHA1 Message Date
Leonardo Losoviz
b8b86de61d
[Downgrade] Composer's platform check must use the PHP version below (#4879)
Co-authored-by: rector-bot <tomas@getrector.org>
2020-12-14 17:29:23 +01:00
Abdul Malik Ikhsan
a8bcbe0aa7
[Downgrade PHP 8.0] Add DowngradeTrailingCommasInParamUseRector (#4828)
Co-authored-by: Krystian Marcisz <simivar@gmail.com>
Co-authored-by: rector-bot <tomas@getrector.org>
2020-12-09 14:36:35 +01:00
Tomas Votruba
ca353017e2
[Utils] Add OnlyOneClassMethodRule (#4814)
* [Utils] Add OnlyOneClassMethodRule

* [ci-review] Rector Rectify

Co-authored-by: rector-bot <tomas@getrector.org>
2020-12-07 00:48:01 +00:00
Abdul Malik Ikhsan
8a3b0d1ffd
[Downgrade PHP 8.0] Register DowngradeNullsafeToTernaryOperatorRector to downgrade php80 config set (#4812) 2020-12-06 11:49:49 +01:00
Abdul Malik Ikhsan
758aa2ceff
[Downgrade PHP 8.0] Register DowngradeClassOnObjectToGetClassRector to downgrade-php80 config set (#4810) 2020-12-06 11:35:56 +01:00
Tomas Votruba
7f1d304c9a
[Downgrade] [PHP 8.0] Add DowngradeMatchToSwitchRector (#4788) 2020-12-05 13:20:56 +00:00
Tomas Votruba
e627304df9
[PHP 8.0] [Downgrade] Add DowngradeNonCapturingCatchesRector (#4787) 2020-12-05 11:50:31 +00:00
Tomas Votruba
09f17a7b64
[Downgrade] [PHP 8.0] Add DowngradePropertyPromotionToConstructorPropertyAssignRector (#4762)
* [Downgrade] [PHP 8.0] Add DowngradePropertyPromotionToConstructorPropertyAssignRector

* fix parent

* various fixes for PHP 8.0 tests

* [ci-review] Rector Rectify

* Update rules/downgrade-php80/tests/Rector/Class_/DowngradePropertyPromotionToConstructorPropertyAssignRector/DowngradePropertyPromotionToConstructorPropertyAssignRectorTest.php

Co-authored-by: rector-bot <tomas@getrector.org>
2020-12-03 13:27:24 +00:00
Tomas Votruba
d962e3f6b0
[Downgrade] Add composer platform check (#4721) 2020-11-28 00:16:19 +01:00
Leonardo Losoviz
7a498e328e
Split downgrade sets (#4175)
Co-authored-by: TomasVotruba <tomas.vot@gmail.com>
2020-09-09 10:32:28 +02:00