diff --git a/README.md b/README.md index 118a8ba..8b7f5e3 100644 --- a/README.md +++ b/README.md @@ -451,6 +451,15 @@ Run the test suite: ./shift test ``` +Run local quality checks: + +```sh +./shift lint +./shift qa +``` + +`shift lint` checks PHP syntax and basic file hygiene. `shift qa` runs Composer validation, lint checks, the test suite, and route listing. + Run the example module command: ```sh diff --git a/REFACTORING.md b/REFACTORING.md index 9a11a06..330dbda 100644 --- a/REFACTORING.md +++ b/REFACTORING.md @@ -40,6 +40,7 @@ ShiftPHP is moving toward an API-only modular monolith. View templates, compiled - [x] Structured exception logging with JSON file logger and service container override. - [x] Request id lifecycle with generated `X-Request-Id` response headers and log context. - [x] Developer documentation organized into a Laravel-like guide. +- [x] CLI quality gate with `shift lint` and `shift qa`. - [x] Removal of view storage and example page assets from runtime. - [x] Removal of legacy `application/controllers` and `application/routes.php`. - [x] Domain-oriented framework namespaces: @@ -165,4 +166,4 @@ Internal errors return a generic `500` message unless `display_errors` is enable ## Next -- [ ] Static analysis and coding style checks. +- [ ] Deeper static analysis for framework contracts and type safety. diff --git a/docs/index.html b/docs/index.html index 179d170..77435ce 100644 --- a/docs/index.html +++ b/docs/index.html @@ -297,6 +297,7 @@

Operations