Skip to content

Comments

Make options check strict again#7141

Merged
derrabus merged 1 commit intodoctrine:4.3.xfrom
derrabus:improvement/pdo-pgsql-strict-attr
Sep 4, 2025
Merged

Make options check strict again#7141
derrabus merged 1 commit intodoctrine:4.3.xfrom
derrabus:improvement/pdo-pgsql-strict-attr

Conversation

@derrabus
Copy link
Member

@derrabus derrabus commented Sep 4, 2025

Q A
Type bug
Fixed issues N/A

Summary

While merging up the changes from #7132, I noticed that the new code is in fact a little less strict than the old one. Previously, we required the PDO::PGSQL_ATTR_DISABLE_PREPARES option to be set to true while after the change we would accept any truthy value. I don't think that it's a big deal, but I also believe that this change was not intended. Thus, I'm restoring the old behavior.

@derrabus derrabus added this to the 3.10.2 milestone Sep 4, 2025
@derrabus derrabus merged commit 20a994a into doctrine:4.3.x Sep 4, 2025
92 checks passed
@derrabus derrabus deleted the improvement/pdo-pgsql-strict-attr branch September 4, 2025 23:39
derrabus added a commit that referenced this pull request Sep 4, 2025
* 4.3.x:
  Make options check strict again
  Make options check strict again (#7141)
derrabus added a commit to derrabus/dbal that referenced this pull request Sep 4, 2025
* 4.4.x:
  Make options check strict again
  Make options check strict again (doctrine#7141)
  Remove obsolete upgrade note (doctrine#7138)
  Document the PDO subclasses backport (doctrine#7137)
  Downgrade PHP for the DB2 workflow (doctrine#7134)
  Workaround for MySQL 8.4 and unknown users (doctrine#7136)
  Leverage PHP 8.4 PDO classes, fix PHP 8.5 deprecation (doctrine#7132)
  Run tests on MySQL 8.4 LTS and 9.4 (doctrine#7133)
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.

1 participant