Skip to content

Commit f3fba3b

Browse files
ruudkondrejmirtes
authored andcommitted
Downgrade doctrine/orm on PHP 7.1
1 parent 77c7134 commit f3fba3b

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

.github/workflows/build.yml

+12
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@ jobs:
4141
if: matrix.php-version == '7.1' || matrix.php-version == '7.2' || matrix.php-version == '7.3'
4242
run: "composer require --dev phpunit/phpunit:^7.5.20 --no-update --update-with-dependencies"
4343

44+
- name: "Downgrade Doctrine ORM"
45+
if: matrix.php-version == '7.1'
46+
run: "composer require --dev doctrine/orm:^2.7.5 doctrine/lexer:^1.0 --no-update --update-with-dependencies"
47+
4448
- name: "Install dependencies"
4549
run: "composer install --no-interaction --no-progress"
4650

@@ -106,6 +110,10 @@ jobs:
106110
if: matrix.php-version == '7.1' || matrix.php-version == '7.2' || matrix.php-version == '7.3'
107111
run: "composer require --dev phpunit/phpunit:^7.5.20 --no-update --update-with-dependencies"
108112

113+
- name: "Downgrade Doctrine ORM"
114+
if: matrix.php-version == '7.1'
115+
run: "composer require --dev doctrine/orm:^2.7.5 doctrine/lexer:^1.0 --no-update --update-with-dependencies"
116+
109117
- name: "Install lowest dependencies"
110118
if: ${{ matrix.dependencies == 'lowest' }}
111119
run: "composer update --prefer-lowest --no-interaction --no-progress"
@@ -151,6 +159,10 @@ jobs:
151159
if: matrix.php-version == '7.1' || matrix.php-version == '7.2' || matrix.php-version == '7.3'
152160
run: "composer require --dev phpunit/phpunit:^7.5.20 --no-update --update-with-dependencies"
153161

162+
- name: "Downgrade Doctrine ORM"
163+
if: matrix.php-version == '7.1'
164+
run: "composer require --dev doctrine/orm:^2.7.5 doctrine/lexer:^1.0 --no-update --update-with-dependencies"
165+
154166
- name: "Install lowest dependencies"
155167
if: ${{ matrix.dependencies == 'lowest' }}
156168
run: "composer update --prefer-lowest --no-interaction --no-progress"

composer.json

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
"doctrine/collections": "^1.6",
2222
"doctrine/common": "^2.7 || ^3.0",
2323
"doctrine/dbal": "^2.13.1",
24+
"doctrine/lexer": "^1.2.1",
2425
"doctrine/mongodb-odm": "^1.3 || ^2.1",
2526
"doctrine/orm": "^2.9.1",
2627
"doctrine/persistence": "^1.1 || ^2.0",

0 commit comments

Comments
 (0)