1
0
Fork 0

Fix problem output formatting, fixes #871

pull/873/merge
Jordi Boggiano 2012-07-04 14:27:26 +02:00
parent e6f7150196
commit f4409d9168
1 changed files with 2 additions and 2 deletions

View File

@ -78,10 +78,10 @@ class Problem
$ext = substr($job['packageName'], 4);
$error = extension_loaded($ext) ? 'has the wrong version ('.phpversion($ext).') installed' : 'is missing from your system';
return 'The requested PHP extension '.$job['packageName'].$this->constraintToText($job['constraint']).' '.$error.'.';
return "\n - The requested PHP extension ".$job['packageName'].$this->constraintToText($job['constraint']).' '.$error.'.';
}
return 'The requested package '.$job['packageName'].$this->constraintToText($job['constraint']).' could not be found.';
return "\n - The requested package ".$job['packageName'].$this->constraintToText($job['constraint']).' could not be found.';
}
}