Skip to content

Commit 0a1ab5e

Browse files
committed
set minimum PHP version to 5.6
1 parent d03f83b commit 0a1ab5e

File tree

4 files changed

+4
-8
lines changed

4 files changed

+4
-8
lines changed

.travis.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ language: php
22

33
matrix:
44
include:
5-
- php: 5.4
6-
- php: 5.5
75
- php: 5.6
86
- php: 7.0
97
- php: 7.1

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@
1010
This library is a _pure PHP_ implementation of the [AMQP 0-9-1 protocol](http://www.rabbitmq.com/tutorials/amqp-concepts.html).
1111
It's been tested against [RabbitMQ](http://www.rabbitmq.com/).
1212

13-
**Requirements: PHP 5.3** due to the use of `namespaces`.
14-
1513
**Requirements: bcmath extension** This library utilizes the bcmath PHP extension. The installation steps vary per PHP version and the underlying OS. The following example shows how to add to an existing PHP installation on Ubuntu 15.10:
1614

1715
```bash

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,13 @@
2929
}
3030
],
3131
"require": {
32-
"php": ">=5.4.0",
32+
"php": ">=5.6",
3333
"ext-bcmath": "*",
3434
"ext-sockets": "*"
3535
},
3636
"require-dev": {
3737
"ext-curl": "*",
38-
"phpunit/phpunit": "^4.8",
38+
"phpunit/phpunit": "^4.8|^5.7",
3939
"squizlabs/php_codesniffer": "^2.5",
4040
"phpdocumentor/phpdocumentor": "^2.9",
4141
"nategood/httpful": "^0.2.20"
@@ -54,7 +54,7 @@
5454
"license": "LGPL-2.1-or-later",
5555
"extra": {
5656
"branch-alias": {
57-
"dev-master": "2.8-dev"
57+
"dev-master": "2.10-dev"
5858
}
5959
}
6060
}

docker/php/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM php:5.4-cli
1+
FROM php:5.6-cli
22

33
RUN apt update && \
44
apt -qy install git unzip zlib1g-dev && \

0 commit comments

Comments
 (0)