summaryrefslogtreecommitdiffstats
path: root/tests/Utils/FormatterTest.php
diff options
context:
space:
mode:
authorMichal Čihař <michal@cihar.com>2017-01-23 13:09:31 +0100
committerMichal Čihař <michal@cihar.com>2017-01-23 13:09:31 +0100
commit428edcc891e802a1eb348ab9763f7b69bea99082 (patch)
tree605598cc102e8c6122703ad063b9e18fabb065ba /tests/Utils/FormatterTest.php
parent65f66eb7b6ca98218184f3ab39f6d0de08d7e8d8 (diff)
downloadsql-parser-428edcc891e802a1eb348ab9763f7b69bea99082.zip
sql-parser-428edcc891e802a1eb348ab9763f7b69bea99082.tar.gz
sql-parser-428edcc891e802a1eb348ab9763f7b69bea99082.tar.bz2
Added PhpMyAdmin namespace prefix to follow PSR-4.
Fixes #126 Signed-off-by: Michal Čihař <michal@cihar.com>
Diffstat (limited to 'tests/Utils/FormatterTest.php')
-rw-r--r--tests/Utils/FormatterTest.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/Utils/FormatterTest.php b/tests/Utils/FormatterTest.php
index 55246e0..f18dbb4 100644
--- a/tests/Utils/FormatterTest.php
+++ b/tests/Utils/FormatterTest.php
@@ -1,9 +1,9 @@
<?php
-namespace SqlParser\Tests\Utils;
+namespace PhpMyAdmin\SqlParser\Tests\Utils;
-use SqlParser\Utils\Formatter;
-use SqlParser\Tests\TestCase;
+use PhpMyAdmin\SqlParser\Utils\Formatter;
+use PhpMyAdmin\SqlParser\Tests\TestCase;
class FormatTest extends TestCase
{
@@ -12,7 +12,7 @@ class FormatTest extends TestCase
*/
public function testMergeFormats($default, $overriding, $expected)
{
- $formatter = $this->getMockBuilder('SqlParser\Utils\Formatter')
+ $formatter = $this->getMockBuilder('PhpMyAdmin\SqlParser\Utils\Formatter')
->disableOriginalConstructor()
->setMethods(array('getDefaultOptions', 'getDefaultFormats'))
->getMock();