diff --git a/.php-cs-fixer.dist.php b/.php-cs-fixer.dist.php index 116919d..e468bc3 100644 --- a/.php-cs-fixer.dist.php +++ b/.php-cs-fixer.dist.php @@ -47,6 +47,7 @@ 'declare_strict_types' => true, 'phpdoc_order' => true, 'header_comment' => ['header' => $header], + 'trailing_comma_in_multiline' => ['after_heredoc' => true], // for php73 compat ]) ->setRiskyAllowed(true) ->setFinder($finder) diff --git a/HISTORY.md b/HISTORY.md index 878194a..11c3f19 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -4,6 +4,11 @@ +* Style + * Applied latest code style (via [#196]) + +[#196]: https://github.com/package-url/packageurl-php/pull/196 + ## 1.1.2 - 2024-02-05 Maintenance release. diff --git a/tools/php-cs-fixer/composer.json b/tools/php-cs-fixer/composer.json index bae5b34..7a4ffcc 100644 --- a/tools/php-cs-fixer/composer.json +++ b/tools/php-cs-fixer/composer.json @@ -6,7 +6,7 @@ "php": ">=7.4" }, "require-dev": { - "friendsofphp/php-cs-fixer": "3.62.0", + "friendsofphp/php-cs-fixer": "3.64.0", "roave/security-advisories": "dev-latest" }, "prefer-stable": true,