app/Conditions/QueryFields/UserCreatorField.php
Missing class import via use statement (line '24', column '45'). Open
Open
return ['<>', $this->getColumnName(), new \yii\db\Expression($this->getTableName() . '.smownerid')];
- Read upRead up
- Exclude checks
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
Open
return ['<>', $this->getColumnName(), new \yii\db\Expression($this->getTableName() . '.smownerid')];
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
*/
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
}
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* @return array
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
*
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
{
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
public function operatorNco()
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
return ['<>', $this->getColumnName(), new \yii\db\Expression($this->getTableName() . '.smownerid')];
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
/**
- Exclude checks
Spaces must be used to indent lines; tabs are not allowed Open
Open
* Not created by owner.
- Exclude checks