YetiForceCompany/YetiForceCRM

View on GitHub
app/Conditions/QueryFields/ReferenceField.php

Summary

Maintainability
A
1 hr
Test Coverage
F
2%

Function getOrderBy has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring.
Open

    public function getOrderBy($order = false): array
    {
        $condition = [];
        if ($order && 'DESC' === strtoupper($order)) {
            foreach ($this->getRelatedTableName() as $formattedName) {
Severity: Minor
Found in app/Conditions/QueryFields/ReferenceField.php - About 35 mins to fix

Cognitive Complexity

Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

A method's cognitive complexity is based on a few simple rules:

  • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
  • Code is considered more complex for each "break in the linear flow of the code"
  • Code is considered more complex when "flow breaking structures are nested"

Further reading

Function getRelatedTables has a Cognitive Complexity of 6 (exceeds 5 allowed). Consider refactoring.
Open

    public function getRelatedTables(array $modules, string $fieldName): array
    {
        $relatedTableName = [];
        foreach ($modules as $moduleName) {
            $formattedTables = [];
Severity: Minor
Found in app/Conditions/QueryFields/ReferenceField.php - About 25 mins to fix

Cognitive Complexity

Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

A method's cognitive complexity is based on a few simple rules:

  • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
  • Code is considered more complex for each "break in the linear flow of the code"
  • Code is considered more complex when "flow breaking structures are nested"

Further reading

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

    public function getOrderBy($order = false): array

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 '66', column '72').
Open

            $relatedTableName[$moduleName] = \count($formattedTables) > 1 ? new \yii\db\Expression('CONCAT(' . implode(",' ',", $formattedTables) . ')') : current($formattedTables);

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

Avoid using static access to class '\App\Config' in method 'getRelatedTableName'.
Open

            if (\App\Config::performance('SEARCH_REFERENCE_BY_AJAX')) {

StaticAccess

Since: 1.4.0

Static access causes unexchangeable dependencies to other classes and leads to hard to test code. Avoid using static access at all costs and instead inject dependencies through the constructor. The only case when static access is acceptable is when used for factory methods.

Example

class Foo
{
    public function bar()
    {
        Bar::baz();
    }
}

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

Avoid using static access to class '\Vtiger_Module_Model' in method 'getRelatedTableName'.
Open

            $relatedModuleModel = \Vtiger_Module_Model::getInstance($this->related['relatedModule']);

StaticAccess

Since: 1.4.0

Static access causes unexchangeable dependencies to other classes and leads to hard to test code. Avoid using static access at all costs and instead inject dependencies through the constructor. The only case when static access is acceptable is when used for factory methods.

Example

class Foo
{
    public function bar()
    {
        Bar::baz();
    }
}

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

Avoid using static access to class '\App\Config' in method 'operatorA'.
Open

        if (\App\Config::performance('SEARCH_REFERENCE_BY_AJAX')) {

StaticAccess

Since: 1.4.0

Static access causes unexchangeable dependencies to other classes and leads to hard to test code. Avoid using static access at all costs and instead inject dependencies through the constructor. The only case when static access is acceptable is when used for factory methods.

Example

class Foo
{
    public function bar()
    {
        Bar::baz();
    }
}

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

Avoid using static access to class '\Vtiger_Module_Model' in method 'getRelatedTables'.
Open

            $relatedModuleModel = \Vtiger_Module_Model::getInstance($moduleName);

StaticAccess

Since: 1.4.0

Static access causes unexchangeable dependencies to other classes and leads to hard to test code. Avoid using static access at all costs and instead inject dependencies through the constructor. The only case when static access is acceptable is when used for factory methods.

Example

class Foo
{
    public function bar()
    {
        Bar::baz();
    }
}

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

Avoid assigning values to variables in if clauses and the like (line '57', column '9').
Open

    public function getRelatedTables(array $modules, string $fieldName): array
    {
        $relatedTableName = [];
        foreach ($modules as $moduleName) {
            $formattedTables = [];

IfStatementAssignment

Since: 2.7.0

Assignments in if clauses and the like are considered a code smell. Assignments in PHP return the right operand as their result. In many cases, this is an expected behavior, but can lead to many difficult to spot bugs, especially when the right operand could result in zero, null or an empty string and the like.

Example

class Foo
{
    public function bar($flag)
    {
        if ($foo = 'bar') { // possible typo
            // ...
        }
        if ($baz = 0) { // always false
            // ...
        }
    }
}

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

Avoid using static access to class '\App\Module' in method 'getRelatedTables'.
Open

            $entityFieldInfo = \App\Module::getEntityInfo($moduleName);

StaticAccess

Since: 1.4.0

Static access causes unexchangeable dependencies to other classes and leads to hard to test code. Avoid using static access at all costs and instead inject dependencies through the constructor. The only case when static access is acceptable is when used for factory methods.

Example

class Foo
{
    public function bar()
    {
        Bar::baz();
    }
}

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

The method getOrderBy uses an else expression. Else clauses are basically not necessary and you can simplify the code by not using them.
Open

        } else {
            foreach ($this->getRelatedTableName() as $formattedName) {
                $condition[(string) $formattedName] = SORT_ASC;
            }
        }

ElseExpression

Since: 1.4.0

An if expression with an else branch is basically not necessary. You can rewrite the conditions in a way that the else clause is not necessary and the code becomes simpler to read. To achieve this, use early return statements, though you may need to split the code it several smaller methods. For very simple assignments you could also use the ternary operations.

Example

class Foo
{
    public function bar($flag)
    {
        if ($flag) {
            // one branch
        } else {
            // another branch
        }
    }
}

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

Call to method addJoin from undeclared class \App\QueryGenerator (Did you mean class \Tests\App\QueryGenerator)
Open

                    $this->queryGenerator->addJoin(['LEFT JOIN',

Call to method getReference from undeclared class \App\QueryGenerator (Did you mean class \Tests\App\QueryGenerator)
Open

        return $this->queryGenerator->getReference($this->fieldModel->getName());

Call to method __construct from undeclared class \yii\db\Expression
Open

            $relatedTableName[$moduleName] = \count($formattedTables) > 1 ? new \yii\db\Expression('CONCAT(' . implode(",' ',", $formattedTables) . ')') : current($formattedTables);

Spaces must be used to indent lines; tabs are not allowed
Open

        return parent::operatorA();

Spaces must be used to indent lines; tabs are not allowed
Open

    public function getRelatedTableName(): array

Spaces must be used to indent lines; tabs are not allowed
Open

        }

Spaces must be used to indent lines; tabs are not allowed
Open

    /**

Spaces must be used to indent lines; tabs are not allowed
Open

            $relatedTableName[$moduleName] = \count($formattedTables) > 1 ? new \yii\db\Expression('CONCAT(' . implode(",' ',", $formattedTables) . ')') : current($formattedTables);

Spaces must be used to indent lines; tabs are not allowed
Open

                $condition[] = [$this->getColumnName() => $value];

Spaces must be used to indent lines; tabs are not allowed
Open

        $condition = ['or'];

Spaces must be used to indent lines; tabs are not allowed
Open

    {

Spaces must be used to indent lines; tabs are not allowed
Open

        if ($this->related) {

Spaces must be used to indent lines; tabs are not allowed
Open

            $fieldModel = $relatedModuleModel->getFieldByName($this->related['relatedField']);

Spaces must be used to indent lines; tabs are not allowed
Open

     * Get formatted column references from related records.

Spaces must be used to indent lines; tabs are not allowed
Open

                if ($relField = $relatedModuleModel->getFieldByColumn($column)) {

Line exceeds 120 characters; contains 181 characters
Open

            $relatedTableName[$moduleName] = \count($formattedTables) > 1 ? new \yii\db\Expression('CONCAT(' . implode(",' ',", $formattedTables) . ')') : current($formattedTables);

Spaces must be used to indent lines; tabs are not allowed
Open

    {

Spaces must be used to indent lines; tabs are not allowed
Open

        return [$this->getColumnName() => $this->getValue()];

Spaces must be used to indent lines; tabs are not allowed
Open

    public function operatorN(): array

Spaces must be used to indent lines; tabs are not allowed
Open

    /**

Spaces must be used to indent lines; tabs are not allowed
Open

            if (\App\Config::performance('SEARCH_REFERENCE_BY_AJAX')) {

Spaces must be used to indent lines; tabs are not allowed
Open

     */

Spaces must be used to indent lines; tabs are not allowed
Open

     * Starts with operator.

Spaces must be used to indent lines; tabs are not allowed
Open

    public function getTables()

Spaces must be used to indent lines; tabs are not allowed
Open

        return $this->getRelatedTables($this->getTables(), $this->fieldModel->getName());

Spaces must be used to indent lines; tabs are not allowed
Open

    public function getRelatedTables(array $modules, string $fieldName): array

Spaces must be used to indent lines; tabs are not allowed
Open

            $relatedModuleModel = \Vtiger_Module_Model::getInstance($moduleName);

Spaces must be used to indent lines; tabs are not allowed
Open

            foreach (explode('##', $this->value) as $value) {

Spaces must be used to indent lines; tabs are not allowed
Open

    }

Spaces must be used to indent lines; tabs are not allowed
Open

     *

Spaces must be used to indent lines; tabs are not allowed
Open

     * Equals Id operator.

Spaces must be used to indent lines; tabs are not allowed
Open

     * @return array

Spaces must be used to indent lines; tabs are not allowed
Open

    }

Spaces must be used to indent lines; tabs are not allowed
Open

     *

Spaces must be used to indent lines; tabs are not allowed
Open

        $relatedTableName = [];

Spaces must be used to indent lines; tabs are not allowed
Open

            }

Spaces must be used to indent lines; tabs are not allowed
Open

    {

Spaces must be used to indent lines; tabs are not allowed
Open

        foreach ($this->getRelatedTableName() as $formattedName) {

Spaces must be used to indent lines; tabs are not allowed
Open

        return $condition;

Spaces must be used to indent lines; tabs are not allowed
Open

    {

Spaces must be used to indent lines; tabs are not allowed
Open

    /**

Spaces must be used to indent lines; tabs are not allowed
Open

            }

Spaces must be used to indent lines; tabs are not allowed
Open

    {

Spaces must be used to indent lines; tabs are not allowed
Open

     * Not equal operator.

Spaces must be used to indent lines; tabs are not allowed
Open

        return $condition;

Spaces must be used to indent lines; tabs are not allowed
Open

    {

Spaces must be used to indent lines; tabs are not allowed
Open

    }

Spaces must be used to indent lines; tabs are not allowed
Open

     * Get related column name.

Spaces must be used to indent lines; tabs are not allowed
Open

     */

Spaces must be used to indent lines; tabs are not allowed
Open

            $formattedTables = [];

Spaces must be used to indent lines; tabs are not allowed
Open

            foreach ($entityFieldInfo['fieldnameArr'] as $column) {

Spaces must be used to indent lines; tabs are not allowed
Open

                    $formattedTables[] = "{$referenceTable}.{$column}";

Spaces must be used to indent lines; tabs are not allowed
Open

    /**

Spaces must be used to indent lines; tabs are not allowed
Open

        if (\App\Config::performance('SEARCH_REFERENCE_BY_AJAX')) {

Spaces must be used to indent lines; tabs are not allowed
Open

                return [$this->getColumnName() => $this->value];

Spaces must be used to indent lines; tabs are not allowed
Open

            return $condition;

Spaces must be used to indent lines; tabs are not allowed
Open

    public function operatorEid()

Spaces must be used to indent lines; tabs are not allowed
Open

     *

Spaces must be used to indent lines; tabs are not allowed
Open

        foreach ($this->getRelatedTableName() as $formattedName) {

Spaces must be used to indent lines; tabs are not allowed
Open

    {

Spaces must be used to indent lines; tabs are not allowed
Open

     * @return string[]

Spaces must be used to indent lines; tabs are not allowed
Open

        foreach ($modules as $moduleName) {

Spaces must be used to indent lines; tabs are not allowed
Open

                    $this->queryGenerator->addJoin(['LEFT JOIN',

Spaces must be used to indent lines; tabs are not allowed
Open

        return $relatedTableName;

Spaces must be used to indent lines; tabs are not allowed
Open

    /**

Spaces must be used to indent lines; tabs are not allowed
Open

    }

Spaces must be used to indent lines; tabs are not allowed
Open

    /**

Spaces must be used to indent lines; tabs are not allowed
Open

     */

Spaces must be used to indent lines; tabs are not allowed
Open

     * @return array

Spaces must be used to indent lines; tabs are not allowed
Open

        return $this->queryGenerator->getReference($this->fieldModel->getName());

Spaces must be used to indent lines; tabs are not allowed
Open

                        "{$this->getColumnName()} = {$referenceTable}.{$relTableIndexes[$relField->getTableName()]}",

Spaces must be used to indent lines; tabs are not allowed
Open

                }

Spaces must be used to indent lines; tabs are not allowed
Open

    }

Spaces must be used to indent lines; tabs are not allowed
Open

     *

Spaces must be used to indent lines; tabs are not allowed
Open

     * @return array

Spaces must be used to indent lines; tabs are not allowed
Open

     * @return string[]

Spaces must be used to indent lines; tabs are not allowed
Open

                    ]);

Spaces must be used to indent lines; tabs are not allowed
Open

     * Auto operator.

Spaces must be used to indent lines; tabs are not allowed
Open

            }

Spaces must be used to indent lines; tabs are not allowed
Open

        }

Spaces must be used to indent lines; tabs are not allowed
Open

    {

Spaces must be used to indent lines; tabs are not allowed
Open

            $condition[] = ['<>', $formattedName, $this->getValue()];

Spaces must be used to indent lines; tabs are not allowed
Open

    public function operatorS()

Spaces must be used to indent lines; tabs are not allowed
Open

        foreach ($this->getRelatedTableName() as $formattedName) {

Spaces must be used to indent lines; tabs are not allowed
Open

     */

Spaces must be used to indent lines; tabs are not allowed
Open

            $relatedModuleModel = \Vtiger_Module_Model::getInstance($this->related['relatedModule']);

Spaces must be used to indent lines; tabs are not allowed
Open

     * @param array  $modules

Spaces must be used to indent lines; tabs are not allowed
Open

                    $referenceTable = $relField->getTableName() . $fieldName;

Spaces must be used to indent lines; tabs are not allowed
Open

                        "{$relField->getTableName()} {$referenceTable}",

Spaces must be used to indent lines; tabs are not allowed
Open

     * Equals operator.

Spaces must be used to indent lines; tabs are not allowed
Open

            $condition[] = ['=', $formattedName, $this->getValue()];

Spaces must be used to indent lines; tabs are not allowed
Open

     * @return array

Spaces must be used to indent lines; tabs are not allowed
Open

     */

Spaces must be used to indent lines; tabs are not allowed
Open

     *

Spaces must be used to indent lines; tabs are not allowed
Open

            $relTableIndexes = $relatedModuleModel->getEntityInstance()->tab_name_index;

Spaces must be used to indent lines; tabs are not allowed
Open

    public function operatorE(): array

Spaces must be used to indent lines; tabs are not allowed
Open

     *

Spaces must be used to indent lines; tabs are not allowed
Open

    /**

Line exceeds 120 characters; contains 134 characters
Open

                return [$this->fieldModel->getTableName() . $this->related['sourceField'] . '.' . $this->fieldModel->getColumnName()];

Spaces must be used to indent lines; tabs are not allowed
Open

     *

Spaces must be used to indent lines; tabs are not allowed
Open

     *

Spaces must be used to indent lines; tabs are not allowed
Open

            $condition = ['or'];

Spaces must be used to indent lines; tabs are not allowed
Open

            $condition[] = ['like', $formattedName, $this->getValue() . '%', false];

Spaces must be used to indent lines; tabs are not allowed
Open

        return $condition;

Spaces must be used to indent lines; tabs are not allowed
Open

     * Ends with operator.

Spaces must be used to indent lines; tabs are not allowed
Open

        $condition = ['or'];

Spaces must be used to indent lines; tabs are not allowed
Open

    /**

Spaces must be used to indent lines; tabs are not allowed
Open

        foreach ($this->getRelatedTableName() as $formattedName) {

Spaces must be used to indent lines; tabs are not allowed
Open

    /**

Spaces must be used to indent lines; tabs are not allowed
Open

     *

Spaces must be used to indent lines; tabs are not allowed
Open

                $condition[(string) $formattedName] = SORT_DESC;

Spaces must be used to indent lines; tabs are not allowed
Open

        } else {

Spaces must be used to indent lines; tabs are not allowed
Open

                return [$this->fieldModel->getTableName() . $this->related['sourceField'] . '.' . $this->fieldModel->getColumnName()];

Spaces must be used to indent lines; tabs are not allowed
Open

            return $this->getRelatedTables($fieldModel->getReferenceList(), $this->related['relatedField']);

Spaces must be used to indent lines; tabs are not allowed
Open

            $entityFieldInfo = \App\Module::getEntityInfo($moduleName);

Spaces must be used to indent lines; tabs are not allowed
Open

        }

Spaces must be used to indent lines; tabs are not allowed
Open

    public function operatorA(): array

Spaces must be used to indent lines; tabs are not allowed
Open

            if (false === strpos($this->value, '##')) {

Spaces must be used to indent lines; tabs are not allowed
Open

            }

Spaces must be used to indent lines; tabs are not allowed
Open

        }

Spaces must be used to indent lines; tabs are not allowed
Open

     * @return array

Spaces must be used to indent lines; tabs are not allowed
Open

        $condition = ['or'];

Spaces must be used to indent lines; tabs are not allowed
Open

     */

Spaces must be used to indent lines; tabs are not allowed
Open

     */

Spaces must be used to indent lines; tabs are not allowed
Open

        foreach ($this->getRelatedTableName() as $formattedName) {

Spaces must be used to indent lines; tabs are not allowed
Open

    }

Spaces must be used to indent lines; tabs are not allowed
Open

     * @return array

Spaces must be used to indent lines; tabs are not allowed
Open

    }

Spaces must be used to indent lines; tabs are not allowed
Open

    {

Spaces must be used to indent lines; tabs are not allowed
Open

        return ['or',

Spaces must be used to indent lines; tabs are not allowed
Open

            ['=', $this->getColumnName(), ''],

Spaces must be used to indent lines; tabs are not allowed
Open

     * Is not empty operator.

Spaces must be used to indent lines; tabs are not allowed
Open

    public function operatorNy(): array

Spaces must be used to indent lines; tabs are not allowed
Open

     *

Spaces must be used to indent lines; tabs are not allowed
Open

            foreach ($this->getRelatedTableName() as $formattedName) {

Spaces must be used to indent lines; tabs are not allowed
Open

    }

Spaces must be used to indent lines; tabs are not allowed
Open

     * @param string $fieldName

Spaces must be used to indent lines; tabs are not allowed
Open

     */

Spaces must be used to indent lines; tabs are not allowed
Open

    }

Spaces must be used to indent lines; tabs are not allowed
Open

        $condition = ['or'];

Spaces must be used to indent lines; tabs are not allowed
Open

        }

Spaces must be used to indent lines; tabs are not allowed
Open

    {

Spaces must be used to indent lines; tabs are not allowed
Open

        ];

Spaces must be used to indent lines; tabs are not allowed
Open

    }

Spaces must be used to indent lines; tabs are not allowed
Open

        if ($order && 'DESC' === strtoupper($order)) {

Spaces must be used to indent lines; tabs are not allowed
Open

     */

Spaces must be used to indent lines; tabs are not allowed
Open

        $condition = ['or'];

Spaces must be used to indent lines; tabs are not allowed
Open

        }

Spaces must be used to indent lines; tabs are not allowed
Open

     */

Spaces must be used to indent lines; tabs are not allowed
Open

        }

Spaces must be used to indent lines; tabs are not allowed
Open

        return ['and',

Spaces must be used to indent lines; tabs are not allowed
Open

            ['<>', $this->getColumnName(), 0],

Spaces must be used to indent lines; tabs are not allowed
Open

    /**

Spaces must be used to indent lines; tabs are not allowed
Open

        }

Spaces must be used to indent lines; tabs are not allowed
Open

    /**

Spaces must be used to indent lines; tabs are not allowed
Open

            [$this->getColumnName() => null],

Spaces must be used to indent lines; tabs are not allowed
Open

     *

Spaces must be used to indent lines; tabs are not allowed
Open

            $condition[] = ['like', $formattedName, '%' . $this->getValue(), false];

Spaces must be used to indent lines; tabs are not allowed
Open

    }

Spaces must be used to indent lines; tabs are not allowed
Open

    }

Spaces must be used to indent lines; tabs are not allowed
Open

     * @return array

Spaces must be used to indent lines; tabs are not allowed
Open

     */

Spaces must be used to indent lines; tabs are not allowed
Open

            }

Spaces must be used to indent lines; tabs are not allowed
Open

        return $condition;

Spaces must be used to indent lines; tabs are not allowed
Open

     * @return array

Spaces must be used to indent lines; tabs are not allowed
Open

    public function operatorC(): array

Spaces must be used to indent lines; tabs are not allowed
Open

        return $condition;

Spaces must be used to indent lines; tabs are not allowed
Open

            $condition[] = ['not like', $formattedName, $this->getValue()];

Spaces must be used to indent lines; tabs are not allowed
Open

        return $condition;

Spaces must be used to indent lines; tabs are not allowed
Open

     */

Spaces must be used to indent lines; tabs are not allowed
Open

    public function operatorY(): array

Spaces must be used to indent lines; tabs are not allowed
Open

     * @return array

Spaces must be used to indent lines; tabs are not allowed
Open

    /**

Spaces must be used to indent lines; tabs are not allowed
Open

    public function operatorK(): array

Spaces must be used to indent lines; tabs are not allowed
Open

            ['=', $this->getColumnName(), 0],

Spaces must be used to indent lines; tabs are not allowed
Open

    public function getOrderBy($order = false): array

Spaces must be used to indent lines; tabs are not allowed
Open

            foreach ($this->getRelatedTableName() as $formattedName) {

Spaces must be used to indent lines; tabs are not allowed
Open

    }

Spaces must be used to indent lines; tabs are not allowed
Open

    }

Spaces must be used to indent lines; tabs are not allowed
Open

        }

Spaces must be used to indent lines; tabs are not allowed
Open

     * Contains operator.

Spaces must be used to indent lines; tabs are not allowed
Open

     * @return array

Spaces must be used to indent lines; tabs are not allowed
Open

        $condition = [];

Spaces must be used to indent lines; tabs are not allowed
Open

     *

Spaces must be used to indent lines; tabs are not allowed
Open

    {

Spaces must be used to indent lines; tabs are not allowed
Open

                $condition[(string) $formattedName] = SORT_ASC;

Spaces must be used to indent lines; tabs are not allowed
Open

        }

Spaces must be used to indent lines; tabs are not allowed
Open

    public function operatorEw()

Spaces must be used to indent lines; tabs are not allowed
Open

        return $condition;

Spaces must be used to indent lines; tabs are not allowed
Open

        $condition = ['or'];

Spaces must be used to indent lines; tabs are not allowed
Open

            $condition[] = ['like', $formattedName, $this->getValue()];

Spaces must be used to indent lines; tabs are not allowed
Open

     *

Spaces must be used to indent lines; tabs are not allowed
Open

        foreach ($this->getRelatedTableName() as $formattedName) {

Spaces must be used to indent lines; tabs are not allowed
Open

     *

Spaces must be used to indent lines; tabs are not allowed
Open

     * Does not contain operator.

Spaces must be used to indent lines; tabs are not allowed
Open

     *

Spaces must be used to indent lines; tabs are not allowed
Open

    {

Spaces must be used to indent lines; tabs are not allowed
Open

            ['not', [$this->getColumnName() => null]],

Spaces must be used to indent lines; tabs are not allowed
Open

            ['<>', $this->getColumnName(), ''],

Spaces must be used to indent lines; tabs are not allowed
Open

    /**

Spaces must be used to indent lines; tabs are not allowed
Open

     * Is empty operator.

Spaces must be used to indent lines; tabs are not allowed
Open

        ];

Spaces must be used to indent lines; tabs are not allowed
Open

     */

Spaces must be used to indent lines; tabs are not allowed
Open

    {

Spaces must be used to indent lines; tabs are not allowed
Open

     * @return array

Spaces must be used to indent lines; tabs are not allowed
Open

     * Get order by.

Spaces must be used to indent lines; tabs are not allowed
Open

     * @param mixed $order

Spaces must be used to indent lines; tabs are not allowed
Open

    {

Spaces must be used to indent lines; tabs are not allowed
Open

            }

There are no issues that match your filters.

Category
Status