12764 Commits

Author SHA1 Message Date
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
Tomas Votruba
828ac88b4d Updated Rector to commit c25405412147909dbc90b3fe12168e64837786ea
c254054121 [DowngradePhp71] Using exact same type on PhpDocFromTypeDeclarationDecorator::isMatchingType() (#772)
2021-08-26 12:17:35 +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
c65dc5320c Updated Rector to commit f39c01e545962d543bfb1fa9ef6bca2aaa4c80c9
f39c01e545 [DowngradePhp71] Using exact same type on PhpDocFromTypeDeclarationDecorator (#770)
2021-08-26 11:54:28 +00:00
Tomas Votruba
823de556b6 Updated Rector to commit 2665992c170b71c03458315bfc1ae2264d68e926
2665992c17 [Scoper] Exclude parent return on DowngradeStaticTypeDeclarationRector (#769)
2021-08-26 11:24:01 +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
e24c6f3de1 Updated Rector to commit 47ad54dfc8bbeed5880ba95c0424dd41a01d209b
47ad54dfc8 [DowngradePhp72] Skip implements built in interface method on DowngradeParameterTypeWideningRector (#766)
2021-08-26 08:02:58 +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
536a2b5d5d Updated Rector to commit fff52c329a8bbfde8f4ac6e6835a5de67af2a0be
fff52c329a [RuleDefinition] Fix Sample Code docs generation (#768)
2021-08-26 04:53:55 +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
f79530ca16 Updated Rector to commit db9cfd650d035d1a15e269ff1c55c7743902365e
db9cfd650d [DowngradePhp71] Apply DowngradeIterablePseudoTypeDeclarationRector on closures as well (#6662) (#760)
2021-08-25 11:32:12 +00:00
Tomas Votruba
859d7f17f3 Updated Rector to commit 3603d73c98825cf5f105b890afcbabdbd5f3a9bf
3603d73c98 [Scoper] Fix Cannot autowire service RectorPrefix20210825HelmichTypoScriptParserParserTraverserTraverser (#759)
2021-08-25 10:31:55 +00:00
Tomas Votruba
0534ffdc06 Updated Rector to commit 4520aaaefc4480cdb15593184c0afa0646b0f291
4520aaaefc [Php56] Skip AddDefaultValueForUndefinedVariableRector on has InlineHTML (#757)
2021-08-25 08:30:13 +00:00
Tomas Votruba
4e2d5cfdcf Updated Rector to commit 991ea06c15009442d0a59d8503440681260ae612
991ea06c15 Fix wrong docs for ArgumentRemoverRector (#758)
2021-08-25 07:50:25 +00:00
Tomas Votruba
a8425b1ef2 Updated Rector to commit f78ffe3e9131e7c3fa94c8fe9d467517c4f01449
f78ffe3e91 [TypeDeclaration] Skip ParamTypeDeclarationRector on NullType (#756)
2021-08-25 07:03:20 +00:00
Tomas Votruba
cf026995d8 Updated Rector to commit f9ee33b4e4699c62c1a96c53ca921e8454e7f12f
f9ee33b4e4 [DowngradePhp70] Add DowngradeParentTypeDeclarationRector (#755)
2021-08-25 07:01:24 +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
3ef41cfa94 Updated Rector to commit 885ef768e50b8ef86bdf2eb99e290f5dccebd8c1
885ef768e5 [Php80] Handle Generic TemplateType on ClassPropertyAssignToConstructorPromotionRector (#751)
2021-08-24 14:55:08 +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