Skip to content

Commit ce5f7a8

Browse files
committed
fix(ci): downgrade mockery when downgrading phpunit because of conflicts
1 parent 811a28b commit ce5f7a8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040

4141
- name: "Downgrade PHPUnit"
4242
if: matrix.php-version == '7.1' || matrix.php-version == '7.2' || matrix.php-version == '7.3'
43-
run: "composer require --dev phpunit/phpunit:^7.5.20 --update-with-dependencies"
43+
run: "composer require --dev phpunit/phpunit:^7.5.20 mockery/mockery:^1.3 --update-with-dependencies"
4444

4545
- name: "Lint"
4646
run: "make lint"
@@ -109,7 +109,7 @@ jobs:
109109

110110
- name: "Downgrade PHPUnit"
111111
if: matrix.php-version == '7.1' || matrix.php-version == '7.2' || matrix.php-version == '7.3'
112-
run: "composer require --dev phpunit/phpunit:^7.5.20 --update-with-dependencies"
112+
run: "composer require --dev phpunit/phpunit:^7.5.20 mockery/mockery:^1.3 --update-with-dependencies"
113113

114114
- name: "Tests"
115115
run: "make tests"
@@ -153,7 +153,7 @@ jobs:
153153

154154
- name: "Downgrade PHPUnit"
155155
if: matrix.php-version == '7.1' || matrix.php-version == '7.2' || matrix.php-version == '7.3'
156-
run: "composer require --dev phpunit/phpunit:^7.5.20 --update-with-dependencies"
156+
run: "composer require --dev phpunit/phpunit:^7.5.20 mockery/mockery:^1.3 --update-with-dependencies"
157157

158158
- name: "PHPStan"
159159
run: "make phpstan"

0 commit comments

Comments
 (0)