From d520aca88e5bb1adb5b93c5c817f21141437210b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=B6ller?= Date: Mon, 13 Dec 2021 13:46:52 +0100 Subject: [PATCH 1/2] Enhancement: Use Php74 rule set --- .php-cs-fixer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.php-cs-fixer.php b/.php-cs-fixer.php index b32d9001..84db031e 100644 --- a/.php-cs-fixer.php +++ b/.php-cs-fixer.php @@ -26,7 +26,7 @@ $license->save(); -$config = PhpCsFixer\Config\Factory::fromRuleSet(new PhpCsFixer\Config\RuleSet\Php73($license->header())); +$config = PhpCsFixer\Config\Factory::fromRuleSet(new PhpCsFixer\Config\RuleSet\Php74($license->header())); $config->getFinder() ->exclude([ From 2c8c81b091e7517bf1e938cf989f1b80d0682227 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=B6ller?= Date: Mon, 13 Dec 2021 13:55:49 +0100 Subject: [PATCH 2/2] Fix: Run 'make coding-standards' --- src/Result.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Result.php b/src/Result.php index 5020ebf2..c3cc51a9 100644 --- a/src/Result.php +++ b/src/Result.php @@ -20,7 +20,7 @@ final class Result * * @var array */ - private $errors; + private array $errors; private function __construct(string ...$errors) {