99designs / http-signatures-php

Sign and verify PSR-7 HTTP messages in PHP.
MIT License
44 stars 32 forks source link

Allow paragonie/random_compat version 9.99.99 in composer.json #45

Closed poisa closed 5 years ago

poisa commented 5 years ago

This library requires paragonie/random_compat versions to be ^1.0|^2.0 except that for people using PHP7 this is not needed. The paragonie guys have provided an empty version (9.99.99) to solve exactly this problem. Version 9.99.99 can only be installed in PHP7 but 99designs/http-signatures-php does not allow this version to be installed.

This PR enables 99designs/http-signatures-php to be required in PHP7 systems that already have the paragonie library required and are using version 9.99.99.