Completed
Pull Request — master (#16)
by Sergii
07:30
created
src/Utils/JavaScript.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
         static $files = [];
24 24
 
25 25
         if (empty($files[$filename])) {
26
-            $path = str_replace('Utils', 'JavaScript', __DIR__) . "/$filename.js";
26
+            $path = str_replace('Utils', 'JavaScript', __DIR__)."/$filename.js";
27 27
 
28 28
             if (!file_exists($path)) {
29 29
                 throw new \RuntimeException(sprintf('File "%s" does not exists!', $path));
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
@@ -211,7 +211,7 @@
 block discarded – undo
211 211
         }
212 212
 
213 213
         $selector = DrupalKernelPlaceholder::t($selector);
214
-        $element = $this->{'find' . $map[$locator]}($selector);
214
+        $element = $this->{'find'.$map[$locator]}($selector);
215 215
         $this->throwNoSuchElementException($selector, $element);
216 216
 
217 217
         return $element;
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
@@ -73,6 +73,6 @@
 block discarded – undo
73 73
             throw new \RuntimeException('An ID cannot be zero.');
74 74
         }
75 75
 
76
-        return $this->entityType() . "/$id$operation";
76
+        return $this->entityType()."/$id$operation";
77 77
     }
78 78
 }
Please login to merge, or discard this patch.
src/Utils/DatePicker/JQuery.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -83,7 +83,7 @@
 block discarded – undo
83 83
      */
84 84
     private function datePicker(array $arguments)
85 85
     {
86
-        return $this->jQuery(sprintf("datepicker(%s);", implode(', ', array_map(function ($value) {
86
+        return $this->jQuery(sprintf("datepicker(%s);", implode(', ', array_map(function($value) {
87 87
             return in_array($value, ['<date>']) ? $this->jsDate : "'$value'";
88 88
         }, $arguments))));
89 89
     }
Please login to merge, or discard this patch.