Closed przepompownia closed 2 years ago
Sample code on which I manually tested it:
<?php
function x($a, $b, $c)
{
list($a, $b) = [1, 2];
}
x(1, 2, 3);
class X
{
public function __construct($x, $y)
{
}
}
new X(1, 2);
Very nice @przepompownia! :heart: Hope it works well for you and glad you like it :)
I really should add some tests in the CI soon but just haven't found the time yet.
It's noticeably faster than revJ and free from external dependencies. Currently I have no knowledge about treesitter but existing examples helped me finding places where some names are defined and then to find its analogues for PHP.
Hi @AckslD thank you for creating a promising and fast revJ successor!