Skip to content

Commit 3b060af

Browse files
committed
Set minimum version to PHP 7.1
1 parent c4bc620 commit 3b060af

File tree

6 files changed

+11
-11
lines changed

6 files changed

+11
-11
lines changed

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ language: php
66
sudo: false
77

88
php:
9-
- "7.0"
10-
- "5.6"
11-
- "5.5"
9+
- "7.3"
10+
- "7.2"
11+
- "7.1"
1212
- hhvm
1313
- nightly
1414

CHANGELOG

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
codebird-php - changelog
22
========================
33

4-
3.2.0 (not yet released)
4+
4.0.0 (not yet released)
55
+ #161 Update oembed API method endpoint
66
+ Update to Twitter Ads API Version 1
77
+ Add Ads API POST tailored_audience_memberships method

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
2323

2424
### Requirements
2525

26-
- PHP 5.5.0 or higher
26+
- PHP 7.1.0 or higher
2727
- OpenSSL extension
2828

2929

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"Joshua Atkins <joshua.atkins@jublo.net>",
77
"J.M. <jm@jublo.net>"
88
],
9-
"description": "Easy access to the Twitter REST API, Collections API, Streaming API, TON (Object Nest) API and Twitter Ads API — all from one PHP library.",
9+
"description": "Easy access to the Twitter REST, Direct Messages, Account Activity, TON (Object Nest) and Twitter Ads API — all from one PHP library.",
1010
"main": "src/codebird.php",
1111
"moduleType": [],
1212
"keywords": [

src/codebird.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
* A Twitter library in PHP.
77
*
88
* @package codebird
9-
* @version 3.2.0-beta.1
9+
* @version 4.0.0-beta.1
1010
* @author Jublo Limited <support@jublo.net>
11-
* @copyright 2010-2017 Jublo Limited <support@jublo.net>
11+
* @copyright 2010-2018 Jublo Limited <support@jublo.net>
1212
* @license https://opensource.org/licenses/GPL-3.0 GNU General Public License 3.0
1313
* @link https://github.com/jublonet/codebird-php
1414
*/
@@ -549,7 +549,7 @@ class Codebird
549549
/**
550550
* The current Codebird version
551551
*/
552-
protected static $_version = '3.2.0-beta.1';
552+
protected static $_version = '4.0.0-beta.1';
553553

554554
/**
555555
* The Request or access token. Used to sign requests

test/environment_test.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ class Environment_Test extends \PHPUnit\Framework\TestCase
2525
public function testPhpVersion()
2626
{
2727
$this->assertTrue(
28-
version_compare('5.5', phpversion(), '<='),
29-
'Codebird requires PHP 5.5 or above'
28+
version_compare('7.1', phpversion(), '<='),
29+
'Codebird requires PHP 7.1 or above'
3030
);
3131
}
3232

0 commit comments

Comments
 (0)