Skip to content

Commit 9f7f98e

Browse files
committed
Drop support for PHP 5.6, 7.0 and hhvm
Replace use of PHPUnit_Framework_Assert by PHPUnit\Framework\Assert. Call $node->name->toString() since $node->name is now an Identifier object (per PHP-Parser 4). Do not add anonymous classes to the registry. Replace $parameter->name by $parameter->var->name (per PHP-Parser 4).
1 parent 4a545c5 commit 9f7f98e

26 files changed

+866
-480
lines changed

.travis.yml

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
language: php
22

33
php:
4-
- 5.6
5-
- 7.0
6-
- 7.1
74
- 7.2
85
- 7.3
9-
- hhvm
6+
- 7.4
107

118
sudo: false
129

composer.json

+7-7
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,17 @@
2020
"issues": "https://github.com/tomzx/php-semver-checker/issues"
2121
},
2222
"require": {
23-
"php": ">=5.6.0",
23+
"php": ">=7.2.29",
2424

25-
"hassankhan/config": "^0.11",
26-
"nikic/php-parser": "^3.1",
27-
"symfony/console": "^2.7|^3.0|^4.0",
28-
"symfony/yaml": "^2.7|^3.0|^4.0",
25+
"hassankhan/config": "^2.0",
26+
"nikic/php-parser": "^4.0",
27+
"symfony/console": "^4.0",
28+
"symfony/yaml": "^4.0",
2929
"tomzx/finder": "^0.1"
3030
},
3131
"require-dev": {
3232
"mockery/mockery": "^1.0",
33-
"phpunit/phpunit": "^4.0|^5.0"
33+
"phpunit/phpunit": "^7.0|^8.0"
3434
},
3535
"bin": [
3636
"bin/php-semver-checker"
@@ -47,7 +47,7 @@
4747
},
4848
"config": {
4949
"platform": {
50-
"php": "5.6.0"
50+
"php": "7.2.29"
5151
}
5252
},
5353
"extra": {

0 commit comments

Comments
 (0)