Skip to content
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

Generated Spoofchecker docs don't include stubs restricted by define #2283

Closed
othercorey opened this issue Feb 9, 2023 · 1 comment
Closed

Comments

@othercorey
Copy link
Contributor

The stub for Spoofchecker::setRestrictionLevel() exists but doesn't seem to be included in the docs.

#if U_ICU_VERSION_MAJOR_NUM >= 58
    /** @tentative-return-type */
    public function setRestrictionLevel(int $level): void {}
#endif

https://github.com/php/php-src/blob/master/ext/intl/spoofchecker/spoofchecker.stub.php#L96-L99

Do we need to manually add the file or are they generated by a script that needs to be udpated?

https://www.php.net/manual/en/class.spoofchecker

@othercorey
Copy link
Contributor Author

othercorey commented Feb 9, 2023

Closing as I see a PR was opened for this surprisingly. #2274

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant