File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
Expand file tree Collapse file tree 1 file changed +7
-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.*'
2124
2225 name : PHP ${{ matrix.php-version }} · SF ${{ matrix.symfony-version }} · Doctrine ORM ${{ matrix.doctrine-orm-version }}
2326
4245 - name : Constrain Doctrine ORM version
4346 run : |
4447 sed -ri 's/"doctrine\/orm": "[^"]+"/"doctrine\/orm": "${{ matrix.doctrine-orm-version }}"/' composer.json
48+ # 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.
49+ if [ "${{ matrix.symfony-version }}" = "8.0.*" ] && [ "${{ matrix.doctrine-orm-version }}" = "3.0.*" ]; then
50+ sed -ri 's/"doctrine\/orm": "[^"]+"/"doctrine\/orm": "3.1.*"/' composer.json
51+ fi
4552
4653 - name : Install Composer dependencies
4754 uses : ramsey/composer-install@v3
You can’t perform that action at this time.
0 commit comments