-
-
Notifications
You must be signed in to change notification settings - Fork 163
Add missing hash_file()
and hash_hmac_file()
functions
#694
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add missing hash_file()
and hash_hmac_file()
functions
#694
Conversation
@cedric-anne please remove the |
It is now generated because I fixed the PHP documentation, see php/doc-en#4671. I did not find any other way to add it to earlier PHP versions than adding it to the |
Amazing! 🤩 Well that is the issue the generate command is pinned to a specific commit e.g. PHP 8.1 // PHP documentation is a living document, which broadly reflects
// "the current state of PHP". There is no guarantee that any version
// of the documentation accurately reflects the state of PHP at any
// given time, but these are some best-guess commits that approximately
// match the state of PHP at the time of writing.
$versions = [
"8.1" => "9097ea48f608dbbbf795235a31af82b85bd94430",
"8.2" => "8f4e8cf3de08208e71eb0117f1c970c27e9120c9",
"8.3" => "7453a50321f0834421cebea8edade14deef5466b",
"8.4" => "d553fa36940639b0889ec4358fa3bbb92f123b69",
"8.5" => "master",
]; Due to your change at the docs, the bot was able to clone the repository with |
c74c6ce
to
54d3df1
Compare
Thank you great job! |
There are probably a lot of fixes that could be made in the PHP documentation to use Most of the issues I find recently were find by comparing manually the generated files. If you compare generated files between PHP 8.3 and PHP 8.4, you may detect a lot of remaining issues, for instance on the |
fixes #410
Multiple
hash_*
have the same exact return value documentation. It is therefore not possible to add a specific pattern to thegenerator/config/detectErrorType.php
script to detect specificallyhash_file
andhash_hmac_file
functions.