Skip to content

Commit

Permalink
downgrade composer/semver for brianium/paratest:4.0.0 compat
Browse files Browse the repository at this point in the history
should fix the php 7.2 CI build
  • Loading branch information
staabm committed Mar 18, 2024
1 parent eb63e2a commit 0a2f82f
Showing 1 changed file with 18 additions and 4 deletions.
22 changes: 18 additions & 4 deletions patches/paratest.patch
@@ -1,6 +1,20 @@
--- src/Runners/PHPUnit/Worker/BaseWorker.php 2020-02-07 23:07:07.000000000 +0100
+++ src/Runners/PHPUnit/Worker/BaseWorker.php 2022-03-27 17:35:45.000000000 +0200
@@ -28,17 +28,18 @@
diff --git a/composer.json b/composer.json
index fa63137..d8550e8 100644
--- a/composer.json
+++ b/composer.json
@@ -6,7 +6,6 @@
"ext-reflection": "*",
"ext-simplexml": "*",
"brianium/habitat": "1.0.0",
- "composer/semver": "~1.2",
"phpunit/php-timer": "^2.0|^3.0",
"phpunit/phpunit": "^7.5.8|^8.0|^9.0",
"symfony/console": "^3.4||^4.0||^5.0",
diff --git a/src/Runners/PHPUnit/Worker/BaseWorker.php b/src/Runners/PHPUnit/Worker/BaseWorker.php
index f96dc0a..b038ee2 100644
--- a/src/Runners/PHPUnit/Worker/BaseWorker.php
+++ b/src/Runners/PHPUnit/Worker/BaseWorker.php
@@ -28,17 +28,18 @@ abstract class BaseWorker
array $parameters = [],
?Options $options = null
) {
Expand All @@ -24,7 +38,7 @@
if ($options && $options->passthruPhp) {
$bin .= $options->passthruPhp . ' ';
}
@@ -50,7 +51,7 @@
@@ -50,7 +51,7 @@ abstract class BaseWorker
if ($options && $options->verbose) {
echo "Starting WrapperWorker via: $bin\n";
}
Expand Down

0 comments on commit 0a2f82f

Please sign in to comment.