4402 Commits

Author SHA1 Message Date
Tomas Votruba
1c439c5835 Updated Rector to commit 6ee381754bad543713d7d6661cdde18bdeec4425
6ee381754b [DeadCode] Skip Array Callable dynamic method on RemoveUnusedPrivateMethodRector (#909)
2021-09-21 20:03:28 +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
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
4728cc7a69 Updated Rector to commit 0315a82d57436e6c7ae4b73766708ad814059b74
0315a82d57 Add new option for auto importing names (#764)
2021-09-16 21:56:43 +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
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
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
ca094bb20d Updated Rector to commit fa63510c6f5fad39068b9b257aa845b429efafa9
fa63510c6f [PHPStan] PHPStan fixes after update symplify (#876)
2021-09-13 15:56:50 +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
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
46d03714d0 Updated Rector to commit 95bf5aa61fcd772a0d038f28a7ad2388d0a641c0
95bf5aa61f [automated] Re-Generate Nodes/Rectors Documentation (#870)
2021-09-12 00:30:25 +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
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
2af3b965d3 Updated Rector to commit 1e6dfd240ec6d109e0d8c0828bed1d40f450c581
1e6dfd240e [PHPStan] Clean up ignore error messages (#846)
2021-09-08 06:39:19 +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
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
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
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
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
101d911aaa Updated Rector to commit 25ac38e726e006fa272da7f38bfa94e625ab1818
25ac38e726 [DX] add link to first line of diff (#771)
2021-08-26 12:11:00 +00:00
Tomas Votruba
6651eadd37 Updated Rector to commit d8a67258798255875bdd8d0d983d89d61e957c88
d8a6725879 NarrowUnionTypeDocRector should skip literal strings (#763)
2021-08-26 08:18:15 +00:00
Tomas Votruba
870f7748a6 Updated Rector to commit 5b5b94b00237846b27d680a477736c275457da82
5b5b94b002 [StaticTypeMapper] Add ParentStaticType support to NameNodeMapper for parent return type (#765)
2021-08-26 08:01:40 +00:00
Tomas Votruba
15c1876627 Updated Rector to commit 4731c3f5e15b8696a62d365b761659463fb9552f
4731c3f5e1 [CS] Cs Fix config Skip AssignmentInConditionSniff FoundInWhielCondition (#767)
2021-08-26 04:42:58 +00:00
Tomas Votruba
f6bf813917 Updated Rector to commit aa2221058197470ae92b55574bb35e676a441837
aa22210581 [Php80] Handle Iterable typed on ClassPropertyAssignToConstructorPromotionRector (#753)
2021-08-25 07:00:32 +00:00
Tomas Votruba
ed5842f8aa Updated Rector to commit 6ff80ba037f2467bb492e120ba942e44fd1ab8e1
6ff80ba037 [DeadCode] Skip RemoveUnusedNonEmptyArrayBeforeForeachRector on native Variable (#748)
2021-08-24 05:31:50 +00:00
Tomas Votruba
c7b2129f64 Updated Rector to commit 7eb5e75cda2e0dc95198ec3841084792fac844fb
7eb5e75cda [Php80] Copy PhpDocInfo values on ClassPropertyAssignToConstructorPromotionRector (#744)
2021-08-23 11:12:57 +00:00
Tomas Votruba
ba205b46bb Updated Rector to commit 68d410ef00d15ca5e373a33fd66d593e0d3de346
68d410ef00 Trigger notification (#741)
2021-08-23 00:20:32 +00:00
Tomas Votruba
674f76ced2 Updated Rector to commit 877cbb2de8150b672a966d7a8907ed63769e1cdd
877cbb2de8 fix(scoper): prefix vendor classes from PHPDoc, close #6614 (#739)
2021-08-22 23:17:31 +00:00
Tomas Votruba
bdc1df40d9 Updated Rector to commit 1cc465b4d508238445494313f04a6a56d4e8ca1d
1cc465b4d5 [CodingStyle] Skip RemoveUnusedAliasRector when same class in use statement exists, but not used (#732)
2021-08-22 21:22:18 +00:00
Tomas Votruba
abe47f2ff5 Updated Rector to commit af1cbb92fdd8792ea2020a08e546efe4adfc1701
af1cbb92fd [Core] Add Smarty Support for PhpFilesFinder check non-PHP files (#736)
2021-08-22 21:06:43 +00:00