YetiForceCompany/YetiForceCRM

View on GitHub
app/Conditions/RecordFields/MultipicklistField.php

Summary

Maintainability
A
0 mins
Test Coverage
F
0%

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

        sort($recordValue);

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

    {

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

    /** {@inheritdoc} */

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

        return $recordValue === $conditionValue;

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

    public function operatorK(): bool

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

        return explode($this->separator, parent::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

    }

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

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

    }

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 operatorE(): bool

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

        return !$this->operatorK();

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

    /** {@inheritdoc} */

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

    /** @var string Separator. */

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

    /** {@inheritdoc} */

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

    public function getValue(): array

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

    protected $separator = ' |##| ';

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

        $conditionValue = explode('##', $this->value);

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

        sort($conditionValue);

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

    public function operatorC(): bool

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

        return empty(array_intersect(explode('##', $this->value), $this->getValue()));

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

    public function operatorN(): bool

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

        return !$this->operatorE();

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

    /** {@inheritdoc} */

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

    /** {@inheritdoc} */

There are no issues that match your filters.

Category
Status