PHP CS Fixer: use PHPUnit Migration ruleset
This commit is contained in:
parent
f6fc785262
commit
a5bc7d649b
|
@ -8,9 +8,10 @@ return PhpCsFixer\Config::create()
|
||||||
->setRules(array(
|
->setRules(array(
|
||||||
'@Symfony' => true,
|
'@Symfony' => true,
|
||||||
'@Symfony:risky' => true,
|
'@Symfony:risky' => true,
|
||||||
|
'@PHPUnit48Migration:risky' => true,
|
||||||
|
'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
|
||||||
'array_syntax' => array('syntax' => 'long'),
|
'array_syntax' => array('syntax' => 'long'),
|
||||||
'protected_to_private' => false,
|
'protected_to_private' => false,
|
||||||
'php_unit_dedicate_assert' => array('target' => '3.5'),
|
|
||||||
))
|
))
|
||||||
->setRiskyAllowed(true)
|
->setRiskyAllowed(true)
|
||||||
->setFinder(
|
->setFinder(
|
||||||
|
|
Reference in New Issue