2456 Commits

Author SHA1 Message Date
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
Tomas Votruba
d2c1af4455 Updated Rector to commit 738cea7736f865c1d660c1f168fc6e35639466a2
738cea7736 [DeadCode] Skip array_map in class extends Exception on RemoveUnusedPrivateMethodRector (#598)
2021-08-05 12:41:19 +00:00
Tomas Votruba
00f3fbe30d Updated Rector to commit ad15c5f694b9ed5049a85846740665c0f657c491
ad15c5f694 [TypeDeclaration] Removing NodeRepository from ParamTypeDeclarationRector (#597)
2021-08-05 08:31:23 +00:00
Tomas Votruba
fa67d66a44 Updated Rector to commit 3eb503653fc1240a10c8be730f1ecfd45c47396c
3eb503653f [BetterStandardPrinter] Using Expr_ArrowFunction->returnType with print return type double colon right after the bracket (#596)
2021-08-05 05:49:38 +00:00
Tomas Votruba
91514099e6 Updated Rector to commit e4b356c117731ff982f2c3a0a02f69c143469457
e4b356c117 [Defluent] Skip create variable from not PropertyFetch on ReturnFluentChainMethodCallToNormalMethodCallRector (#595)
2021-08-04 16:14:54 +00:00
Tomas Votruba
4be28bf7eb Updated Rector to commit 37b06023b666cac8ec2997e8e1605f93c25d3b6f
37b06023b6 [DeadCode] Fix removal of variable-used promoted property (#593)
2021-08-04 13:47:30 +00:00
Tomas Votruba
7a14ae82ec Updated Rector to commit 897e3da3b3540736a6f441125a048de6c27e4fe3
897e3da3b3 [Defluent] Do not remove return from parameter and property on ReturnNewFluentChainMethodCallToNonFluentRector (#589)
2021-08-04 07:35:56 +00:00
Tomas Votruba
fcfef6acab Updated Rector to commit 529eb40360f0a40a03bdaeb0e657fbaaec2a1c02
529eb40360 [DowngradePhp80] Handle both DowngradeTypedPropertyRector and DowngradeMixedTypeDeclarationRector Name parameter (#591)
2021-08-04 07:34:48 +00:00
Tomas Votruba
54d8b7a970 Updated Rector to commit 0a51a73ad61b0ec2f9195ead66880e71a0e6779b
0a51a73ad6 [CodeQuality] Remove MoveVariableDeclarationNearReferenceRector for too wide domain, not capable on most of real projects (#587)
2021-08-03 18:06:18 +00:00
Tomas Votruba
bd858c4241 Updated Rector to commit c1b12be00d951ccb0e0c9a1117db0b6319d8f770
c1b12be00d [Defluent] Skip interface on DefluentReturnMethodCallRector (#584)
2021-08-03 15:28:44 +00:00
Tomas Votruba
f24ba3e919 Updated Rector to commit ae55eac4c937caf15d9bb320672f038915bc6f80
ae55eac4c9 [TypeDeclaration] Allow Function_ and ArrowFunction on ReturnTypeFromReturnNewRector (#583)
2021-08-03 12:03:11 +00:00
Tomas Votruba
46cf4c1774 Updated Rector to commit 0888a92985f8018f486798af0f33928f221e7f0f
0888a92985 [CodeQuality] Skip class with constructor parameter for ClassConstFetch on CallableThisArraToAnonymousFunctionRector (#581)
2021-08-03 10:22:54 +00:00
Tomas Votruba
329518456a Updated Rector to commit 2e7256bde823c5c6de2b02f253f39415b4058fd4
2e7256bde8 fix native method fetch (#579)
2021-08-02 19:56:42 +00:00
Tomas Votruba
46c5557948 Rector 0.11.41 2021-08-02 19:22:48 +00:00
Tomas Votruba
1452c5d9ff Updated Rector to commit b3480900f3da86846dfabdfcd7e12f07b16a3f78
b3480900f3 [CodingStyle] Remove YieldClassMethodToArrayClassMethodRector, rather PHPStorm job (#576)
2021-08-02 17:48:07 +00:00