Commit Graph

44 Commits

Author SHA1 Message Date
Tomas Votruba
7e7a2f067a Updated Rector to commit 476cfb00cb6a94cb64badf9472ee78f33bdf44b3
476cfb00cb disable fallback for now
2024-01-02 02:40:38 +00:00
Tomas Votruba
949ab12adb Updated Rector to commit 7ca4de097ed6b2f0f2b20a8f2b55ea2121120173
7ca4de097e [DeadCode] Skip nullable array on RemoveUnusedNonEmptyArrayBeforeForeachRector (#5375)
2023-12-21 15:22:15 +00:00
Tomas Votruba
1e0199beb5 Updated Rector to commit beeba1770967a4f5e59cf21db28a5a1ccae48a2f
beeba17709 [Naming] Skip DateTime from renaming, to keep convention of named dates (#5184)
2023-10-18 08:05:23 +00:00
Tomas Votruba
baa0c15190 Updated Rector to commit d22e71ec0196d8f0f363845db83e064b471cb07e
d22e71ec01 Revert rename + auto import remove use tweak (#5179)
2023-10-16 07:38:49 +00:00
Tomas Votruba
3f64ea0f3f Updated Rector to commit c5d3a0e1913fb0057513dd70122d8eef4d226e1c
c5d3a0e191 [CodingStyle] Clean up check last name on UseImportsRemover (#5173)
2023-10-15 04:06:54 +00:00
Tomas Votruba
5479401552 Updated Rector to commit e2ba601e7ca2e8d602bfc2ffa36bf60a88b1a1f0
e2ba601e7c [DeadCode] Skip return false pseudo type in union on RemoveUselessReturnTagRector (#5172)
2023-10-15 02:06:32 +00:00
Tomas Votruba
9f158ba7a8 Updated Rector to commit da2dd66088e15a5c182a047726933306a8fdc28c
da2dd66088 RemoveUnusedNonEmptyArrayBeforeForeachRector: skip array dim fetch (#5166)
2023-10-14 13:25:46 +00:00
Tomas Votruba
4c4ad160dd Updated Rector to commit c639ef8ad9213881d4fe08554f090934bc5dda07
c639ef8ad9 RemoveUnusedNonEmptyArrayBeforeForeachRector: ignore phpdoc types (#5169)
2023-10-14 12:51:53 +00:00
Tomas Votruba
503a6059f8 Updated Rector to commit a8922f7431c9c9188be501107ee7819e0130da4c
a8922f7431 skip temporarily match + throws downagrade in symfony/console, very unlikely to run
2023-06-11 23:01:39 +00:00
Tomas Votruba
3313a231b7 Updated Rector to commit bb609b28e327ca1fb7827b6bc548013d19a2cf4e
bb609b28e3 [Core] Always reset stopTraversal to false on next Rector visit (#4182)
2023-06-11 14:17:34 +00:00
Tomas Votruba
8fa5f13430 Updated Rector to commit 953ecb9ecd02d5fc13a21cd7086b60aa45eac31d
953ecb9ecd Improve RemoveUnusedNonEmptyArrayBeforeForeachRector to work with foreach over stmts (#4026)
2023-05-30 12:38:31 +00:00
Tomas Votruba
6f79fcfb1e Updated Rector to commit e2213f21762d74946a34197921aa905623493e8c
e2213f2176 Remove unused addNodeAfterNode(), return nodes instead (#4023)
2023-05-30 08:41:10 +00:00
Tomas Votruba
9263d6613a Updated Rector to commit 195bb62accb975904892da79996ccfb61eda34cd
195bb62acc [DeadCode] Add early return check to RemoveUnusedNonEmptyArrayBeforeForeachRector (#3611)
2023-04-14 08:11:59 +00:00
Tomas Votruba
7025ec875c Updated Rector to commit 64cca7759d28f2dc0d17acdf55eb10779818726c
64cca7759d [DeadCode] Improve RemoveUnusedNonEmptyArrayBeforeForeachRector with && (#3587)
2023-04-08 14:11:59 +00:00
Tomas Votruba
18b5311e05 Updated Rector to commit fa9a953fc8df6d31c24b0415b177580f7edd4100
fa9a953fc8 [Php80] Skip possible numeric string switch cond with all integer case cond on ChangeSwitchToMatchRector (#3067)
2022-11-15 20:31:43 +00:00
Tomas Votruba
b0ce719527 Updated Rector to commit 04257d3c76ee23722447433f07c8e5678ac9a07b
04257d3c76 Utilize Type->isArray() (#3065)
2022-11-15 15:22:43 +00:00
Tomas Votruba
d72c3a41d9 Updated Rector to commit 8ede862b8de3239aafea64484802903aaa6d5e95
8ede862b8d Update phpstan message (#3042)
2022-11-10 16:47:52 +00:00
Tomas Votruba
d9e32f78d0 Updated Rector to commit baf8394798205ee0d9c6f27e72f018e0996e624f
baf8394798 Fix var/property usage for RemoveUnusedNonEmptyArrayBeforeForeachRector. (#3040)
2022-11-10 07:49:28 +00:00
Tomas Votruba
ac77f3a400 Updated Rector to commit 4923a147c3347d83b0cf302c03a4016e3b838a03
4923a147c3 [DeadCode] Skip nullable array on not empty on RemoveUnusedNonEmptyArrayBeforeForeachRector (#2935)
2022-09-18 11:37:35 +00:00
Tomas Votruba
c5b7bc6035 Updated Rector to commit 90adbf0431d2f63e80bbb10807ff2786e19f068c
90adbf0431 [DeadCode] Skip assign if cond on RemoveUnusedNonEmptyArrayBeforeForeachRector (#2918)
2022-09-07 10:25:01 +00:00
Tomas Votruba
ed362f4e21 Updated Rector to commit 3de25c9cd3e7efcfa92c94f3cbdc533fdd6a115b
3de25c9cd3 [DeadCode] Handle assign empty array on if cond on RemoveUnusedNonEmptyArrayBeforeForeachRector (#2917)
2022-09-07 08:32:58 +00:00
Tomas Votruba
ac89ac3559 Updated Rector to commit 502d0ad3805984c4e3c0a8c6636c1174068169fc
502d0ad380 [DeadCode] Handle assign in If_ cond on RemoveUnusedNonEmptyArrayBeforeForeachRector (#2734)
2022-08-05 09:27:15 +00:00
Tomas Votruba
bdec76e60e Updated Rector to commit 5ed173f14865e72ba7156645e2a79930152e1cc5
5ed173f148 skip RuleDefinition explicitly
2022-06-07 09:18:30 +00:00
Tomas Votruba
bdfd24339f Updated Rector to commit 2e977bd3aad21113e0bb7e2aa9b102f6f1e9246d
2e977bd3aa deploy to original repository
2022-06-07 08:22:29 +00:00
Tomas Votruba
aa2cb1b997 Updated Rector to commit 0eba231b07
0eba231b07 [PHP 8.1] Move ConstantListClassToEnumRector to PHP 8.1 (#2444)
2022-06-06 17:12:56 +00:00
Tomas Votruba
a28f4b14a4 Updated Rector to commit 2022-06-06 16:43:29 +00:00
Tomas Votruba
63ef476ebe Updated Rector to commit 70261b71b7
70261b71b7 [DeadCode] Fix known array type in empty if foreach (#2432)
2022-06-04 13:19:43 +00:00
Tomas Votruba
7e46eb8267 Updated Rector to commit a2d6da8b4e
a2d6da8b4e Back to php-scoper 0.14 with scoping from php 8.0 (#2370)
2022-05-27 11:51:31 +00:00
Tomas Votruba
beba7d6efe Updated Rector to commit 1249d947f4
1249d947f4 Try php-scoper 0.17 (#2368)
2022-05-27 11:25:02 +00:00
Tomas Votruba
3266f22182 Updated Rector to commit 1d409bc35b
1d409bc35b safe by default
2021-12-10 10:22:23 +00:00
Tomas Votruba
058d52567d Updated Rector to commit c621d7650d
c621d7650d [TypeDeclaration] Add void upper inner function has return on ReturnTypeDeclarationRector (#1447)
2021-12-10 09:57:54 +00:00
Tomas Votruba
c726969380 Updated Rector to commit fc10fce13d
fc10fce13d [Rectify] [Php81] Enable Rectify on Readonly Property only (#1384)
2021-12-04 12:47:17 +00:00
Tomas Votruba
ed5842f8aa Updated Rector to commit 6ff80ba037
6ff80ba037 [DeadCode] Skip RemoveUnusedNonEmptyArrayBeforeForeachRector on native Variable (#748)
2021-08-24 05:31:50 +00:00
Tomas Votruba
f674f1dd71 Updated Rector to commit 72df0f63c5
72df0f63c5 [DeadCode] Mirror comment on RemoveUnusedNonEmptyArrayBeforeForeachRector (#610)
2021-08-07 12:06:20 +00:00
Tomas Votruba
0dad1bbb20 Updated Rector to commit b64b1b26e0
b64b1b26e0 [DeadCode] Skip RemoveUnreachableStatementRector on use of ->markTestIncomplete() (#612)
2021-08-07 11:43:52 +00:00
Tomas Votruba
c61ef9179c Updated Rector to commit 72df0f63c5
72df0f63c5 [DeadCode] Mirror comment on RemoveUnusedNonEmptyArrayBeforeForeachRector (#610)
2021-08-07 11:42:34 +00:00
Tomas Votruba
96112cb1f0 Updated Rector to commit 2da49992cc
2da49992cc [Downgrade] [PHP 7.2] Make DowngradeParameterTypeWideningRector always downgrade to phpdoc type (#390)
2021-07-05 22:50:18 +00:00
Tomas Votruba
a79e6f56df Updated Rector to commit ff1ad31d6a
ff1ad31d6a [PHP 7.2] Refactor DowngradeParameterTypeWideningRector to class method (#380)
2021-07-05 07:47:59 +00:00
Tomas Votruba
cdc3b7adef Updated Rector to commit f451b0b8e1
f451b0b8e1 [PHP 8.0] Bump to promoted properties (#4)
2021-05-10 23:39:21 +00:00
Tomas Votruba
7d36c3b0b9 Updated Rector to commit a80cf5292d
a80cf5292d revert to working scoper 0.14
2021-05-10 22:23:08 +00:00
Tomas Votruba
363a910cf7 Updated Rector to commit a7db1ad94d
a7db1ad94d use scoper 0.15
2021-05-10 22:10:16 +00:00
Tomas Votruba
d56e7982d0 Updated Rector to commit dedd4b55fe
dedd4b55fe make node_helper.php safe for similar names
2021-05-09 20:15:43 +00:00
TomasVotruba
0800c7cdc3 fix cs 2021-05-06 20:51:25 +02: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