Skip to content

Commit 79d9c4d

Browse files
committed
Removed PHP 5.3 from Travis config. Still WTFing error on Travis when locally all is good.
1 parent c0cc6b3 commit 79d9c4d

File tree

4 files changed

+6
-3
lines changed

4 files changed

+6
-3
lines changed

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
language: php
22

33
php:
4-
- 5.3
54
- 5.4
65
- 5.5
76
- 5.6

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
This package is a slightly overengineered Diffbot API wrapper. It uses Guzzle to make API calls. To learn more about Diffbot see [here](http://www.sitepoint.com/tag/diffbot/) and [their homepage](http://diffbot.com).
44
Right now it only supports Analyze, Product, Image and Article APIs, but can also accommodate Custom APIs. Crawlbot, Search and Discussion API support coming soon.
55

6+
## Requirements
7+
8+
Minimum PHP 5.4 because Guzzle needs it.
9+
610
## Install
711

812
Via Composer

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
}
1616
],
1717
"require": {
18-
"php" : ">=5.3.0",
18+
"php" : ">=5.4.0",
1919
"guzzlehttp/guzzle": "~5.0"
2020
},
2121
"require-dev": {

src/Factory/Entity.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ protected function checkResponseFormat(Response $response)
5454
$arr = $response->json();
5555

5656
if (!isset($arr['objects'])) {
57-
throw new \Swader\Diffbot\Exceptions\DiffbotException('Objects property missing - cannot extract entity values');
57+
throw new DiffbotException('Objects property missing - cannot extract entity values');
5858
}
5959

6060
if (!isset($arr['request'])) {

0 commit comments

Comments
 (0)