Vonage / vonage-php-sdk-core

Vonage REST API client for PHP. API support for SMS, Voice, Text-to-Speech, Numbers, Verify (2FA) and more.
https://developer.vonage.com/
Apache License 2.0
916 stars 180 forks source link

Added ability to cancel request #405

Closed SecondeJK closed 1 year ago

SecondeJK commented 1 year ago

This PR adds the cancel request endpoint.

How Has This Been Tested?

Test added for success - no tests added for the other responses are they are handled by the APIResource client.

Types of changes

Checklist:

codecov-commenter commented 1 year ago

Codecov Report

Merging #405 (dc04550) into main (8dc0f5b) will increase coverage by 0.44%. The diff coverage is 80.00%.

@@             Coverage Diff              @@
##               main     #405      +/-   ##
============================================
+ Coverage     77.58%   78.02%   +0.44%     
- Complexity     1934     1997      +63     
============================================
  Files           190      191       +1     
  Lines          5153     5325     +172     
============================================
+ Hits           3998     4155     +157     
- Misses         1155     1170      +15     
Impacted Files Coverage Δ
src/Verify2/ClientFactory.php 0.00% <0.00%> (ø)
src/Verify2/Client.php 100.00% <100.00%> (ø)

... and 4 files with indirect coverage changes

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more