Merge branch '2.x' into 3.x

This commit is contained in:
Nuno Maduro
2024-02-01 11:53:10 +00:00
73 changed files with 1169 additions and 788 deletions

View File

@ -74,7 +74,7 @@ final class TestCaseMethodFactory
public ?Closure $closure,
) {
$this->closure ??= function (): void {
Assert::getCount() > 0 ?: self::markTestIncomplete(); // @phpstan-ignore-line
(Assert::getCount() > 0 || $this->doesNotPerformAssertions()) ?: self::markTestIncomplete(); // @phpstan-ignore-line
};
$this->bootHigherOrderable();