fix: fixed phpcs findings #7
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: Run quality checks | |
| on: | |
| push: | |
| branches: | |
| - master | |
| - '*.x' | |
| pull_request: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v1 | |
| - name: Set PHP version | |
| uses: shivammathur/setup-php@v2 | |
| with: | |
| php-version: 8.1 | |
| - name: Install composer dependencies | |
| run: composer install --quiet --no-ansi --no-interaction --no-scripts --no-suggest --no-progress --prefer-dist | |
| - name: Run phpcs | |
| run: composer phpcs | |
| - name: Run phpstan | |
| run: composer phpstan |