36 Commits

Author SHA1 Message Date
Tomas Votruba
19cabc37e2 Updated Rector to commit f8a31303f5b57fde34fb077b9463d6599537b5c5
f8a31303f5 [DeadCode] Skip RemoveDeadInstanceOfRector on check variable from not typed param (#851)
2021-09-08 14:55:40 +00:00
Tomas Votruba
ec2e07443a Updated Rector to commit 49033cecc9cd2b553f0ab3e220168c1e8da5c5b1
49033cecc9 [PostRector] Using NodesToAddCollector in Rector rules (#812)
2021-09-02 06:46:57 +00:00
Tomas Votruba
ed5842f8aa Updated Rector to commit 6ff80ba037f2467bb492e120ba942e44fd1ab8e1
6ff80ba037 [DeadCode] Skip RemoveUnusedNonEmptyArrayBeforeForeachRector on native Variable (#748)
2021-08-24 05:31:50 +00:00
Tomas Votruba
09d23c12db Updated Rector to commit 6ff9e780b9a0d6170f5fd8d9c739419b5d8fc63e
6ff9e780b9 [Defluent] Skip Fluent in If_ cond on FluentChainMethodCallToNormalMethodCallRector (#673)
2021-08-13 20:58:51 +00:00
Tomas Votruba
b998a4feca Updated Rector to commit 31f88491b8b85cdba2f33ed5ff9440a77713e5c2
31f88491b8 [Defluent] Skip NewFluentChainMethodCallToNonFluentRector on inside If_ cond (#671)
2021-08-13 20:46:17 +00:00
Tomas Votruba
708bb6c44b Updated Rector to commit 6ff9e780b9a0d6170f5fd8d9c739419b5d8fc63e
6ff9e780b9 [Defluent] Skip Fluent in If_ cond on FluentChainMethodCallToNormalMethodCallRector (#673)
2021-08-13 20:45:41 +00:00
Tomas Votruba
d1fc5bf0a7 Updated Rector to commit 2f6725acd411aca2b05e98d3bf8d8055d12312ac
2f6725acd4 [EarlyReturn] Handle Repetitive If_ on use ReturnBinaryAndToEarlyReturnRector (#669)
2021-08-13 20:44:01 +00:00
Tomas Votruba
aeb2451688 Updated Rector to commit c115811102cfb2e88b80258e3d18c51a19e9ba44
c115811102 [DeadCode] Skip Union Array without type on RemoveDeadInstanceOfRector (#672)
2021-08-13 20:43:09 +00:00
Tomas Votruba
f674f1dd71 Updated Rector to commit 72df0f63c5015db2db86bf1b17a0d8393ad90911
72df0f63c5 [DeadCode] Mirror comment on RemoveUnusedNonEmptyArrayBeforeForeachRector (#610)
2021-08-07 12:06:20 +00:00
Tomas Votruba
0dad1bbb20 Updated Rector to commit b64b1b26e0ed01f77e5afe5b018091990e31624a
b64b1b26e0 [DeadCode] Skip RemoveUnreachableStatementRector on use of ->markTestIncomplete() (#612)
2021-08-07 11:43:52 +00:00
Tomas Votruba
c61ef9179c Updated Rector to commit 72df0f63c5015db2db86bf1b17a0d8393ad90911
72df0f63c5 [DeadCode] Mirror comment on RemoveUnusedNonEmptyArrayBeforeForeachRector (#610)
2021-08-07 11:42:34 +00:00
Tomas Votruba
b0f145ae07 Updated Rector to commit 205e7a5bd026cdbbeac19bc51e63e429ee2df704
205e7a5bd0 [Core] Move isPropertyFetch() to PropertyFetchAnalyzer (#563)
2021-08-01 16:59:22 +00:00
Tomas Votruba
398f8f8197 Updated Rector to commit c93b40240fc04526047b3390920d862d7aa4c4b8
c93b40240f [DeadCode] Skip InstanceOf class not a Name on RemoveDeadInstanceOfRector (#531)
2021-07-28 11:14:29 +00:00
Tomas Votruba
6c3196a2e7 Updated Rector to commit 8299b2db4185d08c9a965661fe25a7c6b89fc7f7
8299b2db41 [DeadCode] Skip direct method call / function call on RemoveDeadInstanceOfRector (#527)
2021-07-28 07:07:05 +00:00
Tomas Votruba
bb9a43a22d Updated Rector to commit 65eaecb4deb1d60e2a5ae99e2ed530ac7f6fe9ac
65eaecb4de [DeadCode] Skip Static Call fluent on RemoveEmptyMethodCallRector (#526)
2021-07-27 14:23:09 +00:00
Tomas Votruba
5394ed5dd5 Updated Rector to commit 4b5ac4d548d2dc782157acb50b3a352d81ca9238
4b5ac4d548 [DeadCode] Skip Assign to PropertyFetch on RemoveAssignOfVoidReturnFunctionRector (#523)
2021-07-27 14:21:12 +00:00
Tomas Votruba
9b938c3aa8 Updated Rector to commit a8fd8a33153a8c4e651640266fa3e8c2dfc9b965
a8fd8a3315 [DeadCode] Handle RemoveDeadInstanceOfRector on non typed property (#524)
2021-07-27 14:20:41 +00:00
Tomas Votruba
96112cb1f0 Updated Rector to commit 2da49992ccc8e6d4b20e92a5833316d381921391
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 ff1ad31d6a1d327542ef2326a84b71554856b9ef
ff1ad31d6a [PHP 7.2] Refactor DowngradeParameterTypeWideningRector to class method (#380)
2021-07-05 07:47:59 +00:00
Tomas Votruba
bb3e86de23 Updated Rector to commit 904a5a7a1c8dd041524cb51ec3a689ad4cbef436
904a5a7a1c Make use of ClassMethodReturnVendorLockResolver (#377)
2021-07-04 21:21:47 +00:00
Tomas Votruba
e29462ff33 Updated Rector to commit ac81e98fbfb138ffd1b3dd2725ee1c6b7010a22b
ac81e98fbf move from nette/caching to own cache based on PHPStan (#202)
2021-06-11 11:03:31 +00:00
Tomas Votruba
a130d42a04 Updated Rector to commit 9dea8d8cd82bb640ccad2d583487d1afdd69428d
9dea8d8cd8 [DeadCode][CodeQuality] Handle use RemoveDeadInstanceOfRector + SwitchNegatedTernaryRector with if instanceof check (#201)
2021-06-11 09:40:47 +00:00
Tomas Votruba
c424fee1aa Updated Rector to commit df07500a766985cd39e57ff74a32104e0424551c
df07500a76 [BUGFIX] Check if argument is string (#146)
2021-06-03 22:54:09 +00:00
Tomas Votruba
9ea339bb13 Rector 0.11.8 2021-06-03 08:31:26 +00:00
Tomas Votruba
3547d90d45 Updated Rector to commit 1913747f014f5b4663dec6b32148a8d5046a74a5
1913747f01 [CodingStyle] Handle NotIdentical on CountArrayToEmptyArrayComparisonRector (#144)
2021-06-03 08:30:49 +00:00
Tomas Votruba
6d32da57f9 Updated Rector to commit a60e3ac320ae85b0b17a415db6da412894fa7513
a60e3ac320 warn about infinite loop node modification (#51)
2021-05-16 18:32:58 +00:00
Tomas Votruba
4caa94c8d6 Updated Rector to commit 5550d3a3ee99162658f41b7edcbea9635bebecdf
5550d3a3ee Remove unwrapStmts(), use native return array nodes in refactor() method (#52)
2021-05-16 16:22:09 +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
Tomas Votruba
79621dbb99
Flip @see to @changelog links (#6092) 2021-04-10 18:47:17 +00:00
Tomas Votruba
aae346b64f
[DeadCode] Skip RemoveDeadInstanceOfRector for traits (#5970) 2021-03-23 23:33:15 +00:00
Tomas Votruba
a781b3bd12
Remove dynamic type checks (#5939) 2021-03-21 19:41:17 +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