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 5
5
"versions" : [
6
6
{
7
7
"name" : " 3.1" ,
8
- "branchName" : " master " ,
8
+ "branchName" : " 3.1.x " ,
9
9
"slug" : " 3.1" ,
10
10
"upcoming" : true
11
11
},
Original file line number Diff line number Diff line change 30
30
include :
31
31
- deps : " low"
32
32
php-version : " 7.2"
33
+ - deps : " dev"
34
+ php-version : " 8.0"
33
35
34
36
steps :
35
37
- name : " Checkout"
@@ -51,14 +53,13 @@ jobs:
51
53
key : " php-${{ matrix.php-version }}-composer-locked-${{ hashFiles('composer.lock') }}"
52
54
restore-keys : " php-${{ matrix.php-version }}-composer-locked-"
53
55
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' }}"
58
59
59
60
- name : " Install dependencies with composer"
60
61
run : " composer update --no-interaction --prefer-dist"
61
- if : " ${{ matrix.deps == 'normal ' }}"
62
+ if : " ${{ matrix.deps != 'low ' }}"
62
63
63
64
- name : " Install lowest possible dependencies with composer"
64
65
run : " composer update --no-interaction --prefer-dist --prefer-lowest"
Original file line number Diff line number Diff line change @@ -67,7 +67,6 @@ application:
67
67
version_column_name : ' version'
68
68
version_column_length : 1024
69
69
executed_at_column_name : ' executed_at'
70
- execution_time_column_name : ' execution_time'
71
70
72
71
# Possible values: "BY_YEAR", "BY_YEAR_AND_MONTH", false
73
72
organize_migrations : false
@@ -243,12 +242,12 @@ Here is an example on how to inject the service container into your migrations:
243
242
244
243
.. code-block :: yaml
245
244
246
- # config/packages/doctrine_migrations.yml
245
+ # config/packages/doctrine_migrations.yaml
247
246
doctrine_migrations :
248
247
services :
249
248
' Doctrine\Migrations\Version\MigrationFactory ' : ' App\Migrations\Factory\MigrationFactoryDecorator'
250
249
251
- # config/services.yml
250
+ # config/services.yaml
252
251
services :
253
252
Doctrine\Migrations\Version\DbalMigrationFactory : ~
254
253
App\Migrations\Factory\MigrationFactoryDecorator :
@@ -331,7 +330,7 @@ for Doctrine's ORM:
331
330
332
331
.. code-block :: yaml
333
332
334
- # config/doctrine/User.orm.yml
333
+ # config/doctrine/User.orm.yaml
335
334
App\Entity\User :
336
335
type : entity
337
336
table : user
Original file line number Diff line number Diff line change 20
20
}
21
21
],
22
22
"require" : {
23
- "php" : " ^7.2" ,
23
+ "php" : " ^7.2|^8.0 " ,
24
24
"symfony/framework-bundle" : " ~3.4|~4.0|~5.0" ,
25
25
"doctrine/doctrine-bundle" : " ~1.0|~2.0" ,
26
26
"doctrine/migrations" : " ~3.0"
You can’t perform that action at this time.
0 commit comments