Fix some PHP, Doctrine & Symfony deprecations #54
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: Continuous Integration | |
| on: | |
| pull_request: | |
| branches: ['5.x', '4.x', '3.x'] | |
| push: | |
| branches: ['5.x', '4.x', '3.x'] | |
| jobs: | |
| phpunit: | |
| name: PHPUnit (PHP ${{ matrix.php-version }} - Symfony ${{ matrix.symfony-version }}) | |
| runs-on: ubuntu-24.04 | |
| continue-on-error: ${{ matrix.continue-on-error || false }} | |
| env: | |
| SYMFONY_REQUIRE: ${{ matrix.symfony-version }} | |
| strategy: | |
| matrix: | |
| php-version: | |
| - '8.2' | |
| - '8.3' | |
| - '8.4' | |
| - '8.5' | |
| symfony-version: | |
| - '6.4.*' | |
| - '7.4.*' | |
| include: | |
| - php-version: '8.4' | |
| symfony-version: '8.0.*' | |
| - php-version: '8.5' | |
| symfony-version: '8.0.*' | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v5 | |
| with: | |
| fetch-depth: 2 | |
| - name: Install PHP with pcov | |
| uses: shivammathur/setup-php@v2 | |
| with: | |
| coverage: pcov | |
| php-version: ${{ matrix.php-version }} | |
| extensions: pdo_sqlite | |
| tools: flex | |
| - name: Configure Composer minimum-stability for dev versions | |
| if: contains(matrix.symfony-version, 'dev') | |
| run: composer config minimum-stability dev | |
| - name: Install Composer dependencies | |
| uses: ramsey/composer-install@v3 | |
| - name: Run PHPUnit | |
| run: vendor/bin/phpunit --coverage-clover=coverage.xml | |
| - name: Upload to Codecov | |
| uses: codecov/codecov-action@v5 | |
| if: matrix.php-version == '8.2' && matrix.symfony-version == '6.4.*' |