5654 Commits

Author SHA1 Message Date
Tomas Votruba
ca844057bc Updated Rector to commit dc489abc6e5c7ef4de847bd9a9bcae0bd67a75a2
dc489abc6e fix missed cleanup
2023-08-18 12:48:45 +00:00
Tomas Votruba
518a2bb0b1 Updated Rector to commit 3a15da7e8418045eea79697271a91a0d1ddf035f
3a15da7e84 typo
2023-08-18 12:43:06 +00:00
Tomas Votruba
8c53c7470b Updated Rector to commit 216108b6d9e24cf4f3f829fe5a67133c8564d23d
216108b6d9 [DX] Merge PhpRectorInterface to RectorInterface as identical contract and separation no longer needed (#4812)
2023-08-18 12:27:46 +00:00
Tomas Votruba
b8fef75121 Updated Rector to commit dc580ae1bb540eed78d915db46168b39c1469b42
dc580ae1bb Fix skip() Rector class, make container forget it comleteely (#4807)
2023-08-17 11:14:54 +00:00
Tomas Votruba
314c192af3 Updated Rector to commit bbd2e81b171f50d05ef73d63518cb1a31fdd7cd5
bbd2e81b17 Merge many Skipper tests to one, cleanup phpstan errors (#4806)
2023-08-17 10:13:30 +00:00
Tomas Votruba
7e217a5d21 Updated Rector to commit 2604a47c32dd8606349a1724122977c8b2fa6bf9
2604a47c32 Faster AddReturnTypeDeclarationBasedOnParentClassMethodRector (#4804)
2023-08-17 09:03:10 +00:00
Tomas Votruba
e7a7a2390b Updated Rector to commit 81caf1ea0dd2a204e8e209f3f1adab13448b2f9d
81caf1ea0d remove defaults() BC method, as already covered in services() (#4802)
2023-08-17 06:41:01 +00:00
Tomas Votruba
588afe61b0 Updated Rector to commit 58c67ff2e2b51e9de9fd399cc4c7756ca8ad3ed9
58c67ff2e2 [DX] Make use of addParameter() (#4801)
2023-08-16 21:55:34 +00:00
Tomas Votruba
1f6016e697 Updated Rector to commit 41de61755c1f982ec554b6037a724abe708bfa27
41de61755c Add possibility to add multiple phpstan configs (#4798)
2023-08-16 21:49:50 +00:00
Tomas Votruba
2ec1804078 Updated Rector to commit a6532a2f295056321924f67b110e79411b95aa50
a6532a2f29 [DI] Add symfony config BC warnings layer, to inform about an upgrade (#4800)
2023-08-16 18:14:23 +00:00
Tomas Votruba
acc38e2215 Updated Rector to commit f77cf5af2c486ab2db77c0a88d1c982e76261e09
f77cf5af2c [DI] Remove symfony/dependency-injection dependency (#4796)
2023-08-15 23:30:13 +00:00
Tomas Votruba
e57e1c363e Updated Rector to commit 6d0f7da6e3d41e41781251d23f5ff934047d15cd
6d0f7da6e3 fix duplicated method
2023-08-15 22:27:51 +00:00
Tomas Votruba
61d0700b14 Updated Rector to commit 83fdfb3648e0c1a636ef0589e261cc48ea921456
83fdfb3648 [DeadCode] Handle duplicated annotation on space before close parentheses on RemoveUselessParamTagRector (#4795)
2023-08-15 15:20:12 +00:00
Tomas Votruba
8216388351 Updated Rector to commit 2fe68ad7649faf0ebec883dcdeb91ee6118297ce
2fe68ad764 [DI] Add resetable interface to reset services on new DI run (#4790)
2023-08-14 13:46:38 +00:00
Tomas Votruba
846609aadf Updated Rector to commit 98b203a5d9caa1aacb75bb22a45617f228c3516a
98b203a5d9 Fix name (#4788)
2023-08-14 10:12:37 +00:00
Tomas Votruba
951076fc19 Updated Rector to commit 90b832dc4f10d04b32f2c0cbc473082f6ccd11fb
90b832dc4f cleanup (#4787)
2023-08-14 09:58:25 +00:00
Tomas Votruba
34e7d4f989 Updated Rector to commit 29d9b7619d0d8bd68a62cc5ab3fcba5699a50558
29d9b7619d [PHPStanStaticTypeMapper] Remove TypeKind::ANY (#4786)
2023-08-14 09:24:11 +00:00
Tomas Votruba
46d23a1bc4 Updated Rector to commit 00a51146a06566467292db72c8e231330c7e41d9
00a51146a0 [PHPStanStaticTypeMapper] Allow standalone null type on NullTypeMapper on php 8.2 (#4783)
2023-08-14 09:18:43 +00:00
Tomas Votruba
480a54b9d7 Updated Rector to commit b0105f24cf32cfe12438e85c5033aa79bce9a1a4
b0105f24cf [PHPStanStaticTypeMapper] Allow Closure type on ClosureTypeMapper based on PHP versions (#4785)
2023-08-14 06:39:54 +00:00
Tomas Votruba
a8b42110be Updated Rector to commit 7899f2b186919d8b6bec30272f5e3046ec0793bd
7899f2b186 [NodeNameResolver] Remove EmptyNameResolver (#4782)
2023-08-14 06:35:46 +00:00
Tomas Votruba
9891ab5633 Updated Rector to commit 092b6115b0e0642d0c20836673415ece4a3d0084
092b6115b0 Bump nikic/php-parser to 4.17 (#4781)
2023-08-13 16:46:42 +00:00
Tomas Votruba
68e8b4f8d1 Updated Rector to commit 697ce5de0230bd4aeddd17288fca625bcfebfa47
697ce5de02 Cleanup tests (#4778)
2023-08-13 00:07:19 +00:00
Tomas Votruba
180c8d9798 Updated Rector to commit 052c00654d1f0060e1af8308d33f08abbeeeddb5
052c00654d Various improvements (#4777)
2023-08-12 23:39:23 +00:00
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