From 8611fca2375ac58dba2b861312bd263902c4acaa Mon Sep 17 00:00:00 2001 From: Scrutinizer Auto-Fixer Date: Tue, 2 Feb 2016 22:54:10 +0000 Subject: [PATCH 1/2] Scrutinizer Auto-Fixes This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com --- code/DevTasks.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/code/DevTasks.php b/code/DevTasks.php index 383b637..19cb599 100644 --- a/code/DevTasks.php +++ b/code/DevTasks.php @@ -13,7 +13,9 @@ public function init() { parent::init(); - if (!Permission::check("VIEW_DEVTASKS")) return; + if (!Permission::check("VIEW_DEVTASKS")) { + return; + } $tasks = array( 'devbuild' => array( From 68454735362c7bfe587d7686e6eb805891a67834 Mon Sep 17 00:00:00 2001 From: Myles Beardsmore Date: Wed, 3 Feb 2016 12:11:14 +1300 Subject: [PATCH 2/2] added scrutiniser icon --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index b6e9e7a..1a0dbfa 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,8 @@ Simple SilverStripe module to trigger a dev/build via ajax in the CMS. This will allow you to close that extra tab that we all keep open just for dev/build. +[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/mediabeastnz/silverstripe-fancy-devbuild/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/mediabeastnz/silverstripe-fancy-devbuild/?branch=master) + ## Installation Composer is the recommended way of installing SilverStripe modules. ```