3 autoloader="psalm-autoload.php"
4 useDocblockTypes="true"
8 <directory name="lib" />
11 <RedundantConditionGivenDocblockType errorLevel="info" />
12 <!-- We have to be explicit because PHP 5 lacks scalar types -->
13 <UnresolvableInclude errorLevel="info" />
14 <!-- Because we put the variants into their own subdirectory -->
15 <DuplicateClass errorLevel="info" />
16 <!-- Later versions of Psalm are only PHP 7 compatible, which
17 sees our redefinition of Error and TypeError as duplicate
19 <UndefinedConstant errorLevel="info" />
20 <!-- The Mcrypt constants aren't defined in PHP 7.2 -->
21 <MissingReturnType errorLevel="info" />
22 <!-- False positive with some versions of (Psalm, PHP) -->
23 <InvalidReturnType errorLevel="info" />
24 <!-- The "last resort" function in lib/random.php -->
25 <MixedInferredReturnType errorLevel="suppress" />
26 <!-- Only used in totallyTyped mode -->