| Conditions | 4 |
| Paths | 4 |
| Total Lines | 12 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 10 |
| CRAP Score | 4 |
| Changes | 0 | ||
| 1 | <?php |
||
| 39 | 18 | ||
| 40 | foreach ($this->parser->getContent() as $key => $value) { |
||
| 41 | 12 | static::putenv($key, $value); |
|
| 42 | 18 | } |
|
| 43 | 9 | } |
|
| 44 | 9 | ||
| 45 | 3 | public static function putenv($key, $value) |
|
|
2 ignored issues
–
show
|
|||
| 46 | 4 | { |
|
| 47 | 6 | $_ENV[$key] = $value; |
|
| 48 | 6 | $_SERVER[$key] = $value; |
|
| 49 | 4 | ||
| 50 | /* |
||
| 51 | * putenv only accept string value |
||
| 70 |