Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit335c2ad

Browse files
committed
minor#20558 [Doctrine] Use PDO constants in XML configuration example (phansys)
This PR was merged into the 7.2 branch.Discussion----------[Doctrine] Use PDO constants in XML configuration exampleFollows#20557, in this case for XML.Seesymfony/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
2 parentsfefb404 +c880a88 commit335c2ad

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎reference/configuration/doctrine.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -507,9 +507,9 @@ set up the connection using environment variables for the certificate paths:
507507
server-version="8.0.31"
508508
driver="pdo_mysql">
509509
510-
<doctrine:optionkey="1007">%env(MYSQL_SSL_KEY)%</doctrine:option>
511-
<doctrine:optionkey="1008">%env(MYSQL_SSL_CERT)%</doctrine:option>
512-
<doctrine:optionkey="1009">%env(MYSQL_SSL_CA)%</doctrine:option>
510+
<doctrine:optionkey-type="constant"key="PDO::MYSQL_ATTR_SSL_KEY">%env(MYSQL_SSL_KEY)%</doctrine:option>
511+
<doctrine:optionkey-type="constant"key="PDO::MYSQL_ATTR_SSL_CERT">%env(MYSQL_SSL_CERT)%</doctrine:option>
512+
<doctrine:optionkey-type="constant"key="PDO::MYSQL_ATTR_SSL_CA">%env(MYSQL_SSL_CA)%</doctrine:option>
513513
</doctrine:dbal>
514514
</doctrine:config>
515515
</container>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp