Conditions | 2 |
Paths | 2 |
Total Lines | 13 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
39 | public static function getCumulativeGrowthData($period = 6) |
||
40 | { |
||
41 | $endDate = now(); |
||
42 | $startDate = $endDate->copy()->subMonths($period); |
||
43 | $period = CarbonPeriod::create($startDate, "1 month", $endDate); |
||
44 | |||
45 | $output = []; |
||
46 | foreach ($period as $date) { |
||
47 | $date = $date->format('d-m-Y'); |
||
48 | $output[$date] = (new static)->getCountForDate($date, 'd-m-Y'); |
||
49 | } |
||
50 | |||
51 | return $output; |
||
52 | } |
||
72 |
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"]
, you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths