Skip to content

Commit 45d1e9d

Browse files
committed
fix
1 parent edece23 commit 45d1e9d

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
<?php declare(strict_types = 1);
22

3-
shell_exec('php vendor/bin/phpunit --group levels --list-tests-xml test-list.xml');
3+
exec('php vendor/bin/phpunit --group levels --list-tests-xml test-list.xml', $output, $return);
4+
if ($return !== 0) {
5+
throw new RuntimeException(implode("\n", $output));
6+
}
47

58
libxml_use_internal_errors(true);
69
$simpleXml = simplexml_load_file('test-list.xml');

tests/PHPStan/Analyser/nsrt/bug-11472.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
<?php declare(strict_types = 1); // lint >= 8.1
1+
<?php // lint >= 8.1
2+
3+
declare(strict_types = 1);
24

35
namespace Bug11472;
46

0 commit comments

Comments
 (0)