docs(readme): fix phpunit command paths

There is no bin/phpunit (only bin/console) — the binary lives at
vendor/bin/phpunit, matching CLAUDE.md's documented commands.
This commit is contained in:
2026-07-11 16:46:47 +02:00
parent b3dc7a2298
commit bce564d68b
+5 -5
View File
@@ -175,7 +175,7 @@ docker compose up -d --build
docker compose exec graph sh docker compose exec graph sh
# Run tests inside the container # Run tests inside the container
docker compose exec graph php bin/phpunit docker compose exec graph vendor/bin/phpunit
# Disable Xdebug for faster test runs # Disable Xdebug for faster test runs
XDEBUG_MODE=off docker compose up -d XDEBUG_MODE=off docker compose up -d
@@ -195,16 +195,16 @@ docker compose -f docker-compose.yml up -d --build
```bash ```bash
# Run full suite # Run full suite
php bin/phpunit vendor/bin/phpunit
# Human-readable output # Human-readable output
php bin/phpunit --testdox vendor/bin/phpunit --testdox
# Single file # Single file
php bin/phpunit tests/Unit/Service/SvgRendererTest.php vendor/bin/phpunit tests/Unit/Service/SvgRendererTest.php
# Filter by name # Filter by name
php bin/phpunit --filter it_renders vendor/bin/phpunit --filter it_renders
``` ```
--- ---