opsway / zohobooks-api

ZohoBooks PHP library
MIT License
6 stars 10 forks source link

Updated `get` in order to return `GuzzleHttp\Psr7\Stream` when a file is required #24

Closed ppicatto closed 7 years ago

ppicatto commented 7 years ago
Q A
Branch master
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets n/a
License MIT
Doc PR n/a

Updated get in order to return GuzzleHttp\Psr7\Stream when a file it's required

codecov[bot] commented 7 years ago

Codecov Report

Merging #24 into master will decrease coverage by 1.6%. The diff coverage is 0%.

Impacted file tree graph

@@             Coverage Diff             @@
##             master     #24      +/-   ##
===========================================
- Coverage      6.76%   5.16%   -1.61%     
- Complexity      112     114       +2     
===========================================
  Files            12      12              
  Lines           207     310     +103     
===========================================
+ Hits             14      16       +2     
- Misses          193     294     +101
Impacted Files Coverage Δ Complexity Δ
src/Api/BaseApi.php 30.43% <0%> (+0.43%) 7 <2> (+1) :arrow_up:
src/Client.php 0% <0%> (ø) 18 <0> (+1) :arrow_up:
src/Api.php 0% <0%> (ø) 51% <0%> (ø) :arrow_down:
src/Api/VendorCredits.php 0% <0%> (ø) 2% <0%> (ø) :arrow_down:
src/Api/CustomerPayments.php 0% <0%> (ø) 1% <0%> (ø) :arrow_down:
src/Api/Bills.php 0% <0%> (ø) 2% <0%> (ø) :arrow_down:
src/Module.php 0% <0%> (ø) 1% <0%> (ø) :arrow_down:
src/Factory/ApiServiceFactory.php 0% <0%> (ø) 6% <0%> (ø) :arrow_down:
src/Api/Items.php 0% <0%> (ø) 2% <0%> (ø) :arrow_down:
src/Api/PurchaseOrder.php 0% <0%> (ø) 1% <0%> (ø) :arrow_down:
... and 4 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update eeb3ec2...ff2795d. Read the comment docs.