Skip to content

Instantly share code, notes, and snippets.

@lesstif
Last active October 4, 2023 12:58
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lesstif/53f6f5ecab8017bed2f826dccd88d7ee to your computer and use it in GitHub Desktop.
Save lesstif/53f6f5ecab8017bed2f826dccd88d7ee to your computer and use it in GitHub Desktop.
phpstan.neon.dist for laravel
includes:
- ./vendor/nunomaduro/larastan/extension.neon
parameters:
paths:
- app
# The level 8 is the highest level
level: 5
# ignoreErrors:
# - '#Unsafe usage of new static#'
bootstrapFiles:
# - _ide_helper.php
# - _ide_helper_models.php
excludePaths:
- app/Providers/NovaServiceProvider.php
- app/Nova/Resource.php
- app/Http/Middleware/Authenticate.php
- app/Nova/Actions/FlushUserSessionAction.php
- app/Nova/Actions/PermitIpAction.php
checkMissingIterableValueType: false
@bsaqqa
Copy link

bsaqqa commented Nov 3, 2021

Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment