Commit Graph

2702 Commits

Author SHA1 Message Date
Tomas Votruba
0aac56f223 Updated Rector to commit 7f5503ee0b414e5c48c1a6d5b5cce706caf65887
7f5503ee0b add some rules to reflection union e2e
2022-08-09 20:33:38 +00:00
Tomas Votruba
3b4fc37371 Updated Rector to commit 6459357ea31eddfda78fa9b843ff424646c3e260
6459357ea3 add some rules to define-constant e2e
2022-08-09 20:32:27 +00:00
Tomas Votruba
1e6e634436 Updated Rector to commit b4524cb2a2888af4425343ecd7544567a321ef9b
b4524cb2a2 add some rules to run
2022-08-09 20:25:57 +00:00
Tomas Votruba
024579b74a Updated Rector to commit 9fdc2eccec5aa38077dd1f9d634dd0353f36f84b
9fdc2eccec Bump deps (#2750)
2022-08-09 20:18:43 +00:00
Tomas Votruba
420929251c Updated Rector to commit 17257b860adf08f36e4504b6d7a444e5eef987a2
17257b860a remove duplicated test
2022-08-09 20:16:51 +00:00
Tomas Votruba
9348cb36bc Updated Rector to commit c8c3e82a05436c4c128fd6a5bb2a7207c24a7c53
c8c3e82a05 Move Nette extension from the core to the community (#2746)
2022-08-09 20:03:15 +00:00
Tomas Votruba
8885e287b6 Updated Rector to commit b9cc90c058942d82f84a68f3d1971b2db6b1601d
b9cc90c058 Make use of new types by fixed rector/phpstan-rules extensions (#2748)
2022-08-09 19:37:14 +00:00
Tomas Votruba
f7bb838601 Updated Rector to commit f0425bc3cb3d5855da1bff9c38b872a9003e357b
f0425bc3cb Improve scope, PHPStan extension types (#2747)
2022-08-09 13:39:17 +00:00
Tomas Votruba
83bdde50fe Updated Rector to commit 07b54b48ec70f8349a36239316ecf5fb2b79798a
07b54b48ec improve PhpDocInfo generics to local only
2022-08-09 10:07:17 +00:00
Tomas Votruba
1c1744236a Updated Rector to commit 46e473931522d6b843eb42e1d4fcd0dc7b86666c
46e4739315 remove nette from conflicting packages to allow split
2022-08-08 08:13:31 +00:00
Tomas Votruba
ba5ca07800 Updated Rector to commit b8fec6418f6bab31d807fc9eef4167aa74277847
b8fec6418f cleanup
2022-08-07 23:37:28 +00:00
Tomas Votruba
24d364b692 Updated Rector to commit cbe6271e16370118408bdea5fe6b8ea6eebe8f18
cbe6271e16 narrow core packages
2022-08-07 14:40:46 +00:00
Tomas Votruba
c79a46ee2a Updated Rector to commit d68bc4ccf6fca72f748cb3b9b80264901094b3d6
d68bc4ccf6 bump deps
2022-08-07 12:27:55 +00:00
Tomas Votruba
966de41565 Updated Rector to commit 81f3299a0d1a50b0d4c7a0d8b56c5677491fb1f8
81f3299a0d Add BinaryOpAnalyzer locally
2022-08-07 08:40:30 +00:00
Tomas Votruba
eb23cc5b15 Updated Rector to commit 86682e4848dcfaecdb6dac7d07ffcb4cd47e69bf
86682e4848 Less doc, move from NodeRemover from AbstractRector - use directly or remove nodes right at the moment - that creates safer tree (#2741)
2022-08-06 23:18:58 +00:00
Tomas Votruba
b9ad506421 Updated Rector to commit 86682e4848dcfaecdb6dac7d07ffcb4cd47e69bf
86682e4848 Less doc, move from NodeRemover from AbstractRector - use directly or remove nodes right at the moment - that creates safer tree (#2741)
2022-08-06 22:58:46 +00:00
Tomas Votruba
089ad6e357 Updated Rector to commit 86682e4848dcfaecdb6dac7d07ffcb4cd47e69bf
86682e4848 Less doc, move from NodeRemover from AbstractRector - use directly or remove nodes right at the moment - that creates safer tree (#2741)
2022-08-06 21:53:15 +00:00
Tomas Votruba
7e0a2dbc82 Updated Rector to commit 6ad7b03704e639c95759d14c67444009c3b93259
6ad7b03704 Revert Add class-string typehint to MethodCallRename (#2739)
2022-08-06 15:23:35 +00:00
Tomas Votruba
fda0b6ec7b Updated Rector to commit f4bc6c38446ac98e625a9c11c070e9829b4c6118
f4bc6c3844 [TypeDeclaration] Make anonymous class return specific type, if implements (#2738)
2022-08-06 15:04:36 +00:00
Tomas Votruba
0fb8d7623f Updated Rector to commit ea3a69918c8d314b5ef889e51c76612d849ccd2c
ea3a69918c [TypedDeclaration] Add MockObject property type support to TypedPropertyFromAssignsRector (#2737)
2022-08-06 11:55:51 +00:00
Tomas Votruba
3826cb9d2f Updated Rector to commit 51119207305038d0b0fcf778830dc6544d85ec46
5111920730 [TypeDeclaration] Skip data providers in AddArrayReturnDocTypeRector, they're overly complex and not helpful to type (#2736)
2022-08-06 11:43:02 +00:00
Tomas Votruba
f64e2f73c2 Updated Rector to commit c88bd7aa4389b0a75bef1fa05b10717c4891524b
c88bd7aa43 [Php80] Preserve int key defined not start from 0 on AnnotationToAttributeRector (#2735)
2022-08-05 14:06:15 +00:00
Tomas Votruba
ac89ac3559 Updated Rector to commit 502d0ad3805984c4e3c0a8c6636c1174068169fc
502d0ad380 [DeadCode] Handle assign in If_ cond on RemoveUnusedNonEmptyArrayBeforeForeachRector (#2734)
2022-08-05 09:27:15 +00:00
Tomas Votruba
80bfee9246 Updated Rector to commit 685dc702a0dc6c8490bf1d9c39f8a8072e4333f0
685dc702a0 Ability to yield files with names (#2732)
2022-08-04 19:19:43 +00:00
Tomas Votruba
aba621c9e4 Updated Rector to commit a494d7c4f634553f490da4a689c06cfc903d6bb9
a494d7c4f6 Clean up downgrade php path in configs (#2731)
2022-08-04 14:29:17 +00:00
Tomas Votruba
502082ac85 Updated Rector to commit b98dc27704c64122750d3bbae3731cb820ae8c11
b98dc27704 [Php80][TypeDeclaration] Handle UnionTypesRector+AddArrayReturnDocTypeRector on auto import FullyQualified doc (#2730)
2022-08-04 12:09:16 +00:00
Tomas Votruba
184a304008 Updated Rector to commit 61b6e86d17923a29a7dad1530a9dd82bc3bf5ee2
61b6e86d17 [DeadCode] Skip RemoveAlwaysTrueIfConditionRector on property use by @var docblock on Trait (#2729)
2022-08-03 18:36:26 +00:00
Tomas Votruba
b6c77d2814 Updated Rector to commit 3fba7c625c5903edc0f8069faf5b208761a16f9a
3fba7c625c [Php80] Skip default no stmt next is case on ChangeSwitchToMatchRector (#2728)
2022-08-03 18:07:32 +00:00
Tomas Votruba
d1e069db8a Rector 0.13.10 2022-08-03 12:48:10 +00:00
Tomas Votruba
9063100051 Updated Rector to commit f99f19cd4328009bad8aaeab7d80f7d920628bca
f99f19cd43 Add class-string typehint to MethodCallRename (#2726)
2022-08-03 12:38:40 +00:00
Tomas Votruba
1d28ca109c Updated Rector to commit 5ec4cff203f68d9578719b54ce3a145efb32bc79
5ec4cff203 [Php56] Handle jump not Expression stmt next initialized on AddDefaultValueForUndefinedVariableRector (#2725)
2022-08-02 06:46:18 +00:00
Tomas Votruba
ba5b70ed30 Updated Rector to commit ff1ba898a37496e467c64dc6428d0de8f097ef58
ff1ba898a3 [automated] Re-Generate Nodes/Rectors Documentation (#2724)
2022-07-31 00:37:06 +00:00
Tomas Votruba
a6d8dc9700 Updated Rector to commit 34cdbb73b4ba988dc143cc70eec766efa81f3345
34cdbb73b4 [Doc] Add documentation for parallel troubleshooting (#2722)
2022-07-30 05:43:06 +00:00
Tomas Votruba
8e833e3de5 Updated Rector to commit c19b953b849e12a67e506c536f9dedaf6c9185cb
c19b953b84 [Php56] Ensure return null on empty variable initialization after check with existing stmts on AddDefaultValueForUndefinedVariableRector (#2723)
2022-07-30 01:35:42 +00:00
Tomas Votruba
3bfd3cdb42 Updated Rector to commit 7ca5096c12deb3d0619bfcf3ed61b0b6e6737b35
7ca5096c12 [Php56] Skip already initialized on next Stmt on AddDefaultValueForUndefinedVariableRector (#2721)
2022-07-29 16:30:03 +00:00
Tomas Votruba
6420a4d2a1 Updated Rector to commit ec291c4358636e29c026f2d42d575470cde25c76
ec291c4358 Fix/do not inline constructor default when readonly (#2720)
2022-07-28 19:32:54 +00:00
Tomas Votruba
c4c169814e Updated Rector to commit d94353a0acb59823bb74013eb084dd6b302011f5
d94353a0ac bump scoper to 0.17.5
2022-07-28 15:27:12 +00:00
Tomas Votruba
8648c0bd93 Updated Rector to commit 8df791240b3896a75d6a3f45db3d3d64a5fd690f
8df791240b ExplicitMethodCallOverMagicGetSetRector fix (#2719)
2022-07-28 14:51:08 +00:00
Tomas Votruba
a5ec68bd9c Updated Rector to commit ec9c15adc729988276f3fe7b726609f913266f23
ec9c15adc7 Apply ParametersAcceptorSelectorVariantsWrapper::select() take 2 (#2718)
2022-07-28 14:06:21 +00:00
Tomas Votruba
963e52618c Updated Rector to commit 89bd84eafaab9ab66a4fcd6a1a4df67d15040732
89bd84eafa [DeadCode] Skip RemoveAlwaysTrueIfConditionRector on property use by @var docblock (#2717)
2022-07-27 18:51:59 +00:00
Tomas Votruba
28426800ab Updated Rector to commit d94ded9b22fff22e7923bb3158d56407e9f80897
d94ded9b22 stop on first id
2022-07-27 08:53:09 +00:00
Tomas Votruba
6d34684c5a Updated Rector to commit 69d3c92b00fd4cd4f435cd8974e5547251b5065e
69d3c92b00 [Php80] Add MixedTypeRector (#2701)
2022-07-27 08:28:59 +00:00
Tomas Votruba
f6efaa732c Updated Rector to commit fe0551e374df78c4bbcd4c4e0523a4b50a3bb9c8
fe0551e374 [TypeDeclaration] Handle crash on intersection in Union type on AddMethodCallBasedStrictParamTypeRector (#2704)
2022-07-27 08:06:26 +00:00
Tomas Votruba
432a6c19f9 Updated Rector to commit 4ed677db2cf86ba5db10c5727e2ed815a5700491
4ed677db2c Fix/early return inline constructor default 7319 (#2716)
2022-07-27 08:05:36 +00:00
Tomas Votruba
a9e67f6f71 Updated Rector to commit a01813086429b7548a4ef015cc874471c169da65
a018130864 [DowngradePhp81] Handle no scope on DowngradeFirstClassCallableSyntaxRector inside ArrayItem (#2709)
2022-07-27 08:02:59 +00:00
Tomas Votruba
33706ccdea Updated Rector to commit 32834d053a5f5eec0f9fb9af80cad1bfce8b6c53
32834d053a [DeadCode] Handle crash on negation class const fetch with static:: and parent:: on RemoveDeadZeroAndOneOperationRector (#2714)
2022-07-26 14:50:37 +00:00
Tomas Votruba
a746965f93 Updated Rector to commit f0df3c5101f4b9465708589a2c13027bc84f898c
f0df3c5101 [CodingStyle] Skip has static call call non static method on StaticArrowFunctionRector and StaticClosureRector (#2713)
2022-07-26 12:51:56 +00:00
Tomas Votruba
7efa43947f Updated Rector to commit ce22a82f851781d39fb89479800d15a98b7f453b
ce22a82f85 [Php81] Skip Doctrine ORM MappedSuperClass attribute on ReadOnlyPropertyRector (#2712)
2022-07-26 07:09:01 +00:00
Tomas Votruba
317c26e88c Updated Rector to commit bd4a7327a566b028c47dfeaa4a88fd153a20bde9
bd4a7327a5 doc: fix visibility should not change (#2711)
2022-07-25 20:31:54 +00:00
Tomas Votruba
fad0b90180 Updated Rector to commit 3f3fc412140becdc86cc43a6ef87b5be495c9444
3f3fc41214 [CodeQuality][CodingStyle] Handle crash assert( >= 0 &&  >= 0) on combination CodeQuality and CodingStyle rules (#2707)
2022-07-25 20:13:13 +00:00