From 7c44e11737ba834de4ac5004c7ec22634271fc66 Mon Sep 17 00:00:00 2001 From: Andrew Roslik Date: Mon, 5 Sep 2016 11:52:33 +0300 Subject: [PATCH] Implemented #117: Make fast disabling synchronization with an issue tracker - Updated error message. --- src/lib/PreCommit/Validator/CodingStandardMagento.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/PreCommit/Validator/CodingStandardMagento.php b/src/lib/PreCommit/Validator/CodingStandardMagento.php index e4632d8..c2d910f 100644 --- a/src/lib/PreCommit/Validator/CodingStandardMagento.php +++ b/src/lib/PreCommit/Validator/CodingStandardMagento.php @@ -25,7 +25,7 @@ class CodingStandardMagento extends CodingStandard */ protected $errorMessages = array( - self::CODE_PHP_DEPRECATED_THROW_EXCEPTION => 'Used deprecated method Mage::throwException(). Use: throw new Mage_Core_Exception("Translated message.")', + self::CODE_PHP_DEPRECATED_THROW_EXCEPTION => 'Used deprecated method Mage::throwException(). Use: throw new Your_Module_Exception(\'Your message.\')', ); /**