From 74be8424efc7ecf67b058b06e9380142a424aff6 Mon Sep 17 00:00:00 2001 From: Flc Date: Sat, 12 Aug 2017 10:47:48 +0800 Subject: [PATCH 1/3] fixed current --- src/Alidayu/Client.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Alidayu/Client.php b/src/Alidayu/Client.php index d51210f..752a9ba 100644 --- a/src/Alidayu/Client.php +++ b/src/Alidayu/Client.php @@ -126,7 +126,7 @@ protected function parseRep($response) $resp = json_decode($response); if (false !== $resp) { - $resp = current($resp); + $resp = @current($resp); } } From 19b1cf4496540d0b417dbf6937ce2f79ad75c80e Mon Sep 17 00:00:00 2001 From: Flc Date: Sat, 12 Aug 2017 10:53:17 +0800 Subject: [PATCH 2/3] update readme --- README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 5c247dd..051eecb 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,18 @@ # 阿里大于(鱼) - v2.0 -![build=passing](https://img.shields.io/badge/build-passing-brightgreen.svg?maxAge=2592000) [![composer](https://img.shields.io/badge/composer-flc/alidayu-yellowgreen.svg?maxAge=2592000)](https://packagist.org/packages/flc/alidayu) [![tag=v2.0.5](https://img.shields.io/badge/tag-v2.0.5-yellow.svg?maxAge=2592000)](https://github.com/flc1125/alidayu/archive/v2.0.5.zip) ![php>=5.4](https://img.shields.io/badge/php->%3D5.4-orange.svg?maxAge=2592000) [![license=MIT](https://img.shields.io/badge/license-MIT-blue.svg?maxAge=2592000)](https://github.com/flc1125/alidayu/blob/master/LICENSE) +[![Latest Stable Version](https://poser.pugx.org/flc/alidayu/v/stable)](https://packagist.org/packages/flc/alidayu) +[![Total Downloads](https://poser.pugx.org/flc/alidayu/downloads)](https://packagist.org/packages/flc/alidayu) +![php>=5.4](https://img.shields.io/badge/php->%3D5.4-orange.svg?maxAge=2592000) +[![License](https://poser.pugx.org/flc/alidayu/license)](https://packagist.org/packages/flc/alidayu) > `v2.0`不支持从`v1.0`直接升级,请抛弃`v1.0` ## 更新 +#### v2.0.6 (2017-08-12) + +- fixed #6 + #### v2.0.5 (2017-01-25) - 修复autoload.php https://github.com/flc1125/alidayu/issues/5 From 11eb2590140a6ef92404d74d6f7fa9de92555926 Mon Sep 17 00:00:00 2001 From: Flc Date: Sat, 12 Aug 2017 10:54:44 +0800 Subject: [PATCH 3/3] update readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 051eecb..65d79bb 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ #### v2.0.6 (2017-08-12) -- fixed #6 +- fixed [#6](https://github.com/flc1125/alidayu/issues/6) #### v2.0.5 (2017-01-25)