vaimo/composer-patches

View on GitHub
src/Utils/FilterUtils.php

Summary

Maintainability
A
1 hr
Test Coverage

Method composeRegex has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function composeRegex(array $filters, $delimiter)
    {
        $semanticGroups = array_fill_keys(array(0, 1), array());

        $escapeChar = chr('27');
Severity: Minor
Found in src/Utils/FilterUtils.php - About 1 hr to fix

    Argument 1 (ascii) is '27' but \chr() takes int
    Open

            $escapeChar = chr('27');
    Severity: Minor
    Found in src/Utils/FilterUtils.php by phan

    There are no issues that match your filters.

    Category
    Status