You've already forked gitea-composer-upload-action
76 lines
2.2 KiB
XML
76 lines
2.2 KiB
XML
<?xml version="1.0"?>
|
|
<psalm
|
|
cacheDirectory="var/psalm"
|
|
checkForThrowsDocblock="true"
|
|
checkForThrowsInGlobalScope="true"
|
|
disableSuppressAll="true"
|
|
ensureArrayStringOffsetsExist="true"
|
|
errorLevel="1"
|
|
findUnusedBaselineEntry="true"
|
|
findUnusedCode="true"
|
|
findUnusedPsalmSuppress="true"
|
|
findUnusedVariablesAndParams="true"
|
|
memoizeMethodCallResults="true"
|
|
reportMixedIssues="true"
|
|
sealAllMethods="true"
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xmlns="https://getpsalm.org/schema/config"
|
|
xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd"
|
|
>
|
|
<enableExtensions>
|
|
<extension name="dom"/>
|
|
</enableExtensions>
|
|
|
|
<plugins>
|
|
<pluginClass class="Psalm\PhpUnitPlugin\Plugin"/>
|
|
</plugins>
|
|
|
|
<projectFiles>
|
|
<file name="app.php"/>
|
|
<directory name="src"/>
|
|
<directory name="tests"/>
|
|
<ignoreFiles>
|
|
<directory name="var"/>
|
|
<directory name="vendor"/>
|
|
<file name="tests/benchmark.php"/>
|
|
</ignoreFiles>
|
|
</projectFiles>
|
|
|
|
<ignoreExceptions>
|
|
<classAndDescendants name="LogicException"/>
|
|
<classAndDescendants name="RuntimeException"/>
|
|
<classAndDescendants name="ReflectionException"/>
|
|
</ignoreExceptions>
|
|
|
|
<issueHandlers>
|
|
<MissingThrowsDocblock>
|
|
<errorLevel type="suppress">
|
|
<directory name="tests"/>
|
|
</errorLevel>
|
|
</MissingThrowsDocblock>
|
|
<MixedAssignment errorLevel="suppress"/>
|
|
<PossiblyUnusedMethod>
|
|
<errorLevel type="suppress">
|
|
<directory name="tests"/>
|
|
</errorLevel>
|
|
</PossiblyUnusedMethod>
|
|
<UnusedMethodCall>
|
|
<errorLevel type="suppress">
|
|
<directory name="tests"/>
|
|
</errorLevel>
|
|
</UnusedMethodCall>
|
|
</issueHandlers>
|
|
|
|
<forbiddenFunctions>
|
|
<function name="dd"/>
|
|
<function name="die"/>
|
|
<function name="dump"/>
|
|
<function name="echo"/>
|
|
<function name="eval"/>
|
|
<function name="exit"/>
|
|
<function name="print"/>
|
|
<function name="sleep"/>
|
|
<function name="usleep"/>
|
|
</forbiddenFunctions>
|
|
</psalm>
|