src/Carbon/CarbonInterval.php
changed.
Showing 1 of 1 files from the diff.
@@ -1541,9 +1541,10 @@
Loading
1541 | 1541 | ||
1542 | 1542 | $intervalValues = $this; |
|
1543 | 1543 | $method = static::getRoundingMethodFromOptions($options); |
|
1544 | - | $previousCount = INF; |
|
1545 | 1544 | ||
1546 | 1545 | if ($method) { |
|
1546 | + | $previousCount = INF; |
|
1547 | + | ||
1547 | 1548 | while ( |
|
1548 | 1549 | \count($intervalValues->getNonZeroValues()) > $parts && |
|
1549 | 1550 | ($count = \count($keys = array_keys($intervalValues->getValuesSequence()))) > 1 |
Files | Complexity | Coverage |
---|---|---|
src/Carbon | 2,062 | 100.00% |
Project Totals (885 files) | 2062 | 100.00% |
4959.15
7.3=.3 TRAVIS_OS_NAME=linux
4957.15
7.3=.3 TRAVIS_OS_NAME=linux
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file.
The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files.
The size and color of each slice is representing the number of statements and the coverage, respectively.