Ocramius / PackageVersions

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

TEST SETUP FAILED on scrutinizer-ci with new ocramius/package-versions #127

Closed Awilum closed 4 years ago

Awilum commented 4 years ago

From today, I have this issue for my project flextype on scrutinizer-ci

TEST SETUP FAILED

Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 70 installs, 0 updates, 0 removals
  - Installing ocramius/package-versions (1.7.0): Loading from cache
PHP Parse error:  syntax error, unexpected 'string' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST) in /home/scrutinizer/build/vendor/ocramius/package-versions/src/PackageVersions/Installer.php on line 34

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

https://scrutinizer-ci.com/g/flextype/flextype/inspections/b2ec6196-ed78-4e9e-bf69-40814bcb57e3

Any ideas why it is failed and how to fix this ?

Ocramius commented 4 years ago

See #124