made a fix needed for a bug in PhpStorm
Signed-off-by: tracer <tracer@24unix.net>
This commit is contained in:
parent
aec1a3e125
commit
dd83331bad
|
@ -1,14 +1,15 @@
|
||||||
#!/usr/bin/keyhelp-php81
|
#!/usr/local/bin/php
|
||||||
<?php declare(strict_types=1);
|
<?php declare(strict_types=1);
|
||||||
namespace App\Controller;
|
namespace App\Controller;
|
||||||
|
//#!/usr/bin/keyhelp-php81
|
||||||
|
|
||||||
error_reporting(error_level: E_ALL);
|
// & ~E_DEPRECATED is needed because of a bug in PhpStorm
|
||||||
|
error_reporting(error_level: E_ALL & ~E_DEPRECATED);
|
||||||
|
|
||||||
if (php_sapi_name() !== 'cli') {
|
if (php_sapi_name() !== 'cli') {
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// version, store that somewhere else
|
// version, store that somewhere else
|
||||||
$version = '0.0.1';
|
$version = '0.0.1';
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue