pacely/mailchimp-api-v3

PHP >= 5.5.0 required is incorrect

Opened this issue · 1 comments

Unless there's something that I've overlooked, the requirements for mailchimp-api-v3 are listed as follows:

"require": {
"php": ">=5.5.0",
"guzzlehttp/guzzle": "~5.0|~6.0",
"illuminate/support": "~5.0"
},

While the requirements for "illuminate/support" are as follows:

"require": {
"php": ">=5.6.4",
"ext-mbstring": "",
"doctrine/inflector": "~1.1",
"illuminate/contracts": "5.4.
",
"paragonie/random_compat": "~1.4|~2.0"
},

So clearly php >= 5.6.4 is required. I changed the "illuminate/support" version to "5.2.x-dev" for it to work in PHP 5.5.9.

Parse error: syntax error, unexpected '->' (T_OBJECT_OPERATOR) in .../vendor/illuminate/support/Collection.php on line 155

System:
Linux homestead 4.4.0-112-generic #135-Ubuntu SMP Fri Jan 19 11:48:36 UTC 2018 x86_64
PHP 5.6.34-1+ubuntu16.04.1+deb.sury.org+1
mailchimp-api-v3 v1.0.6