incr/phpstan.neon

22 lines
706 B
Text
Raw Normal View History

includes:
- vendor/larastan/larastan/extension.neon
parameters:
level: 7
paths:
- app/
- database/
- tests/
excludePaths:
- bootstrap/*.php
- storage/*
ignoreErrors:
# Migration files return an anonymous class; the base Migration declares neither up() nor down().
# An interface on the migration is not an option: it would live under autoload-dev, which
# production omits (`composer install --no-dev`), so every migration would fatal on deploy.
-
message: '#Call to an undefined method Illuminate\\Database\\Migrations\\Migration::(up|down)\(\)#'
path: tests/Feature/*MigrationTest.php