trickeyone/epoch

View on GitHub
src/Duration.php

Summary

Maintainability
A
0 mins
Test Coverage
A
100%

Method __construct has 57 lines of code (exceeds 25 allowed). Consider refactoring.
Wontfix

    public function __construct(int|float|DateInterval $amount = null, Units $units = null)
    {
        if ($amount instanceof DateInterval) {
            $this->milliseconds = $amount->f;
            $this->seconds = $amount->s;
Severity: Major
Found in src/Duration.php - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status