fix phpstan

This commit is contained in:
Dennis Eichhorn 2022-12-26 22:37:53 +01:00
parent e1b38be6ec
commit 6c2b13871f

View File

@ -66,9 +66,14 @@ parameters:
- '#.*unknown class .*PhpOffice\\.*#' - '#.*unknown class .*PhpOffice\\.*#'
- '#.*Instantiated class .*PhpOffice\\.*#' - '#.*Instantiated class .*PhpOffice\\.*#'
- '#[.]*PhpOffice\\PhpSpreadsheet\\[.]*#' - '#[.]*PhpOffice\\PhpSpreadsheet\\[.]*#'
- '#.*Mapper.* should return.*#'
- '#.*l11nServer.* does not accept.*#'
- -
message: '#.*has parameter \$con with no typehint specified#' message: '#.*has parameter \$con with no typehint specified#'
path: *Ftp/File.php path: *Ftp/File.php
-
message: '#.*Cannot call method setId\(\) on mixed.*#'
path: *View.php
- -
message: "#^Cannot call method getTimestamp\\(\\) on DateTime\\|null\\.$#" message: "#^Cannot call method getTimestamp\\(\\) on DateTime\\|null\\.$#"
path: *Algorithm/JobScheduling/Weighted.php path: *Algorithm/JobScheduling/Weighted.php