Skip to content

Commit 9f80696

Browse files
author
Sebastian Krätzig
committed
Update psalm.xml config to latest format with helpful settings
1 parent becd0b2 commit 9f80696

File tree

1 file changed

+16
-7
lines changed

1 file changed

+16
-7
lines changed

psalm.xml

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,30 @@
11
<?xml version="1.0"?>
22
<psalm
3-
totallyTyped="true"
4-
findUnusedCode="false"
5-
resolveFromConfigFile="true"
6-
restrictReturnTypes="true"
73
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
84
xmlns="https://getpsalm.org/schema/config"
9-
xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd"
5+
name="Psalm for php-imap"
6+
useDocblockTypes="true"
7+
errorLevel="1"
8+
strictBinaryOperands="false"
9+
rememberPropertyAssignmentsAfterCall="true"
10+
checkForThrowsDocblock="false"
11+
throwExceptionOnError="0"
12+
findUnusedCode="false"
13+
ensureArrayStringOffsetsExist="true"
14+
ensureArrayIntOffsetsExist="true"
15+
resolveFromConfigFile="true"
16+
xsi:schemaLocation="https://getpsalm.org/schema/config config.xsd"
17+
limitMethodComplexity="true"
1018
errorBaseline="./psalm.baseline.xml"
1119
cacheDirectory="./psalm/cache/"
20+
findUnusedPsalmSuppress="true"
1221
>
1322
<projectFiles>
1423
<file name="./.php-cs-fixer.dist.php"/>
1524
<directory name="src"/>
16-
<directory name="tests"/>
17-
<directory name="examples"/>
1825
<ignoreFiles>
26+
<directory name="tests"/>
27+
<directory name="examples"/>
1928
<directory name="vendor"/>
2029
</ignoreFiles>
2130
</projectFiles>

0 commit comments

Comments
 (0)