chris-kruining/utilities

View on GitHub

Showing 2 of 2 total issues

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
      Severity
      Category
      Status
      Source
      Language