Skip to content

Commit

Permalink
Update psalm test config
Browse files Browse the repository at this point in the history
  • Loading branch information
divineniiquaye committed Aug 21, 2020
1 parent 84213ed commit dc9e111
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 17 deletions.
17 changes: 0 additions & 17 deletions psalm.xml

This file was deleted.

43 changes: 43 additions & 0 deletions psalm.xml.dist
@@ -0,0 +1,43 @@
<?xml version="1.0"?>
<psalm xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="https://getpsalm.org/schema/config"
name="Psalm for PHP Library Starter"
useDocblockTypes="true"
errorLevel="3"
strictBinaryOperands="false"
rememberPropertyAssignmentsAfterCall="true"
checkForThrowsDocblock="false"
throwExceptionOnError="0"
ensureArrayStringOffsetsExist="true"
ensureArrayIntOffsetsExist="false"
resolveFromConfigFile="true"
xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd"
>
<projectFiles>
<directory name="src"/>
<ignoreFiles>
<directory name="src/Bridges"/>
<directory name="vendor"/>
</ignoreFiles>
</projectFiles>

<issueHandlers>
<InaccessibleProperty>
<errorLevel type="suppress">
<file name="src/CacheItemPool.php"/>
</errorLevel>
</InaccessibleProperty>

<PossiblyUndefinedVariable>
<errorLevel type="suppress">
<file name="src/CacheItemPool.php"/>
</errorLevel>
</PossiblyUndefinedVariable>

<RedundantCondition>
<errorLevel type="suppress">
<file name="src/FastCache.php"/>
</errorLevel>
</RedundantCondition>
</issueHandlers>
</psalm>

0 comments on commit dc9e111

Please sign in to comment.