diff --git a/composer.json b/composer.json index cb161a9..56f91fd 100644 --- a/composer.json +++ b/composer.json @@ -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", diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index 11c86bf..78994b3 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -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