parameters:
    level: 8
    paths:
        - src
    scanFiles:
        - config/pimcore/constants.php
    reportUnmatchedIgnoredErrors: false
    ignoreErrors:
        - '#Call to an undefined method Pimcore\\Model\\DataObject\\Data\\ObjectMetadata::(get|set)[A-Z][a-zA-Z0-9]*\(\)#'
        - '#Method App\\Maintenance\\[A-Z][a-zA-Z0-9]*::execute\(\) has no return type specified\.#'
        - "#Method [a-zA-Z0-9\\_\\\\:\\(\\)]+ has parameter \\$[a-zA-Z0-9_]+ with no value type specified in iterable type array.#"
        - "#Method [a-zA-Z0-9\\_\\\\:\\(\\)]+ return type has no value type specified in iterable type array.#"
        - "#Property [a-zA-Z0-9\\$\\_\\\\:\\(\\)]+ type has no value type specified in iterable type array.#"
    excludePaths:
        - src/Command/Generator/*
        - src/Tool/Generator.php
includes:
    - vendor/phpstan/phpstan-mockery/extension.neon
    - vendor/phpstan/phpstan-symfony/extension.neon