---
title: "analyse/disallowed"
pagination: false
---

{/* Generated by scripts/gen-rule-docs.py. Edit mapping.toml, not this file. */}

Calls and uses the project's config forbids (ecosystem: on with [extensions] disallowed-calls).

**[attribute](/docs/rules/analyse/disallowed/attribute)**

Reports the attributes the config forbids (`disallowedAttributes`).

In the `analyse-basic` preset and every stricter one. Report only.

**[constant](/docs/rules/analyse/disallowed/constant)**

Reports uses of the constants and enum cases the config forbids (`disallowedConstants`, `disallowedEnums`).

In the `analyse-basic` preset and every stricter one. Report only.

**[control-structure](/docs/rules/analyse/disallowed/control-structure)**

Reports the control structures the config forbids (`disallowedControlStructures`).

In the `analyse-basic` preset and every stricter one. Report only.

**[function](/docs/rules/analyse/disallowed/function)**

Reports calls of the functions and language constructs the config forbids (`disallowedFunctionCalls`).

In the `analyse-basic` preset and every stricter one. Report only.

**[keyword](/docs/rules/analyse/disallowed/keyword)**

Reports the keywords the config forbids (`disallowedKeywords`).

In the `analyse-basic` preset and every stricter one. Report only.

**[method](/docs/rules/analyse/disallowed/method)**

Reports calls of the methods and constructors the config forbids (`disallowedMethodCalls`).

In the `analyse-basic` preset and every stricter one. Report only.

**[namespace](/docs/rules/analyse/disallowed/namespace)**

Reports uses of the namespaces and classes the config forbids (`disallowedNamespaces`, `disallowedClasses`).

In the `analyse-basic` preset and every stricter one. Report only.

**[property](/docs/rules/analyse/disallowed/property)**

Reports uses of the properties the config forbids (`disallowedProperties`).

In the `analyse-basic` preset and every stricter one. Report only.

**[static-method](/docs/rules/analyse/disallowed/static-method)**

Reports calls of the static methods the config forbids (`disallowedStaticCalls`).

In the `analyse-basic` preset and every stricter one. Report only.

**[superglobal](/docs/rules/analyse/disallowed/superglobal)**

Reports uses of the superglobals the config forbids (`disallowedSuperglobals`).

In the `analyse-basic` preset and every stricter one. Report only.
