Skip to content

Commit 4b35857

Browse files
authored
update dependency libs (#7)
* update packages * modify ci check php version * support php7.0
1 parent 8d327f2 commit 4b35857

4 files changed

Lines changed: 9 additions & 8 deletions

File tree

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ php:
66
- 7.0
77
- 7.1
88
- 7.2
9-
- nightly
9+
- 7.3
10+
- 7.4
1011

1112
before_script:
1213
- composer self-update

composer.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@
1515
],
1616
"require": {
1717
"php": ">=7.0",
18-
"ramsey/uuid": "^3.7",
18+
"ramsey/uuid": "^4.0 || ^3.0",
1919
"moneyphp/money": "^3.1",
20-
"marc-mabe/php-enum": "^3.0",
21-
"zendframework/zend-validator": "^2.10",
22-
"league/geotools": "^0.8"
20+
"marc-mabe/php-enum": "^4.0 || ^3.0",
21+
"league/geotools": "^0.8",
22+
"laminas/laminas-validator": "^2.0"
2323
},
2424
"require-dev": {
25-
"phpunit/phpunit": "^6.5.8",
25+
"phpunit/phpunit": "^7.0.0 || ^6.0.0 ",
2626
"php-coveralls/php-coveralls": "^2.1.0",
2727
"phpmd/phpmd": "@stable",
2828
"squizlabs/php_codesniffer": "~2.7",

src/Web/Hostname.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
namespace ValueObjects\Web;
1818

1919
use ValueObjects\Exception\InvalidNativeArgumentException;
20-
use Zend\Validator\Hostname as Validator;
20+
use Laminas\Validator\Hostname as Validator;
2121

2222
/**
2323
* Class Hostname.

tests/Number/RealTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public function testToNatural()
7070
$this->assertTrue($natural->sameValueAs($nativeNatural));
7171
}
7272

73-
public function testToString($expectedString = '.7')
73+
public function testToString($expectedString = '0.7')
7474
{
7575
$real = new Real(.7);
7676
$this->assertEquals($expectedString, $real->__toString());

0 commit comments

Comments
 (0)