Skip to content

Commit

Permalink
Merge pull request #142 from ergebnis/feature/php74
Browse files Browse the repository at this point in the history
Enhancement: Use `Php74` rule set
  • Loading branch information
localheinz committed Dec 13, 2021
2 parents c3a299c + 2c8c81b commit 7fa112d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .php-cs-fixer.php
Expand Up @@ -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([
Expand Down
2 changes: 1 addition & 1 deletion src/Result.php
Expand Up @@ -20,7 +20,7 @@ final class Result
*
* @var array<int, string>
*/
private $errors;
private array $errors;

private function __construct(string ...$errors)
{
Expand Down

0 comments on commit 7fa112d

Please sign in to comment.