changed php path

Signed-off-by: tracer <tracer@24unix.net>
This commit is contained in:
tracer 2022-04-06 16:25:27 +02:00
parent 7036633a8b
commit 2f79e39a8c
1 changed files with 5 additions and 4 deletions

View File

@ -1,6 +1,7 @@
#!/usr/bin/keyhelp-php81
#!/usr/local/bin/php
<?php declare(strict_types=1);
namespace App\Controller;
// #!/usr/bin/keyhelp-php81
// & ~E_DEPRECATED is needed because of a bug in PhpStorm
use DI\DependencyException;
@ -46,9 +47,9 @@ $shortOpts .= "V::"; // verbose
$shortOpts .= "h::"; // help
$longOpts = [
'version::',
'verbose::',
'help::'
'version::',
'verbose::',
'help::'
];
$options = getopt(short_options: $shortOpts, long_options: $longOpts, rest_index: $restIndex);