Skip to content

Instantly share code, notes, and snippets.

@ibrahimtuzlak0295
Last active June 16, 2024 05:39
Show Gist options
  • Save ibrahimtuzlak0295/85886ab0d4f0855fb1ef05dc58cc0985 to your computer and use it in GitHub Desktop.
Save ibrahimtuzlak0295/85886ab0d4f0855fb1ef05dc58cc0985 to your computer and use it in GitHub Desktop.
A Laravel/Larastan `phpstan.neon` that works well with ide-helper and phpstorm
includes:
- ./vendor/nunomaduro/larastan/extension.neon
parameters:
paths:
- app/
# Level 9 is the highest level
level: 5
# ignoreErrors:
# - '#PHPDoc tag @var#'
# excludePaths:
# - _ide_helper.php
# - .phpstorm.meta.php
# - ./*/*/FileToBeExcluded.php
scanFiles:
- _ide_helper.php
- _ide_helper_models.php
- .phpstorm.meta.php
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment