Skip to content

Deprecate implicit default PGSQL connection #6790

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 1 commit into from
Jul 9, 2021

Conversation

Girgias
Copy link
Member

@Girgias Girgias commented Mar 20, 2021

@Girgias Girgias added the RFC label Mar 20, 2021
@Girgias Girgias force-pushed the pgsql-deprecate-implicit-conn branch from ccfd760 to 9e03cf9 Compare March 20, 2021 16:24
@nikic nikic added this to the PHP 8.1 milestone Jul 8, 2021
@nikic nikic mentioned this pull request Jul 8, 2021
23 tasks
@nikic
Copy link
Member

nikic commented Jul 8, 2021

Needs a rebase

@Girgias Girgias force-pushed the pgsql-deprecate-implicit-conn branch 3 times, most recently from 366924e to 459e298 Compare July 9, 2021 00:02
Copy link
Member

@nikic nikic left a comment

Choose a reason for hiding this comment

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

LGTM, please don't forget the UPGRADING entry.

The DB connection should be provided in all cases as the first argument.
The overloaded function signatures will be removed in the future.
Warn about this change.

Part of https://wiki.php.net/rfc/deprecations_php_8_1.
@Girgias Girgias force-pushed the pgsql-deprecate-implicit-conn branch from 98d61d4 to ce7fe21 Compare July 9, 2021 14:18
@Girgias Girgias merged commit 1f42777 into php:master Jul 9, 2021
@Girgias Girgias deleted the pgsql-deprecate-implicit-conn branch July 9, 2021 21:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants