parameters:
    level: 3
    paths:
        - modules/Core
    reportUnmatchedIgnoredErrors: false
    excludes_analyse:
        - %rootDir%/modules/*/Assets/*
        - %rootDir%/modules/*/Config/*
        - %rootDir%/modules/*/Database/*
        - %rootDir%/modules/*/Resources/*
        - %rootDir%/modules/*/Tests/*
        - %rootDir%/modules/*/Http/routes.php
        - %rootDir%/modules/*/start.php
        - %rootDir%/catalog
        - %rootDir%/storage
        - %rootDir%/tests
        - %rootDir%/themes
    ignoreErrors:
        - '#Method Illuminate\\Contracts\\Foundation\\Application::basePath\(\) invoked with 1 parameter, 0 required.#'
        - '#Call to an undefined method Mockery\\ExpectationInterface#'
        - '#Mockery\\MockInterface#'
        - '#Parameter \#4 \$phpDocParameterTypes of method PHPStan\\Reflection\\Php\\PhpMethodReflectionFactory::create#'