summaryrefslogtreecommitdiffstats
path: root/tests/Parser/ExplainStatementTest.php
diff options
context:
space:
mode:
authorMaurício Meneghini Fauth <mauricio@fauth.dev>2019-05-08 15:22:30 -0300
committerMaurício Meneghini Fauth <mauricio@fauth.dev>2019-05-08 15:22:30 -0300
commitce4e30eae3f25af632ae88c58e493fbee188cda4 (patch)
treec36cc5e5fad959d446ca3c137a376d09e1d7add8 /tests/Parser/ExplainStatementTest.php
parent59af8990ed2ede94d4ba1c441954a95086c4c36b (diff)
downloadsql-parser-ce4e30eae3f25af632ae88c58e493fbee188cda4.zip
sql-parser-ce4e30eae3f25af632ae88c58e493fbee188cda4.tar.gz
sql-parser-ce4e30eae3f25af632ae88c58e493fbee188cda4.tar.bz2
Fix errors detected by PHPStan at level 0
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
Diffstat (limited to 'tests/Parser/ExplainStatementTest.php')
-rw-r--r--tests/Parser/ExplainStatementTest.php26
1 files changed, 26 insertions, 0 deletions
diff --git a/tests/Parser/ExplainStatementTest.php b/tests/Parser/ExplainStatementTest.php
new file mode 100644
index 0000000..a6a51af
--- /dev/null
+++ b/tests/Parser/ExplainStatementTest.php
@@ -0,0 +1,26 @@
+<?php
+declare(strict_types=1);
+
+namespace PhpMyAdmin\SqlParser\Tests\Parser;
+
+use PhpMyAdmin\SqlParser\Tests\TestCase;
+
+class ExplainStatementTest extends TestCase
+{
+ /**
+ * @dataProvider explainProvider
+ *
+ * @param mixed $test
+ */
+ public function testExplain($test)
+ {
+ $this->runParserTest($test);
+ }
+
+ public function explainProvider()
+ {
+ return [
+ ['parser/parseExplain'],
+ ];
+ }
+}