26 Commits

Author SHA1 Message Date
Tomas Votruba
636eeecaf4 Updated Rector to commit dfd048342b88db3c2adcf20ec701a9fd9a4e2319
dfd048342b [PHP 8.0] Run union types for filled param type too (#331)
2021-06-29 14:24:45 +00:00
Tomas Votruba
56f42aa88e Updated Rector to commit edd78eb3109e879ef3bf92ba0e678feb3f915d61
edd78eb310 fix cs
2021-06-25 15:48:58 +00:00
Tomas Votruba
dba6b87202 Updated Rector to commit 6162f70e75199ba4c56e0e845fb1f8c6ecdd2db1
6162f70e75 [DeadCode] Keep Assign expr on RemoveUnusedVariableAssignRector for impure function (#282)
2021-06-25 09:05:38 +00:00
Tomas Votruba
3fdc777bf5 Updated Rector to commit 246a5863eda22e02a1081b576344eb6e2dda9395
246a5863ed [DeadCode] Prevent RemoveUnusedAssignVariableRector removing variables used in compact() (#238)
2021-06-17 16:01:07 +00:00
Tomas Votruba
0439a83632 Updated Rector to commit 5fd67abde62e9d24cdad9c3f9001b020ec5ad07c
5fd67abde6 [DeadCode] Skip RemoveUnusedAssignVariableRector on used after if else (#213)
2021-06-13 15:06:07 +00:00
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
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