Skip to content

Commit a68175f

Browse files
committed
Switch from zendframework/zend-dom to laminas/laminas-dom
Fixes #16.
1 parent 545ce29 commit a68175f

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
66

77
## [Unreleased]
88

9+
* Replace `zendframework/zend-dom` with `laminas/laminas-dom` ([#16]).
910
* Update Composer dependencies, add a `composer test` script ([#15]).
1011

1112
## [1.2.0] - 2018-03-27
@@ -34,3 +35,4 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
3435
[#9]: https://github.com/stevegrunwell/phpunit-markup-assertions/issues/9
3536
[#13]: https://github.com/stevegrunwell/phpunit-markup-assertions/issues/13
3637
[#15]: https://github.com/stevegrunwell/phpunit-markup-assertions/pull/15
38+
[#16]: https://github.com/stevegrunwell/phpunit-markup-assertions/issues/16

composer.json

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"source": "https://github.com/stevegrunwell/phpunit-markup-assertions/"
1616
},
1717
"require": {
18-
"zendframework/zend-dom": "^2.7"
18+
"laminas/laminas-dom": "^2.7"
1919
},
2020
"require-dev": {
2121
"phpunit/phpunit": "^6.0"
@@ -45,9 +45,6 @@
4545
"config": {
4646
"preferred-install": "dist",
4747
"sort-packages": true,
48-
"optimize-autoloader": true,
49-
"platform": {
50-
"php": "7.2"
51-
}
48+
"optimize-autoloader": true
5249
}
5350
}

src/MarkupAssertionsTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
namespace SteveGrunwell\PHPUnit_Markup_Assertions;
1010

1111
use DOMDocument;
12+
use Laminas\Dom\Query;
1213
use PHPUnit\Framework\RiskyTestError;
13-
use Zend\Dom\Query;
1414

1515
trait MarkupAssertionsTrait
1616
{

0 commit comments

Comments
 (0)