| @@ -150,6 +150,9 @@ discard block | ||
| 150 | 150 | } | 
| 151 | 151 | } | 
| 152 | 152 | |
| 153 | + /** | |
| 154 | + * @param string|boolean $fileContent | |
| 155 | + */ | |
| 153 | 156 | private function parseFileDirectives($file, & $fileContent, $environment) | 
| 154 | 157 |      { | 
| 155 | 158 | $this->currentFormatterName = null; | 
| @@ -224,6 +227,9 @@ discard block | ||
| 224 | 227 | } | 
| 225 | 228 | } | 
| 226 | 229 | |
| 230 | + /** | |
| 231 | + * @param string $delimiter | |
| 232 | + */ | |
| 227 | 233 | private function generateContentForListDirective($variable, $environment, $delimiter, array $wrapper) | 
| 228 | 234 |      { | 
| 229 | 235 | $values = $this->readValueToInject($variable, $environment); | 
| @@ -252,6 +258,9 @@ discard block | ||
| 252 | 258 |          return preg_replace('~(<%\s*karma:[^%]*%>\s*)~i', '', $fileContent); | 
| 253 | 259 | } | 
| 254 | 260 | |
| 261 | + /** | |
| 262 | + * @return string | |
| 263 | + */ | |
| 255 | 264 | private function injectValues($sourceFile, $content, $environment, $replacementCounter = 0) | 
| 256 | 265 |      { | 
| 257 | 266 | $replacementCounter += $this->injectScalarValues($content, $environment); | 
| @@ -191,8 +191,7 @@ | ||
| 191 | 191 | if( | 
| 192 | 192 | ! array_key_exists($parameter, $parameterValidators) | 
| 193 | 193 | || ! $parameterValidators[$parameter] instanceof \Closure | 
| 194 | - ) | |
| 195 | -        { | |
| 194 | +        ) { | |
| 196 | 195 | return true; | 
| 197 | 196 | } | 
| 198 | 197 | |