Skip to content

Conversation

@Shine-neko
Copy link
Contributor

@Shine-neko Shine-neko commented Dec 2, 2025

Q A
Branch? 6.4
Bug fix? no
New feature? no
Deprecations? no
License MIT

Fix a PHP 8.5 deprecation warning in the PostgreSQL messenger transport.

In PHP 8.5, PDO::pgsqlGetNotify() is deprecated in favor of the new Pdo\Pgsql::getNotify() method. This change uses instanceof to detect the Pdo\Pgsql class and calls the appropriate method, maintaining backward compatibility with older PHP versions.

@Shine-neko Shine-neko force-pushed the fix-php85-pgsql-deprecation branch from 2953591 to 7b0885e Compare December 2, 2025 15:55
@Shine-neko Shine-neko requested review from derrabus and stof December 2, 2025 18:56
@Shine-neko Shine-neko force-pushed the fix-php85-pgsql-deprecation branch from 7b0885e to 4e6f335 Compare December 4, 2025 20:19
@nicolas-grekas nicolas-grekas modified the milestones: 7.3, 6.4 Dec 4, 2025
@nicolas-grekas nicolas-grekas changed the base branch from 7.4 to 6.4 December 4, 2025 20:27
@nicolas-grekas nicolas-grekas force-pushed the fix-php85-pgsql-deprecation branch from 4e6f335 to 60efbba Compare December 4, 2025 20:27
@nicolas-grekas
Copy link
Member

Thank you @Shine-neko.

@nicolas-grekas nicolas-grekas merged commit 8b4162f into symfony:6.4 Dec 4, 2025
10 of 11 checks passed
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.

5 participants