File tree Expand file tree Collapse file tree 4 files changed +11
-11
lines changed
Expand file tree Collapse file tree 4 files changed +11
-11
lines changed Original file line number Diff line number Diff line change 55 "versions" : [
66 {
77 "name" : " 3.1" ,
8- "branchName" : " master " ,
8+ "branchName" : " 3.1.x " ,
99 "slug" : " 3.1" ,
1010 "upcoming" : true
1111 },
Original file line number Diff line number Diff line change 3030 include :
3131 - deps : " low"
3232 php-version : " 7.2"
33+ - deps : " dev"
34+ php-version : " 8.0"
3335
3436 steps :
3537 - name : " Checkout"
@@ -51,14 +53,13 @@ jobs:
5153 key : " php-${{ matrix.php-version }}-composer-locked-${{ hashFiles('composer.lock') }}"
5254 restore-keys : " php-${{ matrix.php-version }}-composer-locked-"
5355
54- # to be removed when doctrine/orm adds support for PHP 8
55- - name : " Pretend this is PHP 7.4"
56- run : " composer config platform.php 7.4.99"
57- if : " ${{ matrix.php-version == '8.0' }}"
56+ - name : " Allow installing dev dependencies"
57+ run : " composer config minimum-stability dev"
58+ if : " ${{ matrix.deps == 'dev' }}"
5859
5960 - name : " Install dependencies with composer"
6061 run : " composer update --no-interaction --prefer-dist"
61- if : " ${{ matrix.deps == 'normal ' }}"
62+ if : " ${{ matrix.deps != 'low ' }}"
6263
6364 - name : " Install lowest possible dependencies with composer"
6465 run : " composer update --no-interaction --prefer-dist --prefer-lowest"
Original file line number Diff line number Diff line change @@ -67,7 +67,6 @@ application:
6767 version_column_name : ' version'
6868 version_column_length : 1024
6969 executed_at_column_name : ' executed_at'
70- execution_time_column_name : ' execution_time'
7170
7271 # Possible values: "BY_YEAR", "BY_YEAR_AND_MONTH", false
7372 organize_migrations : false
@@ -243,12 +242,12 @@ Here is an example on how to inject the service container into your migrations:
243242
244243 .. code-block :: yaml
245244
246- # config/packages/doctrine_migrations.yml
245+ # config/packages/doctrine_migrations.yaml
247246 doctrine_migrations :
248247 services :
249248 ' Doctrine\Migrations\Version\MigrationFactory ' : ' App\Migrations\Factory\MigrationFactoryDecorator'
250249
251- # config/services.yml
250+ # config/services.yaml
252251 services :
253252 Doctrine\Migrations\Version\DbalMigrationFactory : ~
254253 App\Migrations\Factory\MigrationFactoryDecorator :
@@ -331,7 +330,7 @@ for Doctrine's ORM:
331330
332331 .. code-block :: yaml
333332
334- # config/doctrine/User.orm.yml
333+ # config/doctrine/User.orm.yaml
335334 App\Entity\User :
336335 type : entity
337336 table : user
Original file line number Diff line number Diff line change 2020 }
2121 ],
2222 "require" : {
23- "php" : " ^7.2" ,
23+ "php" : " ^7.2|^8.0 " ,
2424 "symfony/framework-bundle" : " ~3.4|~4.0|~5.0" ,
2525 "doctrine/doctrine-bundle" : " ~1.0|~2.0" ,
2626 "doctrine/migrations" : " ~3.0"
You can’t perform that action at this time.
0 commit comments