mambax7/extcal

View on GitHub
class/Form/FormDateTime.php

Summary

Maintainability
A
1 hr
Test Coverage

Method __construct has 35 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function __construct($form, $startTS = 0, $endTS = 0)
    {
        $startTS       = (int)$startTS;
        $startTS       = ($startTS > 0) ? $startTS : \time();
        $startDatetime = \getdate($startTS);
Severity: Minor
Found in class/Form/FormDateTime.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status