YetiForceCompany/YetiForceCRM

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

Summary

Maintainability
A
0 mins
Test Coverage
F
0%

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

     */

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 (\is_array($values)) { // Used only to filter the first letter of the name

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

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

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

            foreach ($values 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

    }

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

        return ['like', $this->getColumnName(), '%' . $this->getValue(), false];

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

        $values = $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

     * 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

        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

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

    public function operatorEw()

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

    {

There are no issues that match your filters.

Category
Status