Skip to content

Commit

Permalink
chore(composer): use check for php-cs-fixer lint script
Browse files Browse the repository at this point in the history
  • Loading branch information
gaelreyrol committed Jan 29, 2024
1 parent e14890f commit d0ba447
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ jobs:
- name: Run PHPStan analysis
run: |
./vendor/bin/phpstan --version
./vendor/bin/phpstan analyse --no-interaction --no-progress --ansi
./vendor/bin/phpstan analyse --no-interaction --no-progress --ansi --format=github
phpunit:
name: PHPUnit (PHP ${{ matrix.php }})
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@
"@composer normalize --dry-run"
],
"php-cs-fixer:fix": "@php ./vendor/bin/php-cs-fixer fix",
"php-cs-fixer:lint": "@php-cs-fixer:fix --dry-run --diff",
"php-cs-fixer:lint": "@php ./vendor/bin/php-cs-fixer check",
"phpstan": "@php vendor/bin/phpstan analyse",
"phpunit": "@php vendor/bin/phpunit",
"test": [
Expand Down

0 comments on commit d0ba447

Please sign in to comment.