From 5d2c1d852e81869b40c9e343985521fdf17e4319 Mon Sep 17 00:00:00 2001 From: Walter Dal Mut Date: Thu, 11 Sep 2014 09:50:53 +0200 Subject: [PATCH] Minor changes on composer --- composer.json | 5 ++++- src/InfluxDB/Client.php | 4 ++-- src/InfluxDB/ClientInterface.php | 11 ----------- 3 files changed, 6 insertions(+), 14 deletions(-) delete mode 100644 src/InfluxDB/ClientInterface.php diff --git a/composer.json b/composer.json index 13851b357..c9db8a5a6 100644 --- a/composer.json +++ b/composer.json @@ -1,9 +1,12 @@ { "name": "corley/influxdb-sdk", - "description": "InfluxDb PHP sdk for send messages", + "license": "MIT", + "description": "Send your app metrics to InfluxDB", "require-dev": { "phpspec/phpspec": "2.*" }, + "homepage": "http://www.corley.it/", + "keywords": ["influxdb", "udp", "sdk"], "authors": [ { "name": "Gianluca Arbezzano", diff --git a/src/InfluxDB/Client.php b/src/InfluxDB/Client.php index 3965b643b..7afed5d2a 100644 --- a/src/InfluxDB/Client.php +++ b/src/InfluxDB/Client.php @@ -20,7 +20,7 @@ class Client implements ClientInterface public function connect() { return $this->getAdapter()->connect(); - } + } public function disconnect() { @@ -29,7 +29,7 @@ class Client implements ClientInterface public function mark($name, array $values) { - $data =[]; + $data =[]; $data['name'] = $name; $data['columns'] = array_keys($values); $data['points'][] = array_values($values); diff --git a/src/InfluxDB/ClientInterface.php b/src/InfluxDB/ClientInterface.php deleted file mode 100644 index 021c5eb2b..000000000 --- a/src/InfluxDB/ClientInterface.php +++ /dev/null @@ -1,11 +0,0 @@ -