summaryrefslogtreecommitdiff
path: root/ext/dom
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2020-06-19 11:40:31 +0200
committerNikita Popov <nikita.ppv@gmail.com>2020-06-24 09:55:19 +0200
commitc9b9f525a929158736977d6bad938380cad29cc6 (patch)
tree733b4350d1e23c4c40cb2a07c9d1b07762647804 /ext/dom
parentd1ebc3ab2142e6ee05e1c378fd7dcc597dd3442e (diff)
downloadphp-git-c9b9f525a929158736977d6bad938380cad29cc6.tar.gz
Include stub hash in generated arginfo files
The hash is used to check whether the arginfo file needs to be regenerated. PHP-Parser will only be downloaded if this is actually necessary. This ensures that release artifacts will never try to regenerate stubs and thus fetch PHP-Parser, as long as you do not modify any files. Closes GH-5739.
Diffstat (limited to 'ext/dom')
-rw-r--r--ext/dom/php_dom_arginfo.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/dom/php_dom_arginfo.h b/ext/dom/php_dom_arginfo.h
index c7fd0c81df..5e30511118 100644
--- a/ext/dom/php_dom_arginfo.h
+++ b/ext/dom/php_dom_arginfo.h
@@ -1,4 +1,5 @@
-/* This is a generated file, edit the .stub.php file instead. */
+/* This is a generated file, edit the .stub.php file instead.
+ * Stub hash: b5bb577aa2608cc62fa56852ab2433ec03c7fc26 */
ZEND_BEGIN_ARG_WITH_RETURN_OBJ_INFO_EX(arginfo_dom_import_simplexml, 0, 1, DOMElement, 1)
ZEND_ARG_TYPE_INFO(0, node, IS_OBJECT, 0)