From e3710957c6b7e12293805a15d0624be7c7054092 Mon Sep 17 00:00:00 2001 From: Gerrit Uitslag Date: Wed, 1 Oct 2014 17:05:40 +0200 Subject: more phpdocs and minor check --- inc/cliopts.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'inc/cliopts.php') diff --git a/inc/cliopts.php b/inc/cliopts.php index c75a5a93b..f2782a465 100644 --- a/inc/cliopts.php +++ b/inc/cliopts.php @@ -78,7 +78,7 @@ class Doku_Cli_Opts { * @param string $bin_file executing file name - this MUST be passed the __FILE__ constant * @param string $short_options short options * @param array $long_options (optional) long options - * @return Doku_Cli_Opts_Container or Doku_Cli_Opts_Error + * @return Doku_Cli_Opts_Container|Doku_Cli_Opts_Error */ function & getOptions($bin_file, $short_options, $long_options = null) { $args = Doku_Cli_Opts::readPHPArgv(); -- cgit v1.2.3 From 1cc82e5c76ae7fcd646e448404afdc0fd458bf55 Mon Sep 17 00:00:00 2001 From: Gerrit Uitslag Date: Fri, 3 Oct 2014 15:56:15 +0200 Subject: scrutiner issues --- inc/cliopts.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'inc/cliopts.php') diff --git a/inc/cliopts.php b/inc/cliopts.php index f2782a465..7d71c7dc9 100644 --- a/inc/cliopts.php +++ b/inc/cliopts.php @@ -36,9 +36,9 @@ if (version_compare(phpversion(), '4.3.0', '<') || php_sapi_name() == 'cgi') { // PHP ini settings set_time_limit(0); - ini_set('track_errors', true); - ini_set('html_errors', false); - ini_set('magic_quotes_runtime', false); + ini_set('track_errors', "1"); + ini_set('html_errors', "0"); + ini_set('magic_quotes_runtime', "0"); // Define stream constants define('STDIN', fopen('php://stdin', 'r')); -- cgit v1.2.3