TikiWiki/tiki-manager

View on GitHub

Showing 2,255 of 2,255 total issues

Avoid using undefined variables such as '$trimInstanceRevision' which will lead to PHP notices.
Open

                if (empty($trimInstanceRevision) || $trimInstanceRevision != $tikiRevision) {
Severity: Minor
Found in src/Command/VerifyInstanceCommand.php by phpmd

UndefinedVariable

Since: 2.8.0

Detects when a variable is used that has not been defined before.

Example

class Foo
{
    private function bar()
    {
        // $message is undefined
        echo $message;
    }
}

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

Avoid using undefined variables such as '$trimInstanceRevision' which will lead to PHP notices.
Open

                if (empty($trimInstanceRevision) || $trimInstanceRevision != $tikiRevision) {
Severity: Minor
Found in src/Command/VerifyInstanceCommand.php by phpmd

UndefinedVariable

Since: 2.8.0

Detects when a variable is used that has not been defined before.

Example

class Foo
{
    private function bar()
    {
        // $message is undefined
        echo $message;
    }
}

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

Avoid using undefined variables such as '$pass_tiki' which will lead to PHP notices.
Open

                'pass' => $pass_tiki ?? '',
Severity: Minor
Found in src/Libs/Database/Database.php by phpmd

UndefinedVariable

Since: 2.8.0

Detects when a variable is used that has not been defined before.

Example

class Foo
{
    private function bar()
    {
        // $message is undefined
        echo $message;
    }
}

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

Avoid using undefined variables such as '$user_tiki' which will lead to PHP notices.
Open

                'user' => $user_tiki ?? '',
Severity: Minor
Found in src/Libs/Database/Database.php by phpmd

UndefinedVariable

Since: 2.8.0

Detects when a variable is used that has not been defined before.

Example

class Foo
{
    private function bar()
    {
        // $message is undefined
        echo $message;
    }
}

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

Avoid using undefined variables such as '$del' which will lead to PHP notices.
Open

        while ($input != 's' && count($del)) {
Severity: Minor
Found in src/Libs/Helpers/Checksum.php by phpmd

UndefinedVariable

Since: 2.8.0

Detects when a variable is used that has not been defined before.

Example

class Foo
{
    private function bar()
    {
        // $message is undefined
        echo $message;
    }
}

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

Avoid using undefined variables such as '$new' which will lead to PHP notices.
Open

                        $version->recordFile($new[$file], $file, $app);
Severity: Minor
Found in src/Libs/Helpers/Checksum.php by phpmd

UndefinedVariable

Since: 2.8.0

Detects when a variable is used that has not been defined before.

Example

class Foo
{
    private function bar()
    {
        // $message is undefined
        echo $message;
    }
}

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

Avoid using undefined variables such as '$new' which will lead to PHP notices.
Open

                        unset($new[$file]);
Severity: Minor
Found in src/Libs/Helpers/Checksum.php by phpmd

UndefinedVariable

Since: 2.8.0

Detects when a variable is used that has not been defined before.

Example

class Foo
{
    private function bar()
    {
        // $message is undefined
        echo $message;
    }
}

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

Avoid using undefined variables such as '$mod' which will lead to PHP notices.
Open

        $modFlat = array_keys($mod);
Severity: Minor
Found in src/Libs/Helpers/Checksum.php by phpmd

UndefinedVariable

Since: 2.8.0

Detects when a variable is used that has not been defined before.

Example

class Foo
{
    private function bar()
    {
        // $message is undefined
        echo $message;
    }
}

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

Avoid using undefined variables such as '$mod' which will lead to PHP notices.
Open

                            unset($mod[$file]);
Severity: Minor
Found in src/Libs/Helpers/Checksum.php by phpmd

UndefinedVariable

Since: 2.8.0

Detects when a variable is used that has not been defined before.

Example

class Foo
{
    private function bar()
    {
        // $message is undefined
        echo $message;
    }
}

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

Avoid using undefined variables such as '$hash' which will lead to PHP notices.
Open

            $map[$path] = $hash;
Severity: Minor
Found in src/Libs/Audit/Checksum.php by phpmd

UndefinedVariable

Since: 2.8.0

Detects when a variable is used that has not been defined before.

Example

class Foo
{
    private function bar()
    {
        // $message is undefined
        echo $message;
    }
}

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

Avoid using undefined variables such as '$mod' which will lead to PHP notices.
Open

                        if ($mod[$file] != $hash) {
Severity: Minor
Found in src/Libs/Helpers/Checksum.php by phpmd

UndefinedVariable

Since: 2.8.0

Detects when a variable is used that has not been defined before.

Example

class Foo
{
    private function bar()
    {
        // $message is undefined
        echo $message;
    }
}

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

Avoid using undefined variables such as '$db_tiki' which will lead to PHP notices.
Open

                'type' => $db_tiki ?? '',
Severity: Minor
Found in src/Libs/Database/Database.php by phpmd

UndefinedVariable

Since: 2.8.0

Detects when a variable is used that has not been defined before.

Example

class Foo
{
    private function bar()
    {
        // $message is undefined
        echo $message;
    }
}

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

Avoid using undefined variables such as '$mod' which will lead to PHP notices.
Open

                        $version->replaceFile($mod[$file], $file, $app);
Severity: Minor
Found in src/Libs/Helpers/Checksum.php by phpmd

UndefinedVariable

Since: 2.8.0

Detects when a variable is used that has not been defined before.

Example

class Foo
{
    private function bar()
    {
        // $message is undefined
        echo $message;
    }
}

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

Avoid using undefined variables such as '$del' which will lead to PHP notices.
Open

                        if ($del[$file] != $hash) {
Severity: Minor
Found in src/Libs/Helpers/Checksum.php by phpmd

UndefinedVariable

Since: 2.8.0

Detects when a variable is used that has not been defined before.

Example

class Foo
{
    private function bar()
    {
        // $message is undefined
        echo $message;
    }
}

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

Avoid using undefined variables such as '$mod' which will lead to PHP notices.
Open

        while ($input != 's' && count($mod)) {
Severity: Minor
Found in src/Libs/Helpers/Checksum.php by phpmd

UndefinedVariable

Since: 2.8.0

Detects when a variable is used that has not been defined before.

Example

class Foo
{
    private function bar()
    {
        // $message is undefined
        echo $message;
    }
}

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

Avoid using undefined variables such as '$mod' which will lead to PHP notices.
Open

                            if ($mod[$file] != $hash) {
Severity: Minor
Found in src/Libs/Helpers/Checksum.php by phpmd

UndefinedVariable

Since: 2.8.0

Detects when a variable is used that has not been defined before.

Example

class Foo
{
    private function bar()
    {
        // $message is undefined
        echo $message;
    }
}

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

Avoid using undefined variables such as '$del' which will lead to PHP notices.
Open

                        unset($del[$file]);
Severity: Minor
Found in src/Libs/Helpers/Checksum.php by phpmd

UndefinedVariable

Since: 2.8.0

Detects when a variable is used that has not been defined before.

Example

class Foo
{
    private function bar()
    {
        // $message is undefined
        echo $message;
    }
}

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

Avoid using undefined variables such as '$mod' which will lead to PHP notices.
Open

                        unset($mod[$file]);
Severity: Minor
Found in src/Libs/Helpers/Checksum.php by phpmd

UndefinedVariable

Since: 2.8.0

Detects when a variable is used that has not been defined before.

Example

class Foo
{
    private function bar()
    {
        // $message is undefined
        echo $message;
    }
}

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

Avoid using undefined variables such as '$del' which will lead to PHP notices.
Open

                        unset($del[$file]);
Severity: Minor
Found in src/Libs/Helpers/Checksum.php by phpmd

UndefinedVariable

Since: 2.8.0

Detects when a variable is used that has not been defined before.

Example

class Foo
{
    private function bar()
    {
        // $message is undefined
        echo $message;
    }
}

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

Avoid using undefined variables such as '$mod' which will lead to PHP notices.
Open

                        unset($mod[$file]);
Severity: Minor
Found in src/Libs/Helpers/Checksum.php by phpmd

UndefinedVariable

Since: 2.8.0

Detects when a variable is used that has not been defined before.

Example

class Foo
{
    private function bar()
    {
        // $message is undefined
        echo $message;
    }
}

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

Severity
Category
Status
Source
Language