composer / getcomposer.org

getcomposer.org sources

Home Page:http://getcomposer.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Installer not working

whoisnobody opened this issue · comments

Hello,
For about 30 minutes I have a problem with installing composer using installer:
curl -s https://raw.githubusercontent.com/composer/getcomposer.org/main/web/installer | php8.1 -- --install-dir=/usr/local/bin/ --filename=composer

PHP Parse error: syntax error, unexpected token "::", expecting variable in Standard input code on line 1341

It's fixed now, sorry for the trouble 😅 It was simply a typo I missed in an installer script change, the composer.phar file was fine.