Merge branch '2.x' into dirty_integration

This commit is contained in:
Nuno Maduro
2023-01-10 21:34:18 +00:00
committed by GitHub
65 changed files with 823 additions and 266 deletions

View File

@ -50,7 +50,7 @@ final class TestRepository
*/
public function getFilenames(): array
{
$testCases = array_filter($this->testCases, static fn(TestCaseFactory $testCase) => $testCase->methodsUsingOnly() !== []);
$testCases = array_filter($this->testCases, static fn (TestCaseFactory $testCase): bool => $testCase->methodsUsingOnly() !== []);
if ($testCases === []) {
$testCases = $this->testCases;