Skip to content

Commit 54ed942

Browse files
panosruicanhazstring
authored andcommitted
Updated beberlei/assert to version 3.x.x & PHP min version 7.0 (#32)
* 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
1 parent 078ca37 commit 54ed942

File tree

2 files changed

+12
-5
lines changed

2 files changed

+12
-5
lines changed

.travis.yml

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

33
php:
4-
- 5.6
54
- 7.0
65
- 7.1
76
- 7.2

composer.json

+12-4
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
"name": "php-deal/framework",
33
"description": "Design by Contract framework for PHP",
44
"require": {
5-
"php": ">=5.6.0",
6-
"goaop/framework": "~2.0",
7-
"beberlei/assert": "^2.4"
5+
"php": "~7.0",
6+
"goaop/framework": "~2.0"
87
},
98
"require-dev": {
109
"symfony/console": "~2.7|~3.0",
11-
"phpunit/phpunit": "^5.7"
10+
"phpunit/phpunit": "^5.7",
11+
"beberlei/assert": "~3.0"
1212
},
1313
"license": "MIT",
1414
"authors": [
@@ -27,5 +27,13 @@
2727
"autoload-dev": {
2828
"psr-0": {"Demo\\": "demo/"},
2929
"psr-4": {"PhpDeal\\": "tests/"}
30+
},
31+
"suggest": {
32+
"beberlei/assert": "Thin assertion library for input validation in business models. Used for tests."
33+
},
34+
"support": {
35+
"issues": "https://github.com/php-deal/framework/issues",
36+
"source": "https://github.com/php-deal/framework",
37+
"docs": "https://github.com/php-deal/framework/blob/master/README.md"
3038
}
3139
}

0 commit comments

Comments
 (0)