269 Commits

Author SHA1 Message Date
Tomas Votruba
f6dfd556b7 Updated Rector to commit 687f9e9de9d5b25cdef988b8572d30f21ad42ea9
687f9e9de9 Clean up PHPStan ignore error messages (#954)
2021-10-05 05:07:42 +00:00
Tomas Votruba
f9c50ad2b9 Updated Rector to commit 1f63ed3e55553cff1e2ef4c579a29ae8308dd90d
1f63ed3e55 Reworking trait scope run (#952)
2021-10-04 21:24:17 +00:00
Tomas Votruba
9d6051f97f Updated Rector to commit 6bfe0133002f30d16489deb9ef6028efdbbaa795
6bfe013300 [NodeCollector] Add ArrayCallableDynamicMethod value object (#951)
2021-10-03 08:23:40 +00:00
Tomas Votruba
da81700dfe Updated Rector to commit 0b84824190447f3d35ac7bdca62723d889957fe6
0b84824190 [Renaming] Skip rename Name when parent is Namespace_ equal to target name on RenameClassRector (#942)
2021-10-02 09:50:46 +00:00
Tomas Votruba
9c7734ab41 Updated Rector to commit 363e7910e7360dcee746370de90c3c51eae306a9
363e7910e7 Bump EndBug/add-and-commit from 7.2.1 to 7.4.0 (#943)
2021-10-01 11:43:12 +00:00
Tomas Votruba
027f7f71ea Updated Rector to commit ffa3915630243f31a1c3ee99defc7a615fc3f505
ffa3915630 fix getArgs() missing in phpstan scoped version in rector-src packages (#936)
2021-09-30 13:38:25 +00:00
Tomas Votruba
75becd3a6c Updated Rector to commit 01b39f585bc2b445b67ade5f9d8e67fce04f3a5d
01b39f585b Remove moved phsptan rules (#933)
2021-09-30 12:35:12 +00:00
Tomas Votruba
82e31fbd26 Updated Rector to commit d21dcc3ce357fade02860ae611a6d1baf7dcc975
d21dcc3ce3 [Renaming] Fully Qualified import doc same name renaming class error (#926)
2021-09-28 05:01:55 +00:00
Tomas Votruba
73d7212e05 Updated Rector to commit 17cfa9f376b5b4a00a34e3b09ac48e7bd812be3f
17cfa9f376 Update to nikic/php-parser 4.13.0 (#904)
2021-09-27 15:43:15 +00:00
Tomas Votruba
9543fa704d Updated Rector to commit 59aded96ec9ed304fcff2c638075d222c5e7b8c6
59aded96ec bump symplify version
2021-09-27 12:26:58 +00:00
Tomas Votruba
4e6d051524 Updated Rector to commit f2132237d628f96c26c2120a83801500556614c6
f2132237d6 [automated] Apply Coding Standard (#922)
2021-09-26 00:28:25 +00:00
Tomas Votruba
6dcaaef071 Updated Rector to commit 49314dc3d4918988d83270ab104e347a97e46d46
49314dc3d4 [DX] Add PhpUpgradeImplementsMinPhpVersionInterfaceRule (#910)
2021-09-24 14:11:08 +00:00
Tomas Votruba
038e6331b2 Updated Rector to commit ddd8e8590204619d9273705f9e6a44cd11bacbcd
ddd8e85902 [DeadCode] Only remove private property from current class on RemoveUnusedPrivatePropertyRector (#917)
2021-09-24 10:23:02 +00:00
Tomas Votruba
70b25e6efb Updated Rector to commit 57a6d7af31dd2a0c38b96677c7c3e441cfd64401
57a6d7af31 [NodeTypeResolver] Skip Auto Import from doc on sub namespace class exists when already in use statement by other namespace (#913)
2021-09-23 08:01:36 +00:00
Tomas Votruba
8ae17f0c0a Updated Rector to commit 5ff4058f93d323ff2f1f43fba16ccb8521b5c0ae
5ff4058f93 [NodeTypeResolver] Skip Auto import from doc in used namespace on NameImportingPhpDocNodeVisitor (#912)
2021-09-22 17:53:44 +00:00
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
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
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
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
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
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
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
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
46d03714d0 Updated Rector to commit 95bf5aa61fcd772a0d038f28a7ad2388d0a641c0
95bf5aa61f [automated] Re-Generate Nodes/Rectors Documentation (#870)
2021-09-12 00:30:25 +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
a41d82e567 Updated Rector to commit 40bd8926d38e7b1c057b3d52b811e8daa74c31a4
40bd8926d3 [Php80][Naming] Handle ClassPropertyAssignToConstructorPromotionRector + RenamePropertyToMatchTypeRector (#861)
2021-09-10 08:55:02 +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
2af3b965d3 Updated Rector to commit 1e6dfd240ec6d109e0d8c0828bed1d40f450c581
1e6dfd240e [PHPStan] Clean up ignore error messages (#846)
2021-09-08 06:39:19 +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
8303b46898 Updated Rector to commit 0779c402c3a994821b56fa24bae2baa14f996e14
0779c402c3 [automated] Re-Generate Nodes/Rectors Documentation (#832)
2021-09-05 00:27:40 +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
73cb9e40d3 Updated Rector to commit 89ca42d7c18c97b8076c4d6d40dfdd16a9ee9e16
89ca42d7c1 [TypeDeclaration] Skip callable on AddArrayParamDocTypeRector (#815)
2021-09-03 09:26:46 +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
8fbb6d4a84 Updated Rector to commit 511a076211be7d2387961bddd75f88f5d33a0bd9
511a076211 bump nette
2021-09-01 00:12:38 +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
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
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
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