Skip to content

Commit

Permalink
Add common ignore errors pattern to phpstan config
Browse files Browse the repository at this point in the history
  • Loading branch information
yhabteab committed Aug 23, 2023
1 parent 19d4b29 commit c915e8a
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

- '#Call to an undefined method Icinga\\Module\\Reporting\\RetryConnection::lastInsertId\(\)#'

Expand Down

0 comments on commit c915e8a

Please sign in to comment.