mambax7/extcal

View on GitHub
class/pear/Calendar/Engine/UnixTS.php

Summary

Maintainability
B
4 hrs
Test Coverage

Calendar_Engine_UnixTS has 24 functions (exceeds 20 allowed). Consider refactoring.
Open

class Calendar_Engine_UnixTS /* implements Calendar_Engine_Interface */
{
    /**
     * Makes sure a given timestamp is only ever parsed once
     * <pre>
Severity: Minor
Found in class/pear/Calendar/Engine/UnixTS.php - About 2 hrs to fix

    Method dateToStamp has 6 arguments (exceeds 4 allowed). Consider refactoring.
    Open

        public function dateToStamp($y, $m, $d, $h = 0, $i = 0, $s = 0)
    Severity: Minor
    Found in class/pear/Calendar/Engine/UnixTS.php - About 45 mins to fix

      Method getSecondsInMinute has 5 arguments (exceeds 4 allowed). Consider refactoring.
      Open

          public function getSecondsInMinute($y = null, $m = null, $d = null, $h = null, $i = null)
      Severity: Minor
      Found in class/pear/Calendar/Engine/UnixTS.php - About 35 mins to fix

        There are no issues that match your filters.

        Category
        Status