Showing 264 of 264 total issues

Expected 1 space after closing parenthesis; found 17
Open

                    !Arr::in($this->constructs, $_token->token))
Severity: Minor
Found in src/Flow/Flow.php by phpcodesniffer

Expected 1 space after closing parenthesis; found 9
Open

        foreach ($rows as $row)
Severity: Minor
Found in src/Flow/Flow.php by phpcodesniffer

Expected 1 space after closing parenthesis; found 9
Open

        if (empty($this->data[$key]))
Severity: Minor
Found in src/Flow/Lexeme.php by phpcodesniffer

Expected 1 space after closing parenthesis; found 9
Open

        if (null === $loader)
Severity: Minor
Found in src/Flow/Lexeme.php by phpcodesniffer

Expected 1 space after closing parenthesis; found 9
Open

        if (!empty($data))
Severity: Minor
Found in src/Flow/Loop.php by phpcodesniffer

The variable $_token is not named in camelCase.
Open

    public function buildWithoutCache(array $data): string
    {
        $code     = [];
        $lastLast = null;
        $last     = null;
Severity: Minor
Found in src/Flow/Flow.php by phpmd

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $_token is not named in camelCase.
Open

    public function buildWithoutCache(array $data): string
    {
        $code     = [];
        $lastLast = null;
        $last     = null;
Severity: Minor
Found in src/Flow/Flow.php by phpmd

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $_token is not named in camelCase.
Open

    public function buildWithoutCache(array $data): string
    {
        $code     = [];
        $lastLast = null;
        $last     = null;
Severity: Minor
Found in src/Flow/Flow.php by phpmd

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $_token is not named in camelCase.
Open

    public function buildWithoutCache(array $data): string
    {
        $code     = [];
        $lastLast = null;
        $last     = null;
Severity: Minor
Found in src/Flow/Flow.php by phpmd

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $_token is not named in camelCase.
Open

    protected function operators()
    {
        foreach ($this->operators as $operator)
        {
            /**
Severity: Minor
Found in src/Flow/Flow.php by phpmd

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $_token is not named in camelCase.
Open

    protected function operators()
    {
        foreach ($this->operators as $operator)
        {
            /**
Severity: Minor
Found in src/Flow/Flow.php by phpmd

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $_token is not named in camelCase.
Open

    public function buildWithoutCache(array $data): string
    {
        $code     = [];
        $lastLast = null;
        $last     = null;
Severity: Minor
Found in src/Flow/Flow.php by phpmd

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $_token is not named in camelCase.
Open

    public function buildWithoutCache(array $data): string
    {
        $code     = [];
        $lastLast = null;
        $last     = null;
Severity: Minor
Found in src/Flow/Flow.php by phpmd

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $_storeKey is not named in camelCase.
Open

    public function build(array $data): string
    {
        $self      = $this;
        $_storeKey = __CLASS__ . JSON::encode($data);

Severity: Minor
Found in src/Flow/Flow.php by phpmd

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $_token is not named in camelCase.
Open

    public function buildWithoutCache(array $data): string
    {
        $code     = [];
        $lastLast = null;
        $last     = null;
Severity: Minor
Found in src/Flow/Flow.php by phpmd

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $_token is not named in camelCase.
Open

    protected function operators()
    {
        foreach ($this->operators as $operator)
        {
            /**
Severity: Minor
Found in src/Flow/Flow.php by phpmd

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $_token is not named in camelCase.
Open

    public function buildWithoutCache(array $data): string
    {
        $code     = [];
        $lastLast = null;
        $last     = null;
Severity: Minor
Found in src/Flow/Flow.php by phpmd

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $_cache is not named in camelCase.
Open

    protected function tryLoad(string $key)
    {
        if (empty($this->data[$key]))
        {
            $item = Cache::getItem(__CLASS__ . $key);
Severity: Minor
Found in src/Flow/Lexeme.php by phpmd

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $_key is not named in camelCase.
Open

    protected function syntax(string $key, array $data)
    {
        foreach ($data['directives'] ?? [] as $_key => $directive)
        {
            $this->data($_key, $directive ?: []);
Severity: Minor
Found in src/Flow/Lexeme.php by phpmd

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

The variable $_lexer is not named in camelCase.
Open

    public function lexerApply(string $value): array
    {
        $name = __FUNCTION__ . $value;
        $item = Cache::getItem($name);

Severity: Minor
Found in src/Flow/Lexeme.php by phpmd

CamelCaseVariableName

Since: 0.2

It is considered best practice to use the camelCase notation to name variables.

Example

class ClassName {
    public function doSomething() {
        $data_module = new DataModule();
    }
}

Source

Severity
Category
Status
Source
Language