Skip to content

Commit

Permalink
Ignore phpstan's Access to undefined property error for models
Browse files Browse the repository at this point in the history
- These properties are db columns
  • Loading branch information
sukhwinder33445 committed Jun 21, 2023
1 parent 0469b61 commit c57e362
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,6 @@ parameters:
- vendor
- library/Icingadb/ProvidedHook
ignoreErrors:
- '#Unsafe usage of new static\(\)#'
- '#Unsafe usage of new static\(\)#'
universalObjectCratesClasses:
- Icinga\Module\Icingadb\Model

0 comments on commit c57e362

Please sign in to comment.