summaryrefslogtreecommitdiffstats
path: root/tests
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
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')
-rw-r--r--tests/Builder/ExplainStatementTest.php (renamed from tests/Builder/ExplainStatement.php)0
-rw-r--r--tests/Components/ComponentTest.php2
-rw-r--r--tests/Misc/BugsTest.php2
-rw-r--r--tests/Parser/ExplainStatementTest.php (renamed from tests/Parser/ExplainStatement.php)0
-rw-r--r--tests/Utils/FormatterTest.php2
5 files changed, 3 insertions, 3 deletions
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