mambax7/extcal

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

Summary

Maintainability
B
4 hrs
Test Coverage

Showing 3 of 3 total issues

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
        Category
        Status