Commit 8e50933
authored
Server version should be specified as a string
If the server version is specified without quotes like this:
```yml
server_version: 5.6
```
The resulting compiled container will contain the value
```php
->createConnection(
...
'serverVersion' => 5.5999999999999996447286321199499070644378662109375,
...
)
```
This is a result of floating-point representation issues. Quoting the value will avoid that and will deliver the string `'5.6'` to the `version_compare` function, as it's expecting.1 parent 29701f1 commit 8e50933
1 file changed
+8
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
312 | 312 | | |
313 | 313 | | |
314 | 314 | | |
315 | | - | |
| 315 | + | |
316 | 316 | | |
317 | 317 | | |
318 | 318 | | |
| |||
362 | 362 | | |
363 | 363 | | |
364 | 364 | | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
365 | 372 | | |
366 | 373 | | |
367 | 374 | | |
| |||
0 commit comments