12819 Commits

Author SHA1 Message Date
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
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
739a589996 Updated Rector to commit cc69e35e53efe59e2858f75fd339e4d94211a54c
cc69e35e53 fix cs
2021-09-02 15:26:14 +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
e152aa2ab8 Updated Rector to commit 2ea6e90e100a39e5fa7450b5b1eae5418e565463
2ea6e90e10 add paths to rector init
2021-09-02 11:45: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