Completed
Pull Request — master (#16)
by Sergii
05:25
created
src/Cores/DrupalKernelPlaceholder.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -300,9 +300,9 @@
 block discarded – undo
300 300
             $replace = '';
301 301
         } else {
302 302
             // Copy the file.
303
-            copy(str_replace('Cores', 'JavaScript', __DIR__) . '/' . $file, $destination);
303
+            copy(str_replace('Cores', 'JavaScript', __DIR__).'/'.$file, $destination);
304 304
             // Find an unique line and append injection.
305
-            $replace = $search . $injection;
305
+            $replace = $search.$injection;
306 306
         }
307 307
 
308 308
         file_put_contents($target, str_replace($search, $replace, file_get_contents($target)));
Please login to merge, or discard this patch.
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.