dynamic / silverstripe-foxy

BSD 3-Clause "New" or "Revised" License
1 stars 3 forks source link

REFACTOR Purchasable - depreciate isAvailable() #109

Closed jsirish closed 4 years ago

jsirish commented 4 years ago

replace with getIsAvailable()

codecov[bot] commented 4 years ago

Codecov Report

Merging #109 into master will decrease coverage by 0.12%. The diff coverage is 50.00%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #109      +/-   ##
============================================
- Coverage     53.12%   53.00%   -0.13%     
- Complexity      237      238       +1     
============================================
  Files            13       13              
  Lines           881      883       +2     
============================================
  Hits            468      468              
- Misses          413      415       +2     
Flag Coverage Δ Complexity Δ
#php 53.00% <50.00%> (-0.13%) 238.00 <6.00> (+1.00) :arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ Complexity Δ
src/Extension/Purchasable.php 87.61% <25.00%> (-1.58%) 23.00 <6.00> (+1.00) :arrow_down:
src/Extension/PurchasableExtension.php 23.80% <50.00%> (ø) 8.00 <0.00> (ø)
src/Form/AddToCartForm.php 64.23% <100.00%> (ø) 40.00 <0.00> (ø)

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 a55259f...b8fad4d. Read the comment docs.