Skip to content

Commit

Permalink
Update PHPStan
Browse files Browse the repository at this point in the history
PHPStan triggers a deprecation on PHP 8.2, but that got fixed with an
update.
  • Loading branch information
DanielSiepmann committed Aug 10, 2023
1 parent 00946af commit b971f82
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
5 changes: 5 additions & 0 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b971f82

Please sign in to comment.