891 B
891 B
When a task is completed in CLQMS backend, follow these wrap-up steps:
- Run relevant tests (
./vendor/bin/phpunitor targetedphp spark test --filter ...). - If migrations changed, run
php spark migrate/php spark migrate:rollbacklocally and ensure schema updates succeed. - After editing OpenAPI documentation (YAML files or controller mappings), regenerate
public/api-docs.bundled.yamlvianode public/bundle-api-docs.jsand check it into Git. - Confirm code adheres to PSR-12/CodeIgniter conventions (strict types, response format, transactions, guard clauses) before committing.
- Review
git status/diffto ensure only intended files are staged; do not commit.envor other secret files. - For shared logic changes, double-check lookup JSON cache use and response logging.
These steps keep the API consistent, documented, and tested before merging or deploying.