Commit Graph

31 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
2415d543b0 Updated Rector to commit ca22ab5d024543bc804ec4f52b410aec42901f39
ca22ab5d02 Rename constant REFRESHABLE_NODES to NON_REFRESHABLE_NODES (#4900)
2023-09-03 11:26:42 +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
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
4666787179 Updated Rector to commit 83a9221d6baa56dc6fc009db45db18f8b4ea63c8
83a9221d6b [NodeAnalyzer] Mark Variable as non-refreshable MutatingScope on ScopeAnalyzer (#4433)
2023-07-07 10:34:54 +00:00
Tomas Votruba
92a790ae25 Updated Rector to commit a4ef13b30cfd2ee5a02f547256673064d648c558
a4ef13b30c [NodeAnalyzer] Check statementDepth on Stmt, and expressionDepth on Expr on ScopeAnalyzer (#4425)
2023-07-05 17:31:36 +00:00
Tomas Votruba
67e1d2d61c Updated Rector to commit 3fa4bec792258ae18bf56c665d5ec3fa4938d475
3fa4bec792 [Renaming] Remove Scope filling from Name node on PHPStanNodeScopeResolver for RenameClassRector (#4422)
2023-07-05 12:18:11 +00:00
Tomas Votruba
e28ac0cec4 Updated Rector to commit 222569c781584f6c6f76968ab3e2557c58983af3
222569c781 [NodeAnalyzer] Remove parent attribute on ScopeAnalyzer (#4400)
2023-07-01 23:02:38 +00:00
Tomas Votruba
028c9db904 Updated Rector to commit 8c25c541a7625f363e58c5e09cf5712f0714fccd
8c25c541a7 [Renaming] Handle crash in trait use on RenameClassRector (#4196)
2023-06-12 16:36:44 +00:00
Tomas Votruba
503a6059f8 Updated Rector to commit a8922f7431c9c9188be501107ee7819e0130da4c
a8922f7431 skip temporarily match + throws downagrade in symfony/console, very unlikely to run
2023-06-11 23:01:39 +00:00
Tomas Votruba
3313a231b7 Updated Rector to commit bb609b28e327ca1fb7827b6bc548013d19a2cf4e
bb609b28e3 [Core] Always reset stopTraversal to false on next Rector visit (#4182)
2023-06-11 14:17:34 +00:00
Tomas Votruba
f82e30a026 Updated Rector to commit ae874efa148e6d5a031503892a6307824b4d7003
ae874efa14 Remove SourceLocatorProviderInterface as unused (#4126)
2023-06-08 22:00:17 +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
9b243e6539 Updated Rector to commit 3a9bebf657bfdf7cb5b3ab59b3471987dd6a35f6
3a9bebf657 [CodeQuality] Handle crash on BinaryOp/Mul and variable variable: 9364name on IntvalToTypeCastRector (#3608)
2023-04-12 13:24:05 +00:00
Tomas Votruba
c976b41d9f Updated Rector to commit 2be958b4e4db947c63777443eafb886274a5c7c7
2be958b4e4 [Core] Fix resolve scope handling when parent Node just re-printed (#3056)
2022-11-12 17:49:29 +00:00
Tomas Votruba
ed0b84e86c Updated Rector to commit 888c63cc9bae31b8ab77dfff059b9d2727341c87
888c63cc9b [Core] Ensure refresh Scope Nodes when AbstractRector refactor() return array of Nodes (#2979)
2022-10-13 11:08:50 +00:00
Tomas Votruba
6c20d257e3 Updated Rector to commit d3d18d442c8f2ca64f5ebef5c7a7541938fa1e2a
d3d18d442c keep relative paths
2022-09-01 09:30:44 +00:00
Tomas Votruba
dbb408c5c9 Updated Rector to commit c579c2873c4511eb29e337a12b62cadd3978f1e7
c579c2873c [scoper] unprefix SmartFileInfo
2022-08-29 14:03:46 +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
dce47c75f3 Updated Rector to commit 93b63b0a86e26cb9d15bcc61c3d840f703a1472c
93b63b0a86 [Php54][Php80] Handle no scope on LongArrayToShortArrayRector+AnnotationToAttributeRector (#2749)
2022-08-09 20:46:41 +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
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
ec6f7db42d Updated Rector to commit 89a684f2b7
89a684f2b7 [Core] Apply Scope refresh for Namespace_ and FileWithoutNamespace (#2569)
2022-06-27 08:32:39 +00:00
Tomas Votruba
c9b4c3f38d Updated Rector to commit 0fb4f5bfbb
0fb4f5bfbb [Core] Apply Scope Refresh on Enum_ (#2549)
2022-06-21 14:59:06 +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
d63573a7d2 Updated Rector to commit 1d75b53e97
1d75b53e97 [Core] Add ScopeAnalyzer service to verify if Node is Scope aware (#2311)
2022-05-14 11:32:37 +00:00