Skip to content

Commit

Permalink
Added php-cs-fixer to composer.json
Browse files Browse the repository at this point in the history
  • Loading branch information
vinkla committed Oct 21, 2023
1 parent eb10436 commit 4146c8e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/php-cs-fixer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ jobs:
with:
php-version: 8.2
coverage: xdebug
tools: php-cs-fixer, cs2pr
- run: php-cs-fixer fix --dry-run --format=checkstyle | cs2pr
tools: cs2pr
- run: vendor/bin/php-cs-fixer fix --dry-run --format=checkstyle | cs2pr
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
},
"require-dev": {
"phpunit/phpunit": "^10.1",
"symfony/var-dumper": "^6.3"
"symfony/var-dumper": "^6.3",
"friendsofphp/php-cs-fixer": "^3.35"
},
"suggest": {
"symfony/var-dumper": "Required to use the dump method (^6.3)."
Expand Down

0 comments on commit 4146c8e

Please sign in to comment.