Skip to content
This repository has been archived by the owner on Jan 4, 2022. It is now read-only.

Commit

Permalink
Merge pull request #550 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 Jan 3, 2022
2 parents d6e2314 + 587a1f0 commit 475527d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .php-cs-fixer.fixture.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

use Ergebnis\PhpCsFixer;

$config = PhpCsFixer\Config\Factory::fromRuleSet(new PhpCsFixer\Config\RuleSet\Php73(''), [
$config = PhpCsFixer\Config\Factory::fromRuleSet(new PhpCsFixer\Config\RuleSet\Php74(''), [
'final_class' => false,
]);

Expand Down
2 changes: 1 addition & 1 deletion .php-cs-fixer.php
Original file line number Diff line number Diff line change
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()), [
'strict_comparison' => false,
]);

Expand Down
5 changes: 1 addition & 4 deletions test/Util/DataProvider/Specification/Closure.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,7 @@

final class Closure implements Specification
{
/**
* @var \Closure
*/
private $closure;
private \Closure $closure;

private function __construct(\Closure $closure)
{
Expand Down
5 changes: 1 addition & 4 deletions test/Util/DataProvider/Specification/Pattern.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,7 @@

final class Pattern implements Specification
{
/**
* @var string
*/
private $pattern;
private string $pattern;

private function __construct(string $pattern)
{
Expand Down

0 comments on commit 475527d

Please sign in to comment.