From d28ead12e09913a29404bd89aaab89dd42d41c99 Mon Sep 17 00:00:00 2001 From: Mark McEver Date: Wed, 13 Apr 2022 12:29:06 -0500 Subject: [PATCH 1/2] Documented the allowMissingFiles attribute for ignoreFiles --- docs/running_psalm/configuration.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/running_psalm/configuration.md b/docs/running_psalm/configuration.md index 6999dd1126c..9b6f03d82f3 100644 --- a/docs/running_psalm/configuration.md +++ b/docs/running_psalm/configuration.md @@ -398,13 +398,16 @@ Allows you to hard-code the number of threads Psalm will use (similar to `--thre ## Project settings #### <projectFiles> -Contains a list of all the directories that Psalm should inspect. You can also specify a set of files and folders to ignore with the `` directive, e.g. +Contains a list of all the directories that Psalm should inspect. You can also specify a set of files and folders to ignore with the `` directive and optional `allowMissingFiles` attribute, e.g. ```xml + + + ``` From 6e3c305dc0d5c62fa3334df8fc394dcc9f515b8f Mon Sep 17 00:00:00 2001 From: Mark McEver Date: Thu, 14 Apr 2022 10:03:21 -0500 Subject: [PATCH 2/2] Documented the allowMissingFiles attribute for ignoreFiles --- docs/running_psalm/configuration.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/running_psalm/configuration.md b/docs/running_psalm/configuration.md index 92ca546a972..73aef8517b0 100644 --- a/docs/running_psalm/configuration.md +++ b/docs/running_psalm/configuration.md @@ -408,7 +408,7 @@ Allows you to hard-code the number of threads Psalm will use (similar to `--thre ## Project settings #### <projectFiles> -Contains a list of all the directories that Psalm should inspect. You can also specify a set of files and folders to ignore with the `` directive and optional `allowMissingFiles` attribute, e.g. +Contains a list of all the directories that Psalm should inspect. You can also specify a set of files and folders to ignore with the `` directive. By default, ignored files/folders are required to exist. An `allowMissingFiles` attribute can be added for ignored files/folders than may or may not exist. ```xml