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/simple-validator": "v1.0.0",
"fguillot/json-rpc": "v1.0.2", "fguillot/json-rpc": "v1.0.2",
"fguillot/picodb": "v1.0.2", "fguillot/picodb": "v1.0.2",
"fguillot/picofeed": "v0.1.13" "fguillot/picofeed": "v0.1.14"
}, },
"require-dev": { "require-dev": {
"phpunit/phpunit": "4.8.3", "phpunit/phpunit": "4.8.3",

View File

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

View File

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