@@ -300,9 +300,9 @@ |
||
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))); |
@@ -23,7 +23,7 @@ |
||
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)); |
@@ -211,7 +211,7 @@ |
||
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; |
@@ -73,6 +73,6 @@ |
||
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 | } |