Compare commits

...

3 Commits

Author SHA1 Message Date
6bc9da3fe1 chore: bumps collision 2023-09-19 11:48:16 +01:00
6f54462070 fix: sync wrapper runner with paratest 2023-09-19 11:27:09 +01:00
876629b744 release: v2.19.1 2023-09-19 11:01:29 +01:00
5 changed files with 13 additions and 12 deletions

View File

@ -18,16 +18,17 @@
],
"require": {
"php": "^8.1.0",
"brianium/paratest": "^7.2.6",
"nunomaduro/collision": "^7.8.1",
"brianium/paratest": "^7.2.7",
"nunomaduro/collision": "^7.9.0",
"nunomaduro/termwind": "^1.15.1",
"pestphp/pest-plugin": "^2.1.1",
"pestphp/pest-plugin-arch": "^2.3.3",
"phpunit/phpunit": "^10.3.4"
"phpunit/phpunit": "^10.3.5"
},
"conflict": {
"webmozart/assert": "<1.11.0",
"phpunit/phpunit": ">10.3.4"
"phpunit/phpunit": ">10.3.5",
"sebastian/exporter": "<5.1.0",
"webmozart/assert": "<1.11.0"
},
"autoload": {
"psr-4": {

View File

@ -6,7 +6,7 @@ namespace Pest;
function version(): string
{
return '2.19.0';
return '2.19.1';
}
function testDirectory(string $file = ''): string

View File

@ -254,11 +254,11 @@ final class WrapperRunner implements RunnerInterface
private function destroyWorker(int $token): void
{
// Mutation Testing tells us that the following `unset()` already destroys
// the `WrapperWorker`, which destroys the Symfony's `Process`, which
// automatically calls `Process::stop` within `Process::__destruct()`.
// But we prefer to have an explicit stops.
$this->workers[$token]->stop();
// We need to wait for ApplicationForWrapperWorker::end to end
while ($this->workers[$token]->isRunning()) {
usleep(self::CYCLE_SLEEP);
}
unset($this->workers[$token]);
}

View File

@ -1,5 +1,5 @@
Pest Testing Framework 2.19.0.
Pest Testing Framework 2.19.1.
USAGE: pest <file> [options]

View File

@ -1,3 +1,3 @@
Pest Testing Framework 2.19.0.
Pest Testing Framework 2.19.1.