Skip to content

Commit

Permalink
minor #5641 DX: use constants for PHPUnit version on 3.0 line (keradus)
Browse files Browse the repository at this point in the history
This PR was merged into the 3.0 branch.

Discussion
----------

DX: use constants for PHPUnit version on 3.0 line

follows #5640

Commits
-------

6570f5b DX: use constants for PHPUnit version on 3.0 line
  • Loading branch information
keradus committed Apr 18, 2021
2 parents be0ca0f + 6570f5b commit 826e113
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/RuleSet/Sets/PHPUnit50MigrationRiskySet.php
Expand Up @@ -14,6 +14,7 @@

namespace PhpCsFixer\RuleSet\Sets;

use PhpCsFixer\Fixer\PhpUnit\PhpUnitTargetVersion;
use PhpCsFixer\RuleSet\AbstractRuleSetDescription;

/**
Expand All @@ -26,7 +27,7 @@ public function getRules(): array
return [
'@PHPUnit48Migration:risky' => true,
'php_unit_dedicate_assert' => [
'target' => '5.0',
'target' => PhpUnitTargetVersion::VERSION_5_0,
],
];
}
Expand Down

0 comments on commit 826e113

Please sign in to comment.