Skip to content

Commit a77432f

Browse files
committed
update to phpunit 9.2
phpunit 9.2 is the latests version but not supported on php 7.2 we are supporting php 7.2 for now, so downgrade for that purpose
1 parent 5316142 commit a77432f

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.github/workflows/push.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,12 @@ jobs:
9696
GITHUB_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
9797
run: phive --no-progress install --copy --trust-gpg-keys ${{ env.phiveGPGKeys }} --force-accept-unsigned
9898

99+
- name: Install phpunit 8 for php 7.2
100+
if: matrix.php-versions == '7.2'
101+
env:
102+
GITHUB_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
103+
run: phive --no-progress install --copy --trust-gpg-keys ${{ env.phiveGPGKeys }} phpunit:^8.5
104+
99105
- name: Get composer cache directory
100106
id: composer-cache
101107
run: echo "::set-output name=dir::$(composer config cache-files-dir)"

phive.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<phive xmlns="https://phar.io/phive">
3-
<phar name="phpunit" version="^8.4.3" installed="8.4.3" location="./tools/phpunit" copy="true"/>
3+
<phar name="phpunit" version="^9.2" installed="9.2.6" location="./tools/phpunit" copy="true"/>
44
<phar name="psalm" version="^3.12.1" installed="3.12.1" location="./tools/psalm" copy="true"/>
55
</phive>

0 commit comments

Comments
 (0)