From 02329227d8e8ac93ee2b679147a51cafd0cdc3a4 Mon Sep 17 00:00:00 2001 From: Payton Bice Date: Thu, 1 Dec 2022 13:42:02 -0500 Subject: [PATCH] Adds documentation for the `forbiddenFunctions` config option --- docs/running_psalm/configuration.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/running_psalm/configuration.md b/docs/running_psalm/configuration.md index 97eebaa9fa6..a6d60528d99 100644 --- a/docs/running_psalm/configuration.md +++ b/docs/running_psalm/configuration.md @@ -537,6 +537,16 @@ The example above declares global variables as shown below - `$_GET` - `data` e.g. like `["id" => "123", "title" => "Nice"]` +#### <forbiddenFunctions> +Optional. Allows you to specify a list of functions that should emit the [`ForbiddenCode`](issues/ForbiddenCode.md) issue type. + +```xml + + + + +``` + ## Accessing Psalm configuration in plugins Plugins can access or modify the global configuration in plugins using