Skip to content

Commit

Permalink
Remove php-cs-fixer config file
Browse files Browse the repository at this point in the history
  • Loading branch information
vinkla committed Nov 7, 2023
1 parent e553c92 commit 0008347
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 50 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/php-cs-fixer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,13 @@ jobs:
run:
runs-on: ubuntu-latest

name: PER
name: PER-CS

steps:
- uses: actions/checkout@v4
- uses: shivammathur/setup-php@v2
with:
php-version: 8.2
coverage: xdebug
tools: cs2pr
- run: composer install --prefer-dist --no-interaction
- run: vendor/bin/php-cs-fixer fix --dry-run --format=checkstyle | cs2pr
tools: php-cs-fixer, cs2pr
- run: php-cs-fixer fix . --dry-run --rules=@PER-CS,declare_strict_types,no_unused_imports,ordered_imports,ordered_traits --allow-risky=yes --format=checkstyle | cs2pr
44 changes: 0 additions & 44 deletions .php-cs-fixer.php

This file was deleted.

3 changes: 1 addition & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@
},
"require-dev": {
"phpunit/phpunit": "^10.1",
"symfony/var-dumper": "^6.3",
"friendsofphp/php-cs-fixer": "^3.35"
"symfony/var-dumper": "^6.3"
},
"suggest": {
"symfony/var-dumper": "Required to use the dump method (^6.3)."
Expand Down

0 comments on commit 0008347

Please sign in to comment.