@@ -27,7 +27,7 @@ |
||
| 27 | 27 | if(stripos($variableName, self::DELIMITER) === false) |
| 28 | 28 | { |
| 29 | 29 | throw new \RuntimeException(sprintf( |
| 30 | - 'Variable %s does not contain delimiter (%s)', |
|
| 30 | + 'Variable %s does not contain delimiter (%s)', |
|
| 31 | 31 | $variableName, |
| 32 | 32 | self::DELIMITER |
| 33 | 33 | )); |
@@ -45,7 +45,7 @@ |
||
| 45 | 45 | $table->enableFormattingTags() |
| 46 | 46 | ->setHeaders(array($environment1, $environment2)) |
| 47 | 47 | ->displayKeys() |
| 48 | - ->setValueRenderingFunction(function($value){ |
|
| 48 | + ->setValueRenderingFunction(function($value) { |
|
| 49 | 49 | return $this->formatValue($value); |
| 50 | 50 | }); |
| 51 | 51 | |
@@ -61,7 +61,7 @@ |
||
| 61 | 61 | foreach($values as $variable => $value) |
| 62 | 62 | { |
| 63 | 63 | $this->output->writeln(sprintf( |
| 64 | - '<fg=cyan>%s</fg=cyan> = %s', |
|
| 64 | + '<fg=cyan>%s</fg=cyan> = %s', |
|
| 65 | 65 | $variable, |
| 66 | 66 | $this->formatValue($value) |
| 67 | 67 | )); |
@@ -146,7 +146,7 @@ discard block |
||
| 146 | 146 | { |
| 147 | 147 | $processor->setSystemEnvironment($this->systemEnvironment); |
| 148 | 148 | |
| 149 | - $this->app['logger']->info(sprintf( |
|
| 149 | + $this->app['logger']->info(sprintf( |
|
| 150 | 150 | 'Hydrate <important>system</important> variables with <important>%s</important> values', |
| 151 | 151 | $this->systemEnvironment |
| 152 | 152 | )); |
@@ -197,9 +197,9 @@ discard block |
||
| 197 | 197 | foreach($overrides as $variable => $value) |
| 198 | 198 | { |
| 199 | 199 | $logger->info(sprintf( |
| 200 | - 'Override <important>%s</important> with value <important>%s</important>', |
|
| 201 | - $variable, |
|
| 202 | - $value |
|
| 200 | + 'Override <important>%s</important> with value <important>%s</important>', |
|
| 201 | + $variable, |
|
| 202 | + $value |
|
| 203 | 203 | )); |
| 204 | 204 | |
| 205 | 205 | $value = $this->parseList($value); |
@@ -216,9 +216,9 @@ discard block |
||
| 216 | 216 | foreach($data as $variable => $value) |
| 217 | 217 | { |
| 218 | 218 | $logger->info(sprintf( |
| 219 | - 'Set custom data <important>%s</important> with value <important>%s</important>', |
|
| 220 | - $variable, |
|
| 221 | - $value |
|
| 219 | + 'Set custom data <important>%s</important> with value <important>%s</important>', |
|
| 220 | + $variable, |
|
| 221 | + $value |
|
| 222 | 222 | )); |
| 223 | 223 | |
| 224 | 224 | $reader->setCustomData($variable, $this->filterValue($value)); |
@@ -116,7 +116,7 @@ |
||
| 116 | 116 | } |
| 117 | 117 | |
| 118 | 118 | $this->output->writeln( |
| 119 | - $this->getLogo($this->output->isDecorated()) |
|
| 119 | + $this->getLogo($this->output->isDecorated()) |
|
| 120 | 120 | ); |
| 121 | 121 | } |
| 122 | 122 | |
@@ -110,7 +110,7 @@ |
||
| 110 | 110 | } |
| 111 | 111 | |
| 112 | 112 | $this->info(sprintf( |
| 113 | - '%d files generated', |
|
| 113 | + '%d files generated', |
|
| 114 | 114 | count($files) |
| 115 | 115 | )); |
| 116 | 116 | } |
@@ -266,8 +266,7 @@ |
||
| 266 | 266 | { |
| 267 | 267 | $formatter = $this->getFormatterForCurrentTargetFile(); |
| 268 | 268 | |
| 269 | - $content = preg_replace_callback(self::VARIABLE_REGEX, function(array $matches) use($environment, $formatter) |
|
| 270 | - { |
|
| 269 | + $content = preg_replace_callback(self::VARIABLE_REGEX, function(array $matches) use($environment, $formatter) { |
|
| 271 | 270 | $value = $this->readValueToInject($matches['variableName'], $environment); |
| 272 | 271 | |
| 273 | 272 | if(is_array($value)) |
@@ -56,7 +56,7 @@ |
||
| 56 | 56 | catch(ParseException $e) |
| 57 | 57 | { |
| 58 | 58 | throw new \RuntimeException(sprintf( |
| 59 | - 'Error while parsing profile : %s', |
|
| 59 | + 'Error while parsing profile : %s', |
|
| 60 | 60 | $e->getMessage() |
| 61 | 61 | )); |
| 62 | 62 | } |
@@ -193,8 +193,7 @@ |
||
| 193 | 193 | if( |
| 194 | 194 | ! array_key_exists($parameter, $parameterValidators) |
| 195 | 195 | || ! $parameterValidators[$parameter] instanceof \Closure |
| 196 | - ) |
|
| 197 | - { |
|
| 196 | + ) { |
|
| 198 | 197 | return; |
| 199 | 198 | } |
| 200 | 199 | |
@@ -46,7 +46,7 @@ discard block |
||
| 46 | 46 | |
| 47 | 47 | public function enableExternalSupport(): self |
| 48 | 48 | { |
| 49 | - $this->parsers->enableExternalSupport($this->fs); |
|
| 49 | + $this->parsers->enableExternalSupport($this->fs); |
|
| 50 | 50 | |
| 51 | 51 | return $this; |
| 52 | 52 | } |
@@ -218,8 +218,8 @@ discard block |
||
| 218 | 218 | if($status['found'] === false) |
| 219 | 219 | { |
| 220 | 220 | $this->warning(sprintf( |
| 221 | - 'External file %s was not found', |
|
| 222 | - $file |
|
| 221 | + 'External file %s was not found', |
|
| 222 | + $file |
|
| 223 | 223 | )); |
| 224 | 224 | } |
| 225 | 225 | } |
@@ -61,7 +61,7 @@ |
||
| 61 | 61 | if(! isset($this->defaultEnvironmentsForGroups[$environment])) |
| 62 | 62 | { |
| 63 | 63 | throw new \RuntimeException(sprintf( |
| 64 | - 'Group can not be used as environment (try with group %s detected)', |
|
| 64 | + 'Group can not be used as environment (try with group %s detected)', |
|
| 65 | 65 | $environment |
| 66 | 66 | )); |
| 67 | 67 | } |