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
83 stars 2 forks source link

Improve multi-part requests #10

Closed jenky closed 1 year ago

jenky commented 1 year ago

Multipart now created by using MultipartResource::from method instead of new keyword

codecov[bot] commented 1 year ago

Codecov Report

Merging #10 (4df1290) into main (2632595) will increase coverage by 1.70%. The diff coverage is 86.36%.

@@             Coverage Diff              @@
##               main      #10      +/-   ##
============================================
+ Coverage     71.23%   72.93%   +1.70%     
  Complexity      287      287              
============================================
  Files            29       29              
  Lines           650      654       +4     
============================================
+ Hits            463      477      +14     
+ Misses          187      177      -10     
Impacted Files Coverage Δ
src/Body/MultipartResource.php 85.71% <85.71%> (ø)
src/Body/MultipartPayload.php 97.05% <90.00%> (-2.95%) :arrow_down:

... and 3 files with indirect coverage changes

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