Skip to content

Commit 1d154ec

Browse files
committed
[TASK] Update PHP-CS-Fixer
1 parent 11a91c4 commit 1d154ec

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.phive/phars.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<phive xmlns="https://phar.io/phive">
3-
<phar name="php-cs-fixer" version="^3.50.0" installed="3.50.0" location="./.phive/php-cs-fixer" copy="false"/>
3+
<phar name="php-cs-fixer" version="^3.59.3" installed="3.59.3" location="./.phive/php-cs-fixer" copy="false"/>
44
</phive>

config/php-cs-fixer.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,12 @@
2121
'@PHPUnit75Migration:risky' => true,
2222
'@PHPUnit84Migration:risky' => true,
2323

24+
// needed for PHP 7.x
25+
'trailing_comma_in_multiline' => [
26+
'after_heredoc' => true,
27+
'elements' => ['arrays', 'match', 'parameters'],
28+
],
29+
2430
'php_unit_construct' => true,
2531
'php_unit_dedicate_assert' => ['target' => 'newest'],
2632
'php_unit_expectation' => ['target' => 'newest'],

0 commit comments

Comments
 (0)