HuasoFoundries/jpgraph

View on GitHub

Showing 6,805 of 6,805 total issues

Missing class import via use statement (line '120', column '50').
Open

        return $this->getScenario()->runStep(new \Codeception\Step\Action('assertNotEquals', \func_get_args()));

MissingImport

Since: 2.7.0

Importing all external classes in a file through use statements makes them clearly visible.

Example

function make() {
    return new \stdClass();
}

Source http://phpmd.org/rules/cleancode.html#MissingImport

Missing class import via use statement (line '184', column '50').
Open

        return $this->getScenario()->runStep(new \Codeception\Step\Action('assertGreaterThanOrEqual', \func_get_args()));

MissingImport

Since: 2.7.0

Importing all external classes in a file through use statements makes them clearly visible.

Example

function make() {
    return new \stdClass();
}

Source http://phpmd.org/rules/cleancode.html#MissingImport

Missing class import via use statement (line '531', column '50').
Open

        return $this->getScenario()->runStep(new \Codeception\Step\Action('assertArrayNotHasKey', \func_get_args()));

MissingImport

Since: 2.7.0

Importing all external classes in a file through use statements makes them clearly visible.

Example

function make() {
    return new \stdClass();
}

Source http://phpmd.org/rules/cleancode.html#MissingImport

Missing class import via use statement (line '587', column '50').
Open

        return $this->getScenario()->runStep(new \Codeception\Step\Action('assertInternalType', \func_get_args()));

MissingImport

Since: 2.7.0

Importing all external classes in a file through use statements makes them clearly visible.

Example

function make() {
    return new \stdClass();
}

Source http://phpmd.org/rules/cleancode.html#MissingImport

Missing class import via use statement (line '672', column '50').
Open

        return $this->getScenario()->runStep(new \Codeception\Step\Action('assertStringEndsWith', \func_get_args()));

MissingImport

Since: 2.7.0

Importing all external classes in a file through use statements makes them clearly visible.

Example

function make() {
    return new \stdClass();
}

Source http://phpmd.org/rules/cleancode.html#MissingImport

Missing class import via use statement (line '1003', column '50').
Open

        return $this->getScenario()->runStep(new \Codeception\Step\Action('assertNotEqualsIgnoringCase', \func_get_args()));

MissingImport

Since: 2.7.0

Importing all external classes in a file through use statements makes them clearly visible.

Example

function make() {
    return new \stdClass();
}

Source http://phpmd.org/rules/cleancode.html#MissingImport

Missing class import via use statement (line '490', column '50').
Open

        return $this->getScenario()->runStep(new \Codeception\Step\Action('assertLessOrEquals', \func_get_args()));

MissingImport

Since: 2.7.0

Importing all external classes in a file through use statements makes them clearly visible.

Example

function make() {
    return new \stdClass();
}

Source http://phpmd.org/rules/cleancode.html#MissingImport

Missing class import via use statement (line '545', column '50').
Open

        return $this->getScenario()->runStep(new \Codeception\Step\Action('assertCount', \func_get_args()));

MissingImport

Since: 2.7.0

Importing all external classes in a file through use statements makes them clearly visible.

Example

function make() {
    return new \stdClass();
}

Source http://phpmd.org/rules/cleancode.html#MissingImport

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

    public function Show($aFlag = true)
Severity: Minor
Found in src/plot/DisplayValue.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

Missing class import via use statement (line '216', column '50').
Open

        return $this->getScenario()->runStep(new \Codeception\Step\Action('assertLessThanOrEqual', \func_get_args()));

MissingImport

Since: 2.7.0

Importing all external classes in a file through use statements makes them clearly visible.

Example

function make() {
    return new \stdClass();
}

Source http://phpmd.org/rules/cleancode.html#MissingImport

Missing class import via use statement (line '280', column '50').
Open

        return $this->getScenario()->runStep(new \Codeception\Step\Action('assertNotRegExp', \func_get_args()));

MissingImport

Since: 2.7.0

Importing all external classes in a file through use statements makes them clearly visible.

Example

function make() {
    return new \stdClass();
}

Source http://phpmd.org/rules/cleancode.html#MissingImport

Missing class import via use statement (line '791', column '50').
Open

        return $this->getScenario()->runStep(new \Codeception\Step\Action('assertIsString', \func_get_args()));

MissingImport

Since: 2.7.0

Importing all external classes in a file through use statements makes them clearly visible.

Example

function make() {
    return new \stdClass();
}

Source http://phpmd.org/rules/cleancode.html#MissingImport

Missing class import via use statement (line '856', column '50').
Open

        return $this->getScenario()->runStep(new \Codeception\Step\Action('assertIsNotFloat', \func_get_args()));

MissingImport

Since: 2.7.0

Importing all external classes in a file through use statements makes them clearly visible.

Example

function make() {
    return new \stdClass();
}

Source http://phpmd.org/rules/cleancode.html#MissingImport

Missing class import via use statement (line '869', column '50').
Open

        return $this->getScenario()->runStep(new \Codeception\Step\Action('assertIsNotInt', \func_get_args()));

MissingImport

Since: 2.7.0

Importing all external classes in a file through use statements makes them clearly visible.

Example

function make() {
    return new \stdClass();
}

Source http://phpmd.org/rules/cleancode.html#MissingImport

Missing class import via use statement (line '975', column '50').
Open

        return $this->getScenario()->runStep(new \Codeception\Step\Action('assertNotEqualsCanonicalizing', \func_get_args()));

MissingImport

Since: 2.7.0

Importing all external classes in a file through use statements makes them clearly visible.

Example

function make() {
    return new \stdClass();
}

Source http://phpmd.org/rules/cleancode.html#MissingImport

Missing class import via use statement (line '1033', column '50').
Open

        return $this->getScenario()->runStep(new \Codeception\Step\Action('assertNotEqualsWithDelta', \func_get_args()));

MissingImport

Since: 2.7.0

Importing all external classes in a file through use statements makes them clearly visible.

Example

function make() {
    return new \stdClass();
}

Source http://phpmd.org/rules/cleancode.html#MissingImport

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

    public function _Stroke($aImg, $x = null, $y = null, $aReturnWidthHeight = false)
Severity: Minor
Found in src/plot/IconPlot.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

Missing class import via use statement (line '51', column '50').
Open

        return $this->getScenario()->runStep(new \Codeception\Step\Action('expectException', \func_get_args()));

MissingImport

Since: 2.7.0

Importing all external classes in a file through use statements makes them clearly visible.

Example

function make() {
    return new \stdClass();
}

Source http://phpmd.org/rules/cleancode.html#MissingImport

Missing class import via use statement (line '152', column '50').
Open

        return $this->getScenario()->runStep(new \Codeception\Step\Action('assertNotSame', \func_get_args()));

MissingImport

Since: 2.7.0

Importing all external classes in a file through use statements makes them clearly visible.

Example

function make() {
    return new \stdClass();
}

Source http://phpmd.org/rules/cleancode.html#MissingImport

Missing class import via use statement (line '908', column '50').
Open

        return $this->getScenario()->runStep(new \Codeception\Step\Action('assertIsNotResource', \func_get_args()));

MissingImport

Since: 2.7.0

Importing all external classes in a file through use statements makes them clearly visible.

Example

function make() {
    return new \stdClass();
}

Source http://phpmd.org/rules/cleancode.html#MissingImport

Severity
Category
Status
Source
Language