File tree Expand file tree Collapse file tree 4 files changed +13
-4
lines changed
Expand file tree Collapse file tree 4 files changed +13
-4
lines changed Original file line number Diff line number Diff line change 1313 strategy :
1414 matrix :
1515 php-version :
16- - " 7.4"
1716 - " 8.0"
1817 - " 8.1"
1918 - " 8.2"
Original file line number Diff line number Diff line change 1616return (new Config ())
1717 ->setFinder ($ finder )
1818 ->setRiskyAllowed (true )
19- ->setRules (Rules::getForPhp71 ($ overrides ));
19+ ->setRules (Rules::getForPhp83 ($ overrides ));
Original file line number Diff line number Diff line change 1111 ],
1212 "require" : {
1313 "php" : " ^7.1.3 || ^8.0" ,
14- "friendsofphp/php-cs-fixer" : " ^3.40 "
14+ "friendsofphp/php-cs-fixer" : " ^3.64 "
1515 },
1616 "minimum-stability" : " stable" ,
1717 "autoload" : {
Original file line number Diff line number Diff line change 55namespace Mollie \PhpCodingStandards \PhpCsFixer ;
66
77/*
8- * Last updated for php-cs-fixer version: 3.40.2
8+ * Last updated for php-cs-fixer version: 3.64.0
99 */
1010class Rules
1111{
@@ -226,6 +226,16 @@ private static function getBaseRules(): array
226226 'identical ' => false ,
227227 'less_and_greater ' => false ,
228228 ],
229+ 'trailing_comma_in_multiline ' => [
230+ 'after_heredoc ' => true ,
231+ 'elements ' => [
232+ 'arguments ' ,
233+ 'array_destructuring ' ,
234+ 'arrays ' ,
235+ 'match ' ,
236+ 'parameters ' ,
237+ ],
238+ ],
229239 ];
230240 }
231241}
You can’t perform that action at this time.
0 commit comments