Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaurício Meneghini Fauth <mauriciofauth@gmail.com>2018-05-30 07:42:21 +0300
committerMaurício Meneghini Fauth <mauriciofauth@gmail.com>2018-05-30 07:42:21 +0300
commitb9c0463d960494cbfe0f04b3159c5ff4a467c446 (patch)
tree9fe17f2cc230558fbff7a76b9386600ac37d0e8e /test/bootstrap-dist.php
parent93bf3d0d1739ec3b15d0e0317ee18b222c58c462 (diff)
Use short array syntax instead of long array syntax
Replaces array() with []. Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
Diffstat (limited to 'test/bootstrap-dist.php')
-rw-r--r--test/bootstrap-dist.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/bootstrap-dist.php b/test/bootstrap-dist.php
index b22ddaf5eb..47979a26d5 100644
--- a/test/bootstrap-dist.php
+++ b/test/bootstrap-dist.php
@@ -30,7 +30,7 @@ define('PHPMYADMIN', 1);
define('TESTSUITE', 1);
// Selenium tests setup
-$test_defaults = array(
+$test_defaults = [
'TESTSUITE_SERVER' => 'localhost',
'TESTSUITE_USER' => 'root',
'TESTSUITE_PASSWORD' => '',
@@ -44,7 +44,7 @@ $test_defaults = array(
'TESTSUITE_BROWSERSTACK_KEY' => '',
'TESTSUITE_FULL' => '',
'CI_MODE' => ''
-);
+];
if (PHP_SAPI == 'cli') {
foreach ($test_defaults as $varname => $defvalue) {
$envvar = getenv($varname);