includes: - vendor/larastan/larastan/extension.neon - vendor/phpstan/phpstan-strict-rules/rules.neon parameters: level: max treatPhpDocTypesAsCertain: false reportUnmatchedIgnoredErrors: false ignoreErrors: # Eloquent's fluent builder triggers staticMethod.dynamicCall in # phpstan-strict-rules because Builder methods declared static on # the model become instance calls after the first chain link. This # is the documented Laravel idiom; suppress the false positive. - identifier: staticMethod.dynamicCall path: app/*/Eloquent*Repository.php paths: - app excludePaths: analyse: [ vendor, tests ] universalObjectCratesClasses: - stdClass