From e9d2bd57cd0a035b6c67c1c76c7f887510315140 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 10 Nov 2023 19:09:06 +0100 Subject: [PATCH] Update friendsofphp/php-cs-fixer requirement from 3.21.0 to 3.38.0 (#94) * Update friendsofphp/php-cs-fixer requirement from 3.21.0 to 3.38.0 Updates the requirements on [friendsofphp/php-cs-fixer](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer) to permit the latest version. - [Release notes](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/releases) - [Changelog](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/master/CHANGELOG.md) - [Commits](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/compare/v3.21.0...v3.38.0) --- updated-dependencies: - dependency-name: friendsofphp/php-cs-fixer dependency-type: direct:development ... Signed-off-by: dependabot[bot] * Update ListOfValidation.php * fix cs# * fix * ignore psalm architecture test --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Ilario Pierbattista <987038+ilario-pierbattista@users.noreply.github.com> Co-authored-by: Ilario Pierbattista --- composer.json | 2 +- psalm.xml | 1 + src/Validation/ListOfValidation.php | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 1cc2200..2984375 100644 --- a/composer.json +++ b/composer.json @@ -8,7 +8,7 @@ "phpat/phpat": "^0.10", "facile-it/facile-coding-standard": "0.5.3", "vimeo/psalm": "4.30.0", - "friendsofphp/php-cs-fixer": "3.21.0", + "friendsofphp/php-cs-fixer": "3.38.0", "phpstan/phpstan": "^1.8", "rector/rector": "^0.16.0 || ^0.17.0 || ^0.18.0" }, diff --git a/psalm.xml b/psalm.xml index 86cb9db..1fe9e97 100644 --- a/psalm.xml +++ b/psalm.xml @@ -13,6 +13,7 @@ + diff --git a/src/Validation/ListOfValidation.php b/src/Validation/ListOfValidation.php index bfe384c..8a59eba 100644 --- a/src/Validation/ListOfValidation.php +++ b/src/Validation/ListOfValidation.php @@ -99,6 +99,7 @@ function ($x) use ($k, &$results): void { if (! empty($errors)) { /** @var list> $errors */ $failures = Validation::failures(\array_merge(...$errors)); + /** @var VP $failures */ return $failures; }