bumbummen99 / LaravelShoppingcart

A simple shopping cart implementation for Laravel
MIT License
505 stars 234 forks source link

Add macroable trait #113

Closed ganyicz closed 3 years ago

ganyicz commented 3 years ago

This PR adds the possibility to extend the Cart facade through Laravel macros

codecov-io commented 3 years ago

Codecov Report

Merging #113 (47dd3b2) into master (2fc604e) will increase coverage by 0.00%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master     #113   +/-   ##
=========================================
  Coverage     95.84%   95.85%           
  Complexity      166      166           
=========================================
  Files             7        7           
  Lines           433      434    +1     
=========================================
+ Hits            415      416    +1     
  Misses           18       18           
Flag Coverage Δ Complexity Δ
unittests 95.85% <100.00%> (+<0.01%) 0.00 <0.00> (ø)

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

Impacted Files Coverage Δ Complexity Δ
src/Cart.php 95.01% <100.00%> (+0.01%) 94.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 2fc604e...47dd3b2. Read the comment docs.