Skip to content

Commit

Permalink
Add support for php7.1 and up.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
icanhazstring committed Jan 27, 2019
1 parent 20f0cef commit 5dd7529
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
language: php

php:
- 7.1
- 7.2
- 7.3

Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "php-deal/framework",
"description": "Design by Contract framework for PHP",
"require": {
"php": "^7.2",
"php": "~7.1",
"goaop/framework": "^2.3"
},
"require-dev": {
Expand All @@ -12,7 +12,7 @@
"roave/security-advisories": "dev-master",
"slevomat/coding-standard": "^4.8",
"squizlabs/php_codesniffer": "^3.4",
"symfony/console": "~2.7|~3.0|~4.0"
"symfony/console": "~3.0|~4.0"
},
"license": "MIT",
"authors": [
Expand Down

0 comments on commit 5dd7529

Please sign in to comment.