You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey.
So I think this issue is down to my php-n00bness rather than a problem, but I can't seem to install it:
> composer require jaytaph/transphpile
[InvalidArgumentException]
Could not find package jaytaph/transphpile at any version for your minimum-stability (dev). Check the package spelling or your minimum-stability
I've set my minimum-stability down to dev as you can see, but still no joy.
I tried compiling the source, which succeeded, but on run I get (and again this is probably just me being new to PHP and composer):
> php transPHPILE.PHAR transpile ..\screen_signup_login.php
Fatal error: Uncaught Error: Class 'Transphpile\Transpile\Visitors\phar:\\E:\dev\all3\SEOPalWordpress\Transphpile\transphpile.phar\lib\Transphpile\Transpile\Visitors\Php70\AnonymousClassVisitor' not found in phar://E:/dev/all3/SEOPalWordpress/Transphpile/transphpile.phar/lib/Transphpile/Transpile/Transpile.php:93
The text was updated successfully, but these errors were encountered:
Thanks for trying the transpiler. To be honest, this project is a very early phase, and should be seen as rather a proof of concept than something that is actually usable in (production) code for now. This is why it's not on composer/packagist.
Ah okay, I was just going from the instructions on the first page. I'm mostly looking for PHP 7's scalar type hinting. Would you say that's reliable enough to use now? I'm writing a Wordpress plugin and need maximum compatibility with 5.X, but I really want 7's type hinting.
Hey.
So I think this issue is down to my php-n00bness rather than a problem, but I can't seem to install it:
I've set my minimum-stability down to dev as you can see, but still no joy.
I tried compiling the source, which succeeded, but on run I get (and again this is probably just me being new to PHP and composer):
The text was updated successfully, but these errors were encountered: