HuasoFoundries/jpgraph

View on GitHub

Showing 6,805 of 6,805 total issues

The method AdjEndDate has a boolean flag argument $aMonthType, which is a certain sign of a Single Responsibility Principle violation.
Open

    public function AdjEndDate($aTime, $aYearType = false, $aMonthType = false, $aDayType = false)
Severity: Minor
Found in src/graph/DateScale.php by phpmd

BooleanArgumentFlag

Since: 1.4.0

A boolean flag argument is a reliable indicator for a violation of the Single Responsibility Principle (SRP). You can fix this problem by extracting the logic in the boolean flag into its own class or method.

Example

class Foo {
    public function bar($flag = true) {
    }
}

Source https://phpmd.org/rules/cleancode.html#booleanargumentflag

The method AdjTime has a boolean flag argument $aMinType, which is a certain sign of a Single Responsibility Principle violation.
Open

    public function AdjTime($aTime, $aRound = 0, $aHourType = false, $aMinType = false, $aSecType = false)
Severity: Minor
Found in src/graph/DateScale.php by phpmd

BooleanArgumentFlag

Since: 1.4.0

A boolean flag argument is a reliable indicator for a violation of the Single Responsibility Principle (SRP). You can fix this problem by extracting the logic in the boolean flag into its own class or method.

Example

class Foo {
    public function bar($flag = true) {
    }
}

Source https://phpmd.org/rules/cleancode.html#booleanargumentflag

The method AutoScale has a boolean flag argument $_adummy, which is a certain sign of a Single Responsibility Principle violation.
Open

    public function AutoScale($img, $aStartTime, $aEndTime, $aNumSteps, $_adummy = false)
Severity: Minor
Found in src/graph/DateScale.php by phpmd

BooleanArgumentFlag

Since: 1.4.0

A boolean flag argument is a reliable indicator for a violation of the Single Responsibility Principle (SRP). You can fix this problem by extracting the logic in the boolean flag into its own class or method.

Example

class Foo {
    public function bar($flag = true) {
    }
}

Source https://phpmd.org/rules/cleancode.html#booleanargumentflag

The method AdjEndTime has a boolean flag argument $aMinType, which is a certain sign of a Single Responsibility Principle violation.
Open

    public function AdjEndTime($aTime, $aHourType = false, $aMinType = false, $aSecType = false)
Severity: Minor
Found in src/graph/DateScale.php by phpmd

BooleanArgumentFlag

Since: 1.4.0

A boolean flag argument is a reliable indicator for a violation of the Single Responsibility Principle (SRP). You can fix this problem by extracting the logic in the boolean flag into its own class or method.

Example

class Foo {
    public function bar($flag = true) {
    }
}

Source https://phpmd.org/rules/cleancode.html#booleanargumentflag

The method AdjEndTime has a boolean flag argument $aSecType, which is a certain sign of a Single Responsibility Principle violation.
Open

    public function AdjEndTime($aTime, $aHourType = false, $aMinType = false, $aSecType = false)
Severity: Minor
Found in src/graph/DateScale.php by phpmd

BooleanArgumentFlag

Since: 1.4.0

A boolean flag argument is a reliable indicator for a violation of the Single Responsibility Principle (SRP). You can fix this problem by extracting the logic in the boolean flag into its own class or method.

Example

class Foo {
    public function bar($flag = true) {
    }
}

Source https://phpmd.org/rules/cleancode.html#booleanargumentflag

The method DoDateAutoScale has a boolean flag argument $aAdjust, which is a certain sign of a Single Responsibility Principle violation.
Open

    public function DoDateAutoScale($aStartTime, $aEndTime, $aDensity = 0, $aAdjust = true)
Severity: Minor
Found in src/graph/DateScale.php by phpmd

BooleanArgumentFlag

Since: 1.4.0

A boolean flag argument is a reliable indicator for a violation of the Single Responsibility Principle (SRP). You can fix this problem by extracting the logic in the boolean flag into its own class or method.

Example

class Foo {
    public function bar($flag = true) {
    }
}

Source https://phpmd.org/rules/cleancode.html#booleanargumentflag

The method HideLine has a boolean flag argument $aHide, which is a certain sign of a Single Responsibility Principle violation.
Open

    public function HideLine($aHide = true)
Severity: Minor
Found in src/graph/AxisPrototype.php by phpmd

BooleanArgumentFlag

Since: 1.4.0

