chris-kruining/utilities

View on GitHub
src/Common/Regex.php

Summary

Maintainability
A
1 hr
Test Coverage

Method encapsulate has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

        public static function encapsulate(string $input, string $char, string $filter = null, string $lookFor = 'A-Za-z0-9_', int $limit = -1) : string
Severity: Minor
Found in src/Common/Regex.php - About 35 mins to fix

    Method replace has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

                $pattern,
                string $subject,
                $replacement = '$1',
                int $limit = -1 ,
                int &$count = 0
    Severity: Minor
    Found in src/Common/Regex.php - About 35 mins to fix

      There are no issues that match your filters.

      Category
      Status