| Conditions | 1 |
| Paths | 1 |
| Total Lines | 7 |
| Code Lines | 3 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 4 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 17 | 41 | public static function julianToDate(int $date): Chronos |
|
| 18 | { |
||
| 19 | 41 | $parts = explode('/', jdtogregorian($date)); |
|
| 20 | |||
| 21 | 41 | $result = new Chronos('now', new DateTimeZone('UTC')); |
|
| 22 | |||
| 23 | 41 | return $result->setDate((int) $parts[2], (int) $parts[0], (int) $parts[1])->setTime(0, 0, 0, 0); |
|
| 24 | } |
||
| 64 |
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