Dev notes

Phing targets

phing targets

Running tests

PHPUnit needs a mysql database to run tests, this is handled by docker compose:

phing setup remote:qa

Running tests locally:

phing qa -Ddb.host=172.23.0.2

PHPUnit without Phing:

DB_HOST=172.23.0.2 vendor/bin/phpunit tests/DiagramTest.php testTheme

Important: DB_HOST variable is only used in tests.