remove get fields, cleanup code #22
Workflow file for this run
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: Quality | |
| on: [pull_request] | |
| jobs: | |
| run: | |
| runs-on: ${{ matrix.operating-system }} | |
| strategy: | |
| matrix: | |
| operating-system: [ ubuntu-latest ] | |
| php-versions: [ '7.4' ] | |
| name: PHP ${{ matrix.php-versions }} Test on ${{ matrix.operating-system }} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v1 | |
| - name: Setup PHP | |
| uses: shivammathur/setup-php@v2 | |
| with: | |
| php-version: ${{ matrix.php-versions }} | |
| tools: phpcbf, phpcs | |
| - name: Check PHP Version | |
| run: php -v | |
| - name: Add dependencies | |
| run: composer install | |
| - name: Check composer | |
| run: composer validate | |
| - name: Check cs | |
| run: composer cs -- ./ | |
| - name: Check psalm | |
| run: composer psalm |