diff options
Diffstat (limited to 'tests/Utils')
-rw-r--r-- | tests/Utils/BufferedQueryTest.php | 3 | ||||
-rw-r--r-- | tests/Utils/CLITest.php | 2 | ||||
-rw-r--r-- | tests/Utils/ErrorTest.php | 2 | ||||
-rw-r--r-- | tests/Utils/FormatterTest.php | 4 | ||||
-rw-r--r-- | tests/Utils/MiscTest.php | 3 | ||||
-rw-r--r-- | tests/Utils/QueryTest.php | 4 | ||||
-rw-r--r-- | tests/Utils/RoutineTest.php | 5 | ||||
-rw-r--r-- | tests/Utils/TableTest.php | 4 | ||||
-rw-r--r-- | tests/Utils/TokensTest.php | 4 |
9 files changed, 23 insertions, 8 deletions
diff --git a/tests/Utils/BufferedQueryTest.php b/tests/Utils/BufferedQueryTest.php index eaf7b48..9ef539d 100644 --- a/tests/Utils/BufferedQueryTest.php +++ b/tests/Utils/BufferedQueryTest.php @@ -2,13 +2,14 @@ namespace PhpMyAdmin\SqlParser\Tests\Utils; -use PhpMyAdmin\SqlParser\Utils\BufferedQuery; use PhpMyAdmin\SqlParser\Tests\TestCase; +use PhpMyAdmin\SqlParser\Utils\BufferedQuery; class BufferedQueryTest extends TestCase { /** * @dataProvider testExtractProvider + * * @param mixed $query * @param mixed $chunkSize */ diff --git a/tests/Utils/CLITest.php b/tests/Utils/CLITest.php index fec7ddf..a354701 100644 --- a/tests/Utils/CLITest.php +++ b/tests/Utils/CLITest.php @@ -30,6 +30,7 @@ class CLITest extends TestCase /** * @dataProvider highlightParams + * * @param mixed $getopt * @param mixed $output * @param mixed $result @@ -91,6 +92,7 @@ class CLITest extends TestCase /** * @dataProvider lintParams + * * @param mixed $getopt * @param mixed $output * @param mixed $result diff --git a/tests/Utils/ErrorTest.php b/tests/Utils/ErrorTest.php index 0c218ae..7a62e46 100644 --- a/tests/Utils/ErrorTest.php +++ b/tests/Utils/ErrorTest.php @@ -4,8 +4,8 @@ namespace PhpMyAdmin\SqlParser\Tests\Utils; use PhpMyAdmin\SqlParser\Lexer; use PhpMyAdmin\SqlParser\Parser; -use PhpMyAdmin\SqlParser\Utils\Error; use PhpMyAdmin\SqlParser\Tests\TestCase; +use PhpMyAdmin\SqlParser\Utils\Error; class ErrorTest extends TestCase { diff --git a/tests/Utils/FormatterTest.php b/tests/Utils/FormatterTest.php index 73a7506..b8a8ff2 100644 --- a/tests/Utils/FormatterTest.php +++ b/tests/Utils/FormatterTest.php @@ -2,13 +2,14 @@ namespace PhpMyAdmin\SqlParser\Tests\Utils; -use PhpMyAdmin\SqlParser\Utils\Formatter; use PhpMyAdmin\SqlParser\Tests\TestCase; +use PhpMyAdmin\SqlParser\Utils\Formatter; class FormatTest extends TestCase { /** * @dataProvider mergeFormats + * * @param mixed $default * @param mixed $overriding * @param mixed $expected @@ -234,6 +235,7 @@ class FormatTest extends TestCase /** * @dataProvider formatQueries + * * @param mixed $query * @param mixed $text * @param mixed $cli diff --git a/tests/Utils/MiscTest.php b/tests/Utils/MiscTest.php index 8c8e093..c6b03a2 100644 --- a/tests/Utils/MiscTest.php +++ b/tests/Utils/MiscTest.php @@ -3,13 +3,14 @@ namespace PhpMyAdmin\SqlParser\Tests\Utils; use PhpMyAdmin\SqlParser\Parser; -use PhpMyAdmin\SqlParser\Utils\Misc; use PhpMyAdmin\SqlParser\Tests\TestCase; +use PhpMyAdmin\SqlParser\Utils\Misc; class MiscTest extends TestCase { /** * @dataProvider getAliasesProvider + * * @param mixed $query * @param mixed $db */ diff --git a/tests/Utils/QueryTest.php b/tests/Utils/QueryTest.php index fb34c5f..faae263 100644 --- a/tests/Utils/QueryTest.php +++ b/tests/Utils/QueryTest.php @@ -3,13 +3,14 @@ namespace PhpMyAdmin\SqlParser\Tests\Utils; use PhpMyAdmin\SqlParser\Parser; -use PhpMyAdmin\SqlParser\Utils\Query; use PhpMyAdmin\SqlParser\Tests\TestCase; +use PhpMyAdmin\SqlParser\Utils\Query; class QueryTest extends TestCase { /** * @dataProvider testGetFlagsProvider + * * @param mixed $query * @param mixed $expected */ @@ -349,6 +350,7 @@ class QueryTest extends TestCase /** * @dataProvider testGetTablesProvider + * * @param mixed $query * @param mixed $expected */ diff --git a/tests/Utils/RoutineTest.php b/tests/Utils/RoutineTest.php index 3fe38c6..3a6ba55 100644 --- a/tests/Utils/RoutineTest.php +++ b/tests/Utils/RoutineTest.php @@ -3,13 +3,14 @@ namespace PhpMyAdmin\SqlParser\Tests\Utils; use PhpMyAdmin\SqlParser\Parser; -use PhpMyAdmin\SqlParser\Utils\Routine; use PhpMyAdmin\SqlParser\Tests\TestCase; +use PhpMyAdmin\SqlParser\Utils\Routine; class RoutineTest extends TestCase { /** * @dataProvider getReturnTypeProvider + * * @param mixed $def */ public function testGetReturnType($def, array $expected) @@ -50,6 +51,7 @@ class RoutineTest extends TestCase /** * @dataProvider getParameterProvider + * * @param mixed $def */ public function testGetParameter($def, array $expected) @@ -90,6 +92,7 @@ class RoutineTest extends TestCase /** * @dataProvider getParametersProvider + * * @param mixed $query */ public function testGetParameters($query, array $expected) diff --git a/tests/Utils/TableTest.php b/tests/Utils/TableTest.php index 52a49b3..ef21137 100644 --- a/tests/Utils/TableTest.php +++ b/tests/Utils/TableTest.php @@ -3,13 +3,14 @@ namespace PhpMyAdmin\SqlParser\Tests\Utils; use PhpMyAdmin\SqlParser\Parser; -use PhpMyAdmin\SqlParser\Utils\Table; use PhpMyAdmin\SqlParser\Tests\TestCase; +use PhpMyAdmin\SqlParser\Utils\Table; class TableTest extends TestCase { /** * @dataProvider getForeignKeysProvider + * * @param mixed $query */ public function testGetForeignKeys($query, array $expected) @@ -111,6 +112,7 @@ class TableTest extends TestCase /** * @dataProvider getFieldsProvider + * * @param mixed $query */ public function testGetFields($query, array $expected) diff --git a/tests/Utils/TokensTest.php b/tests/Utils/TokensTest.php index 2f49082..6ebbbab 100644 --- a/tests/Utils/TokensTest.php +++ b/tests/Utils/TokensTest.php @@ -2,14 +2,15 @@ namespace PhpMyAdmin\SqlParser\Tests\Utils; +use PhpMyAdmin\SqlParser\Tests\TestCase; use PhpMyAdmin\SqlParser\Token; use PhpMyAdmin\SqlParser\Utils\Tokens; -use PhpMyAdmin\SqlParser\Tests\TestCase; class TokensTest extends TestCase { /** * @dataProvider replaceTokensProvider + * * @param mixed $list * @param mixed $find * @param mixed $replace @@ -40,6 +41,7 @@ class TokensTest extends TestCase /** * @dataProvider matchProvider + * * @param mixed $token * @param mixed $pattern * @param mixed $expected |