HuasoFoundries/jpgraph

View on GitHub

Showing 6,805 of 6,805 total issues

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

    public function Stroke($aOtherAxisScale, $aStrokeLabels = true)
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 Polygon has a boolean flag argument $closed, which is a certain sign of a Single Responsibility Principle violation.
Open

    public function Polygon($pnts, $closed = false, $fast = false)
Severity: Minor
Found in src/image/RotImage.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 StrokeText has a boolean flag argument $debug, which is a certain sign of a Single Responsibility Principle violation.
Open

    public function StrokeText($x, $y, $txt, $dir = 0, $paragraph_align = 'left', $debug = false)
Severity: Minor
Found in src/image/RotImage.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 Polygon has a boolean flag argument $fast, which is a certain sign of a Single Responsibility Principle violation.
Open

    public function Polygon($pnts, $closed = false, $fast = false)
Severity: Minor
Found in src/image/RotImage.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 HideFirstTickLabel has a boolean flag argument $aShow, which is a certain sign of a Single Responsibility Principle violation.
Open

    public function HideFirstTickLabel($aShow = false)
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 HideLastTickLabel has a boolean flag argument $aShow, which is a certain sign of a Single Responsibility Principle violation.
Open

    public function HideLastTickLabel($aShow = false)
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 AdjStartTime has a boolean flag argument $aSecType, which is a certain sign of a Single Responsibility Principle violation.
Open

    public function AdjStartTime($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 HideTicks has a boolean flag argument $aHideMinor, which is a certain sign of a Single Responsibility Principle violation.
Open

    public function HideTicks($aHideMinor = true, $aHideMajor = 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 HideTicks has a boolean flag argument $aHideMajor, which is a certain sign of a Single Responsibility Principle violation.
Open

    public function HideTicks($aHideMinor = true, $aHideMajor = 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 AdjEndDate has a boolean flag argument $aYearType, 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 SetLabelFormatString has a boolean flag argument $aDate, which is a certain sign of a Single Responsibility Principle violation.
Open

    public function SetLabelFormatString($aFormStr, $aDate = false)
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 AdjStartTime has a boolean flag argument $aHourType, which is a certain sign of a Single Responsibility Principle violation.
Open

    public function AdjStartTime($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 AdjStartTime has a boolean flag argument $aMinType, which is a certain sign of a Single Responsibility Principle violation.
Open

    public function AdjStartTime($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 $aHourType, 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 AdjustForDST has a boolean flag argument $aFlg, which is a certain sign of a Single Responsibility Principle violation.
Open

    public function AdjustForDST($aFlg = 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 HideZeroLabel has a boolean flag argument $aFlag, which is a certain sign of a Single Responsibility Principle violation.
Open

    public function HideZeroLabel($aFlag = 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 SetColor has a boolean flag argument $aLabelColor, which is a certain sign of a Single Responsibility Principle violation.
Open

    public function SetColor($aColor, $aLabelColor = false)
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 AdjTime has a boolean flag argument $aSecType, 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 AdjDate has a boolean flag argument $aMonthType, 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 SetDateAlign has a boolean flag argument $aEndAlign, which is a certain sign of a Single Responsibility Principle violation.
Open

    public function SetDateAlign($aStartAlign, $aEndAlign = 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

Severity
Category
Status
Source
Language