Skip to content
Browse files

Add documentation for the <globals> project setting (#2068)

This change exposes the documentation for the <globals> project setting.
  • Loading branch information...
lhchavez authored and muglug committed Aug 26, 2019
1 parent 51bf0b4 commit 3e5f6b16b79c394cfcf368245651b3f2e1cc1f1d
Showing with 8 additions and 0 deletions.
  1. +8 −0 docs/running_psalm/
@@ -289,3 +289,11 @@ Optional. A list of exceptions to not report for `checkForThrowsDocblock` or `c
<class name="fully\qualified\path\Exc" onlyGlobalScope="true" />

#### `<globals>`
Optional. If your codebase uses global variables that are accessed with the `global` keyword, you can declare their type. e.g.
<var name="globalVariableName" type="type" />

0 comments on commit 3e5f6b1

Please sign in to comment.
You can’t perform that action at this time.