From f76acb2d9d421ff705be6fd2713b8cc2c007e1df Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Sun, 12 Oct 2008 04:30:09 +0000 Subject: #282405 by Damien Tournoud, lilou, Dave Reid: Enforce coding standard on elseif. --- scripts/run-tests.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/run-tests.sh') diff --git a/scripts/run-tests.sh b/scripts/run-tests.sh index 785ce3ce4..3266db3ad 100755 --- a/scripts/run-tests.sh +++ b/scripts/run-tests.sh @@ -212,7 +212,7 @@ function simpletest_script_parse_args() { simpletest_script_print_error("--concurrency must be a strictly positive integer."); exit; } - else if ($args['concurrency'] > 1 && !function_exists('pcntl_fork')) { + elseif ($args['concurrency'] > 1 && !function_exists('pcntl_fork')) { simpletest_script_print_error("Parallel test execution requires the Process Control extension to be compiled in PHP. Please see http://php.net/manual/en/intro.pcntl.php for more information."); exit; } @@ -386,7 +386,7 @@ function simpletest_script_get_test_list() { } } } - else if ($args['file']) { + elseif ($args['file']) { $files = array(); foreach ($args['test_names'] as $file) { $files[realpath($file)] = 1; -- cgit v1.2.3