Skip to content

Commit

Permalink
phpstan: Don't report errors that we do not acknowledge as errors
Browse files Browse the repository at this point in the history
  • Loading branch information
sukhwinder33445 committed Aug 24, 2023
1 parent 937dedf commit cf097cf
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,11 @@ parameters:
- vendor

ignoreErrors:
- '#Unsafe usage of new static\(\)#'
-
messages:
- '#Unsafe usage of new static\(\)#'
- '#. but return statement is missing#'
reportUnmatched: false

universalObjectCratesClasses:
- Icinga\Web\View
Expand Down

0 comments on commit cf097cf

Please sign in to comment.