Closed rogerthomas84 closed 3 years ago
Very well spotted! It was an import error with the autocomplete of my IDE... Technology is nothing without humans :smile:
Thanks @rogerthomas84
@MockingMagician no worries at all. I'm using this daily so I'm sure there will be some more coming soon. Fantastic library. Really great!
Little description of PR
The use of
PHPUnit\Framework\Exception
in theApiError
causes the request to fail if you've runcomposer install --no-dev -o
Requirements
Describe more the PR if needed
For example in the case of an order that you've cancelled inside the Coinbase app and you try to retrieve it using this SDK it'll throw an ApiError which will cause a fatal error if you've installed dependencies using
--no-dev
as the PHPUnit dependency is not installed.Error: