Skip to content

Commit

Permalink
Updated beberlei/assert to version 3.x.x & PHP min version 7.0 (#32)
Browse files Browse the repository at this point in the history
* Updated beberlei/assert to version 3.x.x
* Minimum PHP Support v7.0
* Moved beberlei/assert to require-dev and added additional directives in composer.json
  • Loading branch information
panosru authored and icanhazstring committed Jan 22, 2019
1 parent 078ca37 commit 54ed942
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
language: php

php:
- 5.6
- 7.0
- 7.1
- 7.2
Expand Down
16 changes: 12 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
"name": "php-deal/framework",
"description": "Design by Contract framework for PHP",
"require": {
"php": ">=5.6.0",
"goaop/framework": "~2.0",
"beberlei/assert": "^2.4"
"php": "~7.0",
"goaop/framework": "~2.0"
},
"require-dev": {
"symfony/console": "~2.7|~3.0",
"phpunit/phpunit": "^5.7"
"phpunit/phpunit": "^5.7",
"beberlei/assert": "~3.0"
},
"license": "MIT",
"authors": [
Expand All @@ -27,5 +27,13 @@
"autoload-dev": {
"psr-0": {"Demo\\": "demo/"},
"psr-4": {"PhpDeal\\": "tests/"}
},
"suggest": {
"beberlei/assert": "Thin assertion library for input validation in business models. Used for tests."
},
"support": {
"issues": "https://github.com/php-deal/framework/issues",
"source": "https://github.com/php-deal/framework",
"docs": "https://github.com/php-deal/framework/blob/master/README.md"
}
}

0 comments on commit 54ed942

Please sign in to comment.