Verified against Semitexa Ultimate 2026.11.05.1529
lint commands
Every lint command, with the arguments and options the console actually defines.
lint:access
Check the access attributes of every route payload before the route is first requested.
bin/semitexa lint:access
| option | takes a value |
|---|---|
--json |
no |
lint:components
Check that every component('…') a template calls names a registered #[AsComponent].
bin/semitexa lint:components
| option | takes a value |
|---|---|
--json |
no |
lint:css-tokens
Fail when CSS or a template outside vendor/ uses a --ui-* token that nothing under src/, packages/ or vendor/semitexa/ declares: no stylesheet, and no template <style> element or style attribute (public/, node_modules and nested vendor/ are not read)
bin/semitexa lint:css-tokens
| option | takes a value |
|---|---|
--json |
no |
lint:deferred-slots
Report slots whose deferred declaration and page template disagree.
bin/semitexa lint:deferred-slots
| option | takes a value |
|---|---|
--strict |
no |
--json |
no |
lint:deferred-twig
Validate deferred Twig templates against the Semitexa frontend rendering subset.
bin/semitexa lint:deferred-twig
| option | takes a value |
|---|---|
--json |
no |
lint:di
Verify DI injection rules on all container-managed classes
bin/semitexa lint:di
lint:handlers
Validate handler signatures, return types, and payload/resource bindings
bin/semitexa lint:handlers
lint:inline-script
Find inline <script> blocks that a strict CSP would refuse.
bin/semitexa lint:inline-script
| option | takes a value |
|---|---|
--strict |
no |
--json |
no |
lint:mechanisms
Report application code that hand-rolls a framework mechanism, naming the capability it should use.
bin/semitexa lint:mechanisms
| option | takes a value |
|---|---|
--path |
yes |
--json |
no |
lint:resources
Validate ResourceDTO classes, attributes, and the relation metadata graph.
bin/semitexa lint:resources
lint:responses
Verify no HttpResponse construction in application code
bin/semitexa lint:responses
lint:scoping
Verify container-managed classes with #[InjectAsMutable] properties have explicit scoping attributes
bin/semitexa lint:scoping
lint:skin-legacy
Handled by the bin/semitexa wrapper before PHP starts.
lint:skin-tokens
Handled by the bin/semitexa wrapper before PHP starts.
lint:templates
Validate template directory conventions across all modules.
bin/semitexa lint:templates
| option | takes a value |
|---|---|
--strict |
no |
--json |
no |
lint:test-integrity
Fail when a change removes or weakens test checks without saying why
bin/semitexa lint:test-integrity
| option | takes a value |
|---|---|
--json |
no |
--path |
yes |
--base |
yes |
--renamed-from |
yes |
--renamed-to |
yes |
lint:transport-doors
Fail on a framework-internal /__ route that is not KISS, HUG, a system page or a dev tool.
bin/semitexa lint:transport-doors
| option | takes a value |
|---|---|
--json |
no |
lint:ui-contracts
Check every #[AsUiContract] builds with all its examples, and that templates call components and primitives as their contracts declare.
bin/semitexa lint:ui-contracts
| option | takes a value |
|---|---|
--json |
no |
lint:var-artifacts
Fail when git would commit runtime output (screenshots, traces, exports) from a var/ directory
bin/semitexa lint:var-artifacts
| option | takes a value |
|---|---|
--json |
no |
--path |
yes |