bluetree-service/data

View on GitHub

Showing 2 of 6 total issues

Validator has 21 functions (exceeds 20 allowed). Consider refactoring.
Open

class Validator
{
public const IBAN_CHARS = [
'0' => '0', '1' => '1', '2' => '2', '3' => '3', '4' => '4',
'5' => '5', '6' => '6', '7' => '7', '8' => '8', '9' => '9',
Severity: Minor
Found in src/Check/Validator.php - About 2 hrs to fix

    Function loadAndValid has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring.
    Open

    protected function loadAndValid(string $path, bool $parse): bool
    {
    $bool = false;
    $additional = '';
     
     
    Severity: Minor
    Found in src/Data/Xml.php - About 35 mins to fix
    Severity
    Category
    Status
    Source
    Language