-
Notifications
You must be signed in to change notification settings - Fork 1
PHP Storm integration PHP Unit
Nils Wogatzky edited this page Apr 14, 2018
·
1 revision
To integrate PHPUnit with droxy, you can just take the basic php config, with one expansion.
To enable sharing code coverage reports from docker to PHPStorm you need to mount your home dir or more preciseley the .PHPStorm folder in your ${HOME} directory.
droxy.toml
Version="1"
[[command]]
name="php7.2"
image="php7.2"
removeContainer=true
volumes=[
"/tmp:/tmp",
"/home/user/project_dir:/home/user/project_dir",
"/home/user/.PHPStorm2018.1:/home/user/project_dir"
]
replaceArgs=[
[
"-dxdebug.remote_host=127.0.0.1",
"-dxdebug.remote_host=172.17.0.1",
]
]
envvars=[
"XDEBUG_CONFIG=${XDEBUG_CONFIG}"
]