Completed
Push — master ( ca996f...35e839 )
by Sergii
06:01
created
src/Utils/DatePicker.php 1 patch
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.
src/Context/RawPageContext.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -189,7 +189,7 @@
 block discarded – undo
189 189
         }
190 190
 
191 191
         $selector = t($selector);
192
-        $element = $this->{'find' . $map[$locator]}($selector);
192
+        $element = $this->{'find'.$map[$locator]}($selector);
193 193
         $this->throwNoSuchElementException($selector, $element);
194 194
 
195 195
         return $element;
Please login to merge, or discard this patch.
src/Context/Wysiwyg/RawWysiwygContext.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
     {
31 31
         if (empty($wysiwyg)) {
32 32
             throw new \InvalidArgumentException(
33
-                'WYSIWYG name cannot be empty. You must mark your scenario with @wysiwyg' .
33
+                'WYSIWYG name cannot be empty. You must mark your scenario with @wysiwyg'.
34 34
                 'and @wysiwyg:<NAME> tags. For example: @wysiwyg @wysiwyg:CKEditor'
35 35
             );
36 36
         }
Please login to merge, or discard this patch.
src/Context/Drush/RawDrushContext.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
         return trim($this->getDrushDriver()->drush('uli', [
20 20
             $username,
21 21
             '--browser=0',
22
-            '--uri=' . $this->locatePath(),
22
+            '--uri='.$this->locatePath(),
23 23
         ]));
24 24
     }
25 25
 }
Please login to merge, or discard this patch.
src/Context/Message/RawMessageContext.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,6 +26,6 @@
 block discarded – undo
26 26
 
27 27
         return $this->getSession()
28 28
             ->getPage()
29
-            ->findAll('css', $selector = $this->getDrupalSelector($type . 'message_selector'));
29
+            ->findAll('css', $selector = $this->getDrupalSelector($type.'message_selector'));
30 30
     }
31 31
 }
Please login to merge, or discard this patch.
src/Context/User/RawUserContext.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@
 block discarded – undo
64 64
         $formContext = $this->getFormContext();
65 65
 
66 66
         foreach (['username', 'password'] as $prop) {
67
-            $formContext->fillField($this->getDrupalText($prop . '_field'), $props[$prop]);
67
+            $formContext->fillField($this->getDrupalText($prop.'_field'), $props[$prop]);
68 68
         }
69 69
 
70 70
         $this->getWorkingElement()->pressButton($this->getDrupalText('log_in'));
Please login to merge, or discard this patch.
src/Context/Form/FormContext.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -154,7 +154,7 @@  discard block
 block discarded – undo
154 154
         $minkContext = $this->getMinkContext();
155 155
 
156 156
         foreach ($checkboxes->getRows() as $checkbox) {
157
-            $minkContext->{trim($action) . 'Option'}(reset($checkbox));
157
+            $minkContext->{trim($action).'Option'}(reset($checkbox));
158 158
         }
159 159
     }
160 160
 
@@ -247,7 +247,7 @@  discard block
 block discarded – undo
247 247
             throw new \Exception('The "files_path" Mink parameter was not configured.');
248 248
         }
249 249
 
250
-        $file = rtrim(realpath($filesPath), DIRECTORY_SEPARATOR) . DIRECTORY_SEPARATOR . $file;
250
+        $file = rtrim(realpath($filesPath), DIRECTORY_SEPARATOR).DIRECTORY_SEPARATOR.$file;
251 251
 
252 252
         if (!is_file($file)) {
253 253
             throw new \InvalidArgumentException(sprintf('The "%s" file does not exist.', $file));
Please login to merge, or discard this patch.
src/Utils/Imap.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@  discard block
 block discarded – undo
19 19
     public function setConnection($email, $imap, $username, $password)
20 20
     {
21 21
         if (empty($this->connections[$email])) {
22
-            $connection = imap_open('{' . $imap . '}INBOX', $username, $password);
22
+            $connection = imap_open('{'.$imap.'}INBOX', $username, $password);
23 23
 
24 24
             if (false === $connection) {
25 25
                 throw new \RuntimeException('IMAP connection cannot be open. Maybe some parameters are incorrect.');
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
             4 => 'imap_qprint',
91 91
         ];
92 92
 
93
-        return isset($process[$encoding]) ? $process[$encoding] : function ($string) {
93
+        return isset($process[$encoding]) ? $process[$encoding] : function($string) {
94 94
             return $string;
95 95
         };
96 96
     }
Please login to merge, or discard this patch.
src/Utils/BaseEntity.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,6 +65,6 @@
 block discarded – undo
65 65
             throw new \RuntimeException('An ID cannot be zero.');
66 66
         }
67 67
 
68
-        return $this->entityType() . "/$id/$operation";
68
+        return $this->entityType()."/$id/$operation";
69 69
     }
70 70
 }
Please login to merge, or discard this patch.