avadev / AvaTax-REST-V2-PHP-SDK

Sales Tax API SDK for PHP and AvaTax REST
https://developer.avalara.com/sdk/
Apache License 2.0
48 stars 95 forks source link

Back door PHP 8.0 requirement through psr\log #197

Closed dmnc closed 1 year ago

dmnc commented 1 year ago

Versions 22+ state they require PHP >=5.5.9 but are requiring "psr\log": "^3.0" which has a hard requirement on PHP 8. It looks like this was introduced in #189.

As a consumer of psr\log there should be no issue with supporting all three versions, as the only differences are type hinting.

This PR widens the psr\log requirement to allow versions 1, 2, or 3, which is a very common pattern across libraries.