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);
|
||||
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') {
|
||||
exit;
|
||||
}
|
||||
|
||||
|
||||
// version, store that somewhere else
|
||||
$version = '0.0.1';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user