File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change 1818 # Doctrine ORM 3.0 requires PHP 8.4+
1919 - php-version : ' 8.2'
2020 doctrine-orm-version : ' 3.0.*'
21+ # Symfony 8.0 requires PHP 8.4+
22+ - php-version : ' 8.2'
23+ symfony-version : ' 8.0.*'
24+ # Symfony 8 only works with doctrine-bundle 3.1+, which conflicts with ORM 2.x
25+ - symfony-version : ' 8.0.*'
26+ doctrine-orm-version : ' 2.20.*'
2127
2228 name : PHP ${{ matrix.php-version }} · SF ${{ matrix.symfony-version }} · Doctrine ORM ${{ matrix.doctrine-orm-version }}
2329
4248 - name : Constrain Doctrine ORM version
4349 run : |
4450 sed -ri 's/"doctrine\/orm": "[^"]+"/"doctrine\/orm": "${{ matrix.doctrine-orm-version }}"/' composer.json
51+ # Symfony 8 requires doctrine-bundle 3.1+, which requires doctrine/persistence ^4; ORM 3.0.x requires ^3. Use ORM 3.1.* for SF 8.
52+ if [ "${{ matrix.symfony-version }}" = "8.0.*" ] && [ "${{ matrix.doctrine-orm-version }}" = "3.0.*" ]; then
53+ sed -ri 's/"doctrine\/orm": "[^"]+"/"doctrine\/orm": "3.1.*"/' composer.json
54+ fi
4555
4656 - name : Install Composer dependencies
4757 uses : ramsey/composer-install@v3
You can’t perform that action at this time.
0 commit comments