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 03ee09e commit 75857fcCopy full SHA for 75857fc
bin/simple-phpunit.php
@@ -12,6 +12,10 @@
12
// Please update when phpunit needs to be reinstalled with fresh deps:
13
// Cache-Id: 2021-02-04 11:00 UTC
14
15
+if ('cli' !== \PHP_SAPI && 'phpdbg' !== \PHP_SAPI) {
16
+ throw new Exception('This script must be run from the command line.');
17
+}
18
+
19
error_reporting(-1);
20
21
global $argv, $argc;
0 commit comments