Skip to content

Commit

Permalink
refactor: upgrade to PHP-CS-Fixer 3.64
Browse files Browse the repository at this point in the history
  • Loading branch information
jaburjak committed Oct 5, 2024
1 parent da0047c commit cddd592
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ jobs:
php-version: '7.4'
tools: composer, phive
- run: composer install
- run: phive --no-progress install --trust-gpg-keys E82B2FB314E9906E php-cs-fixer@^3.15
- run: phive --no-progress install --trust-gpg-keys E82B2FB314E9906E php-cs-fixer@^3.64
- run: ./tools/php-cs-fixer fix --show-progress=none --allow-risky=yes --dry-run --diff
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@
"minimum-stability": "stable",
"require": {},
"scripts": {
"phive-install": "phive install php-cs-fixer@^3.15"
"phive-install": "phive install php-cs-fixer@^3.64"
}
}
8 changes: 4 additions & 4 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions src/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,9 @@ class Config extends Base {
'location' => 'after_open',
'separate' => 'bottom'
],
'braces' => [
'position_after_functions_and_oop_constructs' => 'same'
'braces_position' => [
'classes_opening_brace' => 'same_line',
'functions_opening_brace' => 'same_line'
],
'single_blank_line_at_eof' => false,
'blank_line_after_opening_tag' => false,
Expand Down

0 comments on commit cddd592

Please sign in to comment.