summaryrefslogtreecommitdiffstats
path: root/tests/Utils/FormatterTest.php
diff options
context:
space:
mode:
authorWilliam Desportes <williamdes@wdes.fr>2019-05-29 12:50:08 +0200
committerWilliam Desportes <williamdes@wdes.fr>2019-05-29 12:51:45 +0200
commit92e97d6234645e65bfafcf4b53d98838e57f2d44 (patch)
tree70474f190be4af52daac8d2ac1b237645242b9f5 /tests/Utils/FormatterTest.php
parentbb6a2b0435ad64c02bd26768f0fddddd2fb27ffe (diff)
downloadsql-parser-92e97d6234645e65bfafcf4b53d98838e57f2d44.zip
sql-parser-92e97d6234645e65bfafcf4b53d98838e57f2d44.tar.gz
sql-parser-92e97d6234645e65bfafcf4b53d98838e57f2d44.tar.bz2
revert usage of new array syntax []
See: 86c5baebda24c1721fb6881df8671a3c7df60e8b Related-to: 930a860bc7f0684c45babd012070f88a9505d427, 5d5089a259d0195c4a1e4aa3588c31c839954067 Signed-off-by: William Desportes <williamdes@wdes.fr>
Diffstat (limited to 'tests/Utils/FormatterTest.php')
-rw-r--r--tests/Utils/FormatterTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/Utils/FormatterTest.php b/tests/Utils/FormatterTest.php
index aa84564..3551dc6 100644
--- a/tests/Utils/FormatterTest.php
+++ b/tests/Utils/FormatterTest.php
@@ -18,7 +18,7 @@ class FormatterTest extends TestCase
{
$formatter = $this->getMockBuilder('PhpMyAdmin\SqlParser\Utils\Formatter')
->disableOriginalConstructor()
- ->setMethods(['getDefaultOptions', 'getDefaultFormats'])
+ ->setMethods(array('getDefaultOptions', 'getDefaultFormats'))
->getMock();
$formatter->expects($this->once())
@@ -57,7 +57,7 @@ class FormatterTest extends TestCase
public function mergeFormats()
{
- // array($default[), $overriding[), $expected[])
+ // array($default[], $overriding[], $expected[])
return array(
'empty formats' => array(
'default' => array(