@@ -11,7 +11,7 @@ |
||
| 11 | 11 | protected function configure() |
| 12 | 12 | { |
| 13 | 13 | $this->setName('media:cache:image:clear') |
| 14 | - ->setDescription('Clears image cache'); |
|
| 14 | + ->setDescription('Clears image cache'); |
|
| 15 | 15 | } |
| 16 | 16 | |
| 17 | 17 | /** |
@@ -11,7 +11,7 @@ |
||
| 11 | 11 | protected function configure() |
| 12 | 12 | { |
| 13 | 13 | $this->setName('media:cache:jscss:clear') |
| 14 | - ->setDescription('Clears JS/CSS cache'); |
|
| 14 | + ->setDescription('Clears JS/CSS cache'); |
|
| 15 | 15 | } |
| 16 | 16 | |
| 17 | 17 | /** |
@@ -10,7 +10,7 @@ discard block |
||
| 10 | 10 | fwrite(STDERR, implode(PHP_EOL, array( |
| 11 | 11 | 'The suhosin.executor.include.whitelist setting is incorrect.', |
| 12 | 12 | 'Add the following to the end of your `php.ini` or suhosin.ini (Example path [for Debian]: /etc/php5/cli/conf.d/suhosin.ini):', |
| 13 | - ' suhosin.executor.include.whitelist = phar '.$suhosin, |
|
| 13 | + ' suhosin.executor.include.whitelist = phar ' . $suhosin, |
|
| 14 | 14 | '' |
| 15 | 15 | ))); |
| 16 | 16 | exit(1); |
@@ -21,4 +21,4 @@ discard block |
||
| 21 | 21 | $application->setPharMode(true); |
| 22 | 22 | $application->run(); |
| 23 | 23 | |
| 24 | -__HALT_COMPILER(); |
|
| 24 | +__HALT_COMPILER(); |
|
@@ -262,7 +262,7 @@ |
||
| 262 | 262 | */ |
| 263 | 263 | public function validateInt($answer) |
| 264 | 264 | { |
| 265 | - if ((int)$answer === 0) { |
|
| 265 | + if ((int) $answer === 0) { |
|
| 266 | 266 | throw new RuntimeException( |
| 267 | 267 | 'The range should be numeric and above 0 e.g. 1' |
| 268 | 268 | ); |
@@ -85,7 +85,7 @@ |
||
| 85 | 85 | */ |
| 86 | 86 | private function parseCronExpression($expr) |
| 87 | 87 | { |
| 88 | - if ((string)$expr === 'always') { |
|
| 88 | + if ((string) $expr === 'always') { |
|
| 89 | 89 | return array_fill(0, 5, '*'); |
| 90 | 90 | } |
| 91 | 91 | |
@@ -292,7 +292,7 @@ |
||
| 292 | 292 | $dbHost = $this->config->getString('db_host'); |
| 293 | 293 | |
| 294 | 294 | if ($this->config->getInt('db_port') !== 3306) { |
| 295 | - $dbHost .= ':' . (string)$this->config->getInt('db_port'); |
|
| 295 | + $dbHost .= ':' . (string) $this->config->getInt('db_port'); |
|
| 296 | 296 | |
| 297 | 297 | return $dbHost; |
| 298 | 298 | } |