| @@ -100,6 +100,9 @@ | ||
| 100 | 100 | return $links; | 
| 101 | 101 | } | 
| 102 | 102 | |
| 103 | + /** | |
| 104 | + * @param string $email | |
| 105 | + */ | |
| 103 | 106 | private function getMessagesViaImap($email) | 
| 104 | 107 |      { | 
| 105 | 108 | $account = $this->getAccount($email); | 
| @@ -1,7 +1,7 @@ | ||
| 1 | 1 | <?php | 
| 2 | 2 | /** | 
| 3 | - * @author Sergey Bondarenko, <[email protected]> | |
| 4 | - */ | |
| 3 | + * @author Sergey Bondarenko, <[email protected]> | |
| 4 | + */ | |
| 5 | 5 | namespace Drupal\TqExtension\Utils\Wysiwyg; | 
| 6 | 6 | |
| 7 | 7 | // Contexts. | 
| @@ -231,7 +231,7 @@ discard block | ||
| 231 | 231 | * @param array $args | 
| 232 | 232 | * Placeholder declarations. | 
| 233 | 233 | * | 
| 234 | - * @return mixed | |
| 234 | + * @return string | |
| 235 | 235 | */ | 
| 236 | 236 | public function executeJs($javascript, array $args = []) | 
| 237 | 237 |      { | 
| @@ -384,7 +384,7 @@ discard block | ||
| 384 | 384 | * Could be "comment", | 
| 385 | 385 | * @param int $indent | 
| 386 | 386 | * Number of spaces. | 
| 387 | - * @param array $strings | |
| 387 | + * @param string[] $strings | |
| 388 | 388 | * Paragraphs. | 
| 389 | 389 | * | 
| 390 | 390 | * @link http://symfony.com/doc/current/components/console/introduction.html | 
| @@ -19,7 +19,6 @@ | ||
| 19 | 19 | use Behat\Behat\Hook\Scope\StepScope; | 
| 20 | 20 | use Symfony\Component\Console\Output\ConsoleOutput; | 
| 21 | 21 | use Behat\Behat\Context\Environment\InitializedContextEnvironment; | 
| 22 | -use Drupal\TqExtension\Utils as TqUtils; | |
| 23 | 22 | |
| 24 | 23 | /** | 
| 25 | 24 | * @see RawTqContext::__call() | 
| @@ -1,7 +1,7 @@ discard block | ||
| 1 | 1 | <?php | 
| 2 | 2 | /** | 
| 3 | - * @author Sergey Bondarenko, <[email protected]> | |
| 4 | - */ | |
| 3 | + * @author Sergey Bondarenko, <[email protected]> | |
| 4 | + */ | |
| 5 | 5 | namespace Drupal\TqExtension\Context; | 
| 6 | 6 | |
| 7 | 7 | // Contexts. | 
| @@ -210,7 +210,6 @@ discard block | ||
| 210 | 210 | |
| 211 | 211 | /** | 
| 212 | 212 | * @param array $strings | 
| 213 | - | |
| 214 | 213 | * @return self | 
| 215 | 214 | */ | 
| 216 | 215 | public function debug(array $strings) | 
| @@ -270,7 +269,7 @@ discard block | ||
| 270 | 269 | public function waitAjaxAndAnimations() | 
| 271 | 270 |      { | 
| 272 | 271 | $this->getSession() | 
| 273 | -             ->wait(1000, "window.__behatAjax === false && !jQuery(':animated').length && !jQuery.active"); | |
| 272 | +                ->wait(1000, "window.__behatAjax === false && !jQuery(':animated').length && !jQuery.active"); | |
| 274 | 273 | } | 
| 275 | 274 | |
| 276 | 275 | /** | 
| @@ -115,7 +115,7 @@ | ||
| 115 | 115 |      { | 
| 116 | 116 | return $this->context->executeJsOnElement($this->element, sprintf( | 
| 117 | 117 |              "return jQuery({{ELEMENT}}).datepicker(%s);", | 
| 118 | -            implode(', ', array_map(function ($value) { | |
| 118 | +            implode(', ', array_map(function($value) { | |
| 119 | 119 | return in_array($value, ['<date>']) ? $this->date : "'$value'"; | 
| 120 | 120 | }, $arguments)) | 
| 121 | 121 | )); | 
| @@ -1,7 +1,7 @@ | ||
| 1 | 1 | <?php | 
| 2 | 2 | /** | 
| 3 | - * @author Sergey Bondarenko, <[email protected]> | |
| 4 | - */ | |
| 3 | + * @author Sergey Bondarenko, <[email protected]> | |
| 4 | + */ | |
| 5 | 5 | namespace Drupal\TqExtension\Utils\Wysiwyg; | 
| 6 | 6 | |
| 7 | 7 | // Contexts. | 
| @@ -92,7 +92,7 @@ | ||
| 92 | 92 | 4 => 'imap_qprint', | 
| 93 | 93 | ]; | 
| 94 | 94 | |
| 95 | -        return isset($process[$encoding]) ? $process[$encoding] : function ($string) { | |
| 95 | +        return isset($process[$encoding]) ? $process[$encoding] : function($string) { | |
| 96 | 96 | return $string; | 
| 97 | 97 | }; | 
| 98 | 98 | } | 
| @@ -1,7 +1,7 @@ | ||
| 1 | 1 | <?php | 
| 2 | 2 | /** | 
| 3 | - * @author Sergey Bondarenko, <[email protected]> | |
| 4 | - */ | |
| 3 | + * @author Sergey Bondarenko, <[email protected]> | |
| 4 | + */ | |
| 5 | 5 | namespace Drupal\TqExtension\Utils\Wysiwyg; | 
| 6 | 6 | |
| 7 | 7 | // Contexts. | 
| @@ -1,7 +1,7 @@ | ||
| 1 | 1 | <?php | 
| 2 | 2 | /** | 
| 3 | - * @author Sergey Bondarenko, <[email protected]> | |
| 4 | - */ | |
| 3 | + * @author Sergey Bondarenko, <[email protected]> | |
| 4 | + */ | |
| 5 | 5 | namespace Drupal\TqExtension\Utils\Wysiwyg; | 
| 6 | 6 | |
| 7 | 7 | // Contexts. | 
| @@ -1,7 +1,7 @@ | ||
| 1 | 1 | <?php | 
| 2 | 2 | /** | 
| 3 | - * @author Sergey Bondarenko, <[email protected]> | |
| 4 | - */ | |
| 3 | + * @author Sergey Bondarenko, <[email protected]> | |
| 4 | + */ | |
| 5 | 5 | namespace Drupal\TqExtension\Utils\Wysiwyg; | 
| 6 | 6 | |
| 7 | 7 | // Contexts. | 
| @@ -1,7 +1,7 @@ | ||
| 1 | 1 | <?php | 
| 2 | 2 | /** | 
| 3 | - * @author Sergey Bondarenko, <[email protected]> | |
| 4 | - */ | |
| 3 | + * @author Sergey Bondarenko, <[email protected]> | |
| 4 | + */ | |
| 5 | 5 | namespace Drupal\TqExtension\Utils\Wysiwyg; | 
| 6 | 6 | |
| 7 | 7 | // Contexts. | 
| @@ -1,7 +1,7 @@ | ||
| 1 | 1 | <?php | 
| 2 | 2 | /** | 
| 3 | - * @author Sergey Bondarenko, <[email protected]> | |
| 4 | - */ | |
| 3 | + * @author Sergey Bondarenko, <[email protected]> | |
| 4 | + */ | |
| 5 | 5 | namespace Drupal\TqExtension\Utils\Wysiwyg; | 
| 6 | 6 | |
| 7 | 7 | // Contexts. | 
| @@ -1,7 +1,7 @@ | ||
| 1 | 1 | <?php | 
| 2 | 2 | /** | 
| 3 | - * @author Sergey Bondarenko, <[email protected]> | |
| 4 | - */ | |
| 3 | + * @author Sergey Bondarenko, <[email protected]> | |
| 4 | + */ | |
| 5 | 5 | namespace Drupal\TqExtension\Utils\Wysiwyg; | 
| 6 | 6 | |
| 7 | 7 | // Contexts. |