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

Appearance settings

Commit 6bea098

Browse filesBrowse files
committed
minor #9815 Adding quotes to a server_version on an example just after explanation why are necessary (sergiosusa)
This PR was submitted for the 4.0 branch but it was merged into the 2.7 branch instead (closes #9815). Discussion ---------- Adding quotes to a server_version on an example just after explanation why are necessary just adding some quotes to server_version, couple of lines before is explained this: "Always wrap the server version number with quotes to parse it as a string instead of a float number" Commits ------- 3db34d4 Update doctrine.rst
2 parents 534bdc5 + 3db34d4 commit 6bea098
Copy full SHA for 6bea098

File tree

1 file changed

+2
-2
lines changed
Filter options

1 file changed

+2
-2
lines changed

‎reference/configuration/doctrine.rst

Copy file name to clipboardExpand all lines: reference/configuration/doctrine.rst
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -389,13 +389,13 @@ If you want to configure multiple connections in YAML, put them under the
389389
user: root
390390
password: null
391391
host: localhost
392-
server_version: 5.6
392+
server_version: '5.6'
393393
customer:
394394
dbname: customer
395395
user: root
396396
password: null
397397
host: localhost
398-
server_version: 5.7
398+
server_version: '5.7'
399399
400400
The ``database_connection`` service always refers to the *default* connection,
401401
which is the first one defined or the one configured via the

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.