Skip to content

Commit

Permalink
minor #20558 [Doctrine] Use PDO constants in XML configuration exampl…
Browse files Browse the repository at this point in the history
…e (phansys)

This PR was merged into the 7.2 branch.

Discussion
----------

[Doctrine] Use PDO constants in XML configuration example

Follows #20557, in this case for XML.

See symfony/symfony#58035.

I guess this PR should be merged after merging the 7.1 branch.

Commits
-------

c880a88 [Doctrine] Use PDO constants in XML configuration example
  • Loading branch information
javiereguiluz committed Jan 13, 2025
2 parents fefb404 + c880a88 commit 335c2ad
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions reference/configuration/doctrine.rst
Original file line number Diff line number Diff line change
Expand Up @@ -507,9 +507,9 @@ set up the connection using environment variables for the certificate paths:
server-version="8.0.31"
driver="pdo_mysql">
<doctrine:option key="1007">%env(MYSQL_SSL_KEY)%</doctrine:option>
<doctrine:option key="1008">%env(MYSQL_SSL_CERT)%</doctrine:option>
<doctrine:option key="1009">%env(MYSQL_SSL_CA)%</doctrine:option>
<doctrine:option key-type="constant" key="PDO::MYSQL_ATTR_SSL_KEY">%env(MYSQL_SSL_KEY)%</doctrine:option>
<doctrine:option key-type="constant" key="PDO::MYSQL_ATTR_SSL_CERT">%env(MYSQL_SSL_CERT)%</doctrine:option>
<doctrine:option key-type="constant" key="PDO::MYSQL_ATTR_SSL_CA">%env(MYSQL_SSL_CA)%</doctrine:option>
</doctrine:dbal>
</doctrine:config>
</container>
Expand Down

0 comments on commit 335c2ad

Please sign in to comment.