diff --git a/config/ext.json b/config/ext.json index ed55386e..c9ecf0ec 100644 --- a/config/ext.json +++ b/config/ext.json @@ -17,6 +17,10 @@ "type": "external", "source": "apcu" }, + "ast": { + "type": "external", + "source": "ast" + }, "bcmath": { "type": "builtin" }, diff --git a/config/source.json b/config/source.json index 283561ca..53bb3913 100644 --- a/config/source.json +++ b/config/source.json @@ -26,6 +26,16 @@ "path": "LICENSE" } }, + "ast": { + "type": "url", + "url": "https://pecl.php.net/get/ast", + "path": "php-src/ext/ast", + "filename": "ast.tgz", + "license": { + "type": "file", + "path": "LICENSE" + } + }, "brotli": { "type": "ghtar", "repo": "google/brotli", diff --git a/src/globals/ext-tests/ast.php b/src/globals/ext-tests/ast.php new file mode 100644 index 00000000..4e53c872 --- /dev/null +++ b/src/globals/ext-tests/ast.php @@ -0,0 +1,5 @@ + 'openssl', - 'Windows' => 'openssl', + 'Linux', 'Darwin' => 'ast', + 'Windows' => 'ast', }; // If you want to test lib-suggests feature with extension, add them below (comma separated, example `libwebp,libavif`).