diff --git a/config.xsd b/config.xsd index 9682ba657ac..85dd860a164 100644 --- a/config.xsd +++ b/config.xsd @@ -67,7 +67,13 @@ - + + + + Deprecated. Will be replaced by adding echo to forbiddenFunctions in Psalm 5. + + + diff --git a/docs/running_psalm/issues/ForbiddenEcho.md b/docs/running_psalm/issues/ForbiddenEcho.md index 2a56883874d..4aedd3ee055 100644 --- a/docs/running_psalm/issues/ForbiddenEcho.md +++ b/docs/running_psalm/issues/ForbiddenEcho.md @@ -1,7 +1,7 @@ # ForbiddenEcho Emitted when Psalm encounters an echo statement and the `forbidEcho` flag in your config is set to `true` - +This issue is deprecated and will be removed in Psalm 5. Adding echo to forbiddenFunctions in config will result in ForbiddenCode issue instead ```php config_issues = [];