kylekatarnls / business-time

Carbon mixin to handle business days and opening hours
MIT License
297 stars 14 forks source link

Add Schedule class for service-style usage #59

Closed kylekatarnls closed 1 year ago

codecov[bot] commented 1 year ago

Codecov Report

Merging #59 (93b663a) into master (995930a) will not change coverage. The diff coverage is 100.00%.

@@             Coverage Diff              @@
##              master       #59    +/-   ##
============================================
  Coverage     100.00%   100.00%            
- Complexity       225       254    +29     
============================================
  Files             16        19     +3     
  Lines            571       713   +142     
============================================
+ Hits             571       713   +142     
Impacted Files Coverage Δ
src/BusinessTime/Traits/AddAndSubtract.php 100.00% <ø> (ø)
src/BusinessTime/Traits/ClosedOr.php 100.00% <ø> (ø)
src/BusinessTime/Traits/CurrentOr.php 100.00% <ø> (ø)
src/BusinessTime/Traits/Holidays.php 100.00% <ø> (ø)
src/BusinessTime/Traits/IsMethods.php 100.00% <ø> (ø)
src/BusinessTime/Traits/Range.php 100.00% <ø> (ø)
src/BusinessTime/BusinessTimeWrapper.php 100.00% <100.00%> (ø)
src/BusinessTime/DefinitionParser.php 100.00% <100.00%> (ø)
src/BusinessTime/MixinBase.php 100.00% <100.00%> (ø)
src/BusinessTime/Normalizer.php 100.00% <100.00%> (ø)
... and 9 more

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

codeclimate[bot] commented 1 year ago

Code Climate has analyzed commit 93b663a1 and detected 114 issues on this pull request.

Here's the issue category breakdown:

Category Count
Complexity 13
Style 87
Clarity 14

Note: there are 2 critical issues.

The test coverage on the diff in this pull request is 100.0% (50% is the threshold).

This pull request will bring the total coverage in the repository to 100.0% (0.0% change).

View more on Code Climate.