Update picofeed to fix php notice

This commit is contained in:
Frederic Guillot 2015-10-21 19:42:11 -04:00
parent 871de74279
commit 5947ab9adc
3 changed files with 8 additions and 8 deletions

View File

@ -14,7 +14,7 @@
"fguillot/simple-validator": "v1.0.0",
"fguillot/json-rpc": "v1.0.2",
"fguillot/picodb": "v1.0.2",
"fguillot/picofeed": "v0.1.13"
"fguillot/picofeed": "v0.1.14"
},
"require-dev": {
"phpunit/phpunit": "4.8.3",

View File

@ -116,17 +116,17 @@
},
{
"name": "fguillot/picofeed",
"version": "v0.1.13",
"version_normalized": "0.1.13.0",
"version": "v0.1.14",
"version_normalized": "0.1.14.0",
"source": {
"type": "git",
"url": "https://github.com/fguillot/picoFeed.git",
"reference": "84d9ee64df8596153ba080bd2436b333507aadba"
"reference": "4cff44c2b67888ab4d5bc9ce57b5777e15818efc"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/fguillot/picoFeed/zipball/84d9ee64df8596153ba080bd2436b333507aadba",
"reference": "84d9ee64df8596153ba080bd2436b333507aadba",
"url": "https://api.github.com/repos/fguillot/picoFeed/zipball/4cff44c2b67888ab4d5bc9ce57b5777e15818efc",
"reference": "4cff44c2b67888ab4d5bc9ce57b5777e15818efc",
"shasum": ""
},
"require": {
@ -140,7 +140,7 @@
"suggest": {
"ext-curl": "PicoFeed will use cURL if present"
},
"time": "2015-10-20 01:48:56",
"time": "2015-10-21 23:38:45",
"bin": [
"picofeed"
],

View File

@ -60,7 +60,7 @@ class HttpHeaders implements ArrayAccess
if (strpos($line, 'HTTP/1') === 0) {
$headers = array();
$status = (int) substr($line, 9, 3);
} elseif (strpos($line, ':') !== false) {
} elseif (strpos($line, ': ') !== false) {
list($name, $value) = explode(': ', $line);
if ($value) {
$headers[trim($name)] = trim($value);