shopper icon indicating copy to clipboard operation
shopper copied to clipboard

Installing package : HP Parse error: syntax error, unexpected '->' (T_OBJECT_OPERATOR)

Open AMAFsoft opened this issue 2 years ago • 0 comments

Laravel : ^8.0 php : PHP 7.4.16 (cli)

Reproduce the issues : 1 . installing fresh laravel 8 composer create-project laravel/laravel:^8.0 shopper 2. setting up .env file 3. Installing shopper package : composer require shopper/framework --with-dependencies

After the installation is done , this error appears:

> Illuminate\Foundation\ComposerScripts::postAutoloadDump
PHP Parse error:  syntax error, unexpected '->' (T_OBJECT_OPERATOR) in C:\projects\shopper\vendor\shopper\framework\src\Helpers\helpers.php on line 183

Parse error: syntax error, unexpected '->' (T_OBJECT_OPERATOR) in C:\projects\shopper\vendor\shopper\framework\src\Helpers\helpers.php on line 183

AMAFsoft avatar Jun 27 '22 20:06 AMAFsoft