phpstan.neon 698 Bytes
services:
    -
        class: \Tools\PHPStan\RegistryPropertyReflectionExtension
        tags:
            - phpstan.broker.propertiesClassReflectionExtension
parameters:
    level: 1
    paths:
        - ./upload/
    excludePaths:
        - ./system/storage/vendor/
        - ./system/storage/cache/template/
        - ./upload/system/storage/vendor/
        - ./upload/system/storage/cache/template/
    tmpDir: .cache
    ignoreErrors:
        - '#Class Event constructor invoked with 1 parameter, 4-5 required\.#'
        - '#Constant [A-Z_]+ not found\.#'
        - '#might not be defined\.#'
        - '#invoked with \d+ parameters?, \d+ required\.#'
    reportUnmatchedIgnoredErrors: false