CodelyTV / php-ddd-example

🐘🎯 Hexagonal Architecture + DDD + CQRS in PHP using Symfony 6

Home Page:https://pro.codely.tv/library/ddd-en-php

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error installing deps

davidmatas opened this issue Β· comments

Hi πŸ‘‹

I have received this error installing dependencies of the project after doing make build:

    Finished: success: 112, skipped: 0, failure: 0, total: 112
Package operations: 112 installs, 0 updates, 0 removals
  - Installing ocramius/package-versions (1.8.0): Loading from cache

Parse error: syntax error, unexpected 'string' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST) in /app/vendor/ocramius/package-versions/src/PackageVersions/Installer.php on line 33
make: *** [composer-install] Error 255

Work with windows , linux or mac?
I was working only with windows and everything gave me many errors and many obstacles on the way.
I have installed linux and everything is easier.

Same here:

╰─$ make                                                                                                                          
Parse error: syntax error, unexpected 'string' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST) in /app/vendor/ocramius/package-versions/src/PackageVersions/Installer.php on line 33
make: *** [composer-install] Error 255

I'm using:

  • Mac OS Catalina
  • Docker 2.3.0.3

With #190 this should be fixed :)

Thanks!!