Skip to content

Commit 1ed2223

Browse files
committed
Fix version checking
I intended to exclude e.g. 11.5.28 but failed to do so because it is greater than 10.5.49.
1 parent 698b5c0 commit 1ed2223

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/continuous-integration.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@ jobs:
7474
- name: "Check PHP configuration"
7575
run: >
7676
if vendor/bin/phpunit --atleast-version 12.3.1 > /dev/null ||
77-
vendor/bin/phpunit --atleast-version 11.5.29 > /dev/null ||
78-
vendor/bin/phpunit --atleast-version 10.5.49 > /dev/null; then
77+
vendor/bin/phpunit --atleast-version 11.5.29 > /dev/null && ! vendor/bin/phpunit --atleast-version 12.0.0 > /dev/null ||
78+
vendor/bin/phpunit --atleast-version 10.5.49 > /dev/null && ! vendor/bin/phpunit --atleast-version 11.0.0; then
7979
vendor/bin/phpunit --check-php-configuration;
8080
fi
8181

0 commit comments

Comments
 (0)