@@ -48,6 +48,9 @@ |
||
48 | 48 | } |
49 | 49 | } |
50 | 50 | |
51 | + /** |
|
52 | + * @param string $environment |
|
53 | + */ |
|
51 | 54 | public function getAllValuesForEnvironment(?string $environment = null): array |
52 | 55 | { |
53 | 56 | $result = []; |
@@ -32,6 +32,11 @@ discard block |
||
32 | 32 | protected |
33 | 33 | $environment; |
34 | 34 | |
35 | + /** |
|
36 | + * @param string $name |
|
37 | + * @param string $description |
|
38 | + * @param string $outputTitle |
|
39 | + */ |
|
35 | 40 | public function __construct(Application $app, $name, $description, $outputTitle) |
36 | 41 | { |
37 | 42 | $this->name = $name; |
@@ -169,6 +174,9 @@ discard block |
||
169 | 174 | } |
170 | 175 | } |
171 | 176 | |
177 | + /** |
|
178 | + * @param string $optionName |
|
179 | + */ |
|
172 | 180 | private function parseOptionWithAssignments(InputInterface $input, $optionName) |
173 | 181 | { |
174 | 182 | $strings = $input->getOption($optionName); |
@@ -284,6 +284,9 @@ |
||
284 | 284 | ); |
285 | 285 | } |
286 | 286 | |
287 | + /** |
|
288 | + * @param string $fileContent |
|
289 | + */ |
|
287 | 290 | private function removeFileDirectives($fileContent) |
288 | 291 | { |
289 | 292 | return preg_replace('~(<%\s*karma:[^%]*%>\s*)~i', '', $fileContent); |
@@ -38,6 +38,10 @@ |
||
38 | 38 | return $this->write($messages, $newline, $type, OutputInterface::VERBOSITY_VERBOSE, 'white'); |
39 | 39 | } |
40 | 40 | |
41 | + /** |
|
42 | + * @param boolean $newline |
|
43 | + * @param string $textColor |
|
44 | + */ |
|
41 | 45 | private function write($messages, $newline, $type, $verbosity, $textColor) |
42 | 46 | { |
43 | 47 | if($this->output instanceof OutputInterface) |