Skip to content

Regenerate ext/mysqli class and method synopses from stubs #1271

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

Merged
merged 5 commits into from
Dec 28, 2021

Conversation

kocsismate
Copy link
Member

Follow-up to #301

@@ -0,0 +1,57 @@
<?xml version="1.0" encoding="utf-8"?>
Copy link
Member Author

@kocsismate kocsismate Dec 28, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This documentation is incomplete, so any help is welcome

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's very little point in documenting this as it's not really usable on its own. But if we are documenting, can you make an entry in the versions.xml file, please?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In my opinion, it is very import to document that this is not usable on its own (and that it's only meaninful for internal usage).

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Alright, I'll try to come up with a suitable description (I was't aware that the constructor is not usable on its own until now).

@@ -40,7 +40,7 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Returns an object.
Returns &null; on success, &return.falseforfailure;.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Both are correct. We should keep both or maybe just split the page into two separate entries.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ahh, I didn't realize that both the procedural and the OOP version is documented on the same page. I'll simply keep both for now, and then a followup fix can do further changes.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, that's a mess, but splitting into multiple pages might not the best solution, either.

@@ -0,0 +1,57 @@
<?xml version="1.0" encoding="utf-8"?>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's very little point in documenting this as it's not really usable on its own. But if we are documenting, can you make an entry in the versions.xml file, please?

kocsismate and others added 2 commits December 28, 2021 17:49
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>
Copy link
Member

@kamil-tekiela kamil-tekiela left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. I don't see any other issues.

@kocsismate kocsismate merged commit b06b3f1 into php:master Dec 28, 2021
@kocsismate kocsismate deleted the mysqli-stubs2 branch December 28, 2021 21:36
@kocsismate
Copy link
Member Author

Thank you for the review!

tiffany-taylor pushed a commit to tiffany-taylor/doc-en that referenced this pull request Jan 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants