1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-27 04:45:20 +01:00

Documented the allowMissingFiles attribute for ignoreFiles

This commit is contained in:
Mark McEver 2022-04-13 12:29:06 -05:00 committed by GitHub
parent 828b093964
commit d28ead12e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 `<ignoreFiles>` 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 `<ignoreFiles>` directive and optional `allowMissingFiles` attribute, e.g.
```xml
<projectFiles>
<directory name="src" />
<ignoreFiles>
<directory name="src/Stubs" />
</ignoreFiles>
<ignoreFiles allowMissingFiles="true">
<directory name="path-that-may-not-exist" />
</ignoreFiles>
</projectFiles>
```