Repository navigation
Conversation
PHP 8.4's PDO understands PostgreSQL dollar-quoted strings, so a "?" or ":name" inside one no longer fails, and the two tests that skipped on PHP 8.3 now always run. - composer.json requires php >=8.4 (lock file hash refreshed). - CI tests PHP 8.4 and 8.5. - Drop the RequiresPhp attributes from GLPDO2PostgreSQLTest. - README and CHANGELOG updated; the PHP 8.3 dollar-quote limit is gone. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
On PHP 8.3, PDO's own SQL scanner doesn't recognise PostgreSQL dollar-quoted strings. A
?or:nameinside$$...$$failed with "mixed named and positional parameters", so two PostgreSQL tests were skipped on 8.3. PHP 8.4's PDO handles dollar quotes, so this raises the minimum version.composer.jsonnow requiresphp >=8.4. The lock file's hash and recorded platform version are refreshed; no dependencies changed.#[RequiresPhp('>= 8.4.0')]attributes are removed fromGLPDO2PostgreSQLTest, so the dollar-quote tests always run.Breaking for PHP 8.3 users: Composer won't install this version for them. Consider releasing it as a new minor version, or as 5.0.0 if a PHP bump counts as breaking.
Testing
composer validatepasses.🤖 Generated with Claude Code