brokencube/automatorm

View on GitHub

Showing 452 of 452 total issues

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

            $output .= "  <span><strong>connection</strong></span> => ".$this->connection->name."\n";
Severity: Minor
Found in src/Orm/Dump.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 '$this' which will lead to PHP notices.
Open

                    $value = $this->_data->join($key, ['id' => array_slice($ids, 0, \Automatorm\Orm\Dump::$id_limit)]);
Severity: Minor
Found in src/Orm/Dump.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 '$objstrings' which will lead to PHP notices.
Open

                                $objstrings[] = \Automatorm\Orm\Dump::safeTruncate($obj);
Severity: Minor
Found in src/Orm/Dump.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 '$this' which will lead to PHP notices.
Open

            foreach (get_class_methods($this) as $method) {
Severity: Minor
Found in src/Orm/Dump.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 '$instance' which will lead to PHP notices.
Open

                Model::$instance[$namespace][$table][$row['id']] = $obj;
Severity: Minor
Found in src/Orm/Model.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 '$instance' which will lead to PHP notices.
Open

                        $collection[] = Model::$instance[$namespace][$table][$id];
Severity: Minor
Found in src/Orm/Model.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 '$this' which will lead to PHP notices.
Open

            $data = $data_access->bindTo($this->_data, $this->_data);
Severity: Minor
Found in src/Orm/Dump.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 '$instance' which will lead to PHP notices.
Open

                    if (isset(Model::$instance[$namespace][$table][$id])) {
Severity: Minor
Found in src/Orm/Model.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 '$this' which will lead to PHP notices.
Open

                                [$contents['column_name'] => $this->id],
Severity: Minor
Found in src/Orm/Dump.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 '$this' which will lead to PHP notices.
Open

            return $this->$var;
Severity: Minor
Found in src/Orm/Dump.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 '$this' which will lead to PHP notices.
Open

            $output .= "  <span><strong>table</strong></span> => ".$this->table."\n";
Severity: Minor
Found in src/Orm/Dump.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 '$this' which will lead to PHP notices.
Open

                    $value = $this->_data->$key;
Severity: Minor
Found in src/Orm/Dump.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 '$this' which will lead to PHP notices.
Open

                        $value = $this->{$key};
Severity: Minor
Found in src/Orm/Dump.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 '$this' which will lead to PHP notices.
Open

                    $ids = $this->{$key}->id->toArray();
Severity: Minor
Found in src/Orm/Dump.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 '$instance' which will lead to PHP notices.
Open

            if (!$obj = isset(Model::$instance[$namespace][$table][$row['id']]) ? Model::$instance[$namespace][$table][$row['id']] : false) {
Severity: Minor
Found in src/Orm/Model.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 '$external' which will lead to PHP notices.
Open

                $external[$obj->$column][] = $obj;
Severity: Minor
Found in src/Orm/Data.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 '$external' which will lead to PHP notices.
Open

                $obj->_data->external[$var] = new Collection((array) $external[$obj->id]);
Severity: Minor
Found in src/Orm/Data.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 '$this' which will lead to PHP notices.
Open

            foreach (get_object_vars($this) as $key => $value) {
Severity: Minor
Found in src/Orm/Dump.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 '$instance' which will lead to PHP notices.
Open

                if (isset(Model::$instance[$namespace][$table][$ids])) {
Severity: Minor
Found in src/Orm/Model.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 '$instance' which will lead to PHP notices.
Open

        Model::$instance[$this->namespace][$this->table][strtolower(get_called_class())][$this->id] = $this;
Severity: Minor
Found in src/Orm/Model.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