diff options
author | Maurício Meneghini Fauth <mauricio@fauth.dev> | 2019-12-14 11:05:18 -0300 |
---|---|---|
committer | Maurício Meneghini Fauth <mauricio@fauth.dev> | 2019-12-14 11:05:18 -0300 |
commit | 9d3d3b3e39162a8b5329e7a446b2f359b6e99c9d (patch) | |
tree | eaf5c629483d0b6363efb81e15821b47086f3637 /src/Exceptions | |
parent | 4c945b89aad24ee3c73ae94c06f2bc858a858956 (diff) | |
download | sql-parser-9d3d3b3e39162a8b5329e7a446b2f359b6e99c9d.zip sql-parser-9d3d3b3e39162a8b5329e7a446b2f359b6e99c9d.tar.gz sql-parser-9d3d3b3e39162a8b5329e7a446b2f359b6e99c9d.tar.bz2 |
Reference classes via a use statement
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
Diffstat (limited to 'src/Exceptions')
-rw-r--r-- | src/Exceptions/LexerException.php | 4 | ||||
-rw-r--r-- | src/Exceptions/LoaderException.php | 4 | ||||
-rw-r--r-- | src/Exceptions/ParserException.php | 3 |
3 files changed, 8 insertions, 3 deletions
diff --git a/src/Exceptions/LexerException.php b/src/Exceptions/LexerException.php index 7dd85a4..857d09b 100644 --- a/src/Exceptions/LexerException.php +++ b/src/Exceptions/LexerException.php @@ -6,6 +6,8 @@ declare(strict_types=1); namespace PhpMyAdmin\SqlParser\Exceptions; +use Exception; + /** * Exception thrown by the lexer. * @@ -13,7 +15,7 @@ namespace PhpMyAdmin\SqlParser\Exceptions; * * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL-2.0+ */ -class LexerException extends \Exception +class LexerException extends Exception { /** * The character that produced this error. diff --git a/src/Exceptions/LoaderException.php b/src/Exceptions/LoaderException.php index d809876..41d04ff 100644 --- a/src/Exceptions/LoaderException.php +++ b/src/Exceptions/LoaderException.php @@ -6,6 +6,8 @@ declare(strict_types=1); namespace PhpMyAdmin\SqlParser\Exceptions; +use Exception; + /** * Exception thrown by the lexer. * @@ -13,7 +15,7 @@ namespace PhpMyAdmin\SqlParser\Exceptions; * * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL-2.0+ */ -class LoaderException extends \Exception +class LoaderException extends Exception { /** * The failed load name. diff --git a/src/Exceptions/ParserException.php b/src/Exceptions/ParserException.php index 575eeb1..4cf6977 100644 --- a/src/Exceptions/ParserException.php +++ b/src/Exceptions/ParserException.php @@ -6,6 +6,7 @@ declare(strict_types=1); namespace PhpMyAdmin\SqlParser\Exceptions; +use Exception; use PhpMyAdmin\SqlParser\Token; /** @@ -15,7 +16,7 @@ use PhpMyAdmin\SqlParser\Token; * * @license https://www.gnu.org/licenses/gpl-2.0.txt GPL-2.0+ */ -class ParserException extends \Exception +class ParserException extends Exception { /** * The token that produced this error. |