Commit Graph

1383 Commits

Author SHA1 Message Date
Tomas Votruba
3c6c1c03f8 Updated Rector to commit a2f70054a7d976acd2c73b06789095b998829be6
a2f70054a7 [DocBlock] Update docblock contents right in the rule (#4999)
2023-09-11 21:30:42 +00:00
Tomas Votruba
35a66f9d23 Updated Rector to commit 596bbc98a25903c525914b4d16ea5f9c76b500fb
596bbc98a2 [tests] Replace wildcard e2e test with unit one (#5000)
2023-09-11 18:33:42 +00:00
Tomas Votruba
549bed6da9 Updated Rector to commit b3639f72d73d9471ea8a843f93eb2ca61cd54a56
b3639f72d7 Update docblock only when changed, directly in rector rule (#4986)
2023-09-11 13:16:45 +00:00
Tomas Votruba
ec41ac44ea Updated Rector to commit 2e6fcdea7e3945a06d2cc229a92567ea52ce9d6d
2e6fcdea7e Remove CurrentRectorProvider and  used for docblock changes report, return bool value and node directly in the rector rule instead (#4982)
2023-09-11 07:55:34 +00:00
Tomas Votruba
4cbb15f972 Updated Rector to commit 1593d006138230202e20bd209da375ca1e171876
1593d00613 [Internals] Decouple output from AbstractRector, narrow debugging output to file path (#4976)
2023-09-10 20:27:13 +00:00
Tomas Votruba
6c92c9ea3e Updated Rector to commit 3fcbb533c2d4da174cbfcad1e5d5cfe354dfd884
3fcbb533c2 [Internals] Merge PhpFileProcessor to FileProcessor (#4977)
2023-09-10 20:21:47 +00:00
Tomas Votruba
4b84a2b441 Updated Rector to commit 0c5ad104aee04d680816bbed6224470c7acfb895
0c5ad104ae [DX] Merge WorkerRunner to WorkerCommand, to make context closer (#4972)
2023-09-10 19:16:46 +00:00
Tomas Votruba
3f02794da2 Updated Rector to commit 27078e79628cb14866b69dc6b8c2181fbec1d4c6
27078e7962 [DX] Add FileProcessResult + kick of collectors (#4947)
2023-09-09 14:15:49 +00:00
Tomas Votruba
5102d25a1e Updated Rector to commit 672df31993b36396c3987bf6082f6218ba5cd26c
672df31993 Remove UnSpreadOperatorRector as not clear value and spread used on purpose (#4949)
2023-09-09 11:18:54 +00:00
Tomas Votruba
d7411e1be0 Updated Rector to commit 2da3246fdfae7387ac7fa0ea7ab6b4cada58b9bf
2da3246fdf Cleanup PHPStan errors, fix json data contract doc types (#4948)
2023-09-09 11:02:01 +00:00
Tomas Votruba
d05c52724c Updated Rector to commit a0be8b892d92d5bbbc64713dc8469904a15fe6b0
a0be8b892d [DX] Cleanup type resolvers (#4939)
2023-09-08 14:06:44 +00:00
Tomas Votruba
e6e6042119 Updated Rector to commit 10eb09f02d825d01caf92e2c45c73dddf6aa3430
10eb09f02d [cleanup] Remove deprecated NonPhpRectorInterface, PseudoNamespaceToNamespaceRector and mysql to mysqli sets (#4927)
2023-09-06 16:03:21 +00:00
Tomas Votruba
2bbdfcfe3b Updated Rector to commit a21a3f17578cb8e13505ffe0e797ecfd12e86c4f
a21a3f1757 [Cleanup] Remove TypeToCallReflectionResolver as not needed anymore (#4917)
2023-09-05 19:57:28 +00:00
Tomas Votruba
2ae279bf07 Updated Rector to commit 093bcb63a19db3fcdab8264897c584212d755463
093bcb63a1 [CodeQuality] Add NumberCompareToMaxFuncCallRector (#4914)
2023-09-05 13:21:31 +00:00
Tomas Votruba
2f2e7aff34 Updated Rector to commit d5f399eee5709932b579d41e3799c3097bbc101f
d5f399eee5 [DeadCode] Remove @return void on return self on RemoveUselessReturnTagRector (#4894)
2023-09-02 19:48:22 +00:00
Tomas Votruba
8848b01ee3 Updated Rector to commit c5897e54a62ee69d2441afcd8f043aa65085ee5f
c5897e54a6 Fix tests fixture updater (#4892)
2023-09-01 14:46:57 +00:00
Tomas Votruba
326e84f967 Updated Rector to commit 7078b51a7cfe02d85474a38192caf797beedcfd6
7078b51a7c [TypeDeclaration] Add ReturnTypeFromStrictFluentReturnRector (#4890)
2023-09-01 11:10:35 +00:00
Tomas Votruba
3d97937140 Updated Rector to commit 7078b51a7cfe02d85474a38192caf797beedcfd6
7078b51a7c [TypeDeclaration] Add ReturnTypeFromStrictFluentReturnRector (#4890)
2023-08-31 16:33:28 +00:00
Tomas Votruba
4650cf5c21 Updated Rector to commit 7841dc582440c815796e703cf3cf9b3f17f80285
7841dc5824 Clean up usused filePath instance check on ApplicationFileProcessor (#4877)
2023-08-29 07:31:50 +00:00
Tomas Votruba
dd562a4b59 Updated Rector to commit 9e8ed6c33f39aa9d7d859fb39b6f2d0344cdea0d
9e8ed6c33f Remove SwapFuncCallArgumentsRector as keeps swaping to infinity, use custom rule instead (#4874)
2023-08-28 12:45:54 +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
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
b388569c60 Updated Rector to commit 2864cbe80ab411dde3bafa28f99883c0878969f7
2864cbe80a Remove deprecated FileProcessorInterface (#4835)
2023-08-23 10:40:53 +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
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
9d3486b554 Updated Rector to commit b7d8787a257e94da73348cace71d2384bcc97930
b7d8787a25 remove fixture
2023-08-17 14:07:55 +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
0dc3d6f51c Updated Rector to commit de97b987257a4de435af72252ec2186c5b20c139
de97b98725 require deprectaion contracts
2023-08-15 23:43:04 +00:00
Tomas Votruba
89d0c03325 Updated Rector to commit 525a4b206360d6f0728b7e492644cc57859f28a6
525a4b2063 restore contracts
2023-08-15 23:36:27 +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
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
867dc4426c Updated Rector to commit 6b7aac835934de48c034aa8b2bad886616566e06
6b7aac8359 [Php81] Remove IntersectionTypesRector as rely on docblock (#4784)
2023-08-14 06:41:08 +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
5034b0a7f0 Updated Rector to commit 2970fa114ef632768f4704c8eefd2f5d0310703c
2970fa114e [TypeDeclaration] Skip in conditional on AddParamTypeFromPropertyTypeRector (#4779)
2023-08-13 07:18:25 +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
7abf8380e8 Updated Rector to commit cf1d5b0a492598b893c3fe0ac1ec1d2fcd5018c6
cf1d5b0a49 Remove SwapMethodCallArgumentsRector as could lead to infinite swapping, use custom rule with type/value check instead (#4766)
2023-08-11 10:13:56 +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
4b4f578689 Updated Rector to commit fa2a806a07ca9279af5a69391d0556098f0cdbb1
fa2a806a07 [DX] deprecated build shipped debug fuctions, allow using custom debug package instead; add local d() and dd() functions (#4759)
2023-08-10 15:20:53 +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
d23a5ea440 Updated Rector to commit b23294698f066a48e35be76ba0f25616f48f375e
b23294698f [Renaming] Remove callables from class renames to avoid missed rename bugs, better handle with PHSPtan and custom rule (#4745)
2023-08-09 16:15:16 +00:00
Tomas Votruba
52d316d0f0 Updated Rector to commit ed7426f02db446090399165a884ea7082e160d50
ed7426f02d [Logging] Add RectorOutput logging service (#4736)
2023-08-09 14:19:55 +00:00
Tomas Votruba
7c1470fadd Updated Rector to commit 6b84177a797f708f5abe2f69befe43d696e32ba5
6b84177a79 [DX] Add ProcessConfigureDecorator to avoid superfluous composition (#4734)
2023-08-09 13:17:04 +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
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
d399c76138 Updated Rector to commit c2edf2f6df801b64c8ba0f90e277de2ff8515b44
c2edf2f6df [Reflection] Remove #[Required] on ReflectionResolver (#4716)
2023-08-08 08:58:53 +00:00