phanxipang / fansipan

A simple package that allows you to write your API integrations or SDKs in a elegant way.
https://phanxipang.github.io/fansipan
MIT License
81 stars 2 forks source link

Refactor middleware to use PSR message #8

Closed jenky closed 1 year ago

codecov[bot] commented 1 year ago

Codecov Report

Merging #8 (63fbef8) into main (a3580e3) will decrease coverage by 2.00%. The diff coverage is 85.18%.

:exclamation: Current head 63fbef8 differs from pull request most recent head 4bc56cc. Consider uploading reports for the commit 4bc56cc to get more accurate results

@@             Coverage Diff              @@
##               main       #8      +/-   ##
============================================
- Coverage     70.82%   68.82%   -2.00%     
+ Complexity      323      315       -8     
============================================
  Files            34       32       -2     
  Lines           754      725      -29     
============================================
- Hits            534      499      -35     
- Misses          220      226       +6     
Impacted Files Coverage Δ
src/Exceptions/RetryException.php 80.95% <0.00%> (ø)
src/Traits/HasMiddleware.php 100.00% <ø> (+25.00%) :arrow_up:
src/Retry/GenericRetryStrategy.php 75.00% <66.66%> (ø)
src/PendingRequest.php 96.29% <87.50%> (-0.85%) :arrow_down:
src/Middleware.php 81.48% <100.00%> (-3.71%) :arrow_down:
src/Middleware/Interceptor.php 100.00% <100.00%> (ø)
src/Middleware/RetryRequest.php 77.27% <100.00%> (ø)
src/Response.php 55.42% <100.00%> (-7.68%) :arrow_down:
src/Retry/RetryCallback.php 73.33% <100.00%> (ø)
src/Util.php 78.94% <100.00%> (+0.86%) :arrow_up:

... and 1 file with indirect coverage changes

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