Skip to content

Commit

Permalink
Update static.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
orbeji authored Jan 15, 2024
1 parent 695b9dd commit fafbd47
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,23 +23,22 @@ jobs:
- name: PHPStan
run: phpstan analyze --no-progress --error-format=checkstyle | cs2pr

php-cs-fixer:
name: PHP-CS-Fixer
phpcs:
name: PhpCS
runs-on: ubuntu-22.04

steps:
- name: Checkout code
uses: actions/checkout@v4
- uses: actions/checkout@v3

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.3
coverage: none
tools: php-cs-fixer:3, cs2pr
- name: Composer install
uses: php-actions/composer@v6

- name: PHP-CS-Fixer
run: php-cs-fixer fix --dry-run --format=checkstyle | cs2pr
- name: PHP Code Sniffer
uses: php-actions/phpcs@v1
with:
php_version: 8.3
path: src/
standard: psr12

composer-normalize:
name: Composer Normalize
Expand Down

0 comments on commit fafbd47

Please sign in to comment.