chore: merges 4.x

This commit is contained in:
nuno maduro
2026-06-25 20:20:20 +01:00
9 changed files with 54 additions and 9 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ namespace Pest;
function version(): string
{
return '5.0.0-rc.10';
return '5.0.0-rc.11';
}
function testDirectory(string $file = ''): string
+3 -1
View File
@@ -251,7 +251,7 @@ final class Tia implements AddsOutput, HandlesArguments, Terminable
return true;
}
if (str_starts_with($arg, "$argument=")) {
if (str_starts_with((string) $arg, "$argument=")) { // @phpstan-ignore-line
return true;
}
}
@@ -1489,6 +1489,8 @@ final class Tia implements AddsOutput, HandlesArguments, Terminable
}
foreach ($arguments as $index => $arg) {
$arg = (string) $arg; // @phpstan-ignore-line
if ($arg === '') {
continue;
}