lastdragon-ru / phpunit-xml
PHPUnit XML / XML Schema assertions.
Installs: 0
Dependents: 0
Suggesters: 1
Security: 0
Stars: 0
Watchers: 0
Forks: 0
pkg:composer/lastdragon-ru/phpunit-xml
Requires
- php: ^8.3|^8.4
- ext-dom: *
- ext-libxml: *
- ext-xmlreader: *
- lastdragon-ru/path: 10.1.0
- lastdragon-ru/phpunit-extensions: 10.1.0
- phpunit/phpunit: ^11.3.0|^12.0.0
- symfony/polyfill-php84: ^1.31
Conflicts
- thecodingmachine/safe: <3.0.0
README
PHPUnit XML / XML Schema assertions.
Requirements
| Requirement | Constraint | Supported by |
|---|---|---|
| PHP | ^8.4 |
HEAD ⋯ 10.0.0 |
^8.3 |
HEAD ⋯ 10.0.0 |
|
| PHPUnit | ^12.0.0 |
HEAD ⋯ 10.0.0 |
^11.3.0 |
HEAD , 10.1.0 |
|
^11.2.0 |
10.0.0 |
Installation
Note
The package intended to use in dev.
composer require --dev lastdragon-ru/phpunit-xml
Usage
<?php declare(strict_types = 1); namespace LastDragon_ru\PhpUnit\Xml\Docs\Examples; use LastDragon_ru\PhpUnit\Xml\Assertions; use PHPUnit\Framework\TestCase; /** * @internal */ abstract class Usage extends TestCase { use Assertions; }
Assertions
Assertions::assertXmlMatchesSchema()- Asserts that XML matches schema.
Contributing
Please use the main repository to report issues, send pull requests, or ask questions.