From 44f56bd50d26a0b518c1b7626cfcb75043d463cd Mon Sep 17 00:00:00 2001 From: Meritoo Date: Thu, 19 Oct 2017 23:39:16 +0200 Subject: [PATCH] Add required "className" constants with full names of classes --- src/Common/Exception/File/EmptyFileException.php | 2 ++ src/Common/Exception/File/EmptyFilePathException.php | 2 ++ src/Common/Exception/File/NotExistingFileException.php | 2 ++ src/Common/Exception/Method/DisabledMethodException.php | 2 +- src/Common/Exception/Regex/InvalidUrlException.php | 2 +- 5 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/Common/Exception/File/EmptyFileException.php b/src/Common/Exception/File/EmptyFileException.php index 14734d7..38cb9d2 100644 --- a/src/Common/Exception/File/EmptyFileException.php +++ b/src/Common/Exception/File/EmptyFileException.php @@ -16,6 +16,8 @@ namespace Meritoo\Common\Exception\File; */ class EmptyFileException extends \Exception { + const className = 'Meritoo\Common\Exception\File\EmptyFileException'; + /** * Class constructor * diff --git a/src/Common/Exception/File/EmptyFilePathException.php b/src/Common/Exception/File/EmptyFilePathException.php index 5f80e6b..da89538 100644 --- a/src/Common/Exception/File/EmptyFilePathException.php +++ b/src/Common/Exception/File/EmptyFilePathException.php @@ -16,6 +16,8 @@ namespace Meritoo\Common\Exception\File; */ class EmptyFilePathException extends \Exception { + const className = 'Meritoo\Common\Exception\File\EmptyFilePathException'; + /** * Class constructor */ diff --git a/src/Common/Exception/File/NotExistingFileException.php b/src/Common/Exception/File/NotExistingFileException.php index 51c6fa3..54177fa 100644 --- a/src/Common/Exception/File/NotExistingFileException.php +++ b/src/Common/Exception/File/NotExistingFileException.php @@ -16,6 +16,8 @@ namespace Meritoo\Common\Exception\File; */ class NotExistingFileException extends \Exception { + const className = 'Meritoo\Common\Exception\File\NotExistingFileException'; + /** * Class constructor * diff --git a/src/Common/Exception/Method/DisabledMethodException.php b/src/Common/Exception/Method/DisabledMethodException.php index 7e12114..80b7bad 100644 --- a/src/Common/Exception/Method/DisabledMethodException.php +++ b/src/Common/Exception/Method/DisabledMethodException.php @@ -18,7 +18,7 @@ use Exception; */ class DisabledMethodException extends Exception { - const className = '\Meritoo\Common\Exception\Method\DisabledMethodException'; + const className = 'Meritoo\Common\Exception\Method\DisabledMethodException'; /** * Class constructor diff --git a/src/Common/Exception/Regex/InvalidUrlException.php b/src/Common/Exception/Regex/InvalidUrlException.php index 22834b9..33ab5ed 100644 --- a/src/Common/Exception/Regex/InvalidUrlException.php +++ b/src/Common/Exception/Regex/InvalidUrlException.php @@ -10,7 +10,7 @@ namespace Meritoo\Common\Exception\Regex; */ class InvalidUrlException extends \Exception { - const className = '\Meritoo\Common\Exception\Regex\InvalidUrlException'; + const className = 'Meritoo\Common\Exception\Regex\InvalidUrlException'; /** * Class constructor