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:
parent
828b093964
commit
d28ead12e0
@ -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>
|
||||
```
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user