Fix phpstan issues.

This commit is contained in:
James Cole
2022-10-30 14:34:36 +01:00
parent 1a7d60ccc8
commit c032ffd4f9
6 changed files with 13 additions and 3 deletions

View File

@@ -6,6 +6,13 @@ includes:
parameters:
ignoreErrors:
- '#is not allowed to extend#'
- '#is neither abstract nor final#'
- '#has a nullable return type declaration#'
- '#with a nullable type declaration#'
-
message: '#Control structures using switch should not be used.#'
path: ../app/Api/V1/Controllers/Data/DestroyController.php
paths:
- ../app
- ../database