includes:
    - vendor/larastan/larastan/extension.neon
    - phpstan-baseline.neon

parameters:
    level: 5
    paths:
        - app
    excludePaths:
        - app/Console/Commands
    ignoreErrors:
        # Spatie permission magic
        - '#Call to an undefined method App\\Models\\User::permission\(\)#'
        # Eloquent dynamic property/scope warnings on Spatie Model extensions
        - '#Access to an undefined property Spatie\\#'
    tmpDir: storage/framework/phpstan
    parallel:
        processTimeout: 300.0
        maximumNumberOfProcesses: 4
    reportUnmatchedIgnoredErrors: false
