YetiForceCompany/YetiForceCRM

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

Summary

Maintainability
A
0 mins
Test Coverage
F
40%

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

        return $this->fullColumnName = $this->queryGenerator->getColumnName('id');
Severity: Critical
Found in app/Conditions/QueryFields/IdField.php by phan

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

     * Get 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

        }

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

        return ['like', $this->getColumnName(), '%' . $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

     */

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

    }

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 $this->fullColumnName = $this->queryGenerator->getColumnName('id');

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->fullColumnName;

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

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

     * Starts with 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

    public function operatorEw()

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 ['like', $this->getColumnName(), $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

    public function operatorS()

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

    public function getColumnName(): string

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

        if ($this->fullColumnName) {

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 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

    /**

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

     *

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

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

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

There are no issues that match your filters.

Category
Status