YetiForceCompany/YetiForceCRM

View on GitHub
app/Conditions/QueryTraits/ComparisonField.php

Summary

Maintainability
A
0 mins
Test Coverage
F
0%

Missing class import via use statement (line '46', column '45').
Open

        return ['<=', $this->getColumnName(), new \yii\db\Expression($this->getColumnNameFromSource())];

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 '56', column '45').
Open

        return ['>=', $this->getColumnName(), new \yii\db\Expression($this->getColumnNameFromSource())];

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 '36', column '44').
Open

        return ['>', $this->getColumnName(), new \yii\db\Expression($this->getColumnNameFromSource())];

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 '26', column '44').
Open

        return ['<', $this->getColumnName(), new \yii\db\Expression($this->getColumnNameFromSource())];

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

Call to undeclared method \App\Conditions\QueryTraits\ComparisonField::getColumnName
Open

        return ['>=', $this->getColumnName(), new \yii\db\Expression($this->getColumnNameFromSource())];

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

        return ['<', $this->getColumnName(), new \yii\db\Expression($this->getColumnNameFromSource())];

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

        return ['>', $this->getColumnName(), new \yii\db\Expression($this->getColumnNameFromSource())];

Call to undeclared method \App\Conditions\QueryTraits\ComparisonField::getColumnNameFromSource
Open

        return ['<=', $this->getColumnName(), new \yii\db\Expression($this->getColumnNameFromSource())];

Call to undeclared method \App\Conditions\QueryTraits\ComparisonField::getColumnName
Open

        return ['<=', $this->getColumnName(), new \yii\db\Expression($this->getColumnNameFromSource())];

Call to undeclared method \App\Conditions\QueryTraits\ComparisonField::getColumnName
Open

        return ['>', $this->getColumnName(), new \yii\db\Expression($this->getColumnNameFromSource())];

Call to undeclared method \App\Conditions\QueryTraits\ComparisonField::getColumnNameFromSource
Open

        return ['>=', $this->getColumnName(), new \yii\db\Expression($this->getColumnNameFromSource())];

Call to undeclared method \App\Conditions\QueryTraits\ComparisonField::getColumnName
Open

        return ['<', $this->getColumnName(), new \yii\db\Expression($this->getColumnNameFromSource())];

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

        return ['<=', $this->getColumnName(), new \yii\db\Expression($this->getColumnNameFromSource())];

Call to undeclared method \App\Conditions\QueryTraits\ComparisonField::getColumnNameFromSource
Open

        return ['>', $this->getColumnName(), new \yii\db\Expression($this->getColumnNameFromSource())];

Call to undeclared method \App\Conditions\QueryTraits\ComparisonField::getColumnNameFromSource
Open

        return ['<', $this->getColumnName(), new \yii\db\Expression($this->getColumnNameFromSource())];

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

        return ['>=', $this->getColumnName(), new \yii\db\Expression($this->getColumnNameFromSource())];

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

        return ['>', $this->getColumnName(), new \yii\db\Expression($this->getColumnNameFromSource())];

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

    public function operatorGf(): array

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

        return ['<', $this->getColumnName(), new \yii\db\Expression($this->getColumnNameFromSource())];

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

     * Greater than field 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

    }

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

     * Less than field or equal 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

     * @return array

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

    public function operatorMf(): 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 operatorHf(): 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 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

     * Less than field 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

        return ['<=', $this->getColumnName(), new \yii\db\Expression($this->getColumnNameFromSource())];

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

    public function operatorLf(): array

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

     * Greater than field or equal 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

        return ['>=', $this->getColumnName(), new \yii\db\Expression($this->getColumnNameFromSource())];

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

     */

There are no issues that match your filters.

Category
Status