Closed holtkamp closed 5 years ago
Thank you very much for the report! Unfortunately, running composer locally can hide some surprises. :/
I think it's OK to use PHP 7.3 as default because I don't plan to add new functionality in the near future (and I'll raise the minimum required PHP version to 7.4 for the next minor version of Yang).
I am closing the issue because I've just committed a fix. :)
I think it's OK to use PHP 7.3 as default
Nice, this would also allow us to use object
(as introduced in PHP 7.2) as type-hint instead of stdClass
🤓
When using PHP 7.3.9 to run:
results in the following error:
Changing the image in
docker-compose.yml
tophp:7.2-cli
orphp:7.3-cli
resolves this. Not sure whether this is the "best" approach, just wanted to report it 😄