Update PHPStan (#36)

PHPStan triggers a deprecation on PHP 8.2, but that got fixed with an
update.
This commit is contained in:
Daniel Siepmann 2023-08-10 13:47:27 +02:00 committed by GitHub
parent 00946af6ad
commit 05f3ec4fa7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 1 deletions

View file

@ -53,7 +53,7 @@
"jangregor/phpstan-prophecy": "1.0.0",
"phpspec/prophecy-phpunit": "^1.0 || ^2.0",
"phpstan/extension-installer": "^1.1",
"phpstan/phpstan": "1.5.7",
"phpstan/phpstan": "1.10.28",
"phpstan/phpstan-phpunit": "1.1.1",
"saschaegerer/phpstan-typo3": "1.1.2",
"squizlabs/php_codesniffer": "^3.5",

View file

@ -10,6 +10,11 @@ parameters:
count: 1
path: Classes/Service/DestinationDataImportService.php
-
message: "#^Parameter \\#1 \\$callback of function array_map expects \\(callable\\(mixed\\)\\: mixed\\)\\|null, 'strval' given\\.$#"
count: 1
path: Classes/Domain/DestinationData/ImportFactory.php
-
message: "#^Parameter \\#2 \\$array of function array_map expects array, mixed given\\.$#"
count: 1