YetiForceCompany/YetiForceCRM

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

Summary

Maintainability
A
0 mins
Test Coverage
F
0%

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

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

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 method __construct from undeclared class \yii\db\Expression
Open

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

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

    public function operatorNco()

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

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

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 created by owner.

There are no issues that match your filters.

Category
Status