made a fix needed for a bug in PhpStorm

Signed-off-by: tracer <tracer@24unix.net>
This commit is contained in:
tracer 2022-01-31 21:02:32 +01:00
parent aec1a3e125
commit dd83331bad
1 changed files with 4 additions and 3 deletions

View File

@ -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';