summaryrefslogtreecommitdiffstats
path: root/tests/Utils
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Utils')
-rw-r--r--tests/Utils/BufferedQueryTest.php2
-rw-r--r--tests/Utils/FormatterTest.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/Utils/BufferedQueryTest.php b/tests/Utils/BufferedQueryTest.php
index f7d5705..ce22d4a 100644
--- a/tests/Utils/BufferedQueryTest.php
+++ b/tests/Utils/BufferedQueryTest.php
@@ -28,7 +28,7 @@ class BufferedQueryTest extends TestCase
*
* @var array
*/
- $statements = [];
+ $statements = array();
/**
* The `BufferedQuery` instance used for extraction.
diff --git a/tests/Utils/FormatterTest.php b/tests/Utils/FormatterTest.php
index 08b7377..e758d9d 100644
--- a/tests/Utils/FormatterTest.php
+++ b/tests/Utils/FormatterTest.php
@@ -241,7 +241,7 @@ class FormatterTest extends TestCase
* @param mixed $cli
* @param mixed $html
*/
- public function testFormat($query, $text, $cli, $html, array $options = [])
+ public function testFormat($query, $text, $cli, $html, array $options = array())
{
// Test TEXT format
$this->assertEquals($text, Formatter::format($query, ['type' => 'text'] + $options), 'Text formatting failed.');