Code style fix

This commit is contained in:
corpsee 2015-04-30 16:13:55 +06:00
parent fd94e16cb6
commit 02ca67a89e

View file

@ -87,7 +87,12 @@ class BuildStatusController extends \PHPCI\Controller
}
$color = ($status == 'passing') ? 'green' : 'red';
$image = file_get_contents('http://img.shields.io/badge/' . $label . '-' . $status . '-' . $color . '.svg?style=' . $style);
$image = file_get_contents(
'http://img.shields.io/badge/' .
$label . '-' .
$status . '-' .
$color . '.svg?style=' . $style
);
$this->response->disableLayout();
$this->response->setHeader('Content-Type', 'image/svg+xml');