Ocramius / PackageVersions

:package: Composer addon to efficiently get installed packages' version numbers
MIT License
3.22k stars 67 forks source link

PHP Parse error in ocramius/package-versions (1.6.0) #121

Closed ItayPodhajcer closed 4 years ago

ItayPodhajcer commented 4 years ago

Hi,

Just ran an automated build which runs composer as part of the pipeline and got the following error:

Parse error: syntax error, unexpected 'string' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST) in /soruce/vendor/ocramius/package-versions/src/PackageVersions/Installer.php on line 34

Compsoer was trying to install ocramius/package-versions version 1.6.0 when the error occured.

Ocramius commented 4 years ago

Duplicate of #105 - see https://github.com/Ocramius/PackageVersions/issues/105#issuecomment-516617164