snipe-it/phpstan.neon
snipe 32be88d796 Psalm and phpstan configs
Signed-off-by: snipe <snipe@snipe.net>
2023-02-07 11:00:59 -08:00

23 lines
895 B
Plaintext

parameters:
paths:
- app
- resources/views
- resources/lang
- database/migrations
- config
level: 4
ignoreErrors:
- '#Class, interface or enum named #'
- '#Call to an undefined static method App\\Models\\.*::where.*\(\)#'
- '#Call to an undefined static method App\\Models\\.*::firstOr.*\(\)#'
- '#Call to an undefined static method App\\Models\\.*::find.*\(\)#'
- '#Call to an undefined static method App\\Models\\.*::get.*\(\)#'
- '#Call to an undefined static method App\\Models\\.*::has.*\(\)#'
- '#Call to static method info\(\) on an unknown class Log#'
- '#Call to static method debug\(\) on an unknown class Log#'
- '#Call to static method getSchemaBuilder\(\) on an unknown class DB#'
- '#Call to static method call\(\) on an unknown class Artisan.#'