diff options
-rw-r--r-- | src/Statement.php | 2 | ||||
-rw-r--r-- | src/Statements/SelectStatement.php | 1 | ||||
-rw-r--r-- | tests/Builder/ExplainStatementTest.php (renamed from tests/Builder/ExplainStatement.php) | 0 | ||||
-rw-r--r-- | tests/Components/ComponentTest.php | 2 | ||||
-rw-r--r-- | tests/Misc/BugsTest.php | 2 | ||||
-rw-r--r-- | tests/Parser/ExplainStatementTest.php (renamed from tests/Parser/ExplainStatement.php) | 0 | ||||
-rw-r--r-- | tests/Utils/FormatterTest.php | 2 |
7 files changed, 6 insertions, 3 deletions
diff --git a/src/Statement.php b/src/Statement.php index c7fb944..de94951 100644 --- a/src/Statement.php +++ b/src/Statement.php @@ -56,6 +56,8 @@ abstract class Statement */ public static $CLAUSES = []; + public static $END_OPTIONS = []; + /** * The options of this query. * diff --git a/src/Statements/SelectStatement.php b/src/Statements/SelectStatement.php index dab8db4..a770227 100644 --- a/src/Statements/SelectStatement.php +++ b/src/Statements/SelectStatement.php @@ -10,6 +10,7 @@ use PhpMyAdmin\SqlParser\Components\ArrayObj; use PhpMyAdmin\SqlParser\Components\Condition; use PhpMyAdmin\SqlParser\Components\Expression; use PhpMyAdmin\SqlParser\Components\FunctionCall; +use PhpMyAdmin\SqlParser\Components\IndexHint; use PhpMyAdmin\SqlParser\Components\IntoKeyword; use PhpMyAdmin\SqlParser\Components\JoinKeyword; use PhpMyAdmin\SqlParser\Components\Limit; diff --git a/tests/Builder/ExplainStatement.php b/tests/Builder/ExplainStatementTest.php index 7b6215f..7b6215f 100644 --- a/tests/Builder/ExplainStatement.php +++ b/tests/Builder/ExplainStatementTest.php diff --git a/tests/Components/ComponentTest.php b/tests/Components/ComponentTest.php index fec0f56..2595202 100644 --- a/tests/Components/ComponentTest.php +++ b/tests/Components/ComponentTest.php @@ -1,7 +1,7 @@ <?php declare(strict_types=1); -namespace PhpMyAdmin\SqlParser\Tests\Parser; +namespace PhpMyAdmin\SqlParser\Tests\Components; use PhpMyAdmin\SqlParser\Component; use PhpMyAdmin\SqlParser\Parser; diff --git a/tests/Misc/BugsTest.php b/tests/Misc/BugsTest.php index 41c2f3a..3769b1f 100644 --- a/tests/Misc/BugsTest.php +++ b/tests/Misc/BugsTest.php @@ -1,7 +1,7 @@ <?php declare(strict_types=1); -namespace PhpMyAdmin\SqlParser\Tests\Parser; +namespace PhpMyAdmin\SqlParser\Tests\Misc; use PhpMyAdmin\SqlParser\Tests\TestCase; diff --git a/tests/Parser/ExplainStatement.php b/tests/Parser/ExplainStatementTest.php index a6a51af..a6a51af 100644 --- a/tests/Parser/ExplainStatement.php +++ b/tests/Parser/ExplainStatementTest.php diff --git a/tests/Utils/FormatterTest.php b/tests/Utils/FormatterTest.php index 7776a8e..de9ed8b 100644 --- a/tests/Utils/FormatterTest.php +++ b/tests/Utils/FormatterTest.php @@ -6,7 +6,7 @@ namespace PhpMyAdmin\SqlParser\Tests\Utils; use PhpMyAdmin\SqlParser\Tests\TestCase; use PhpMyAdmin\SqlParser\Utils\Formatter; -class FormatTest extends TestCase +class FormatterTest extends TestCase { /** * @dataProvider mergeFormats |