summaryrefslogtreecommitdiffstats
path: root/src/Exceptions
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 /src/Exceptions
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 'src/Exceptions')
-rw-r--r--src/Exceptions/LexerException.php2
-rw-r--r--src/Exceptions/ParserException.php4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/Exceptions/LexerException.php b/src/Exceptions/LexerException.php
index e60c332..61e88c9 100644
--- a/src/Exceptions/LexerException.php
+++ b/src/Exceptions/LexerException.php
@@ -4,7 +4,7 @@
* Exception thrown by the lexer.
*/
-namespace SqlParser\Exceptions;
+namespace PhpMyAdmin\SqlParser\Exceptions;
/**
* Exception thrown by the lexer.
diff --git a/src/Exceptions/ParserException.php b/src/Exceptions/ParserException.php
index 07f30c7..eb13653 100644
--- a/src/Exceptions/ParserException.php
+++ b/src/Exceptions/ParserException.php
@@ -4,9 +4,9 @@
* Exception thrown by the parser.
*/
-namespace SqlParser\Exceptions;
+namespace PhpMyAdmin\SqlParser\Exceptions;
-use SqlParser\Token;
+use PhpMyAdmin\SqlParser\Token;
/**
* Exception thrown by the parser.