Directories
¶
| Path | Synopsis |
|---|---|
|
Command architecture checks package ownership and inspection completeness.
|
Command architecture checks package ownership and inspection completeness. |
|
Command benchcmp compares custos with other PHP tools on real projects.
|
Command benchcmp compares custos with other PHP tools on real projects. |
|
Command cleanroom scans the repository for forbidden upstream tokens and, when the local EA checkout exists, for text that appears verbatim in it: long Java string literals (messages) and long fixture lines.
|
Command cleanroom scans the repository for forbidden upstream tokens and, when the local EA checkout exists, for text that appears verbatim in it: long Java string literals (messages) and long fixture lines. |
|
Command corpusdiff records the findings custos reports on the pinned benchmark corpora (every rule, on each corpus's paths, at the corpus's PHP version when the configuration sets one) and compares a later run with that record, so a change that adds or removes findings on real code is seen before it lands.
|
Command corpusdiff records the findings custos reports on the pinned benchmark corpora (every rule, on each corpus's paths, at the corpus's PHP version when the configuration sets one) and compares a later run with that record, so a change that adds or removes findings on real code is seen before it lands. |
|
Command covercheck fails unless every statement in a Go coverage profile was executed by at least one test binary.
|
Command covercheck fails unless every statement in a Go coverage profile was executed by at least one test binary. |
|
Command extract reads a local Php Inspections (EA Extended) checkout and produces:
|
Command extract reads a local Php Inspections (EA Extended) checkout and produces: |
|
Command formatcheck measures how far the output of custos format is from the style checkers its presets follow.
|
Command formatcheck measures how far the output of custos format is from the style checkers its presets follow. |
|
Command formatdoc regenerates docs/guide/format-settings.md: every setting of the formatter's registry, grouped as the registry groups them, with its type, allowed values and description, and the value each preset gives it.
|
Command formatdoc regenerates docs/guide/format-settings.md: every setting of the formatter's registry, grouped as the registry groups them, with its type, allowed values and description, and the value each preset gives it. |
|
Command gencatalogue regenerates internal/inspection/catalogue/catalogue.go from the rule facts (internal/inspection/meta/rules.json and native-rules.json) and the rule packages (internal/inspection/rules/<id>).
|
Command gencatalogue regenerates internal/inspection/catalogue/catalogue.go from the rule facts (internal/inspection/meta/rules.json and native-rules.json) and the rule packages (internal/inspection/rules/<id>). |
|
Command genexplain extracts the "Summary" and "Options" sections of every spec (specs/<ID>.md, our own clean-room text) into internal/inspection/meta/descriptions.json for `custos explain`.
|
Command genexplain extracts the "Summary" and "Options" sections of every spec (specs/<ID>.md, our own clean-room text) into internal/inspection/meta/descriptions.json for `custos explain`. |
|
Command genkinds regenerates internal/php/syntax/kinds.go from the node types declared in internal/php/syntax/ast.go (run via `go generate ./internal/php/syntax`).
|
Command genkinds regenerates internal/php/syntax/kinds.go from the node types declared in internal/php/syntax/ast.go (run via `go generate ./internal/php/syntax`). |
|
Command genstubs compiles JetBrains phpstorm-stubs (Apache-2.0) into the embedded builtin symbol index (internal/semantic/stubs/stubs.gob.gz).
|
Command genstubs compiles JetBrains phpstorm-stubs (Apache-2.0) into the embedded builtin symbol index (internal/semantic/stubs/stubs.gob.gz). |
|
internal
|
|
|
specmd
Package specmd reads the parts of a clean-room spec (specs/<ID>.md) that the documentation generators reuse: its "## " sections, the PHP version range of its front matter and the fenced code blocks of a section.
|
Package specmd reads the parts of a clean-room spec (specs/<ID>.md) that the documentation generators reuse: its "## " sections, the PHP version range of its front matter and the fenced code blocks of a section. |
|
Command relprep prepares a release: it resolves the new version (explicit X.Y.Z or a patch/minor/major bump of the latest vX.Y.Z tag), turns the CHANGELOG's [Unreleased] section into the version's section, writes that section as release notes and pins the version in the Composer launcher.
|
Command relprep prepares a release: it resolves the new version (explicit X.Y.Z or a patch/minor/major bump of the latest vX.Y.Z tag), turns the CHANGELOG's [Unreleased] section into the version's section, writes that section as release notes and pins the version in the Composer launcher. |
|
Command rulesdoc regenerates docs/internals/rules.md: the specification and conformance status of every rule (spec written, EA conformance result from the last local run).
|
Command rulesdoc regenerates docs/internals/rules.md: the specification and conformance status of every rule (spec written, EA conformance result from the last local run). |
|
Command rulesref generates the rule reference of the documentation site: docs/rules/index.md, one page per rule (docs/rules/<group>/<ID>.md) and the VitePress sidebar (docs/.vitepress/rules-sidebar.json), from internal/inspection/meta and the specs' own text and examples.
|
Command rulesref generates the rule reference of the documentation site: docs/rules/index.md, one page per rule (docs/rules/<group>/<ID>.md) and the VitePress sidebar (docs/.vitepress/rules-sidebar.json), from internal/inspection/meta and the specs' own text and examples. |
Click to show internal directories.
Click to hide internal directories.