remove (not supported) parameters after #!/usr/bin/env php

This commit is contained in:
Ralf Becker 2017-06-07 15:08:01 +02:00
parent d06dcc6770
commit 9746e1533e
6 changed files with 8 additions and 6 deletions

View File

@ -1,4 +1,4 @@
#!/usr/bin/php -qC #!/usr/bin/env php
<?php <?php
/** /**
* Admin - Command line interface * Admin - Command line interface

View File

@ -1,4 +1,4 @@
#!/usr/bin/env php -qC #!/usr/bin/env php
<?php <?php
/** /**
* EGroupware - check namespace usage in converted code * EGroupware - check namespace usage in converted code

View File

@ -1,4 +1,4 @@
#!/usr/bin/env php -qC #!/usr/bin/env php
<?php <?php
/** /**
* EGroupware - check namespace usage in converted code * EGroupware - check namespace usage in converted code

View File

@ -1,4 +1,4 @@
#!/usr/bin/env php -dapc.enable_cli=1 #!/usr/bin/env php
<?php <?php
/** /**
* EGroupware Test Runner * EGroupware Test Runner
@ -12,6 +12,8 @@ if (php_sapi_name() !== 'cli') // security precaution: forbit calling as web-pag
die('<h1>test-cli.php must NOT be called as web-page --> exiting !!!</h1>'); die('<h1>test-cli.php must NOT be called as web-page --> exiting !!!</h1>');
} }
ini_set('apc.enable_cli', true);
require_once dirname(__DIR__).'/api/src/loader/common.php'; require_once dirname(__DIR__).'/api/src/loader/common.php';
$_SERVER['argv'][] = '--verbose'; $_SERVER['argv'][] = '--verbose';

View File

@ -1,4 +1,4 @@
#!/usr/bin/env php -qC #!/usr/bin/env php
<?php <?php
/** /**
* EGroupware Filemanager - Command line interface * EGroupware Filemanager - Command line interface

View File

@ -1,4 +1,4 @@
#!/usr/bin/env php -qC #!/usr/bin/env php
<?php <?php
/** /**
* Setup - Command line interface * Setup - Command line interface