Skip to content

Commit d20f0bc

Browse files
authored
Fix Doctrine Tests (#652)
1 parent e86594d commit d20f0bc

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/phpstan.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ jobs:
9292
if: "${{matrix.php-version != '7.2' && matrix.php-version != '7.3'}}"
9393

9494
- name: Install doctrine/dbal (optional dependency)
95-
run: composer require doctrine/dbal --ignore-platform-req=php+
95+
run: composer require doctrine/dbal:^3 --ignore-platform-req=php+
9696
if: "${{matrix.php-version != '7.2'}}"
9797

9898
- name: Enable phpstan@dev
@@ -147,7 +147,7 @@ jobs:
147147
if: "${{matrix.php-version != '7.2' && matrix.php-version != '7.3'}}"
148148

149149
- name: Install doctrine/dbal (optional dependency)
150-
run: composer require doctrine/dbal --ignore-platform-req=php+
150+
run: composer require doctrine/dbal:^3 --ignore-platform-req=php+
151151
if: "${{matrix.php-version != '7.2'}}"
152152

153153
- run: composer phpstan

.github/workflows/tests-postgres.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
if: "${{matrix.php-version != '7.2' && matrix.php-version != '7.3'}}"
5959

6060
- name: Install doctrine/dbal (optional dependency)
61-
run: composer require doctrine/dbal --ignore-platform-req=php+
61+
run: composer require doctrine/dbal:^3 --ignore-platform-req=php+
6262
if: "${{matrix.php-version != '7.2'}}"
6363

6464
- name: Setup Problem Matchers for PHPUnit

.github/workflows/tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ jobs:
128128
if: "${{matrix.php-version != '7.2' && matrix.php-version != '7.3'}}"
129129

130130
- name: Install doctrine/dbal (optional dependency)
131-
run: composer require doctrine/dbal --ignore-platform-req=php+
131+
run: composer require doctrine/dbal:^3 --ignore-platform-req=php+
132132
if: "${{matrix.php-version != '7.2'}}"
133133

134134
- name: Setup Problem Matchers for PHPUnit
@@ -184,7 +184,7 @@ jobs:
184184
if: "${{matrix.php-version != '7.2' && matrix.php-version != '7.3'}}"
185185

186186
- name: Install doctrine/dbal (optional dependency)
187-
run: composer require doctrine/dbal --ignore-platform-req=php+
187+
run: composer require doctrine/dbal:^3 --ignore-platform-req=php+
188188
if: "${{matrix.php-version != '7.2'}}"
189189

190190
- name: Setup Problem Matchers for PHPUnit

0 commit comments

Comments
 (0)