19 Commits

Author SHA1 Message Date
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
0800c7cdc3 fix cs 2021-05-06 20:51:25 +02:00
Abdul Malik Ikhsan
c51c1da262
[DeadCode] Use dependency injection for ConditionSearcher in RemoveUnusedVariableAssignRector (#6226) 2021-04-24 00:59:36 +00:00
Tomas Votruba
e8a76e8f2b
Do not prefix "parent", "self", "static" and native constants (#6159)
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-04-17 12:09:58 +00:00
Abdul Malik Ikhsan
2b22e73efd
[DeadCode] Skip Variable Variable $$var on RemoveUnusedVariableAssignRector (#6156) 2021-04-16 12:14:05 +02:00
Abdul Malik Ikhsan
d4bb85bdc7
[DeadCode] Skip RemoveUnusedVariableAssignRector on next expr Include_ (#6153)
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-04-16 11:18:07 +02:00
TomasVotruba
ca4e684491 fix cs 2021-04-16 00:43:26 +02:00
SWalther
7bf3eeb61d
[DEAD-CODE] Added failing ShadowedLocalVariable test and implementation (#5996)
Co-authored-by: clxswalther <swalther@complex.it.de>
Co-authored-by: fbecker-complex <71324952+fbecker-complex@users.noreply.github.com>
Co-authored-by: Tomas Votruba <tomas.vot@gmail.com>
2021-04-15 22:27:56 +00:00
Tomas Votruba
b8071fb7bc
Make use of inline parser over extreme node construction (#6145)
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-04-15 17:34:49 +00:00
Tomas Votruba
8f256fa281
[DeadCode] Fix RemoveUnusedVariableAssignRector for variable removal (#6133) 2021-04-14 13:02:16 +00:00
Tomas Votruba
ad7af917e2
Improve assert added and moved nodes (#6106) 2021-04-12 13:24:37 +00:00
Abdul Malik Ikhsan
faca7e2763
[DeadCode] Skip RemoveUnusedVariableAssignRector on used in next compact function (#6103)
Co-authored-by: repat <repat@repat.de>
2021-04-12 11:44:33 +02:00
Abdul Malik Ikhsan
ec32714ad9
[DeadCode] Skip RemoveUnusedVariableAssignRector on native variable (#6081) 2021-04-10 16:16:24 +02:00
Abdul Malik Ikhsan
a60748dc41
[DeadCode] Skip RemoveUnusedVariableAssignRector on used in Method call and PropertyFetch name (#6053)
* Add failing test fixture for RemoveUnusedVariableAssignRector

* Closes #6051

* cs

Co-authored-by: zingimmick <zingimmick@outlook.com>
2021-04-07 18:56:29 +02:00
Tomas Votruba
5fa858b072
[DoctrineAnnotationSyncer] Remove to move to static reflection (#6006) 2021-03-29 13:01:35 +00:00
Abdul Malik Ikhsan
ce1bad3c3a
[DeadCode] Apply RemoveUnusedVariableAssignRector on unused local variable (#6003)
Co-authored-by: slomanto <s.lomanto@complex-it.de>
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
2021-03-29 10:30:42 +02:00
Tomas Votruba
4f27f39e70
Remove dynamic type checks #3 (#5942) 2021-03-21 23:07:40 +00: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