summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/Components/Array2dTest.php1
-rw-r--r--tests/Lexer/LexerTest.php5
-rw-r--r--tests/Utils/BufferedQueryTest.php5
-rw-r--r--tests/Utils/QueryTest.php3
4 files changed, 10 insertions, 4 deletions
diff --git a/tests/Components/Array2dTest.php b/tests/Components/Array2dTest.php
index b268d99..a1c9786 100644
--- a/tests/Components/Array2dTest.php
+++ b/tests/Components/Array2dTest.php
@@ -69,5 +69,4 @@ class Array2dTest extends TestCase
$parser->errors[0]->getMessage()
);
}
-
}
diff --git a/tests/Lexer/LexerTest.php b/tests/Lexer/LexerTest.php
index c17e78d..9c22768 100644
--- a/tests/Lexer/LexerTest.php
+++ b/tests/Lexer/LexerTest.php
@@ -20,7 +20,10 @@ class LexerTest extends TestCase
$lexer->error(__('error #1'), 'foo', 1, 2);
$lexer->error(
- sprintf(__('%2$s #%1$d'), 2, 'error'), 'bar', 3, 4
+ sprintf(__('%2$s #%1$d'), 2, 'error'),
+ 'bar',
+ 3,
+ 4
);
$this->assertEquals(
diff --git a/tests/Utils/BufferedQueryTest.php b/tests/Utils/BufferedQueryTest.php
index 3f74429..185e9d2 100644
--- a/tests/Utils/BufferedQueryTest.php
+++ b/tests/Utils/BufferedQueryTest.php
@@ -13,7 +13,10 @@ class BufferedQueryTest extends TestCase
* @dataProvider testExtractProvider
*/
public function testExtract(
- $query, $chunkSize, array $options = array(), array $expected
+ $query,
+ $chunkSize,
+ array $options = array(),
+ array $expected
) {
$chunks = str_split($query, $chunkSize);
$count = count($chunks);
diff --git a/tests/Utils/QueryTest.php b/tests/Utils/QueryTest.php
index 9929da1..8455dee 100644
--- a/tests/Utils/QueryTest.php
+++ b/tests/Utils/QueryTest.php
@@ -369,7 +369,8 @@ class QueryTest extends TestCase
Query::getClause(
$parser->statements[0],
$parser->list,
- 'LIMIT', 'FROM'
+ 'LIMIT',
+ 'FROM'
)
);
}