Skip to content

Commit 5dd7529

Browse files
committed
Add support for php7.1 and up.
This is to add return type and type hinting support. Everything above is optional. This way we can make sure, we only get the correct types without the need to check them. Also drop symfony/console 2 support for dev requirements.
1 parent 20f0cef commit 5dd7529

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.travis.yml

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
language: php
22

33
php:
4+
- 7.1
45
- 7.2
56
- 7.3
67

composer.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "php-deal/framework",
33
"description": "Design by Contract framework for PHP",
44
"require": {
5-
"php": "^7.2",
5+
"php": "~7.1",
66
"goaop/framework": "^2.3"
77
},
88
"require-dev": {
@@ -12,7 +12,7 @@
1212
"roave/security-advisories": "dev-master",
1313
"slevomat/coding-standard": "^4.8",
1414
"squizlabs/php_codesniffer": "^3.4",
15-
"symfony/console": "~2.7|~3.0|~4.0"
15+
"symfony/console": "~3.0|~4.0"
1616
},
1717
"license": "MIT",
1818
"authors": [

0 commit comments

Comments
 (0)