5619 Commits

Author SHA1 Message Date
Tomas Votruba
dcc3c616a4 Updated Rector to commit 59cf4dd699aff10f3cd59bdfc11236651200383a
59cf4dd699 [DX] Validate rules no longer exists on $rectorConfig->skip() (#4728)
2023-08-09 09:13:23 +00:00
Tomas Votruba
6703dc85ab Updated Rector to commit ea91c99695a8a8108bad4428c7febcf4222a363d
ea91c99695 Reduce private accessor usage on get parent class name not autoload (#4726)
2023-08-09 02:16:25 +00:00
Tomas Votruba
62bbbc5de1 Updated Rector to commit 662cbb9e6b9cf4842d833965dceed8eec77a0e17
662cbb9e6b [DX] Laravel container + test case improvements (#4725)
2023-08-08 16:32:19 +00:00
Tomas Votruba
5602ee85cd Updated Rector to commit 3de7c697f5adc910481ff5873674284b2836dc50
3de7c697f5 [DX] Remove *AnnotationIncorrectNullableRector rules as works with unreliable docblocks and can have 2 solutions (#4719)
2023-08-08 13:25:26 +00:00
Tomas Votruba
57a69ad4a0 Updated Rector to commit b00b694fc423331a17c02f2ad225fbbacc750d2a
b00b694fc4 [DX] Cache rector test config loading by file + class to avoid booting over and over per fixture (#4718)
2023-08-08 10:04:25 +00:00
Tomas Votruba
cd0b3a7cca Updated Rector to commit 6e9378e3bf2a4ae78fb53d93e193be473ffcb5d4
6e9378e3bf [DX] Merge RectorOutputStyle, OutputStyleInterface to RectorStyle (#4711)
2023-08-07 21:49:15 +00:00
Tomas Votruba
341eb6df44 Updated Rector to commit fe9d91c0c0f9553e27dfae17a391236f27498e5c
fe9d91c0c0 [DX] Make use of Laravel container - step #14 (#4709)
2023-08-07 18:15:37 +00:00
Tomas Votruba
5ff5bf0287 Updated Rector to commit 58f3e0cb15ccf65e9a364da08b272d9313554623
58f3e0cb15 [DX] Make use of Laravel container - step #13 (#4708)
2023-08-07 17:58:20 +00:00
Tomas Votruba
ce76f6974a Updated Rector to commit efdbf98138d1bdd2e864c9e4abcfc53f7b88b3f0
efdbf98138 Fix build (#4706)
2023-08-07 16:31:04 +00:00
Tomas Votruba
6b04a1549b Updated Rector to commit 734233107cae347d5987f3f2e9d1c5c69a4db3fa
734233107c [PHPStanStaticTypeMapper] Remove #[Required] on IntersectionTypeMapper (#4705)
2023-08-07 16:22:19 +00:00
Tomas Votruba
f4aa905f07 Updated Rector to commit 92b6e3a6d1e9a4289b5347e52f1cf379a68d74b4
92b6e3a6d1 [TypeDeclaration] Use return bool for ParentClassMethodTypeOverrideGuard::hasParentClassMethod(), return ?MethodReflection for ParentClassMethodTypeOverrideGuard::getParentClassMethod() (#4703)
2023-08-07 13:20:45 +00:00
Tomas Votruba
dd899d3abb Updated Rector to commit 41a4d2456cde167c50c628f62aa5587689c0a8b5
41a4d2456c fix variable name (#4704)
2023-08-07 13:06:07 +00:00
Tomas Votruba
a68d89f0cc Updated Rector to commit 6f1f2676d45d2c514d567bdb52cfbb06c8b3db53
6f1f2676d4 [DX] Various injection and tests details improvement (#4702)
2023-08-07 12:16:32 +00:00
Tomas Votruba
ad2ad2a097 Updated Rector to commit 77258018af10a7c23477831e0eab49dd7c0b2bfe
77258018af Trigger Rectify (#4701)
2023-08-07 11:02:42 +00:00
Tomas Votruba
4cf14d6438 Updated Rector to commit 493e4f89c9f9a033668301cd4eee4df7e77df0cb
493e4f89c9 Skip code changes on unresolvable/unknown classes (#4619)
2023-08-07 10:55:35 +00:00
Tomas Votruba
60a90b19ce Updated Rector to commit 73112a253e40199adda14259717e4d8c630c97d1
73112a253e [StaticTypeMapper] Remove #[Required] on IntersectionTypeMapper (#4700)
2023-08-07 10:02:12 +00:00
Tomas Votruba
fa20ce4ba0 Updated Rector to commit bb284f658574249ce2f2da444b8c0d982b811819
bb284f6585 [PHPStanStaticTypeMapper] Reduce autowire() parameter on ArrayTypeMapper (#4696)
2023-08-07 05:11:00 +00:00
Tomas Votruba
16793c8988 Updated Rector to commit a459f5ac61ecfd01d680ef5ffb825471ad3cb11b
a459f5ac61 [StaticTypeMapper] Remove #[Required] on UnionTypeMapper (#4695)
2023-08-07 04:54:00 +00:00
Tomas Votruba
820a69e070 Updated Rector to commit a95f628548976913ef6dd480c8f07897ec4140c4
a95f628548 [NodeTypeResolver] Remove #[Required] on NameTypeResolver (#4694)
2023-08-07 04:29:55 +00:00
Tomas Votruba
50dd6616d2 Updated Rector to commit 0f15b99a2c4b942273a848947ea342c4651e12bf
0f15b99a2c [StaticTypeMapper] Reduce autowire() parameter on NameScopeFactory (#4692)
2023-08-07 04:18:10 +00:00
Tomas Votruba
74fa2941c2 Updated Rector to commit 35a594b090ffd56a8fcb8fc56b9afcd22842655c
35a594b090 [StaticTypeMapper] Remove #[Required] on NullableTypeNodeMapper (#4690)
2023-08-07 03:53:35 +00:00
Tomas Votruba
76dd6da79d Updated Rector to commit 09148f1362885429bd766199425c510d6a2629d3
09148f1362 [StaticTypeMapper] Remove #[Required] on UnionTypeNodeMapper (#4689)
2023-08-07 03:37:55 +00:00
Tomas Votruba
9fac241be1 Updated Rector to commit e9a97469558e5e154a185bae388f214e1f0d5c56
e9a9746955 [PhpParser] Remove #[Required] on ClassLikeAstResolver (#4688)
2023-08-07 03:26:51 +00:00
Tomas Votruba
d2266d0a76 Updated Rector to commit 0d62894545caec468b9ff170cfcf0566ccab6d3d
0d62894545 [StaticTypeMapper] Remove #[Required] on IntersectionTypeNodeMapper (#4687)
2023-08-07 03:12:44 +00:00
Tomas Votruba
7ca77f9bcd Updated Rector to commit efd17bd9794f5b7600dda714eeee72281ff69216
efd17bd979 [DX] Make use of Laravel container in few tests - step #6 (#4683)
2023-08-06 20:22:42 +00:00
Tomas Votruba
4155e20b7b Updated Rector to commit fa648ed4f015ebc5a3d70b23ff8003b67ff271ee
fa648ed4f0 [DX] Make use of Laravel container in few tests - step #5 (#4682)
2023-08-06 19:48:32 +00:00
Tomas Votruba
b4217dc9cd Updated Rector to commit 3a048f6f6a6614a46eea06abffb7324b15fdc9dc
3a048f6f6a [DX] Make use of Laravel container in few tests - step #4 (#4681)
2023-08-06 17:22:21 +00:00
Tomas Votruba
38829f40f1 Updated Rector to commit a82c86347a6ceba31cdf3180284dc96820e50271
a82c86347a [DX] Make use of Laravel container in few tests - step #2 (#4678)
2023-08-06 16:40:08 +00:00
Tomas Votruba
da7cbac54d Updated Rector to commit 56195b368e89f7fc7d92fe96703286f9c4985f18
56195b368e Fix external patch path (#4677)
2023-08-06 15:47:57 +00:00
Tomas Votruba
6f8ff0f9d5 Updated Rector to commit 2ffa009e08d06c7522a1f3b066f90e8edbee8210
2ffa009e08 [DX] Make use of Laravel container in few tests - step #1 (#4672)
2023-08-06 15:14:10 +00:00
Tomas Votruba
9165e88cea Updated Rector to commit 3dbaeb0cadbc3a31d21849fab5494a1a828d792b
3dbaeb0cad [TypeDeclaration] Handle anonymous class in union on AddArrowFunctionReturnTypeRector (#4676)
2023-08-06 14:47:16 +00:00
Tomas Votruba
576776243e Updated Rector to commit a3c62a69906710dca8366c5e32e832416f767531
a3c62a6990 [DX] Remove usage of deprecated symfony parameters (#4674)
2023-08-06 11:15:32 +00:00
Tomas Votruba
ce69ade1ae Updated Rector to commit 22e423dc79a8e4677198c8b260fb24243db0ea45
22e423dc79 [NodeTypeResolver] Clean up anonymous class detection on NodeTypeResolver::getNativeType() (#4673)
2023-08-06 10:56:52 +00:00
Tomas Votruba
e3116ffed3 Updated Rector to commit 097785424d7239bf0166d1fddb3e2079ce4787c8
097785424d [TypeDeclaration] Allow __invoke() method for return type changed on ClassMethodReturnTypeOverrideGuard (#4667)
2023-08-06 09:54:45 +00:00
Tomas Votruba
6299c365a0 Updated Rector to commit e98e9e7e1a92265d4ee6a41bf9298f1d606f4a5b
e98e9e7e1a [TypeDeclaration] Allow return anonymous class on ReturnTypeFromReturnNewRector (#4669)
2023-08-06 09:53:37 +00:00
Tomas Votruba
716b756904 Updated Rector to commit 9097d76857da03936a401d8d3bd4bc35d99a6ae1
9097d76857 [automated] Apply Coding Standard (#4666)
2023-08-06 00:30:09 +00:00
Tomas Votruba
9ee8cf74ba Updated Rector to commit f10821b43226affce9e7f3b0085b231ff39940f1
f10821b432 [DX] Remove deprecated RectorConfigProvider, use SimpleParameterProvider instead (#4658)
2023-08-06 00:09:08 +00:00
Tomas Votruba
7503c1fb60 Updated Rector to commit 395b215707a867cb11d625ee5f2653589e45bed7
395b215707 Resolve encapsed values as strings (#4622)
2023-08-06 00:06:35 +00:00
Tomas Votruba
92b9fdfd95 Updated Rector to commit fbcd7cf7e6c61be3ad014eebe50ff6c83e8a202e
fbcd7cf7e6 Remove resolveFromNodeWithScopeCountAndFallbackName() as unused (#4652)
2023-08-04 17:28:42 +00:00
Tomas Votruba
7390067dbf Updated Rector to commit c8d49fb4c1e732e12e47c55c9008b0cd693a3cec
c8d49fb4c1 cs
2023-08-03 13:14:05 +00:00
Tomas Votruba
aae549741f Updated Rector to commit 0cb3fd0feb464b4568e07607a05c794637aa2862
0cb3fd0feb [Php73] Handle crash Type Error on JsonThrowOnErrorRector (#4626)
2023-08-01 10:55:14 +00:00
Tomas Votruba
78e7a43276 Updated Rector to commit 881d0b7e85f96a03c96fe9bb0ebad2fda8a71b8f
881d0b7e85 [PHPStanStaticTypeMapper] Handle crash on DowngradeMixedTypeDeclarationRector for PHPStan\Type\ConditionalType (#4625)
2023-07-31 14:21:36 +00:00
Tomas Votruba
1d52a6cf83 Updated Rector to commit 682df75fc015d0f267780ec5363aa74f82dba58b
682df75fc0 [CodingStyle][Namespace_] Support constant imports (#4612)
2023-07-28 13:10:47 +00:00
Tomas Votruba
4082c75546 Updated Rector to commit db03c60a5725e8f82d6b800c4745bc259ee470ac
db03c60a57 [Php81] Fix regression skip call by ref on ReadOnlyPropertyRector on non __construct method (#4614)
2023-07-27 09:43:37 +00:00
Tomas Votruba
7287327bed Updated Rector to commit 729f03b6e9abccb7c4d7a4515e4dfed61e725e71
729f03b6e9 [DX] Testing ECS 12.0 (#4604)
2023-07-25 15:50:29 +00:00
Tomas Votruba
294fd68b81 Updated Rector to commit ba04cef4f0aed1b1bda356cc9207bb108bd97657
ba04cef4f0 Reduce ConstExprClassNameDecorator overhead (#4603)
2023-07-25 14:46:15 +00:00
Tomas Votruba
f265ebd38b Updated Rector to commit 3c82c6e9ac05760468a1b21f710da553efba70ad
3c82c6e9ac [PHPStanStaticTypeMapper] Fix IntersectionTypeMapper to make ObjectType have FQCN (#4598)
2023-07-25 09:44:39 +00:00
Tomas Votruba
6b34dc7b02 Updated Rector to commit 7a86df00a85e32e843cdbc609226ff8259896d90
7a86df00a8 [PHPStanStaticTypeMapper] Make use of toPhpDocNode() on ObjectTypeMapper (#4581)
2023-07-25 09:11:44 +00:00
Tomas Votruba
5a842dbce3 Updated Rector to commit c1e03db126ca74dc518aa4a0c9a04715e7f1cd44
c1e03db126 [cs] Re-run ECS dev version to try out regression (#4595)
2023-07-25 08:52:39 +00:00
Tomas Votruba
d7e7f1eba1 Updated Rector to commit fcc32e5b0d7bb1314dc09a92fb9eeedc31295c51
fcc32e5b0d Bump to phpdoc-parser 1.23 and fill construct() attributes (#4590)
2023-07-24 14:31:01 +00:00