fixed psalm issues #262
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: PHP CS Fixer | |
on: | |
push: | |
workflow_dispatch: | |
jobs: | |
php-cs-fixer: | |
name: PHP CS Fixer | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Set up PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: 8.1 | |
tools: composer | |
- name: Install dependencies | |
run: composer install --no-progress --prefer-dist | |
- name: Run PHP CS Fixer | |
run: vendor/bin/php-cs-fixer fix --dry-run --diff --allow-risky=yes |