12782 Commits

Author SHA1 Message Date
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
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
09fd3dac67 Updated Rector to commit 853fdee039e3ce5339d54947f0ca4cbaa9008978
853fdee039 Allowing future versions of phpstan (#810)
2021-09-01 20:24:07 +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
e47937dc01 Updated Rector to commit f74b7f617a026f24022b0268cd20775bde1d4288
f74b7f617a [PHPStan] Clean up PHPStan ignore errors config (#805)
2021-08-31 21:46:14 +00:00
Tomas Votruba
81454a9154 Updated Rector to commit 93f0232d7faf8ba64e1475846b9ee5c9fc6a9663
93f0232d7f Bump deps (#804)
2021-08-31 19:26:04 +00:00
Tomas Votruba
9c8dad9aed Updated Rector to commit 25d3555abd08d7a97cba1621096dc07a33084aa0
25d3555abd [EarlyReturn] Clean up ChangeOrIfReturnToEarlyReturnRector skip check (#800)
2021-08-31 15:21:01 +00:00
Tomas Votruba
52dd92cc24 Updated Rector to commit 2e18cab758224ac96e6affa2fb71f97a1526dfa7
2e18cab758 [EarlyReturn] Skip left or right is BooleanAnd on ChangeOrIfReturnToEarlyReturnRector (#799)
2021-08-31 15:10:56 +00:00
Tomas Votruba
d807beef93 Updated Rector to commit c42b1969ce3d7d22a0f57beca1e0373e0730c84f
c42b1969ce [EarlyReturn] Handle Next Node is null on ChangeOrIfReturnToEarlyReturnRector (#798)
2021-08-31 13:22:32 +00:00
Tomas Votruba
d5b84771d3 Updated Rector to commit 4d60c23f7ca299b8fce8e8a71dc766dae9122e0e
4d60c23f7c [EarlyReturn] Skip same return expr on ChangeOrIfReturnToEarlyReturnRector (#797)
2021-08-31 13:04:35 +00:00
Tomas Votruba
13cd556d23 Updated Rector to commit 654d4a2a2ba408a3143a5a11a775750b90b27866
654d4a2a2b [EarlyReturn] Skip ChangeOrIfReturnToEarlyReturnRector on next node is null or return void (#796)
2021-08-31 12:32:29 +00:00
Tomas Votruba
798dab0ffa Updated Rector to commit 9247ba932a695da7fff0d86d7431197cccda974b
9247ba932a [CodeQuality][EarlyReturn][TypeDeclaration] Handle ChangeOrIfReturnToEarlyReturnRector + ChangeAndIfToEarlyReturnRector + AddArrayReturnDocTypeRector + NarrowUnionTypeDocRector (#795)
2021-08-31 11:46:24 +00:00
Tomas Votruba
1fc57a8fc7 Updated Rector to commit 3e5ecbc2510f756ac0ef9c5b6f0526c451ae5a98
3e5ecbc251 [CodeQuality][EarlyReturn] Handle ChangeOrIfReturnToEarlyReturnRector + ChangeAndIfToEarlyReturnRector + DateTimeToDateTimeInterfaceRector (#794)
2021-08-31 09:42:40 +00:00
Tomas Votruba
be5c11b4f1 Updated Rector to commit 9fee4dd2978997b62a8ec277a9550c536d1c750b
9fee4dd297 [CodingStyle] Handle complex If_ ElseIf_ Else_ Try Catch Finally on on NewlineAfterStatementRector (#793)
2021-08-31 02:36:59 +00:00
Tomas Votruba
9365e8bb88 Updated Rector to commit 170a09fac23f90ea2db6490a8777133a61e9cf48
170a09fac2 [CodingStyle] Add more statements for NewlineAfterStatementRector (#792)
2021-08-30 17:24:27 +00:00
Tomas Votruba
f6696f636b Updated Rector to commit ec7c68f940e4ca49baa918d5aaceca1a1ed89152
ec7c68f940 [CodingStyle] Handle null item on ManualJsonStringToJsonEncodeArrayRector (#791)
2021-08-30 16:22:59 +00:00
Tomas Votruba
e934dd7526 Updated Rector to commit 505843774379b875c64ed612f2bdc5bae2d769f6
5058437743 [DeadCode] Skip RecastingRemovalRector on has __set() and __get() (#790)
2021-08-30 08:29:49 +00:00
Tomas Votruba
d5dde5695b Updated Rector to commit f257b10df15331bc6bf3cfa9fc2c44b685a0076b
f257b10df1 [DeadCode][CodeQuality] Handle SimplifyIfElseToTernaryRector + RemoveUnusedAssignVariableRector (#789)
2021-08-30 08:28:08 +00:00
Tomas Votruba
5fcab9b1bb Updated Rector to commit a81fd4e050c40ff4de5852d6211eb6865ba7e622
a81fd4e050 [CodingStyle] Add NewlineAfterStatementRector (#787)
2021-08-30 08:27:47 +00:00
Tomas Votruba
c863551bf5 Updated Rector to commit 13bf95408919847d7c81887dbaae6b5979c52432
13bf954089 [CodingStyle] Handle ClassConstFetch on RemoveUnusedAliasRector (#785)
2021-08-29 11:59:15 +00:00
Tomas Votruba
3136ede1f3 Updated Rector to commit dd49d3874b66431c17e8f6ca7f3e95c763afe497
dd49d3874b [CodingStyle] Handle Nullable Type and under intanceof for RemoveUnusedAliasRector (#784)
2021-08-28 13:03:07 +00:00
Tomas Votruba
9ba6923f97 Updated Rector to commit 541e40b48fd80ba38eb1cc17bbcfb28a639a104e
541e40b48f [IDE-refactoring cleanup] Remove rather custom PassFactoryToEntityRector and NewUniqueObjectToEntityFactoryRector rules, better use PHPStorm there (#783)
2021-08-27 14:31:16 +00:00
Tomas Votruba
0a4e8e9f91 Rector 0.11.52 0.11.52 2021-08-27 13:02:41 +00:00
Tomas Votruba
681b789419 Updated Rector to commit 130b634b5e348554c3349ed3b3f52fa3d08bfb6e
130b634b5e [PHP 8.0] Skip union types docs to code with soft vendor lock (#781)
2021-08-27 12:56:21 +00:00
Tomas Votruba
dbe62b466e Updated Rector to commit d8b3be9bfbd9b8b48f6d1fa8338ebdf7a9c53260
d8b3be9bfb [Arguments] Make ArgumentAdderRector notify user only on changed args (#780)
2021-08-27 12:14:08 +00:00
Tomas Votruba
93d1862ed9 Updated Rector to commit 7db36d3840997e71306e380996548c5cfe076b5d
7db36d3840 fix cs
2021-08-27 11:23:25 +00:00
Tomas Votruba
a0c7c7cff7 Updated Rector to commit e509007269d4deb5ef54a2c264e004f2530af558
e509007269 [CodingStyle] Skip PreferThisOrSelfMethodCallRector to self when class method is not static (#779)
2021-08-27 10:45:51 +00:00
Tomas Votruba
54f4789e3e Updated Rector to commit b2c44bfdb00ab1842f3b41899bf8439d5b87eef1
b2c44bfdb0 [DowngradePhp72] Handle anonymous class override class method on DowngradeParameterTypeWideningRector (#777)
2021-08-27 09:14:46 +00:00
Tomas Votruba
5c16de9351 Rector 0.11.51 0.11.51 2021-08-26 17:03:37 +00:00
Tomas Votruba
d30cad9585 Updated Rector to commit 646b2079f1058a59d1a705de23b2bf11e5b802cf
646b2079f1 bump rector-doctrine deps
2021-08-26 16:58:29 +00:00
Tomas Votruba
d6d111fcef Rector 0.11.50 0.11.50 2021-08-26 16:49:45 +00:00
Tomas Votruba
1033007eb3 Updated Rector to commit afd74b1d81b773bb0f1f7fd715f61f06de4064b5
afd74b1d81 Pre-live demo release 😊 (#776)
2021-08-26 16:44:40 +00:00
Tomas Votruba
f5b573b423 Updated Rector to commit 5eb2736971a5e70dd3e6e4c5287ae9efb19070fb
5eb2736971 [BetterPhpDocParser] Move PhpDocFromTypeDeclarationDecorator from DowngradePhp71 to BetterPhpDocParser (#773)
2021-08-26 15:41:38 +00:00
Tomas Votruba
e51cedcf3e Updated Rector to commit e6751a18c7ec5e74a4cfeb54bec40bc301f21efb
e6751a18c7 [ECS] Import SetList ECS after Option Skip (#775)
2021-08-26 14:13:36 +00:00
Tomas Votruba
d60eb4ca83 Updated Rector to commit 4c3a8a75bbefa0b08da10bb22dee3dac53033a41
4c3a8a75bb [ECS] Import Control Structure SetList after Option Skip (#774)
2021-08-26 14:05:34 +00:00