Skip to content

Commit edece23

Browse files
committed
debug
1 parent 3dffc9a commit edece23

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.github/workflows/tests-levels-matrix.php

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,15 @@
22

33
shell_exec('php vendor/bin/phpunit --group levels --list-tests-xml test-list.xml');
44

5+
libxml_use_internal_errors(true);
56
$simpleXml = simplexml_load_file('test-list.xml');
67
if ($simpleXml === false) {
7-
throw new RuntimeException('Error loading test-list.xml');
8+
$errors = [];
9+
foreach (libxml_get_errors() as $error) {
10+
$errors[] = $error->message;
11+
}
12+
13+
throw new RuntimeException('Error loading test-list.xml: ' . implode(', ', $errors));
814
}
915

1016
$testFilters = [];

src/Testing/TypeInferenceTestCase.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
use function is_string;
4646
use function preg_match;
4747
use function sprintf;
48+
use function str_contains;
4849
use function str_starts_with;
4950
use function stripos;
5051
use function strtolower;

0 commit comments

Comments
 (0)