jakubkulhan / bunny

Performant pure-PHP AMQP (RabbitMQ) sync/async (ReactPHP) library
MIT License
706 stars 102 forks source link

`react/promise` is pinned to 2.2.x #113

Closed someniatko closed 3 years ago

someniatko commented 3 years ago

react/promise is pinned to ~2.2 in the composer.json, effectively only allowing installation of 2.2.x versions. Is there any reason prohibiting installing newer versions of the lib?

WyriHaximus commented 3 years ago

Looking at the composer documentation, the detail is in the patch version: https://getcomposer.org/doc/articles/versions.md#next-significant-release-operators

someniatko commented 3 years ago

Sorry, you're right, in this case ^2.2 and ~2.2 are indeed equivalent.