From ce9fb696315ef29618461e212b7c26f5f07f296f Mon Sep 17 00:00:00 2001 From: Arthur LORENT Date: Thu, 27 Oct 2022 11:14:01 +0200 Subject: [PATCH] Improved Larastan config --- CHANGELOG.md | 1 + phpstan.neon.dist | 21 ++++++++++++--------- 2 files changed, 13 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b1eb2fb..72faecc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ 2022-10-27 +* Improved Larastan config * Improved CI ## [2.2.1](https://github.com/Okipa/laravel-supervisor-downtime-notifier/compare/2.2.0...2.2.1) diff --git a/phpstan.neon.dist b/phpstan.neon.dist index df1f256..7c9c740 100644 --- a/phpstan.neon.dist +++ b/phpstan.neon.dist @@ -4,17 +4,20 @@ includes: parameters: paths: - - config - - src - - tests + - config/ + - src/ + - tests/ # The level 9 is the highest level level: 5 - ignoreErrors: - - '#Parameter \#2 \$needles of static method Illuminate\\Support\\Str::contains\(\)#' + databaseMigrationsPath: + - tests/database/migrations/ - excludePaths: - #- ./*/*/FileToBeExcluded.php - - #checkMissingIterableValueType: true +# ignoreErrors: +# - '#PHPDoc tag @var#' +# +# excludePaths: +# - ./*/*/FileToBeExcluded.php +# +# checkMissingIterableValueType: false