Improve exception type hint for GameQ::process
#26
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: CI | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| CI: | |
| runs-on: ubuntu-24.04 | |
| continue-on-error: ${{ matrix.experimental }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| php: [8.1, 8.2, 8.3] | |
| ocular: [^1.9] | |
| experimental: [false] | |
| composer-extra: [''] | |
| include: | |
| - php: 8.4 | |
| experimental: true | |
| env: | |
| PHP_VERSION: ${{ matrix.php }} | |
| name: PHP ${{ matrix.php }} | |
| steps: | |
| - name: Setup PHP | |
| uses: shivammathur/setup-php@v2 | |
| with: | |
| php-version: ${{ matrix.php }} | |
| extensions: bz2,xml,curl | |
| - name: Checkout | |
| uses: actions/checkout@v3 | |
| with: | |
| fetch-depth: 10 | |
| - name: Validate composer.json | |
| run: composer validate | |
| - name: Cache composer files | |
| uses: actions/cache@v3 | |
| with: | |
| path: ~/.composer/cache/files | |
| key: dependencies-php-${{ matrix.php }}-composer-${{ hashFiles('composer.json') }} | |
| - name: Install dependencies using composer | |
| run: composer install --prefer-dist --no-interaction ${{ matrix.composer-extra }} | |
| - name: PHP CodeStyle | |
| run: | | |
| mkdir -p build/logs | |
| composer phpcs | |
| - name: Run PHPStan | |
| run: composer phpstan | |
| - name: Run PHPUnit | |
| run: composer phpunit |