mirror of
https://github.com/danog/file.git
synced 2024-11-30 04:19:39 +01:00
ee8f10f512
Also require PHP 8.1 and use features.
53 lines
1.6 KiB
XML
53 lines
1.6 KiB
XML
<?xml version="1.0"?>
|
|
<psalm
|
|
errorLevel="2"
|
|
phpVersion="8.1"
|
|
resolveFromConfigFile="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"
|
|
>
|
|
<projectFiles>
|
|
<directory name="examples"/>
|
|
<directory name="src"/>
|
|
<ignoreFiles>
|
|
<directory name="vendor"/>
|
|
</ignoreFiles>
|
|
</projectFiles>
|
|
|
|
<issueHandlers>
|
|
<StringIncrement>
|
|
<errorLevel type="suppress">
|
|
<directory name="examples"/>
|
|
<directory name="src"/>
|
|
</errorLevel>
|
|
</StringIncrement>
|
|
|
|
<RedundantConditionGivenDocblockType>
|
|
<errorLevel type="suppress">
|
|
<directory name="src"/>
|
|
</errorLevel>
|
|
</RedundantConditionGivenDocblockType>
|
|
|
|
<DocblockTypeContradiction>
|
|
<errorLevel type="suppress">
|
|
<directory name="src"/>
|
|
</errorLevel>
|
|
</DocblockTypeContradiction>
|
|
|
|
<MissingClosureParamType>
|
|
<errorLevel type="suppress">
|
|
<directory name="examples"/>
|
|
<directory name="src"/>
|
|
</errorLevel>
|
|
</MissingClosureParamType>
|
|
|
|
<MissingClosureReturnType>
|
|
<errorLevel type="suppress">
|
|
<directory name="examples"/>
|
|
<directory name="src"/>
|
|
</errorLevel>
|
|
</MissingClosureReturnType>
|
|
</issueHandlers>
|
|
</psalm>
|