Add common ignore errors pattern to phpstan config

This commit is contained in:
Yonas Habteab 2023-08-23 15:18:05 +02:00 committed by Sukhwinder Dhillon
parent 96cf175cc3
commit f56b4aaf0f

View file

@ -16,7 +16,11 @@ parameters:
- vendor
ignoreErrors:
- '#. but return statement is missing#'
-
messages:
- '#Unsafe usage of new static\(\)#'
- '#. but return statement is missing#'
reportUnmatched: false
universalObjectCratesClasses: # to ignore magic property errors
- ipl\Orm\Model