mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 15:57:21 +01:00
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 6bc9da3fe1 | |||
| 6f54462070 | |||
| 876629b744 |
@ -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": {
|
||||
|
||||
@ -6,7 +6,7 @@ namespace Pest;
|
||||
|
||||
function version(): string
|
||||
{
|
||||
return '2.19.0';
|
||||
return '2.19.1';
|
||||
}
|
||||
|
||||
function testDirectory(string $file = ''): string
|
||||
|
||||
@ -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]);
|
||||
}
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
|
||||
Pest Testing Framework 2.19.0.
|
||||
Pest Testing Framework 2.19.1.
|
||||
|
||||
USAGE: pest <file> [options]
|
||||
|
||||
|
||||
@ -1,3 +1,3 @@
|
||||
|
||||
Pest Testing Framework 2.19.0.
|
||||
Pest Testing Framework 2.19.1.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user