Is rector-prefixed still maintained?
Closed this issue ยท 10 comments
It is indicated that release are automatic. But I see only one release and the master branch is way later than this one.
BTW, why asking to install the prefixed with dev-master version?
I tried using composer bin
to install rector, but I still have weird issues like this:
vendor/bin/rector process src src-dev tests --level php70 -vvv
Fatal error: Declaration of Rector\Php\Rector\FunctionLike\ExceptionHandlerTypehintRector::refactor(Rector\Php\Rector\FunctionLike\Node $node): ?Rector\Php\Rector\FunctionLike\Node must be compatible with Rector\Contract\Rector\PhpRectorInterface::refactor(PhpParser\Node $node): ?PhpParser\Node in /code/vendor-bin/rector/vendor/rector/rector/packages/Php/src/Rector/FunctionLike/ExceptionHandlerTypehintRector.php on line 72
It actually needs a maintainer who uses it and is able to fix that. I'm not able to, since I don't use it.
I tried using composer bin to install rector, but I still have weird issues like this:
That's not recomended. The only working solution can be Rector build with: https://github.com/rectorphp/prefixer
It needs fixes by someone who use it though.
Did you give a try to https://github.com/humbug/php-scoper ?
This allow you to provide a .phar
with always auto-prefix without more maintenance.
See also sebastianbergmann/phpunit#2015
Have you checked the link I sent? :)
I didn't, booh one me. :-(
Anyway, if you'd like to help with that, I'd prepare a README with what I know and how the build should work.
I have to find some free-time. But in anyway, the documentation would be welcome for me or anyone else. ๐
Of course, it would just increase motivation knowing it will be used right away ๐
Closing as answered
We have working version now ๐