8000 minor #25556 PHP CS Fixer: use PHPUnit Migration ruleset (keradus) · symfony/symfony@8f60418 · GitHub
[go: up one dir, main page]

Skip to content

Commit 8f60418

Browse files
minor #25556 PHP CS Fixer: use PHPUnit Migration ruleset (keradus)
This PR was squashed before being merged into the 2.7 branch (closes #25556). Discussion ---------- PHP CS Fixer: use PHPUnit Migration ruleset | Q | A | ------------- | --- | Branch? | 2.7 | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | not related | Fixed tickets | n/a | License | MIT | Doc PR | n/a replaces #25553 Commits ------- a5bc7d6 PHP CS Fixer: use PHPUnit Migration ruleset
2 parents 4bd9c79 + a5bc7d6 commit 8f60418

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.php_cs.dist

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,10 @@ return PhpCsFixer\Config::create()
88
->setRules(array(
99
'@Symfony' => true,
1010
'@Symfony:risky' => true,
11+
'@PHPUnit48Migration:risky' => true,
12+
'php_unit_no_expectation_annotation' => false, // part of `PHPUnitXYMigration:risky` ruleset, to be enabled when PHPUnit 4.x support will be dropped, as we don't want to rewrite exceptions handling twice
1113
'array_syntax' => array('syntax' => 'long'),
1214
'protected_to_private' => false,
13-
'php_unit_dedicate_assert' => array('target' => '3.5'),
1415
))
1516
->setRiskyAllowed(true)
1617
->setFinder(

0 commit comments

Comments
 (0)
0