23 Commits

Author SHA1 Message Date
Tomas Votruba
cdc3b7adef Updated Rector to commit f451b0b8e1e6761ec7f50809745d44d01caba66d
f451b0b8e1 [PHP 8.0] Bump to promoted properties (#4)
2021-05-10 23:39:21 +00:00
Tomas Votruba
7d36c3b0b9 Updated Rector to commit a80cf5292d6df5e83b7d17c78630506e361bede9
a80cf5292d revert to working scoper 0.14
2021-05-10 22:23:08 +00:00
Tomas Votruba
363a910cf7 Updated Rector to commit a7db1ad94df4879885b9106773d2f8335cb40e49
a7db1ad94d use scoper 0.15
2021-05-10 22:10:16 +00:00
Tomas Votruba
d56e7982d0 Updated Rector to commit dedd4b55fe3e03cae9bd5ac822cfdccd8deb3fb6
dedd4b55fe make node_helper.php safe for similar names
2021-05-09 20:15:43 +00:00
TomasVotruba
0481b2c9b9 add changelog link 2021-05-08 23:36:55 +02:00
TomasVotruba
d7ae4721a2 add constant visiblity 2021-05-08 23:32:17 +02:00
TomasVotruba
5fa7ec524a naming 2021-05-08 21:52:37 +02:00
Tomas Votruba
dc0bcdbcd8
downgrade types opt-in (#6388) 2021-05-08 02:07:18 +02:00
Abdul Malik Ikhsan
6ddb1451c8
[Scoped] Add more paths to scope (#6382) 2021-05-07 14:02:04 +00:00
TomasVotruba
1775dfc21b misc 2021-05-07 03:18:31 +02:00
TomasVotruba
0800c7cdc3 fix cs 2021-05-06 20:51:25 +02:00
Abdul Malik Ikhsan
c183278243
[DowngradePhp71] Allow downgrade negative offset string on variable/PropertyFetch/StaticPropertyFetch (#6311)
* [DowngradePhp71] Allow downgrade negative offset string on variable

* allow property fetch and static property fetch as well

* method name
2021-05-03 15:39:40 +00:00
Abdul Malik Ikhsan
a3f2346fa8
[DowngradePhp71] Nullable return on closure call on DowngradeNullableTypeDeclarationRector (#6303)
* [DowngradePhp71] Nullable return on closure call on DowngradeNullableTypeDeclarationRector

* fix
2021-05-03 10:20:55 +00:00
Tomas Votruba
793dd3fd2e
[Downgrade PHP 7.1] Fix empty item on SymmetricArrayDestructuringToListRector (#6222)
* [Downgrade PHP 7.1] Fix empty item on SymmetricArrayDestructuringToListRector

* [ci-review] Rector Rectify

Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-04-23 22:28:00 +02:00
Abdul Malik Ikhsan
60195c951a
[DowngradePhp71] Add DowngradeIsIterableRector (#6202)
* [DowngradePhp71] Add DowngradeIsIterableRector

* add test

* return new BooleanOr

* [ci-review] Rector Rectify

* fixed with traverseNodesWithCallable

* skip not is iterable

* fix

* example

* register to downgrade-php71 config set

Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-04-22 13:22:16 +00:00
Tomas Votruba
ce4711ba93
[Downgrade] Report downgrade changes of type correctly (#6203) 2021-04-22 13:10:04 +00:00
Tomas Votruba
507bd85c3e
[Downgrade] Report only changed return types (#6191) 2021-04-22 10:04:58 +00:00
Tomas Votruba
aee2cb0f07
prefixed - require compatible PHPStan with attribute phpdoc-parser (#6181) 2021-04-20 19:00:46 +00:00
Abdul Malik Ikhsan
cd3725aeb5
[DowngradePhp71] Add DowngradeKeysInListRector (#6170)
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-04-20 14:21:02 +02:00
Tomas Votruba
a389839c5c
[CI] Downgrade Rector to PHP 7.1 + prefix it (#5880)
* [downgrade] simplify to 2 configs

* rename downgrade_packages.sh to downgrade_rector_to_php71.sh

* add test case stub

* [CI] add linter for php code

* [CI] update tagged workflow

* update for covariance

* [ci-review] Rector Rectify

Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-03-18 02:48:44 +01:00
Tomas Votruba
0e383192ae
misc fixes (#5886) 2021-03-17 23:36:05 +01:00
Tomas Votruba
d897902ccf
[Downgrade] Keep better phpdoc type (#5862) 2021-03-15 18:58:04 +01:00
Tomas Votruba
157c39aefc
[DX] move src/tests rules from micro-packages to single PSR-4 structure (#5826) 2021-03-12 23:20:25 +01:00