Skip to content

Commit

Permalink
MAGETWO-52101: Mark insecure methods as deprecated in Message\Manager…
Browse files Browse the repository at this point in the history
…Interface
  • Loading branch information
dkvashninbay committed May 18, 2016
1 parent 3207334 commit cd13a85
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/internal/Magento/Framework/Message/ManagerInterface.php
Expand Up @@ -52,6 +52,7 @@ public function addMessages(array $messages, $group = null);
* @param string $message
* @param string|null $group
* @return ManagerInterface
* @deprecated
* @see \Magento\Framework\Message\ManagerInterface::addErrorMessage
*/
public function addError($message, $group = null);
Expand All @@ -62,6 +63,7 @@ public function addError($message, $group = null);
* @param string $message
* @param string|null $group
* @return ManagerInterface
* @deprecated
* @see \Magento\Framework\Message\ManagerInterface::addWarningMessage
*/
public function addWarning($message, $group = null);
Expand All @@ -72,6 +74,7 @@ public function addWarning($message, $group = null);
* @param string $message
* @param string|null $group
* @return ManagerInterface
* @deprecated
* @see \Magento\Framework\Message\ManagerInterface::addNoticeMessage
*/
public function addNotice($message, $group = null);
Expand All @@ -82,6 +85,7 @@ public function addNotice($message, $group = null);
* @param string $message
* @param string|null $group
* @return ManagerInterface
* @deprecated
* @see \Magento\Framework\Message\ManagerInterface::addSuccessMessage
*/
public function addSuccess($message, $group = null);
Expand Down Expand Up @@ -178,6 +182,8 @@ public function addUniqueMessages(array $messages, $group = null);
* @param string $alternativeText
* @param string|null $group
* @return ManagerInterface
* @deprecated
* @see \Magento\Framework\Message\ManagerInterface::addExceptionMessage
*/
public function addException(\Exception $exception, $alternativeText, $group = null);

Expand Down

0 comments on commit cd13a85

Please sign in to comment.