Commit f23fc80
authored
Match host PHP version to Docker (8.2) to fix blackbox tests (#200)
composer install on the host (PHP 8.4) pulls doctrine/instantiator 2.x
which uses typed constants (PHP 8.3+ feature). Since the blackbox tests
run inside a PHP 8.2 Docker container, the mock of \Redis triggers a
parse error when loading doctrine/instantiator.
Use PHP 8.2 on the host so Composer resolves dependencies compatible
with the Docker runtime.
Signed-off-by: Simon Podlipsky <simon@podlipsky.net>1 parent d52fac3 commit f23fc80
1 file changed
Lines changed: 1 addition & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
45 | | - | |
46 | | - | |
0 commit comments