Skip to content

Commit

Permalink
Use PHPUnit ^9.3-dev
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed Jul 16, 2020
1 parent 6d53fd6 commit 449b4cb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ jobs:

- name: "Update PHPUnit"
if: matrix.php-version == '7.4' || matrix.php-version == '8.0'
run: "composer require --dev phpunit/phpunit:^9.1.5 --update-with-dependencies"
run: "composer remove --dev brianium/paratest && composer require --dev phpunit/phpunit:'^9.3' --update-with-dependencies"

- name: "Transform source code"
if: matrix.php-version != '7.4' && matrix.php-version != '8.0'
Expand Down
9 changes: 6 additions & 3 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,15 @@
<property name="url.composer-require-checker"
value="https://github.com/maglnet/ComposerRequireChecker/releases/download/2.1.0/composer-require-checker.phar"/>
<if>
<os family="windows"/>
<and>
<not><os family="windows"/></not>
<available file="vendor/bin/paratest"/>
</and>
<then>
<property name="phpunit.executable" value="vendor/bin/phpunit"/>
<property name="phpunit.executable" value="vendor/bin/paratest"/>
</then>
<else>
<property name="phpunit.executable" value="vendor/bin/paratest"/>
<property name="phpunit.executable" value="vendor/bin/phpunit"/>
</else>
</if>
<php expression="PHP_VERSION_ID &gt;= 70400 ?'true':'false'" returnProperty="isPHP74" level="verbose" />
Expand Down

0 comments on commit 449b4cb

Please sign in to comment.