Skip to content

Commit

Permalink
chore: remove backticks because of escaping issue in docs (#3242)
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-feek committed Apr 28, 2020
1 parent 1fb1c21 commit 686c2d7
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions docs/running_psalm/configuration.md
Expand Up @@ -341,7 +341,7 @@ Allows you to hard-code a serializer for Psalm to use when caching data. By defa

## Project settings

#### `<projectFiles>`
#### <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.
```xml
<projectFiles>
Expand All @@ -352,30 +352,30 @@ Contains a list of all the directories that Psalm should inspect. You can also s
</projectFiles>
```

#### `<fileExtensions>`
#### <fileExtensions>
Optional. A list of extensions to search over. See [Checking non-PHP files](checking_non_php_files.md) to understand how to extend this.

#### `<plugins>`
#### <plugins>
Optional. A list of `<plugin filename="path_to_plugin.php" />` entries. See the [Plugins](plugins/using_plugins.md) section for more information.

#### `<issueHandlers>`
#### <issueHandlers>
Optional. If you don't want Psalm to complain about every single issue it finds, the issueHandler tag allows you to configure that. [Dealing with code issues](dealing_with_code_issues.md) tells you more.

#### `<mockClasses>`
#### <mockClasses>
Optional. Do you use mock classes in your tests? If you want Psalm to ignore them when checking files, include a fully-qualified path to the class with `<class name="Your\Namespace\ClassName" />`

#### `<stubs>`
#### <stubs>
Optional. If your codebase uses classes and functions that are not visible to Psalm via reflection (e.g. if there are internal packages that your codebase relies on that are not available on the machine running Psalm), you can use stub files. Used by PhpStorm (a popular IDE) and others, stubs provide a description of classes and functions without the implementations. You can find a list of stubs for common classes [here](https://github.com/JetBrains/phpstorm-stubs). List out each file with `<file name="path/to/file.php" />`.

#### `<ignoreExceptions>`
#### <ignoreExceptions>
Optional. A list of exceptions to not report for `checkForThrowsDocblock` or `checkForThrowsInGlobalScope`. If an exception has `onlyGlobalScope` set to `true`, only `checkForThrowsInGlobalScope` is ignored for that exception, e.g.
```xml
<ignoreExceptions>
<class name="fully\qualified\path\Exc" onlyGlobalScope="true" />
</ignoreExceptions>
```

#### `<globals>`
#### <globals>
Optional. If your codebase uses global variables that are accessed with the `global` keyword, you can declare their type. e.g.
```xml
<globals>
Expand Down

0 comments on commit 686c2d7

Please sign in to comment.