Skip to content

Resolve the "Property is never assigned null so it can be removed from the property type" error detected by PHPStan #187

Resolve the "Property is never assigned null so it can be removed from the property type" error detected by PHPStan

Resolve the "Property is never assigned null so it can be removed from the property type" error detected by PHPStan #187

Workflow file for this run

name: Test with php-src
permissions:
contents: read
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', '8.5', 'master' ]
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.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"