File tree Expand file tree Collapse file tree 2 files changed +7
-11
lines changed Expand file tree Collapse file tree 2 files changed +7
-11
lines changed 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 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"
43
43
"autoload-dev" : {
44
44
"psr-4" : { "Doctrine\\ Bundle\\ MigrationsBundle\\ Tests\\ " : " Tests" }
45
45
},
46
- "config" : {
47
- "platform" : {
48
- "php" : " 7.2.5"
49
- }
50
- },
51
46
"extra" : {
52
47
"branch-alias" : {
53
48
"dev-master" : " 3.0.x-dev"
You can’t perform that action at this time.
0 commit comments