diff --git a/.phive/phars.xml b/.phive/phars.xml index 8b65eea8..a19b8834 100644 --- a/.phive/phars.xml +++ b/.phive/phars.xml @@ -1,4 +1,4 @@ - + diff --git a/config/php-cs-fixer.php b/config/php-cs-fixer.php index 76f52077..bc449156 100644 --- a/config/php-cs-fixer.php +++ b/config/php-cs-fixer.php @@ -1,8 +1,6 @@ setRiskyAllowed(true) @@ -21,6 +19,9 @@ '@PHPUnit75Migration:risky' => true, '@PHPUnit84Migration:risky' => true, + // overwrite the PER2 defaults to restore compatibility with PHP 7.x + 'trailing_comma_in_multiline' => ['elements' => ['arrays', 'match']], + 'php_unit_construct' => true, 'php_unit_dedicate_assert' => ['target' => 'newest'], 'php_unit_expectation' => ['target' => 'newest'],