feat: php8.3 #196
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: Lint and Code Style | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| types: | |
| - opened | |
| - synchronize | |
| - reopened | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: lint-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| lint-php-codestyle: | |
| name: PHP Code Style | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| php-version: ["8.3"] | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Setup PHP | |
| uses: shivammathur/setup-php@v2 | |
| with: | |
| php-version: ${{ matrix.php-version }} | |
| extensions: curl, gd, json, xml, zip | |
| ini-values: "memory_limit=1024M" | |
| tools: phpstan, codesniffer | |
| - name: Install Composer dependencies | |
| run: | | |
| make install-composer-deps | |
| make vendor-bin-deps | |
| - name: Install Server | |
| run: | | |
| DATA_DIRECTORY=$(pwd)/data bash tests/drone/install-server.sh | |
| - name: Run PHP Code Style Checks | |
| run: | | |
| make test-php-style | |
| - name: Run PHP Stan | |
| run: | | |
| make test-php-phpstan | |
| - name: Run PHP Phan | |
| run: | | |
| make test-php-phan |