From 02a830b5d710b5af2217b6667d937c4fdd5c4508 Mon Sep 17 00:00:00 2001 From: Marcel Pociot Date: Sun, 23 Jul 2017 20:54:31 +0200 Subject: [PATCH 1/2] Apply fixes from StyleCI (#1) --- stubs/hipchat.php | 2 +- tests/HipChatDriverTest.php | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/stubs/hipchat.php b/stubs/hipchat.php index fcf082c..6dd5216 100644 --- a/stubs/hipchat.php +++ b/stubs/hipchat.php @@ -12,4 +12,4 @@ */ 'urls' => env('HIPCHAT_URLS'), -]; \ No newline at end of file +]; diff --git a/tests/HipChatDriverTest.php b/tests/HipChatDriverTest.php index 918d6b9..922fe0f 100644 --- a/tests/HipChatDriverTest.php +++ b/tests/HipChatDriverTest.php @@ -204,7 +204,7 @@ public function it_is_configured() $driver = new HipChatDriver($request, [ 'hipchat' => [ 'urls' => ['1', '2'], - ] + ], ], $htmlInterface); $this->assertTrue($driver->isConfigured()); @@ -212,7 +212,7 @@ public function it_is_configured() $driver = new HipChatDriver($request, [ 'hipchat' => [ 'urls' => [], - ] + ], ], $htmlInterface); $this->assertFalse($driver->isConfigured()); @@ -224,7 +224,7 @@ public function it_is_configured() $driver = new HipChatDriver($request, [ 'hipchat' => [ 'urls' => [''], - ] + ], ], $htmlInterface); $this->assertFalse($driver->isConfigured()); From 6e07da576a56e72e56aeb6f5bef88358ad34e640 Mon Sep 17 00:00:00 2001 From: Marcel Pociot Date: Sun, 23 Jul 2017 20:58:13 +0200 Subject: [PATCH 2/2] Update README.md --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 2a5b94c..daaa156 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,11 @@ BotMan driver to connect HipChat with [BotMan](https://github.com/botman/botman) +[![Latest Version on Packagist](https://img.shields.io/packagist/v/botman/driver-hipchat.svg?style=flat-square)](https://packagist.org/packages/botman/driver-hipchat) +[![Build Status](https://travis-ci.org/botman/driver-hipchat.svg?branch=master)](https://travis-ci.org/botman/driver-hipchat) +[![codecov](https://codecov.io/gh/botman/driver-hipchat/branch/master/graph/badge.svg)](https://codecov.io/gh/botman/driver-hipchat) + + ## Contributing Please see [CONTRIBUTING](CONTRIBUTING.md) for details. @@ -13,4 +18,4 @@ If you discover a security vulnerability within BotMan, please send an e-mail to ## License BotMan is free software distributed under the terms of the MIT license. - \ No newline at end of file +