@@ -186,7 +186,7 @@ |
||
186 | 186 | */ |
187 | 187 | protected function formatVariables(array $vars) |
188 | 188 | { |
189 | - $rounding = (int) $this->_input->getOption('rounding'); |
|
189 | + $rounding = (int)$this->_input->getOption('rounding'); |
|
190 | 190 | if ($rounding > -1) { |
191 | 191 | foreach ($vars as $k => &$v) { |
192 | 192 | if (true === $this->allowRounding($k)) { |
@@ -315,7 +315,7 @@ discard block |
||
315 | 315 | if (!is_null($this->baseDirectory)) { |
316 | 316 | if (!$this->baseDirectory->exists()) { |
317 | 317 | throw new BuildException( |
318 | - "basedir '" . (string) $this->baseDirectory . "' does not exist!", $this->getLocation() |
|
318 | + "basedir '" . (string)$this->baseDirectory . "' does not exist!", $this->getLocation() |
|
319 | 319 | ); |
320 | 320 | } |
321 | 321 | } |
@@ -332,11 +332,11 @@ discard block |
||
332 | 332 | } |
333 | 333 | |
334 | 334 | if (!$this->key->exists()) { |
335 | - throw new BuildException("key '" . (string) $this->key . "' does not exist!", $this->getLocation()); |
|
335 | + throw new BuildException("key '" . (string)$this->key . "' does not exist!", $this->getLocation()); |
|
336 | 336 | } |
337 | 337 | |
338 | 338 | if (!$this->key->canRead()) { |
339 | - throw new BuildException("key '" . (string) $this->key . "' cannot be read!", $this->getLocation()); |
|
339 | + throw new BuildException("key '" . (string)$this->key . "' cannot be read!", $this->getLocation()); |
|
340 | 340 | } |
341 | 341 | } |
342 | 342 | } |
@@ -30,7 +30,7 @@ |
||
30 | 30 | throw new RuntimeException(sprintf('Is not a file or not readable: %s', var_export($file, true))); |
31 | 31 | } |
32 | 32 | |
33 | -$timestamp = (int) `git log --format=format:%ct HEAD -1`; |
|
33 | +$timestamp = (int)`git log --format=format:%ct HEAD -1`; |
|
34 | 34 | $threshold = 1343826993; |
35 | 35 | if ($timestamp < $threshold) { |
36 | 36 | $message = sprintf( |
@@ -75,7 +75,7 @@ |
||
75 | 75 | * |
76 | 76 | * @return string non-negative integer number |
77 | 77 | */ |
78 | - protected function _convertScopeIdParam($scope, $scopeId, $allowZeroScope=false) |
|
78 | + protected function _convertScopeIdParam($scope, $scopeId, $allowZeroScope = false) |
|
79 | 79 | { |
80 | 80 | if ($scope === 'default') { |
81 | 81 | if ("$scopeId" !== "0") { |