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 f1c2af1f56
commit e8b4e7087d
6 changed files with 9 additions and 7 deletions

View File

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

View File

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

View File

@ -1,4 +1,4 @@
#!/usr/bin/env php -qC
#!/usr/bin/env php
<?php
/**
* 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
/**
* EGroupware Test Runner
@ -12,7 +12,9 @@ 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>');
}
require_once './api/src/loader/common.php';
ini_set('apc.enable_cli', true);
require_once dirname(__DIR__).'/api/src/loader/common.php';
$_SERVER['argv'][] = '--verbose';
$_SERVER['argv'][] = 'EgroupwareTestRunner';

View File

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

View File

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