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
When I run composer2nix (got it by installing through composer globally) on a PHP project, it seems everything is running fine, but it stops at the following error:
Parse error: syntax error, unexpected '|', expecting variable (T_VARIABLE) in /home/bjorn/.config/composer/vendor/svanderburg/pndp/src/PNDP/AST/NixFunction.php on line 19
The text was updated successfully, but these errors were encountered:
Found the issue. I am currently using PHP 7.4 and it does not support mixed types. Not sure if it is a good idea to specify the necessary PHP version on the composer.json file.
When I run
composer2nix
(got it by installing through composer globally) on a PHP project, it seems everything is running fine, but it stops at the following error:Parse error: syntax error, unexpected '|', expecting variable (T_VARIABLE) in /home/bjorn/.config/composer/vendor/svanderburg/pndp/src/PNDP/AST/NixFunction.php on line 19
The text was updated successfully, but these errors were encountered: