Skip to content

Commit 5d4254e

Browse files
committed
minor symfony#8977 Update the DSN format in XML, it should be escaped (pouyana, javiereguiluz)
This PR was merged into the 4.0 branch. Discussion ---------- Update the DSN format in XML, it should be escaped So using the same setting gives ``` Could not load "/var/www/app/phpunit.xml.dist". EntityRef: expecting ';' ``` The DSN should be escaped before added in the XML file. Commits ------- a1486af Removed additional Doctrine config params cbffec3 Update the DSN format in XML, it should be escaped
2 parents e6aa4f0 + a1486af commit 5d4254e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

testing/database.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ To do this, you can override the value of the ``DATABASE_URL`` env var in the
121121
<phpunit>
122122
<php>
123123
<!-- the value is the Doctrine connection string in DSN format -->
124-
<env name="DATABASE_URL" value="mysql://USERNAME:PASSWORD@127.0.0.1/DB_NAME?charset=utf8mb4&serverVersion=5.7" />
124+
<env name="DATABASE_URL" value="mysql://USERNAME:PASSWORD@127.0.0.1/DB_NAME" />
125125
</php>
126126
<!-- ... -->
127127
</phpunit>

0 commit comments

Comments
 (0)