Add libxml extension wrapper for composer compatibility (#463)

* Add libxml extension wrapper for compatibility

* Add tests
This commit is contained in:
Jerry Ma 2024-05-29 14:30:31 +08:00 committed by GitHub
parent 968b3acbce
commit af8204fbf0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 13 additions and 3 deletions

View File

@ -278,6 +278,16 @@
"openssl"
]
},
"libxml": {
"support": {
"BSD": "wip"
},
"type": "builtin",
"arg-type": "none",
"ext-depends": [
"xml"
]
},
"mbregex": {
"type": "builtin",
"arg-type": "custom",

View File

@ -11,12 +11,12 @@ declare(strict_types=1);
// --------------------------------- edit area ---------------------------------
$zts = true;
$zts = false;
// If you want to test your added extensions and libs, add below (comma separated, example `bcmath,openssl`).
$extensions = match (PHP_OS_FAMILY) {
'Linux', 'Darwin' => 'parallel',
'Windows' => 'mbstring,pdo_sqlite,mbregex,parallel',
'Linux', 'Darwin' => 'libxml',
'Windows' => 'mbstring,pdo_sqlite,mbregex,libxml',
};
// If you want to test lib-suggests feature with extension, add them below (comma separated, example `libwebp,libavif`).