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 834ba2a commit f1d0f9dCopy full SHA for f1d0f9d
Resources/bin/common.php
@@ -9,6 +9,10 @@
9
* file that was distributed with this source code.
10
*/
11
12
+if ('cli' !== \PHP_SAPI) {
13
+ throw new Exception('This script must be run from the command line.');
14
+}
15
+
16
define('LINE_WIDTH', 75);
17
18
define('LINE', str_repeat('-', LINE_WIDTH)."\n");
Resources/bin/update-data.php
@@ -23,6 +23,10 @@
23
use Symfony\Component\Intl\Locale;
24
use Symfony\Component\Intl\Util\GitRepository;
25
26
27
28
29
30
require_once __DIR__.'/common.php';
31
require_once __DIR__.'/autoload.php';
32
0 commit comments