Skip to content

Do not omit the subject after If, When, or Once

Rule ste-sentences.omitted-subject in the STE Sentences category.

Field Value
Kind pattern
Severity warning
Scope sentence
Profile strict enforced
Profile normal advisory
Profile relaxed advisory

Omitted subject “<match>”. Name what is installed, configured, or ready.

Restore the omitted subject.

If configured, the proxy rewrites the Host header.

Rewrite:

If the proxy is configured, it rewrites the Host header.
Once enabled, the cache serves stale reads.

Rewrite:

Once the cache is enabled, it serves stale reads.
  • quotation
  • code-span

ASD-STE100