2625 Commits

Author SHA1 Message Date
Tomas Votruba
ad2aa21ed8 Updated Rector to commit 3dd16b30e38c7ca4ee208e6ddde841cf4443d46b
3dd16b30e3 Add PhpMinVersions (#907)
2021-09-21 14:11:26 +00:00
Tomas Votruba
f1e92cd8c3 Updated Rector to commit 644b37e4eb5cdd597b518a15368b19d7687fb832
644b37e4eb Add some PHP_80 min versions (#906)
2021-09-21 11:18:03 +00:00
Tomas Votruba
45b3a18479 Updated Rector to commit e09cf113d7870f96f38685e081a45c561cff298b
e09cf113d7 [DX] Add PhpUpgradeDowngradeRegisteredInSetRule PHPStan rule (#905)
2021-09-21 11:16:07 +00:00
Tomas Votruba
5933e0d5f0 Updated Rector to commit e78fadd24d6466842c877dc33203f5dd68c02cdc
e78fadd24d [Php74] Handle conflict with alias on TypedPropertyRector (#899)
2021-09-20 11:23:02 +00:00
Tomas Votruba
eeaf265fd8 Updated Rector to commit a8a79d0b986fd08f699980f28c049d18ad04a4b8
a8a79d0b98 [Arguments] Use native types over weak string to define types (#903)
2021-09-19 11:08:13 +00:00
Tomas Votruba
9bcdf99a5a Updated Rector to commit ab182ff80b8d11a4bc9d23d715cc223f5e03177d
ab182ff80b [PHP 8.0] Remove NullsafeOperatorRector, as often breaking and promoting non-early returns and losen types (#900)
2021-09-19 10:24:30 +00:00
Tomas Votruba
6672a6759e Updated Rector to commit b5516368d4c2ad63afc8a9a1f0d2ed997f1eb202
b5516368d4 [Php74] Add privatePropertyOnly config to TypedPropertyRector (#898)
2021-09-19 10:18:03 +00:00
Tomas Votruba
300188a298 Updated Rector to commit 3ff17513c47ace5c6a71ef4f918f33a8fa183a7b
3ff17513c4 [Arguments] Add the missing default value and type for the added arguments (#837)
2021-09-19 09:13:32 +00:00
Tomas Votruba
c4be8405d9 Updated Rector to commit 327929f6206170799c609fb4ef062aa31ac338b9
327929f620 [automated] Apply Coding Standard (#902)
2021-09-19 00:28:39 +00:00
Tomas Votruba
495580024a Updated Rector to commit a19687ce9d53dad6476c41cc124d4e7440cdedcd
a19687ce9d [automated] Re-Generate preload.php (#901)
2021-09-19 00:28:26 +00:00
Tomas Votruba
883dd9f677 Updated Rector to commit 1e3e5dff59b05d497580f52e9a7491a2afa6bd29
1e3e5dff59 [CodingStyle] Handle too detailed pair class string array on VarConstantCommentRector (#897)
2021-09-17 19:38:24 +00:00
Tomas Votruba
547ed9fbbe Updated Rector to commit 74386d2bf051645eb8908b66c8a2ebf37bf33d93
74386d2bf0 [Php74] Do not remove array generic types doc in BracketsAwareUnionTypeNode on TypedPropertyRector (#896)
2021-09-16 22:10:05 +00:00
Tomas Votruba
cc2b048092 Updated Rector to commit e22645de4fdc07736bd25896ee98858d3a46bfda
e22645de4f [Php80] Skip NullsafeOperatorRector on not identifier next and not listed expr next (Property,MethodCall, NullsafeMethodCall, NullsafePropertyFetch) (#895)
2021-09-16 18:03:04 +00:00
Tomas Votruba
2dbb59844b Updated Rector to commit 8684c8ad9371b3c135c32891a35c817c89223bcf
8684c8ad93 [Php80] Skip never null var value assign on NullsafeOperatorRector (#894)
2021-09-16 16:45:45 +00:00
Tomas Votruba
23a30acaf4 Updated Rector to commit af074c06a4c8470ab1e91c6fcaf4af9c2514a41d
af074c06a4 [Php74] Do not remove Array union doc not loaded class on TypedPropertyRector (#892)
2021-09-16 14:29:29 +00:00
Tomas Votruba
1257466608 Updated Rector to commit 00e0f49b9d0a07bf903b9c1b2d1be5a92608c1d5
00e0f49b9d [Php80] Skip Ternary indirect usage with null else on NullsafeOperatorRector (#891)
2021-09-16 10:24:17 +00:00
Tomas Votruba
6f36e4ebba Updated Rector to commit 9c52b6367df314666469b583e5a23c80750ed0f6
9c52b6367d [MysqlToMySqli][DeadCode] Handle MYSQL_TO_MYSQLI and DEAD_CODE SetList usage (#884)
2021-09-15 14:16:32 +00:00
Tomas Votruba
3c33781d44 Updated Rector to commit e3ede8cc038aeba008d99638f5b14b4444c45353
e3ede8cc03 [Php80] Skip if no direct usage next on NullsafeOperatorRector (#881)
2021-09-15 13:46:54 +00:00
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