A boolean flag argument is a reliable indicator for a violation of the Single Responsibility Principle (SRP). You can fix this problem by extracting the logic in the boolean flag into its own class or method.

Example

class Foo {
    public function bar($flag = true) {
    }
}

Source https://phpmd.org/rules/cleancode.html#booleanargumentflag

The method HideLabels has a boolean flag argument $aHide, which is a certain sign of a Single Responsibility Principle violation.
Open

    public function HideLabels($aHide = true)
Severity: Minor
Found in src/graph/AxisPrototype.php by phpmd

BooleanArgumentFlag

Since: 1.4.0

A boolean flag argument is a reliable indicator for a violation of the Single Responsibility Principle (SRP). You can fix this problem by extracting the logic in the boolean flag into its own class or method.

Example

class Foo {
    public function bar($flag = true) {
    }
}

Source https://phpmd.org/rules/cleancode.html#booleanargumentflag

The method StrokeLabels has a boolean flag argument $aMinor, which is a certain sign of a Single Responsibility Principle violation.
Open

    public function StrokeLabels($aPos, $aMinor = false, $aAbsLabel = false)
Severity: Minor
Found in src/graph/Axis.php by phpmd

BooleanArgumentFlag

Since: 1.4.0

A boolean flag argument is a reliable indicator for a violation of the Single Responsibility Principle (SRP). You can fix this problem by extracting the logic in the boolean flag into its own class or method.

Example

class Foo {
    public function bar($flag = true) {
    }
}

Source https://phpmd.org/rules/cleancode.html#booleanargumentflag

The method AdjDate has a boolean flag argument $aDayType, which is a certain sign of a Single Responsibility Principle violation.
Open

    public function AdjDate($aTime, $aRound = 0, $aYearType = false, $aMonthType = false, $aDayType = false)
Severity: Minor
Found in src/graph/DateScale.php by phpmd

BooleanArgumentFlag

Since: 1.4.0

A boolean flag argument is a reliable indicator for a violation of the Single Responsibility Principle (SRP). You can fix this problem by extracting the logic in the boolean flag into its own class or method.

Example

class Foo {
    public function bar($flag = true) {
    }
}

Source https://phpmd.org/rules/cleancode.html#booleanargumentflag

The method StrokeLabels has a boolean flag argument $aAbsLabel, which is a certain sign of a Single Responsibility Principle violation.
Open

    public function StrokeLabels($aPos, $aMinor = false, $aAbsLabel = false)
Severity: Minor
Found in src/graph/Axis.php by phpmd

BooleanArgumentFlag

Since: 1.4.0

A boolean flag argument is a reliable indicator for a violation of the Single Responsibility Principle (SRP). You can fix this problem by extracting the logic in the boolean flag into its own class or method.

Example

class Foo {
    public function bar($flag = true) {
    }
}

Source https://phpmd.org/rules/cleancode.html#booleanargumentflag

The method AdjStartDate has a boolean flag argument $aYearType, which is a certain sign of a Single Responsibility Principle violation.
Open

    public function AdjStartDate($aTime, $aYearType = false, $aMonthType = false, $aDayType = false)
Severity: Minor
Found in src/graph/DateScale.php by phpmd

BooleanArgumentFlag

Since: 1.4.0

A boolean flag argument is a reliable indicator for a violation of the Single Responsibility Principle (SRP). You can fix this problem by extracting the logic in the boolean flag into its own class or method.

Example

class Foo {
    public function bar($flag = true) {
    }
}

Source https://phpmd.org/rules/cleancode.html#booleanargumentflag

The method AdjStartDate has a boolean flag argument $aMonthType, which is a certain sign of a Single Responsibility Principle violation.
Open

    public function AdjStartDate($aTime, $aYearType = false, $aMonthType = false, $aDayType = false)
Severity: Minor
Found in src/graph/DateScale.php by phpmd

BooleanArgumentFlag

Since: 1.4.0

A boolean flag argument is a reliable indicator for a violation of the Single Responsibility Principle (SRP). You can fix this problem by extracting the logic in the boolean flag into its own class or method.

Example

class Foo {
    public function bar($flag = true) {
    }
}

Source https://phpmd.org/rules/cleancode.html#booleanargumentflag

The method Show has a boolean flag argument $aF, which is a certain sign of a Single Responsibility Principle violation.
Open

    public function Show($aF = true)
