Code Quality
How to run UNA 15 PHPUnit unit and integration tests, what CI checks on every pull request, and how to use bx_log logs and debug mode. composer install
composer test
docker compose exec -w /opt/una php ./plugins/bin/phpunit -c tests/phpunit.xml --testsuite Units
docker compose exec -w /opt/una php ./plugins/bin/phpunit -c tests/phpunit.xml --testsuite Integration
docker compose exec -w /opt/una php ./plugins/bin/phpunit -c tests/phpunit.xml --filter TestName
cp tests/.env.example tests/.env
yarn typecheck
yarn lint
bx_log('sys_db', $sMessage, BX_LOG_ERR);
2d