We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ed840b commit 87bbe45Copy full SHA for 87bbe45
tests/run-tests.php
@@ -33,6 +33,10 @@ final class TestsRunner
33
34
public function run(): bool
35
{
36
+ if (ini_get('zend.assertions') !== '1') {
37
+ throw new \RuntimeException('zend.assertions must be enabled in the system (zend.assertions = 1)');
38
+ }
39
+
40
$success = $this->runTests(
41
'Test correct phpcs.xml (no ignores, expecting no errors)',
42
fn (): bool => $this->tests1(),
0 commit comments