| @@ 164-171 (lines=8) @@ | ||
| 161 | * @param array $results Environment Variable Results. |
|
| 162 | * @return void |
|
| 163 | */ |
|
| 164 | protected function checkForCiBuild(array $results) |
|
| 165 | { |
|
| 166 | foreach ($results as $row) { |
|
| 167 | if ($row['insource'] == 'Yes' && $row['inenvexample'] == 'No') { |
|
| 168 | $this->exitCode = 1; |
|
| 169 | } |
|
| 170 | } |
|
| 171 | } |
|
| 172 | ||
| 173 | /** |
|
| 174 | * If a variable is defined in the source code but |
|
| @@ 180-187 (lines=8) @@ | ||
| 177 | * @param array $results Environment Variable Results. |
|
| 178 | * @return void |
|
| 179 | */ |
|
| 180 | protected function checkForDeploy(array $results) |
|
| 181 | { |
|
| 182 | foreach ($results as $row) { |
|
| 183 | if ($row['insource'] == 'Yes' && $row['inenv'] == 'No') { |
|
| 184 | $this->exitCode = 1; |
|
| 185 | } |
|
| 186 | } |
|
| 187 | } |
|
| 188 | ||
| 189 | /** |
|
| 190 | * Collects the command line arguments. |
|