Skip to content

Commit

Permalink
Merge pull request #22 from acsiomatic/php-cs-fixer-3
Browse files Browse the repository at this point in the history
Bump PHP-CS-Fixer to 3
  • Loading branch information
renedelima authored Nov 23, 2021
2 parents 7e8deb3 + 68e908a commit 360de2a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/coding-standards.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
uses: shivammathur/setup-php@v2
with:
php-version: 7.4
tools: php-cs-fixer:2, cs2pr
tools: php-cs-fixer:3, cs2pr

- name: Create var/ directory
run: mkdir var
Expand Down
4 changes: 2 additions & 2 deletions .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@
->setRules([
'@Symfony' => true,
'@Symfony:risky' => true,
'array_syntax' => ['syntax' => 'short'],
'method_chaining_indentation' => true,
'ordered_class_elements' => true,
'php_unit_test_case_static_method_calls' => true,
'static_lambda' => true,
'ordered_class_elements' => true,
'visibility_required' => ['elements' => ['property', 'method']], // PHP 7.0 compatibility
])
->setFinder($finder)
;

0 comments on commit 360de2a

Please sign in to comment.