Completed
Push — master ( 67dd34...afecc6 )
by Sergii
02:20
created
src/Context/Email/RawEmailContext.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -100,6 +100,9 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@
 block discarded – undo
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.
Please login to merge, or discard this patch.
src/Context/RawTqContext.php 3 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -231,7 +231,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,6 @@
 block discarded – undo
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()
Please login to merge, or discard this patch.
Indentation   +3 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
     /**
Please login to merge, or discard this patch.
src/Utils/DatePicker.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -115,7 +115,7 @@
 block discarded – undo
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
         ));
Please login to merge, or discard this patch.
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@
 block discarded – undo
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.
Please login to merge, or discard this patch.
src/Utils/Imap.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -92,7 +92,7 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@
 block discarded – undo
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.
Please login to merge, or discard this patch.
src/Utils/Wysiwyg/Wysiwyg.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@
 block discarded – undo
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.
Please login to merge, or discard this patch.
src/Context/Drush/RawDrushContext.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@
 block discarded – undo
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.
Please login to merge, or discard this patch.
src/Context/Email/EmailContext.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@
 block discarded – undo
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.
Please login to merge, or discard this patch.
src/Context/Form/FormContext.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@
 block discarded – undo
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.
Please login to merge, or discard this patch.
src/Context/Form/RawFormContext.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@
 block discarded – undo
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.
Please login to merge, or discard this patch.