Tomas Votruba
09bae2b903
Updated Rector to commit 3243f1b482fb62949d4abbcd6090e59ede0eb0cf
...
3243f1b482
Misc cherry picks (#4771 )
2023-08-11 16:45:13 +00:00
Tomas Votruba
705e925e68
Updated Rector to commit 28a64fd972f9015b31c2d10c1c14aed0ccedeca4
...
28a64fd972
[Config] Move from magic loading of all PHPStan extensions, their bootstrap files etc. under control with explicit file listing (#4769 )
2023-08-11 11:56:34 +00:00
Tomas Votruba
987f47e02b
Updated Rector to commit 645190ad31421260caf8fa202df9e03b93a12cbb
...
645190ad31
[DX] Remove $nodeScopeResolver->setAnalysedFiles() usage as on parallel, it only lookup inside scheduled jobs (#4768 )
2023-08-11 11:32:21 +00:00
Tomas Votruba
7bb4bad572
Updated Rector to commit 1659ca292848fc1722b4b084d9fd1625b21e69c9
...
1659ca2928
[DX] Deprecate NonPhpRectorInterface, the only rule and its file processor, to make Rector handle exlusively PHP (#4761 )
2023-08-10 19:26:52 +00:00
Tomas Votruba
fb1f63e38b
Updated Rector to commit 0bdace5619d44c2ab3b30254f3ef06fe5e90e6fa
...
0bdace5619
[Php80] Handle crash Property ReflectionEnum::$betterReflectionClass does not exist on AddParamBasedOnParentClassMethodRector on Enum usage (#4758 )
2023-08-10 14:35:27 +00:00
Tomas Votruba
90a98ad57b
Updated Rector to commit fe4d90d829b8bd17eff843f0e3de7a5a9cf0e023
...
fe4d90d829
[DX] Remove complementary interface, as not practical (#4757 )
2023-08-10 12:02:49 +00:00
Tomas Votruba
50e22e8613
Updated Rector to commit bcb51e81bc9cbc667017eea9240d7f8564848768
...
bcb51e81bc
[Renaming] Deprecate PseudoNamespaceToNamespaceRector as too dynamic and unreliable, use the RenameClassRector instead (#4755 )
2023-08-10 11:47:33 +00:00
Tomas Votruba
0034aa1ce6
Updated Rector to commit db0388feecd977d5bb8cda662b9aee14a53ecfc6
...
db0388feec
misc (#4748 )
2023-08-09 19:20:00 +00:00
Tomas Votruba
ce7b821341
Updated Rector to commit defd4e28f80c0d022fe83a820d7f0d9057305d41
...
defd4e28f8
[DX] Avoid supporting edge-case multi-layered comments, must be covered in php-parser itself (#4743 )
2023-08-09 15:06:44 +00:00
Tomas Votruba
489106fbd3
Updated Rector to commit 7ebdc9fb6004d687f80d346c69ec868206a1a5f0
...
7ebdc9fb60
[DX] Keep parameter pure file paths (#4738 )
2023-08-09 13:52:33 +00:00
Tomas Votruba
8c38570f22
Updated Rector to commit 6942dabb36d6687b1f9a77eff1a357dd2acfbf47
...
6942dabb36
[DX] Move RectifiedAnalyzer to Skipper service (#4733 )
2023-08-09 13:07:19 +00:00
Tomas Votruba
e7097335cd
Updated Rector to commit b93e285a4a72ef12d4892852118d5ab7b1b48bdd
...
b93e285a4a
[DX] Remove AddDefaultValueForUndefinedVariableRector as can generate broken code and depends on context (#4729 )
2023-08-09 10:56:45 +00:00
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