12840 Commits

Author SHA1 Message Date
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
96d71cf14e Updated Rector to commit be1cdc059de69fc6f3f2f51644182684904d1004
be1cdc059d Documenting a solution for missing classes (#889)
2021-09-15 18:23:02 +00:00
Tomas Votruba
6d77d9e9fd Updated Rector to commit ae01efed9cfc6a429779090a0b23f500ca9cb81d
ae01efed9c Bump Symfony to stable 5.3 (#888)
2021-09-15 15:39:55 +00:00
Tomas Votruba
3c1803d625 Updated Rector to commit 36804979111ac8ece639d35d8640eee3b6efd28e
3680497911 Fix broken link in README.md (#887)
2021-09-15 15:25:23 +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
2302d08be2 Updated Rector to commit e834a762851bcd9a1bcdbd287658e9977405147a
e834a76285 [DeadCode] Skip static property fetch with public modifier on RemoveUnusedPrivatePropertyRector (#883)
2021-09-15 14:02:00 +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
e77f1f4aac Updated Rector to commit 474024f9bf7ba2430079f3ab8eda8eac5c26c1a5
474024f9bf [Scoper] Fix bootstrap BackedEnum code (#877)
2021-09-13 16:14:59 +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
d26692f941 Updated Rector to commit 570f9b79704f372d5f1bd0dcd86e42b32e787c5a
570f9b7970 [Core] Remove unneded check ->autowiredClassMethodOrPropertyAnalyzer->detect() after negation if return early on ClassDependencyManipulator (#875)
2021-09-13 13:59:19 +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
57a0ba415f Updated Rector to commit e2fb0079bcbfc5891395aa177955bfa325d7f1ba
e2fb0079bc Do not add space if empty string (#868)
2021-09-12 10:31:48 +00:00
Tomas Votruba
87c06a71d8 Updated Rector to commit 5cb0918b5d8de5ff4a20545edd4d3ebeaea629db
5cb0918b5d [automated] Apply Coding Standard (#871)
2021-09-12 00:31:22 +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
b2f416d234 Updated Rector to commit 0c36bf87697e35498859e46682f5dc4d786d2ed4
0c36bf8769 [Doc] Autoload Troubleshooting (#860)
2021-09-10 09:39:55 +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
110c96451d Rector 0.11.53 0.11.53 2021-09-09 18:12:42 +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
78eea42d27 Updated Rector to commit efeb36c66d56bd11a096a8cab0652f0552b5cc77
efeb36c66d [Core] Use nodesToAddCollector property in AbstractRector (#857)
2021-09-09 05:22:03 +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
791aa1f82e Updated Rector to commit 8cb3c74c558a7f90e5809a712ba3134ac9708f73
8cb3c74c55 [TypeDeclaration] Rename fixture skip tests on ReturnTypeDeclarationRector (#850)
2021-09-08 12:20:45 +00:00
Tomas Votruba
c909d9293e Updated Rector to commit 9ead24f11623dd1741179e3b755713bfd3079b97
9ead24f116 [TypeDeclaration] Skip child class method return parent class on ReturnTypeDeclarationRector (#849)
2021-09-08 12:06:06 +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
c87d047aa8 Updated Rector to commit ba8211afeaa67d44b7dd563730df8d9ba341cf51
ba8211afea [TypeDeclaration] Skip Child return mixed on ReturnTypeDeclarationRector (#843)
2021-09-07 06:02:28 +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
3f9c17b717 Updated Rector to commit ee95517c5dec40c1deb6040e93ae34fe91d06b97
ee95517c5d [TypeDeclaration] Handle object|static return on ReturnTypeDeclarationRector (#840)
2021-09-06 12:31:44 +00:00
Tomas Votruba
16f43dddb2 Updated Rector to commit 2c84f127e9172193e1b04567e699bd0f9befc312
2c84f127e9 [TypeDeclaration] Handle PHPStan\Type\Accessory\HasMethodType on PropertyTypeDeclarationRector (#839)
2021-09-06 10:42:18 +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
cf99b1fc76 Updated Rector to commit f2bec56f5fc71210e1c9c639c45358e11cc61d37
f2bec56f5f [CodeQuality] Skip CallableThisArrayToAnonymousFunctionRector in trait (#835)
2021-09-05 03:53:17 +00:00