Refactoring keyword collision list & improve the test #297
Workflow file for this run
This file contains 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: SA | |
on: | |
pull_request: | |
jobs: | |
checkstyle: | |
name: Checkstyle | |
runs-on: ubuntu-latest | |
timeout-minutes: 6 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: 8.2 | |
coverage: none | |
- name: Install composer dependencies | |
run: "composer install --no-interaction --no-progress --no-scripts" | |
- name: Run PHP-CS-Fixer | |
run: ./vendor/bin/php-cs-fixer check --diff | |
# phpstan: | |
# name: PHPStan | |
# runs-on: ubuntu-latest | |
# timeout-minutes: 6 | |
# steps: | |
# - name: Checkout code | |
# uses: actions/checkout@v4 | |
# with: | |
# fetch-depth: 0 | |
# - name: Setup PHP | |
# uses: shivammathur/setup-php@v2 | |
# with: | |
# php-version: 8.2 | |
# coverage: none | |
# - name: Install composer dependencies | |
# run: "composer install --no-interaction --no-progress --no-scripts" | |
# - name: Run PHPStan | |
# run: ./vendor/bin/phpstan analyse --error-format=github |