Skip to content

Commit

Permalink
Improved Larastan config
Browse files Browse the repository at this point in the history
  • Loading branch information
Arthur LORENT committed Oct 27, 2022
1 parent e662c9b commit ce9fb69
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 9 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
21 changes: 12 additions & 9 deletions phpstan.neon.dist
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit ce9fb69

Please sign in to comment.