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

Amend PDO driver-specific class names #14069

Merged
merged 2 commits into from
May 30, 2024

Conversation

kocsismate
Copy link
Member

@SakiTakamachi
Copy link
Member

If Tim's RFC is passed, the PDO class could become the Pdo class.
https://wiki.php.net/rfc/class-naming-acronyms

In that case the stub would look like this:

class Dblib extends PDO

to

class Dblib extends Pdo

This may not happen due to backward compatibility issues, but I'd like to comment as a memorandum.

@kocsismate
Copy link
Member Author

Was there any conclusion in the thread? It would be nice if we could implement these changes.

@SakiTakamachi
Copy link
Member

I haven't received a response so I'll try emailing again.

@SakiTakamachi
Copy link
Member

@kocsismate

It's been a week since I sent the email, and so far there have been no objections.

In my opinion, it's ok to merge this, but should we wait a bit longer?

Copy link
Member

@devnexen devnexen left a comment

Choose a reason for hiding this comment

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

pdo_pgsql looks good

@kocsismate kocsismate merged commit 6ec4220 into php:master May 30, 2024
10 of 11 checks passed
@kocsismate kocsismate deleted the pdo-subclass-amendment branch May 30, 2024 18:15
@TimWolla
Copy link
Member

@kocsismate You'll also need to adjust the names in NEWS/UPGRADING.

@kocsismate
Copy link
Member Author

@TimWolla Yeah, I know I forgot, but it's going to be fixed soon: #14299 (comment)

Ayesh added a commit to Ayesh/php-src that referenced this pull request Jun 2, 2024
Ayesh added a commit to Ayesh/php-src that referenced this pull request Jun 2, 2024
Follow-up to phpGH-14069.

Signed-off-by: Ayesh Karunaratne <ayesh@aye.sh>
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.

None yet

5 participants