1
0
mirror of https://github.com/danog/amp.git synced 2024-12-11 17:09:40 +01:00
amp/psalm.xml

90 lines
2.9 KiB
XML
Raw Normal View History

<?xml version="1.0"?>
<psalm
totallyTyped="false"
2020-03-28 22:20:44 +01:00
errorLevel="2"
phpVersion="7.0"
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"/>
<ignoreFiles>
<directory name="examples/psalm"/>
</ignoreFiles>
<directory name="lib"/>
<ignoreFiles>
<directory name="vendor"/>
</ignoreFiles>
</projectFiles>
<issueHandlers>
<DuplicateClass>
<errorLevel type="suppress">
<file name="lib/CallableMaker.php"/>
</errorLevel>
</DuplicateClass>
<StringIncrement>
<errorLevel type="suppress">
<directory name="examples"/>
<directory name="lib"/>
</errorLevel>
</StringIncrement>
2020-03-28 22:20:44 +01:00
<RedundantConditionGivenDocblockType>
<errorLevel type="suppress">
<directory name="lib"/>
</errorLevel>
</RedundantConditionGivenDocblockType>
<DocblockTypeContradiction>
<errorLevel type="suppress">
<directory name="lib"/>
</errorLevel>
</DocblockTypeContradiction>
<MissingClosureParamType>
<errorLevel type="suppress">
<directory name="examples"/>
2020-03-28 22:20:44 +01:00
<directory name="lib"/>
</errorLevel>
</MissingClosureParamType>
<MissingClosureReturnType>
<errorLevel type="suppress">
<directory name="examples"/>
2020-03-28 22:20:44 +01:00
<directory name="lib"/>
</errorLevel>
</MissingClosureReturnType>
2020-05-13 17:15:21 +02:00
<!-- Iterator is deprecated -->
<DeprecatedClass>
<errorLevel type="suppress">
<directory name="examples/iterators"/>
<file name="lib/Emitter.php"/>
<file name="lib/functions.php"/>
<file name="lib/Internal/PrivateIterator.php"/>
</errorLevel>
</DeprecatedClass>
<!-- Iterator is deprecated -->
<DeprecatedInterface>
<errorLevel type="suppress">
<directory name="examples/iterators"/>
<file name="lib/Emitter.php"/>
<file name="lib/functions.php"/>
<file name="lib/Internal/PrivateIterator.php"/>
</errorLevel>
</DeprecatedInterface>
</issueHandlers>
<stubs>
<file name="vendor/jetbrains/phpstorm-stubs/Ev/Ev.php"/>
<file name="vendor/jetbrains/phpstorm-stubs/event/event.php"/>
<file name="vendor/jetbrains/phpstorm-stubs/uv/UV.php"/>
<file name="vendor/jetbrains/phpstorm-stubs/uv/uv_functions.php"/>
</stubs>
</psalm>