Last active
June 16, 2024 05:39
-
-
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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