Commit Graph

42 Commits

Author SHA1 Message Date
Tomas Votruba
7e7a2f067a Updated Rector to commit 476cfb00cb6a94cb64badf9472ee78f33bdf44b3
476cfb00cb disable fallback for now
2024-01-02 02:40:38 +00:00
Tomas Votruba
75299a0e31 Updated Rector to commit 8e06627e1a34f9a48a56395943ab573681f5db4d
8e06627e1a [Experiment][Scope] Remove dynamic Scope creation via ScopeAnalyzer on AbstractScopeAwareRector (#5102)
2023-10-05 12:57:01 +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
acc38e2215 Updated Rector to commit f77cf5af2c486ab2db77c0a88d1c982e76261e09
f77cf5af2c [DI] Remove symfony/dependency-injection dependency (#4796)
2023-08-15 23:30:13 +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
bff94f9200 Updated Rector to commit ceab6d71bb3436c1c613651a12af55954ab3f7bf
ceab6d71bb Add currentStmt property on AbstractRector to allow pull Scope from it on deep Expr (#4437)
2023-07-19 11:08:33 +00:00
Tomas Votruba
8d3877fbc0 Updated Rector to commit 6e12886d2444da1471112c2d155fdaaa09ce3d41
6e12886d24 [Scope] Pull Scope from Node instead of origNode on Abstract*Rector take 2 (#4538)
2023-07-19 10:44:22 +00:00
Tomas Votruba
484c94d08a Updated Rector to commit 868612ae6bac93afe8d9aea8fd7d2fb6c6306991
868612ae6b [DX] Remove parent node from AbstractRector (#4465)
2023-07-09 18:49:55 +00:00
Tomas Votruba
6981c70c9a Updated Rector to commit 9ed8c21b127cdd45a28307d5fc41668f867f4ef4
9ed8c21b12 [DeadCode] Remove findFirstPrevious() usage on UselessIfCondBeforeForeachDetector (#4388)
2023-07-01 09:41:56 +00:00
Tomas Votruba
9a2931cbe4 Updated Rector to commit bdc2fc99631f67eeb2d96e2cf0906279c2561c9a
bdc2fc9963 [NodeManipulator] Remove parent lookup on PropertyFetchAssignManipulator (#4037)
2023-06-01 08:56:46 +00:00
Tomas Votruba
5f824909cb Updated Rector to commit 79ffda7d8537ca6b04e14082bd9f0091fb97215d
79ffda7d85 Remove PARENT_NODE from CountOnNullRector (#3924)
2023-05-22 13:31:04 +00:00
Tomas Votruba
f59444dfd6 Updated Rector to commit 9c74d611dc8567de47658624f6f0d0d4792f21ee
9c74d611dc [Core] Change ChangedNodeScopeRefresher modifier to private on AbstractRector (#3827)
2023-05-13 18:59:47 +00:00
Tomas Votruba
65abab80de Updated Rector to commit 5c1be93b80c3f7bfd8bd158ba0a55501a7acaefc
5c1be93b80 PHP 8.2 is supported (#3717)
2023-05-01 01:36:32 +00:00
Tomas Votruba
9038a0d99c Updated Rector to commit 1a91d04c5256e451c744eeb848aaa0182dd227c5
1a91d04c52 [CodeQuality] Add cast scalar support on ReturnTypeFromStrictScalarRector (#3544)
2023-04-01 10:14:17 +00:00
Tomas Votruba
7d0f151a40 Updated Rector to commit a2cd7283fbf2d6b2904016c51e3f4a545caa0256
a2cd7283fb Typo fix comment php 7.3 compat on rector workflow (#3432)
2023-03-01 13:00:30 +00:00
Tomas Votruba
66cc09e8b6 Updated Rector to commit d118ae38e265476684bcf566b87301cca5716ed9
d118ae38e2 Use phpstan-deprecation-rules (#3330)
2023-02-02 09:24:12 +00:00
Tomas Votruba
3caa257b2c Updated Rector to commit 1ab342a4ee4bf282bb436c636c401d37a9476d23
1ab342a4ee [Core] Use Original node to pull Scope on AbstractScopeAwareRector (#3295)
2023-01-18 12:08:19 +00:00
Tomas Votruba
764b0a2692 Updated Rector to commit cb5b01223d46272004e947f122ae1e36d516f83a
cb5b01223d [automated] Re-Generate Nodes/Rectors Documentation (#3259)
2023-01-01 00:36:31 +00:00
Tomas Votruba
ff75474d25 Updated Rector to commit 39f43c01cbc34a8bb064f056d39f1b8d2bd7a152
39f43c01cb Use Symfony ~6.1.x to avoid crash on update vendor-patch (#3134)
2022-12-01 14:10:32 +00:00
Tomas Votruba
ddc864eff4 Updated Rector to commit 7b7d5a4b8bb61b52a298cbf941b7df131897f55b
7b7d5a4b8b Revert string specific identifier values on Type Mappers (#3024)
2022-11-01 14:15:38 +00:00
Tomas Votruba
e87c848801 Updated Rector to commit ff4d797c73a51a3fb12cb644c6911ecd7313ec1b
ff4d797c73 [DeadCode][EarlyReturn] Handle RemoveUnusedVariableAssignRector+RemoveAlwaysElseRector (#2964)
2022-10-02 20:24:31 +00:00
Tomas Votruba
6c20d257e3 Updated Rector to commit d3d18d442c8f2ca64f5ebef5c7a7541938fa1e2a
d3d18d442c keep relative paths
2022-09-01 09:30:44 +00:00
Tomas Votruba
9fa71a8e1f Updated Rector to commit 858f055584ac2f4108469104d6b6a27f0de9132d
858f055584 [Core] Move Scope Resolver to ScopeAnalyzer (#2757)
2022-08-12 17:30:03 +00:00
Tomas Votruba
8885e287b6 Updated Rector to commit b9cc90c058942d82f84a68f3d1971b2db6b1601d
b9cc90c058 Make use of new types by fixed rector/phpstan-rules extensions (#2748)
2022-08-09 19:37:14 +00:00
Tomas Votruba
f7bb838601 Updated Rector to commit f0425bc3cb3d5855da1bff9c38b872a9003e357b
f0425bc3cb Improve scope, PHPStan extension types (#2747)
2022-08-09 13:39:17 +00:00
Tomas Votruba
1d28ca109c Updated Rector to commit 5ec4cff203f68d9578719b54ce3a145efb32bc79
5ec4cff203 [Php56] Handle jump not Expression stmt next initialized on AddDefaultValueForUndefinedVariableRector (#2725)
2022-08-02 06:46:18 +00:00
Tomas Votruba
e2494b520d Updated Rector to commit 312099474a70e8ccc361a329bd3ccbc7e4c63a96
312099474a Decouple parent type for scope (#2620)
2022-07-03 14:22:15 +00:00
Tomas Votruba
d8601711a3 Updated Rector to commit c3d53b1f4b6f7667d65a4a77e9cc6ccd20fe16de
c3d53b1f4b [Core] Remove UnreachableStmtAnalyzer (#2610)
2022-07-02 21:13:38 +00:00
Tomas Votruba
6f73a90692 Updated Rector to commit d1807682bf
d1807682bf [Core] Apply auto fallback to use Scope from File when Node both doesnot has parent Node and Scope (#2587)
2022-06-29 09:55:25 +00:00
Tomas Votruba
76fe03af38 Updated Rector to commit 21fc218e08
21fc218e08 [Core] AbstractScopeAwareRector is ready to be used in custom rules (#2537)
2022-06-20 13:06:04 +00:00
Tomas Votruba
36fef87f0f Updated Rector to commit 372e030523
372e030523 [Core] Handle parent return/assign from FuncCall with No Scope (#2525)
2022-06-19 08:24:30 +00:00
Tomas Votruba
8baeeb7757 Updated Rector to commit 1b636b63e8
1b636b63e8 [e2e] Add e2e parent is BinaryOp from FuncCall with No Scope (#2500)
2022-06-16 16:59:11 +00:00
Tomas Votruba
e94460a905 Updated Rector to commit f2035db06d
f2035db06d fix wrong guard location (#2497)
2022-06-16 08:12:56 +00:00
Tomas Votruba
bdfd24339f Updated Rector to commit 2e977bd3aad21113e0bb7e2aa9b102f6f1e9246d
2e977bd3aa deploy to original repository
2022-06-07 08:22:29 +00:00
Tomas Votruba
aa2cb1b997 Updated Rector to commit 0eba231b07
0eba231b07 [PHP 8.1] Move ConstantListClassToEnumRector to PHP 8.1 (#2444)
2022-06-06 17:12:56 +00:00
Tomas Votruba
a28f4b14a4 Updated Rector to commit 2022-06-06 16:43:29 +00:00
Tomas Votruba
7e46eb8267 Updated Rector to commit a2d6da8b4e
a2d6da8b4e Back to php-scoper 0.14 with scoping from php 8.0 (#2370)
2022-05-27 11:51:31 +00:00
Tomas Votruba
beba7d6efe Updated Rector to commit 1249d947f4
1249d947f4 Try php-scoper 0.17 (#2368)
2022-05-27 11:25:02 +00:00
Tomas Votruba
c99e1d9cdf Updated Rector to commit d61eea4aca
d61eea4aca [Core] Ensure parent is Node on AbstractScopeAwareRector (#2317)
2022-05-15 10:32:22 +00:00
Tomas Votruba
7885ef1835 Updated Rector to commit 712237ec22
712237ec22 Error message improvements (#2242)
2022-05-06 07:42:42 +00:00
Tomas Votruba
ebc3a0684d Updated Rector to commit 767e7692e1
767e7692e1 [Experimental] Add refactorWithScope() method to get typed Scope easily and required (#2227)
2022-05-04 15:20:50 +00:00