Commit c8a69417 authored by NITSAN's avatar NITSAN

[BUG] Changed depricated code from @dontvalidate to @ignorevalidation

parent 93786b44
Pipeline #7137 passed with stages
in 3 minutes and 13 seconds
...@@ -38,7 +38,7 @@ class SlackUserController extends ActionController ...@@ -38,7 +38,7 @@ class SlackUserController extends ActionController
* action new * action new
* *
* @param \T3o\T3oSlack\Domain\Model\SlackUser $newSlackUser * @param \T3o\T3oSlack\Domain\Model\SlackUser $newSlackUser
* @dontvalidate $newSlackUser * @ignorevalidation $newSlackUser
*/ */
public function newAction(SlackUser $newSlackUser = null) public function newAction(SlackUser $newSlackUser = null)
{ {
...@@ -68,7 +68,7 @@ class SlackUserController extends ActionController ...@@ -68,7 +68,7 @@ class SlackUserController extends ActionController
* action for errors and messages * action for errors and messages
* *
* @param \T3o\T3oSlack\Domain\Model\SlackUser $newSlackUser * @param \T3o\T3oSlack\Domain\Model\SlackUser $newSlackUser
* @dontvalidate $newSlackUser * @ignorevalidation $newSlackUser
*/ */
public function messageAction(SlackUser $newSlackUser = null) public function messageAction(SlackUser $newSlackUser = null)
{ {
...@@ -142,7 +142,7 @@ class SlackUserController extends ActionController ...@@ -142,7 +142,7 @@ class SlackUserController extends ActionController
$logger->error( $logger->error(
'not handled exception in t3o_slack', 'not handled exception in t3o_slack',
[ [
'response' => $error 'response' => $error,
] ]
); );
if ($response['error']) { if ($response['error']) {
...@@ -242,7 +242,7 @@ class SlackUserController extends ActionController ...@@ -242,7 +242,7 @@ class SlackUserController extends ActionController
/** /**
* @param \T3o\T3oSlack\Domain\Model\SlackUser $newSlackUser * @param \T3o\T3oSlack\Domain\Model\SlackUser $newSlackUser
* @dontvalidate $newSlackUser * @ignorevalidation $newSlackUser
*/ */
public function sendConfirmationMailAction($newSlackUser) public function sendConfirmationMailAction($newSlackUser)
{ {
...@@ -286,7 +286,7 @@ class SlackUserController extends ActionController ...@@ -286,7 +286,7 @@ class SlackUserController extends ActionController
/** /**
* @param \T3o\T3oSlack\Domain\Model\SlackUser $newSlackUser * @param \T3o\T3oSlack\Domain\Model\SlackUser $newSlackUser
* @dontvalidate $newSlackUser * @ignorevalidation $newSlackUser
* @return bool * @return bool
*/ */
public function sendConfirmationMail($newSlackUser) public function sendConfirmationMail($newSlackUser)
...@@ -308,7 +308,7 @@ class SlackUserController extends ActionController ...@@ -308,7 +308,7 @@ class SlackUserController extends ActionController
[ [
'user' => $user, 'user' => $user,
'hash' => HashUtility::createHashForUser($user), 'hash' => HashUtility::createHashForUser($user),
'mail' => $newSlackUser->getEmail() 'mail' => $newSlackUser->getEmail(),
], ],
$femanagerSettings['new.']['email.']['createUserConfirmation.'] $femanagerSettings['new.']['email.']['createUserConfirmation.']
); );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment