Code Quality
How to check UNA 15 code before a pull request: PHPUnit Units and Integration suites, the test accounts and seed script, what UNA CI and the Database migrations check run, NEO lint and typecheck, bx_log logs, debug mode and caches. 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
php tests/seed.php
yarn typecheck
yarn lint
bx_log('sys_db', $sMessage, BX_LOG_ERR);
14d