Severity: Minor
Found in src/graph/GanttActivityInfo.php by phpmd

BooleanArgumentFlag

Since: 1.4.0

A boolean flag argument is a reliable indicator for a violation of the Single Responsibility Principle (SRP). You can fix this problem by extracting the logic in the boolean flag into its own class or method.

Example

class Foo {
    public function bar($flag = true) {
    }
}

Source https://phpmd.org/rules/cleancode.html#booleanargumentflag

The method Stroke has a boolean flag argument $aUseTextHeight, which is a certain sign of a Single Responsibility Principle violation.
Open

    public function Stroke($aImg, $aXLeft, $aYTop, $aXRight, $aYBottom, $aUseTextHeight = false)
Severity: Minor
Found in src/graph/GanttActivityInfo.php by phpmd

BooleanArgumentFlag

Since: 1.4.0

A boolean flag argument is a reliable indicator for a violation of the Single Responsibility Principle (SRP). You can fix this problem by extracting the logic in the boolean flag into its own class or method.

Example

class Foo {
    public function bar($flag = true) {
    }
}

Source https://phpmd.org/rules/cleancode.html#booleanargumentflag

The method AdjStartDate has a boolean flag argument $aDayType, which is a certain sign of a Single Responsibility Principle violation.
Open

    public function AdjStartDate($aTime, $aYearType = false, $aMonthType = false, $aDayType = false)
Severity: Minor
Found in src/graph/DateScale.php by phpmd

BooleanArgumentFlag

Since: 1.4.0

A boolean flag argument is a reliable indicator for a violation of the Single Responsibility Principle (SRP). You can fix this problem by extracting the logic in the boolean flag into its own class or method.

Example

class Foo {
    public function bar($flag = true) {
    }
}

Source https://phpmd.org/rules/cleancode.html#booleanargumentflag

The method AdjTime has a boolean flag argument $aHourType, which is a certain sign of a Single Responsibility Principle violation.
Open

    public function AdjTime($aTime, $aRound = 0, $aHourType = false, $aMinType = false, $aSecType = false)
Severity: Minor
Found in src/graph/DateScale.php by phpmd

BooleanArgumentFlag

Since: 1.4.0

A boolean flag argument is a reliable indicator for a violation of the Single Responsibility Principle (SRP). You can fix this problem by extracting the logic in the boolean flag into its own class or method.

Example

class Foo {
    public function bar($flag = true) {
    }
}

Source https://phpmd.org/rules/cleancode.html#booleanargumentflag

The method StrokeHours has a boolean flag argument $getHeight, which is a certain sign of a Single Responsibility Principle violation.
Open

    public function StrokeHours($aYCoord, $getHeight = false)
Severity: Minor
Found in src/graph/GanttScale.php by phpmd

BooleanArgumentFlag

Since: 1.4.0

A boolean flag argument is a reliable indicator for a violation of the Single Responsibility Principle (SRP). You can fix this problem by extracting the logic in the boolean flag into its own class or method.

Example

class Foo {
    public function bar($flag = true) {
    }
}

Source https://phpmd.org/rules/cleancode.html#booleanargumentflag

The method GetColStart has a boolean flag argument $aAddLeftMargin, which is a certain sign of a Single Responsibility Principle violation.
Open

    public function GetColStart($aImg, &$aStart, $aAddLeftMargin = false)
Severity: Minor
Found in src/graph/GanttActivityInfo.php by phpmd

BooleanArgumentFlag

Since: 1.4.0

A boolean flag argument is a reliable indicator for a violation of the Single Responsibility Principle (SRP). You can fix this problem by extracting the logic in the boolean flag into its own class or method.

Example

class Foo {
    public function bar($flag = true) {
    }
}

Source https://phpmd.org/rules/cleancode.html#booleanargumentflag

The method Hide has a boolean flag argument $aHide, which is a certain sign of a Single Responsibility Principle violation.
Open

    public function Hide($aHide = true)
Severity: Minor
Found in src/graph/AxisPrototype.php by phpmd

BooleanArgumentFlag

Since: 1.4.0

A boolean flag argument is a reliable indicator for a violation of the Single Responsibility Principle (SRP). You can fix this problem by extracting the logic in the boolean flag into its own class or method.

Example

class Foo {
    public function bar($flag = true) {
    }
}

Source https://phpmd.org/rules/cleancode.html#booleanargumentflag

Severity
Category
Status
Source
Language