12831 Commits

Author SHA1 Message Date
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
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
dfbd1733c6 Updated Rector to commit a10212419c9ce0f274c261be2ff1181e7b1ee70d
a10212419c [automated] Re-Generate preload.php (#831)
2021-09-05 00:37:33 +00:00
Tomas Votruba
e2b36a29b3 Updated Rector to commit 5b3b527a5119751f5ee173c95002e82a27f375d8
5b3b527a51 [automated] Apply Coding Standard (#833)
2021-09-05 00:28:26 +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
72d87f4e90 Updated Rector to commit 3c534be5876d9f5b3dc1ccb0e1a95ec7d664a789
3c534be587 [CodeQuality] Skip associative array on CallableThisArrayToAnonymousFunctionRector (#829)
2021-09-04 21:12:09 +00:00
Tomas Votruba
f0f83c459e Updated Rector to commit 3fb40fbfd818b4fd091577c200923cb903ff25ed
3fb40fbfd8 [CodeQuality] Skip class __construct method on CallableThisArrayToAnonymousFunctionRector (#830)
2021-09-04 21:09:04 +00:00
Tomas Votruba
85ce33543e Updated Rector to commit 76149718849f16bb452034fcaedacd1ae8a2bdd1
7614971884 [Rectify] Fix PHPStan includes neon config not found (#828)
2021-09-04 10:30:49 +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