src/Joli/JoliCi/BuildStrategy/TravisCiBuildStrategy.php
private function parseEnvironmentLine($environmentLine)
    {
        $variables     = array();@
        $variableLines = explode(' ', $environmentLine ?: '');

        foreach ($variableLines as $variableLine) {
            if (!empty($variableLine)) {
                list($key, $value) = $this->parseEnvironementVariable($variableLine);
                $variables[$key]   = $value;
            }
        }

        return $variables;
    }
private function parseEnvironmentLine($environmentLine)
    {
        $variables     = array();@
        $variableLines = explode(' ', $environmentLine ?: '');

        foreach ($variableLines as $variableLine) {
            if (!empty($variableLine)) {
                list($key, $value) = $this->parseEnvironementVariable($variableLine);
                $variables[$key]   = $value;
            }
        }

        return $variables;
    }
private function parseEnvironmentLine ( $ environmentLine ) { $ variables = array ( ) ; @ $ variableLines = explode ( ' ' , $ environmentLine ? : '' ) ; foreach ( $ variableLines as $ variableLine ) { if ( ! empty ( $ variableLine ) ) { list ( $ key , $ value ) = $ this -> parseEnvironementVariable ( $ variableLine ) ; $ variables [ $ key ] = $ value ; } } return $ variables ; }
Parse an environnement line from Travis to return an array of variables

Transform:
"A=B C=D"
Into:
array('a' => 'b', 'c' => 'd')

@param $environmentLine
@return array
Parse an environnement line from Travis to return an array of variables