2757 Commits

Author SHA1 Message Date
Tomas Votruba
31aaad9e2c Updated Rector to commit 3a4d1df056b2ae3618fa5e26916b9331a6f9f546
3a4d1df056 [DeadCode] Refactor SimplifyIfElseWithSameContentRector: return array of nodes (#886)
2021-09-15 13:33:39 +00:00
Tomas Votruba
e6b6f5b661 Updated Rector to commit a2a378e016cf9501ac35fa3eb51c28141d642794
a2a378e016 [EarlyReturn] Refactor ChangeAndIfToEarlyReturnRector: return array of Nodes (#885)
2021-09-15 12:50:35 +00:00
Tomas Votruba
cdd58e83f2 Updated Rector to commit 6f0288df97a46cccb08c747e4c0f181c6e2ac2c5
6f0288df97 [EarlyReturn] Refactor ChangeAndIfToEarlyReturnRector (#878)
2021-09-14 05:51:11 +00:00
Tomas Votruba
ca094bb20d Updated Rector to commit fa63510c6f5fad39068b9b257aa845b429efafa9
fa63510c6f [PHPStan] PHPStan fixes after update symplify (#876)
2021-09-13 15:56:50 +00:00
Tomas Votruba
4d03ef9715 Updated Rector to commit 41dfd3640731a74969b84c1717fa319e31a88ed9
41dfd36407 [PHPStan] Update to PHPStan 0.12.99 (#874)
2021-09-13 13:38:55 +00:00
Tomas Votruba
86f0988ac5 Updated Rector to commit 430041fd553aca364c8fd2379cf854ae320c247b
430041fd55 [Privatization] Skip constant exists on RepeatedLiteralToClassConstantRector (#873)
2021-09-12 21:58:02 +00:00
Tomas Votruba
0d132812d7 Updated Rector to commit fccd59222366c765096d3a382812859c171c3be3
fccd592223 [CodingStyle] Handle VarConstantCommentRector + NewlineAfterStatementRector (#872)
2021-09-12 14:45:32 +00:00
Tomas Votruba
46d03714d0 Updated Rector to commit 95bf5aa61fcd772a0d038f28a7ad2388d0a641c0
95bf5aa61f [automated] Re-Generate Nodes/Rectors Documentation (#870)
2021-09-12 00:30:25 +00:00
Tomas Votruba
298a54bb2b Updated Rector to commit 97d3ad74eec35641062e3d9a471c290359d70849
97d3ad74ee [CodeQuality][EarlyReturn] Handle DateTimeToDateTimeInterfaceRector + ChangeAndIfToEarlyReturnRector + ChangeOrIfContinueToMultiContinueRector (#867)
2021-09-11 15:12:18 +00:00
Tomas Votruba
629ef3f9b0 Updated Rector to commit c71f6ee6412df421e254665d9d7b0ef42fda0c57
c71f6ee641 [Php74] Add CurlyToSquareBracketArrayStringRector (#858)
2021-09-11 11:01:40 +00:00
Tomas Votruba
f6293602f8 Updated Rector to commit bcde56b2e7a4b34a241a725935d68d44875e3920
bcde56b2e7 [CodeQuality][CodingStyle] Handle ExplicitBoolCompareRector + CountArrayToEmptyArrayComparisonRector on method call return array (#863)
2021-09-11 09:46:45 +00:00
Tomas Votruba
edae4da939 Updated Rector to commit 8138fb0234d6a3680f455edd78060362c9cba6f0
8138fb0234 [Php80] Skip indirect usage on Ternary else on NullsafeOperatorRector (#865)
2021-09-11 09:25:38 +00:00
Tomas Votruba
c9bd554857 Updated Rector to commit 29fb47974d062bff0debab9e442cb3d9e1546506
29fb47974d [Php80] feat: str starts with hardcoded (#866)
2021-09-11 09:23:29 +00:00
Tomas Votruba
0aa0fc532e Updated Rector to commit f5f4d7a2f7d698d1567633e7bc464e3691709bfa
f5f4d7a2f7 [TypeDeclaration] Handle default value on TypedPropertyFromStrictConstructorRector (#862)
2021-09-10 09:41:11 +00:00
Tomas Votruba
a41d82e567 Updated Rector to commit 40bd8926d38e7b1c057b3d52b811e8daa74c31a4
40bd8926d3 [Php80][Naming] Handle ClassPropertyAssignToConstructorPromotionRector + RenamePropertyToMatchTypeRector (#861)
2021-09-10 08:55:02 +00:00
Tomas Votruba
a787652f73 Updated Rector to commit ae25b721b3193e6da82b711c2401a8c309c6b8b7
ae25b721b3 [Privatization] Skip change variable from Param on ChangeReadOnlyVariableWithDefaultValueToConstantRector (#859)
2021-09-09 17:25:42 +00:00
Tomas Votruba
b9f564d955 Updated Rector to commit 7bc977882e47f1416694fa087ca88a60cc603906
7bc977882e [EarlyReturn] Returns array of nodes on ReturnBinaryOrToEarlyReturnRector + ReturnBinaryAndToEarlyReturnRector (#855)
2021-09-09 02:08:49 +00:00
Tomas Votruba
13a376a756 Updated Rector to commit c9f333d9dd5b283be39ce474e987d4bdcb598daf
c9f333d9dd [EarlyReturn] Returns array of If_ on ChangeOrIfContinueToMultiContinueRector (#854)
2021-09-09 01:20:04 +00:00
Tomas Votruba
7a65a9b047 Updated Rector to commit 70e4b3c51f3c5fde8120421948bc652df96a52e1
70e4b3c51f [EarlyReturn] Do not move up variable up next foreach on ChangeAndIfToEarlyReturnRector (#852)
2021-09-08 17:22:06 +00:00
Tomas Votruba
d5b6ae034e Updated Rector to commit 5b17710c25ddb7cd75a31dfbf7bc2ed05072b6e8
5b17710c25 [EarlyReturn] Returns array of If_ on ChangeOrIfReturnToEarlyReturnRector (#853)
2021-09-08 17:20:44 +00:00
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
9067837e02 Updated Rector to commit 322d2d1f7f9ffbed8b80cc9a1c3c07a1e8f38042
322d2d1f7f [CodeQuality][EarlyReturn] Handle SimplifyDeMorganBinaryRector + DateTimeToDateTimeInterfaceRector + ChangeAndIfToEarlyReturnRector (#847)
2021-09-08 10:50:16 +00:00
Tomas Votruba
15f852f98c Updated Rector to commit a3d43bc8903bdbab0e167a3cf623d8f413f68007
a3d43bc890 [CodeQuality][EarlyReturn] Handle SimplifyDeMorganBinaryRector + CompleteDynamicPropertiesRector + ChangeAndIfToEarlyReturnRector (#848)
2021-09-08 10:48:44 +00:00
Tomas Votruba
2af3b965d3 Updated Rector to commit 1e6dfd240ec6d109e0d8c0828bed1d40f450c581
1e6dfd240e [PHPStan] Clean up ignore error messages (#846)
2021-09-08 06:39:19 +00:00
Tomas Votruba
fec74a08d2 Updated Rector to commit 15224d19fe27f02d400ef25d8e7853763b3991e2
15224d19fe [TypeDeclaration] Skip has return to return void on ReturnTypeDeclarationRector (#845)
2021-09-07 15:13:29 +00:00
Tomas Votruba
10dc2fc8d8 Updated Rector to commit 55734abb9a9c8abbde235468cf6f63a235465794
55734abb9a [TypeDeclaration] Handle Parent param object, child param class name on ParamTypeDeclarationRector (#844)
2021-09-07 09:40:30 +00:00
Tomas Votruba
91ddd0b6a4 Updated Rector to commit c53478bfcc56649c08b92930f28ff4fa221d298d
c53478bfcc [TypeDeclaration] Skip parameter string with default array on ParamTypeDeclarationRector (#842)
2021-09-07 06:12:15 +00:00
Tomas Votruba
c94867257b Updated Rector to commit b8a6c976b4a477fad3dd6fa7e8564cf82a2aa2b3
b8a6c976b4 [TypeDeclaration] Handle UnitEnum not exists check on ParamTypeByParentCallTypeRector (#841)
2021-09-07 06:01:30 +00:00
Tomas Votruba
e0d2b3e720 Updated Rector to commit 3b47c3a8179f27def6ee602b97024f89b3847352
3b47c3a817 [Php80] Fix NullsafeOperatorRector on no result usage (#838)
2021-09-06 09:22:23 +00:00
Tomas Votruba
3ce615d525 Updated Rector to commit df9246c6094f472f9a889104ccf173f7008fc90a
df9246c609 [CodeQuality][EarlyReturn] Handle ExplicitBoolCompareRector + ChangeOrIfReturnToEarlyRector (#836)
2021-09-06 05:59:31 +00:00
Tomas Votruba
5fe8d2447a Updated Rector to commit 24eae1fa72e0ec1f24741a8549161d3bee8f84e9
24eae1fa72 [Renaming] Do not change to property exists on RenamePropertyRector (#834)
2021-09-05 03:12:49 +00:00
Tomas Votruba
8303b46898 Updated Rector to commit 0779c402c3a994821b56fa24bae2baa14f996e14
0779c402c3 [automated] Re-Generate Nodes/Rectors Documentation (#832)
2021-09-05 00:27:40 +00:00
Tomas Votruba
552aa64b5e Updated Rector to commit aad3fd28eab63c5c59b35904938ee1ccbc2621be
aad3fd28ea [DeadCode] Skip used after next statement on RemoveNonExistingVarAnnotationRector (#822)
2021-09-04 07:47:01 +00:00
Tomas Votruba
6fa53c44bc Updated Rector to commit dc0d5ff489524d10e37fa52248db922fd02048fb
dc0d5ff489 [PSR4] Skip already defined namespace on NormalizeNamespaceByPSR4ComposerAutoloadRector (#823)
2021-09-04 07:44:52 +00:00
Tomas Votruba
a4b3da989a Updated Rector to commit d2545a5d93763a111957fc1beafe380b31bd557b
d2545a5d93 [Renaming] Handle ClassLike property on RenamePropertyRector (#825)
2021-09-04 07:43:00 +00:00
Tomas Votruba
d62e039ac8 Updated Rector to commit 61709a198d9079071857fb14de0b21482d996a5d
61709a198d [PHPStan] Update to PHPStan 0.12.98 (#826)
2021-09-04 07:42:32 +00:00
Tomas Votruba
607592559d Updated Rector to commit 479df50e71997ffcc081fa4818a859ee4712ac4f
479df50e71 [DeadCode] Skip next ternary & coalesce assign on RemoveDoubleAssignRector (#819)
2021-09-03 16:58:12 +00:00
Tomas Votruba
886af6be83 Updated Rector to commit 7ff79f6e02a2b2fe1fb87ee9933c25e09cbbeee2
7ff79f6e02 [Renaming] Rename Property name as well for RenamePropertyRector on Class (#821)
2021-09-03 15:34:50 +00:00
Tomas Votruba
715504ec16 Updated Rector to commit 0d2ccc3a8399382eebb924f96e4314966b183cde
0d2ccc3a83 [TypeDeclaration] Handle too detailed array item class-string on AddArrayReturnDocTypeRector (#816)
2021-09-03 13:31:24 +00:00
Tomas Votruba
2df2b72ec2 Updated Rector to commit a0aba1f290511bc745b29cd22dba32ce6665d375
a0aba1f290 [DowngradePhp71][DowngradePhp80] Handle SymmetricArrayDestructuringToListRector + DowngradeNamedArgumentRector (#818)
2021-09-03 12:44:30 +00:00
Tomas Votruba
73cb9e40d3 Updated Rector to commit 89ca42d7c18c97b8076c4d6d40dfdd16a9ee9e16
89ca42d7c1 [TypeDeclaration] Skip callable on AddArrayParamDocTypeRector (#815)
2021-09-03 09:26:46 +00:00
Tomas Votruba
02329d8b20 Updated Rector to commit e8c8f9996d555a26d6e99921001944eb7d1bd90d
e8c8f9996d Add minimum PHP versions for PHP 8.1 rules (#814)
2021-09-02 15:24:03 +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
2f48356b1f Updated Rector to commit c732f61317d64898b7b31ab171d7f1e52caca9f9
c732f61317 [DowngradePhp72] Handle DowngradeParameterTypeWideningRector on anonymous class implements interface (#811)
2021-09-02 06:26:12 +00:00
Tomas Votruba
35aeca4151 Updated Rector to commit 54c2151111e0d9628d1bc12bc48d7cc40391a3b8
54c2151111 [CodingStyle] Handle next with comment on NewlineAfterStatementRector (#813)
2021-09-02 06:22:11 +00:00
Tomas Votruba
5e7b93b875 Updated Rector to commit a1d7adb68921b5abdf2cb2cb862ce44d76c82479
a1d7adb689 Implements DowngradeClosureFromCallableRector (PHP 7.1). (#809)
2021-09-01 20:27:59 +00:00
Tomas Votruba
8a6c24cf3d Updated Rector to commit b1d573e8b56a92a0f3dcd0f11a49a41d2c2f72f6
b1d573e8b5 [DeadCode][EarlyReturn] Handle RemoveUnusedPrivateMethodRector + RemoveAlwaysElseRector (#807)
2021-09-01 07:30:23 +00:00
Tomas Votruba
1b59a1d474 Updated Rector to commit 0f9e4f8360316848609929e6702cc074352ddb7c
0f9e4f8360 [CodeQuality] Handle recursive on LogicalToBooleanRector (#808)
2021-09-01 04:09:40 +00:00
Tomas Votruba
8fbb6d4a84 Updated Rector to commit 511a076211be7d2387961bddd75f88f5d33a0bd9
511a076211 bump nette
2021-09-01 00:12:38 +00:00
Tomas Votruba
81454a9154 Updated Rector to commit 93f0232d7faf8ba64e1475846b9ee5c9fc6a9663
93f0232d7f Bump deps (#804)
2021-08-31 19:26:04 +00:00