Skip to content

Instantly share code, notes, and snippets.

@funivan
Created March 19, 2020 07:30
Show Gist options
  • Select an option

  • Save funivan/9075628d4bc21da7707010f2a17dc55e to your computer and use it in GitHub Desktop.

Select an option

Save funivan/9075628d4bc21da7707010f2a17dc55e to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)"
docker run --rm -v "$SCRIPT_DIR":/app \
-w "/app" \
-it "mileschou/xdebug:7.4" \
"./vendor/bin/phpunit"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment