Reduce "Cannot access property" errors detected by PHPStan #79
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: Test with php-src | |
on: | |
push: | |
pull_request: | |
workflow_dispatch: | |
schedule: | |
- cron: '0 9 7,14,21,28 * *' | |
jobs: | |
test: | |
name: Test with php-src | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
php: [ '8.1', '8.2', '8.3', '8.4', 'master' ] | |
steps: | |
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 | |
- name: Run docker compose | |
shell: bash | |
run: | | |
cp .github/workflows/php-src-${{ matrix.php }}.dockerfile Dockerfile | |
docker compose up -d | |
sleep 30 | |
- name: Run testing | |
shell: bash | |
run: | | |
sleep 30 | |
docker compose run web sh -c "cd / && composer test" |