5675 Commits

Author SHA1 Message Date
Tomas Votruba
73a1ef4a72 Updated Rector to commit d8d31debc51ab5df1d30655846bb0fbd9f76039b
d8d31debc5 [Performance] Use more performance spl_object_id() (#4876)
2023-08-28 17:41:52 +00:00
Tomas Votruba
e17db30c80 Updated Rector to commit eac3d467a9ff5ce778bb79b214c39487a6f928f4
eac3d467a9 [ProcessAnalyzer] Remove unnecessary hasAttribute(origNode) on RectifiedAnalyzer (#4873)
2023-08-28 06:24:32 +00:00
Tomas Votruba
edd0b488c3 Updated Rector to commit 684a317c5116bf60d43080ad62af7ae73c221894
684a317c51 [Php55][Renaming] Handle rename string on combination StringClassNameToClassConstantRector+RenameStringRector (#4869)
2023-08-28 05:28:50 +00:00
Tomas Votruba
35b66505ec Updated Rector to commit 857e7a5604df3c36f85ea2702c066744a17728f7
857e7a5604 [Scoped] Do not downgrade vendor/rector-*/config (#4859)
2023-08-26 13:52:10 +00:00
Tomas Votruba
e44653703c Updated Rector to commit 55bde86033d704228a71c83b6b4d597d8bc6d350
55bde86033 [Performance] Reduce possible re-create Scope on ExprScopeFromStmtNodeVisitor (#4853)
2023-08-25 16:57:25 +00:00
Tomas Votruba
2142e5018e Updated Rector to commit 3c34942dc98015298c9aa3fdb0369190937021d8
3c34942dc9 Revert "Revert "use NewOptimizedDirectorySourceLocator"" (#4846)
2023-08-24 16:53:49 +00:00
Tomas Votruba
6da4ac4e2a Updated Rector to commit 295156cba171ce9685cd26e73490fd7d7b2001b1
295156cba1 [Traverser] Set explicitely nodeConnectingVisitorCompatibility: false config in config/phpstan/static-reflection.neon (#4841)
2023-08-24 07:18:13 +00:00
Tomas Votruba
44c00ca135 Updated Rector to commit 75f2cbcae34c7c50fee8d4c3860d9a70e45438bd
75f2cbcae3 [PHPStan] Avoid removing bleeding edge from phar include, let user handle own phpstan configuration (#4840)
2023-08-23 15:35:55 +00:00
Tomas Votruba
f3e1fd5fad Updated Rector to commit ce87fc223b14aed6cef72ac79e00f4bee6afbbbb
ce87fc223b [Config] Add merging of rules configuration, call configure() just once (#4838)
2023-08-23 13:20:40 +00:00
Tomas Votruba
4878abddc8 Updated Rector to commit 4163578c36fff9b049f1a3da51570fc5f62e3794
4163578c36 Bump dev dependencies (#4836)
2023-08-23 11:09:41 +00:00
Tomas Votruba
7de965b307 Updated Rector to commit d89512aeba51d9def86012ef84ee66e1062e1c4f
d89512aeba [Config] Handle $rectorConfig->import() with wildcards * config (#4832)
2023-08-23 10:58:01 +00:00
Tomas Votruba
f2f66bf17c Updated Rector to commit c73bc294a61249c7e7f35581cebd29864e49385a
c73bc294a6 [tests] Improve resetable interface call (#4834)
2023-08-23 10:02:05 +00:00
Tomas Votruba
994dcc7c44 Updated Rector to commit 37be2c2268a7251c4d422e7c6a607d8931459731
37be2c2268 [PostRector] strtolower() early on UseNodesToAddCollector (#4830)
2023-08-21 15:15:26 +00:00
Tomas Votruba
429b44fab4 Updated Rector to commit cdccb5199ddc160fb7945879cf1403f1c7289770
cdccb5199d [AutoImport] Handle case insensitive name collide on auto import (#4829)
2023-08-21 15:08:37 +00:00
Tomas Votruba
31a33d3c1b Updated Rector to commit 79d806c87a7b3df9ec8acc611178dd3cdd8c8d28
79d806c87a [BetterPhpDocParser] Run PhpDocNodeTraverser->traverse() once take 2 (#4828)
2023-08-21 13:57:21 +00:00
Tomas Votruba
5d038060f5 Updated Rector to commit c5fab3a83132e3408eba419e8269b94124c53495
c5fab3a831 [CI] Narrow tests to single job, as now takes 20 s 🚀 (#4827)
2023-08-21 13:39:02 +00:00
Tomas Votruba
cfc8e32b1a Updated Rector to commit bf4cfa566386963da42447dbad93c5d6a94b5b93
bf4cfa5663 [PHPUnit] Fix extreemely slow PHPUnit run on data providers with objects (#4823)
2023-08-20 17:46:04 +00:00
Tomas Votruba
55f14a766b Updated Rector to commit bdad8bd4a5e4cdbcd65bdf942119750e0c7be1a8
bdad8bd4a5 [Experiment] Try running doc node traverser just once (#4822)
2023-08-20 11:20:02 +00:00
Tomas Votruba
c9318c9c37 Updated Rector to commit 74d918832653f922fc7f81c8d9369031c5de6fc9
74d9188326 Fix downgrade build (#4820)
2023-08-20 10:35:10 +00:00
Tomas Votruba
fdac720de2 Updated Rector to commit 87c677e7c304845c18ce1ccfb135aefab85b3bf4
87c677e7c3 [DX] Add ExprScopeFromStmtNodeVisitor, move logic deep Expr from ScopeAnalyzer to it (#4815)
2023-08-19 15:00:46 +00:00
Tomas Votruba
60feccd21a Updated Rector to commit 0477f5bf115172a4abf3f5ec1cef9613d31ba21c
0477f5bf11 [DX] Remove PHPStanNodeScopeResolver::processNodesWithDependentFiles() method (#4814)
2023-08-19 14:25:13 +00:00
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