2470 Commits

Author SHA1 Message Date
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
fd9090a133 Updated Rector to commit cc89395feeb3ed2a85b186a93722f9dd27e06ec1
cc89395fee [EarlyReturn] Handle Repetitive If_ on use ReturnBinaryOrToEarlyReturnRector (#670)
2021-08-13 20:42:45 +00:00
Tomas Votruba
080ee3ab60 Updated Rector to commit b53d44daeee982fd1d7a0711b86258e3d6ef70fe
b53d44daee [CodeQuality] Skip Closure call on CompleteDynamicPropertiesRector (#668)
2021-08-13 20:42:40 +00:00
Tomas Votruba
7ea1d2d574 Updated Rector to commit ceef3b3468aee7b96ac1d46f6f43e602e5f8b789
ceef3b3468 [Php80] Handle Default value in Else_ not null on NullsafeOperatorRector (#667)
2021-08-13 14:22:51 +00:00
Tomas Votruba
12a282027a Updated Rector to commit e6100c9d542f3e83da64734ab5c565c915dee660
e6100c9d54 [DeadCode] Skip RemoveUselessReturnTagRector on typed closure (#662)
2021-08-13 12:04:16 +00:00
Tomas Votruba
a7f6c29b52 Updated Rector to commit 5e16b6bab731d037893d7a24d4b5896dd405d152
5e16b6bab7 [CodeQuality] Handle IssetOnPropertyObjectToPropertyExistsRector on built in class (#659)
2021-08-13 11:59:25 +00:00
Tomas Votruba
c971497082 Updated Rector to commit 573fd6db8533ecb713d2fc475710f12855ddb617
573fd6db85 [DeadCode] Skip RemoveUselessParamTagRector on typed closure (#661)
2021-08-13 11:59:01 +00:00
Tomas Votruba
55cb627074 Updated Rector to commit 7b8f4deae245e3921afdaf2f7bf4a1927da311b4
7b8f4deae2 [CodeQuality] Skip FixClassCaseSensitivityNameRector on function name exists (#660)
2021-08-13 11:57:49 +00:00
Tomas Votruba
40d9772df6 Updated Rector to commit de5c4c77a5fe06ed04d1b7b97b10e29be344c734
de5c4c77a5 [EarlyReturn] Allow usage ChangeOrIfReturnToEarlyReturnRector and RemoveAlwaysElseRector without elseif (#655)
2021-08-12 16:01:53 +00:00
Tomas Votruba
ca101a7486 Updated Rector to commit 99301b3daeee68add16582b47611059fd7df540d
99301b3dae Namespaces should use a case sensitive comparison (#652)
2021-08-12 15:32:43 +00:00
Tomas Votruba
a0b5bf612c Updated Rector to commit 48121fb6f4dd5c3a81c50fb8809256f9cd72fffa
48121fb6f4 [PHP 8.1] Add basic support for Spatie Enums to native Enums (#653)
2021-08-12 14:48:46 +00:00
Tomas Votruba
359cdb2450 Updated Rector to commit 8e48e498234ac51af25b584f866ddd200803f02f
8e48e49823 [EarlyReturn] Skip complex if cond and with ChangeAndIfToEarlyReturnRector and RemoveAlwaysElseRector (#654)
2021-08-12 13:13:24 +00:00
Tomas Votruba
93cc8dacbc Updated Rector to commit 906bb39c8df09c9a7c554dd97a2fde070b076861
906bb39c8d [EarlyReturn] Handle Repetitive create If_ statement on use ChangeOrIfReturnToEarlyReturnRector+RemoveAlwaysElseRector (#651)
2021-08-12 09:54:28 +00:00
Tomas Votruba
19c1eefae1 Updated Rector to commit e35724edaeebdf239489b2526ab29ad28f929e79
e35724edae [EarlyReturn] Move comment in If_ stmt for ChangeAndIfToEarlyReturnRector (#648)
2021-08-11 16:14:49 +00:00
Tomas Votruba
8526b37468 Updated Rector to commit 5b98e931dc69dff0cec416fd6bfec7de31a14f72
5b98e931dc [TypeDeclaration] Skip void type for arrow funtcions (#649)
2021-08-11 15:52:10 +00:00
Tomas Votruba
9d7620e51f Updated Rector to commit 9e17cfe28e734bc93379530c87d177da566a87b5
9e17cfe28e [DeadCode] Skip RemoveEmptyMethodCallRector on call from current  that can be overridden by child (#644)
2021-08-11 12:48:37 +00:00
Tomas Votruba
a75504cb47 Updated Rector to commit 3a76077bfe5ba553bf59f7ea269b7d594f715ecb
3a76077bfe [Defluent] Handle casted return value on FluentChainMethodCallToNormalMethodCallRector (#643)
2021-08-11 06:38:05 +00:00
Tomas Votruba
0d05b74439 Updated Rector to commit d5d727776332bc6314e07d01ded03c1577c15eec
d5d7277763 [TypeDeclaration] Skip null only type on AddMethodCallBasedStrictParamTypeRector (#637)
2021-08-10 11:38:07 +00:00
Tomas Votruba
cdb767761e Updated Rector to commit 60e8e7cb2a8ee87c2ee59ea625a1c4f149326b0f
60e8e7cb2a [CodeQuality] Skip SimplifyUselessVariableRector on global variable (#638)
2021-08-10 11:23:22 +00:00
Tomas Votruba
0310ca6e8d Updated Rector to commit d5d727776332bc6314e07d01ded03c1577c15eec
d5d7277763 [TypeDeclaration] Skip null only type on AddMethodCallBasedStrictParamTypeRector (#637)
2021-08-10 11:20:38 +00:00
Tomas Votruba
3395b050ee Updated Rector to commit 028dcb15e4ce3af9a1651b25a9d945ba962907f1
028dcb15e4 [CodingStyle] Skip RemoveUnusedAliasRector on alias used as namespace (#634)
2021-08-10 07:12:30 +00:00
Tomas Votruba
5690256c72 Updated Rector to commit 6182d69dc532340002a64c589a6b43b82541ae4a
6182d69dc5 [CodeQuality][Naming] Handle both RenamePropertyToMatchTypeRector and CompleteDynamicPropertiesRector (#633)
2021-08-09 21:55:37 +00:00
Tomas Votruba
4cda207f19 Updated Rector to commit c3e0ff311d85a62c22bd9220564e7283d74211bc
c3e0ff311d [CodeQuality] Skip static variable on SimplifyUselessVariableRector (#630)
2021-08-09 13:33:35 +00:00
Tomas Votruba
b2c929a146 Updated Rector to commit fa8e3bd295a21fa81f6a613c713dcf161897b0ae
fa8e3bd295 Re-use MovedFile (#628)
2021-08-09 11:59:16 +00:00
Tomas Votruba
dfbd226240 Updated Rector to commit 88cad6c191a1117c928e86a39875f80551308677
88cad6c191 Add moved file (#627)
2021-08-09 11:34:43 +00:00
Tomas Votruba
d5f9e53969 Updated Rector to commit a6ce5e40a7a3ed86debca4c812e5a23abbeb913e
a6ce5e40a7 [Naming] Fix generics RenamePropertyToMatchTypeRector (#626)
2021-08-09 10:54:50 +00:00
Tomas Votruba
bd98852bcd Updated Rector to commit db637973d0b5be0817eb28be4d191920a572d4a2
db637973d0 [DeadCode] Do not remove assign on RemoveUnusedVariableAssignRector on New_ usage (#625)
2021-08-09 07:40:23 +00:00
Tomas Votruba
4c5b41a7fe Updated Rector to commit 5f4653c9f68bd0801930e204ee216af256670ec7
5f4653c9f6 Move DowngradeSelfTypeDeclarationRector to downgrade-php70 (#623)
2021-08-08 20:04:42 +00:00
Tomas Votruba
1f913af9d4 Updated Rector to commit b6f1b7d9f03a764867618a6e408e7c60a2ba80d0
b6f1b7d9f0 Allow smart lexer regardless PHP version (#624)
2021-08-08 19:52:23 +00:00
Tomas Votruba
eb3537a9a5 Updated Rector to commit 9f7a8d8c21b56593823ccfea30ff1c93c542fced
9f7a8d8c21 [EarlyReturn] Handle both ChangeAndIfToEarlyReturnRector and ChangeOrIfReturnToEarlyReturnRector (#617)
2021-08-08 17:11:36 +00:00
Tomas Votruba
4bcc040852 Updated Rector to commit 459bc85fdfffc52372df67ad50dc42d6c78fb484
459bc85fdf [Scoped] Wait 3 minutes before checkout rectorphp/rector-src on create a tag (#620)
2021-08-08 17:06:57 +00:00
Tomas Votruba
347502ca61 Updated Rector to commit 013042b2e1a43ca4fa0902a6ae2d0c4600d00ccf
013042b2e1 [DeadCode] Skip modified value property on RemoveDuplicatedIfReturnRector (#621)
2021-08-08 17:06:38 +00:00
Tomas Votruba
990fd729ae Updated Rector to commit 0d7e293404176c8bd305644a02482ba5116d224e
0d7e293404 [CodingStyle] Handle Non-string specifier for EncapsedStringsToSprintfRector (#622)
2021-08-08 17:03:07 +00:00
Tomas Votruba
1567f66690 Updated Rector to commit a71fbfab1445899040cb34f30abdc1ffc0d2ebb3
a71fbfab14 [TypeDeclaration] Skip indirect get array value on PHPUnit dataProvider get on ParamTypeDeclarationRector (#616)
2021-08-08 17:00:39 +00:00
Tomas Votruba
516b0c236e Updated Rector to commit ace586b7f28f007f8b9e3b2589434f99d6860616
ace586b7f2 adjust fixture + fixed removing overwriting private functions (#613)
2021-08-08 17:00:17 +00:00
Tomas Votruba
73fdd01a3b Updated Rector to commit 38b1d4d1927acafada9e04b2998987eaacd32c7e
38b1d4d192 Implement DowngradeAbstractPrivateMethodInTrait (#615)
2021-08-08 16:58:46 +00:00
Tomas Votruba
e9e85a1300 Updated Rector to commit a8b01f217b9702f7dd6e485f84fe46a6dabe0d86
a8b01f217b [automated] Re-Generate Nodes/Rectors Documentation (#619)
2021-08-08 00:26:40 +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
fb1a342d17 Updated Rector to commit 7e0859efe177331b53a327b60f5d6c48d7087bee
7e0859efe1 [DeadCode] Skip non-typed property for RecastingRemovalRector (#608)
2021-08-07 11:36:26 +00:00
Tomas Votruba
b5290c94c5 Updated Rector to commit 2d22795af1549dfbe40e3b8cf1c71cf88af7d3b1
2d22795af1 [DeadCode] Skip RemoveDeadConstructorRector on empty constructor with class extends (#611)
2021-08-07 11:33:39 +00:00
Tomas Votruba
cd8b211b7b Updated Rector to commit bb384013c3f04d9ae1471fdfa50fbff943b7821c
bb384013c3 [CodeQuality] CodeQuality config set list clean up (#606)
2021-08-06 20:12:05 +00:00
Tomas Votruba
ed866c99db Updated Rector to commit 7398a6637c49cd6f329d27a37f5006a69c219924
7398a6637c Add failing test fixture for RemoveUnusedPrivateMethodRector (#604)
2021-08-06 06:45:08 +00:00
Tomas Votruba
2ece2f3537 Updated Rector to commit 7c937fa45102ed0ece7194b1d64da787de199a7d
7c937fa451 [DeadCode] Skip do { } while() on RemoveUnreachableStatementRector (#601)
2021-08-05 17:17:00 +00:00
Tomas Votruba
d5797c02f3 Updated Rector to commit f668ee22795708f9cec8184c338fd984a5a6ff6f
f668ee2279 [NodeRepository] Remove ChildReturnPopulator (#599)
2021-08-05 12:49:24 +00:00