-
Notifications
You must be signed in to change notification settings - Fork 756
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
Document missing classes #2162
Comments
Yay, Maybe @TimWolla wants to tackle |
I can write the description, but I need someone more experienced to bootstrap the docs for me. I've tried |
@TimWolla as soon aa docgen created the file, you can run gen_stub.php on it (with --replace-classsynopses) and it will fix the signature. |
I've tried The docgen results are:
|
@TimWolla yes, you are missing a parameter: after the --replace.... You need the stub path(s) in php-src. And the very last parameter is for the doc-en path. |
Thanks, that did something. |
LibXMLError is already documented as libXMLError. Is that OK or should one of those be changed to match the spelling of the other? |
We should fix the name in the docs to match what the stubs is, which is |
Thanks for the finding! I've just filed #3063 to fix the issue with the spelling. |
All missing classes have been documented 🎆 |
Sorry, I have to reopen the issue as in the meanwhile (since PHP 8.2) a few other newly added classes became undocumented. |
I would write the docs for IntervalBoundary, but that has the problem that it's the first native enum and I believe PHD cannot yet do enums. |
Uhh, that's a problem indeed. Then I'll try to implement it both at gen_stub.php's and phd's side... |
The issue is that we are using an outdated version of DocBooks, and the new enum synopsis tag is only available in the newest prerelease of Docbook 5.2. When I get back to the UK next week I will try to finalize the migrations for the markup of classes in the current documentations so that one can update the DocBook version. |
Ah, I completely forgot that you have already been working on this topic. Then I'll leave it up to you to fix phd. :) And I can provide a PR for gen_stub.php if needed. |
What's the status with enum rendering? |
I'm going to work on this again now, as I've given up on trying to not give huge amount of work to already über outdated translations. |
Currently, the following internal classes are not yet documented:
SensitiveParameterValue
(Add SensitiveParameterValue documentation #2165)ClosedGeneratorException
(Add ClosedGeneratorException to docs #3065/Document ClosedGeneratorException #2997)com_safearray_proxy
(Add com_safearray_proxy to docs #3066)DOMNameSpaceNode
(Add DOMNameSpaceNode class to docs #3060)LibXMLError
(Fix LibXMLError class name #3063)PDORow
(Add PDORow class to docs #3059)The following internal classes are going to be undocumented as soon as PHP 8.4 is released:
The text was updated successfully, but these errors were encountered: