1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-11 16:59:45 +01:00
psalm/psalm.xml.dist

138 lines
5.6 KiB
Plaintext
Raw Normal View History

2016-07-26 00:37:44 +02:00
<?xml version="1.0"?>
2018-12-20 02:01:27 +01:00
<psalm
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="https://getpsalm.org/schema/config"
name="Psalm for Psalm"
useDocblockTypes="true"
totallyTyped="true"
strictBinaryOperands="false"
rememberPropertyAssignmentsAfterCall="true"
checkForThrowsDocblock="false"
throwExceptionOnError="0"
findUnusedCode="true"
2018-12-20 02:01:27 +01:00
xsi:schemaLocation="https://getpsalm.org/schema/config config.xsd"
>
2016-12-29 14:42:39 +01:00
<projectFiles>
2018-11-14 19:19:38 +01:00
<directory name="src"/>
<directory name="tests"/>
<directory name="examples"/>
<ignoreFiles>
2018-11-14 19:19:38 +01:00
<file name="src/Psalm/Internal/CallMap.php"/>
<file name="src/Psalm/Internal/Traverser/CustomTraverser.php"/>
<file name="tests/ErrorBaselineTest.php"/>
<file name="vendor/symfony/console/Command/Command.php"/>
<directory name="src/Psalm/Internal/Stubs"/>
<directory name="tests/fixtures"/>
<file name="vendor/felixfbecker/advanced-json-rpc/lib/Dispatcher.php" />
<directory name="vendor/netresearch/jsonmapper" />
2019-04-27 23:57:15 +02:00
<directory name="vendor/phpunit" />
</ignoreFiles>
2016-12-29 14:42:39 +01:00
</projectFiles>
2018-06-22 07:26:10 +02:00
<ignoreExceptions>
2018-11-14 19:19:38 +01:00
<class name="UnexpectedValueException"/>
<class name="InvalidArgumentException"/>
<class name="LogicException"/>
2018-06-22 07:26:10 +02:00
</ignoreExceptions>
<stubs>
<file name="src/Psalm/Internal/Stubs/Amp.php"/>
</stubs>
<plugins>
2019-02-23 22:22:39 +01:00
<plugin filename="examples/plugins/FunctionCasingChecker.php"/>
2019-03-02 00:01:28 +01:00
<pluginClass class="Psalm\PhpUnitPlugin\Plugin"/>
</plugins>
2016-12-30 02:07:42 +01:00
<issueHandlers>
2018-11-14 19:19:38 +01:00
<MisplacedRequiredParam errorLevel="suppress"/>
<PossiblyNullOperand errorLevel="suppress"/>
<MissingConstructor>
<errorLevel type="suppress">
2018-11-14 19:19:38 +01:00
<file name="src/Psalm/Internal/Scanner/FunctionDocblockComment.php"/>
<file name="src/Psalm/Internal/Scanner/VarDocblockComment.php"/>
<file name="src/Psalm/Storage/FunctionLikeStorage.php"/>
<file name="src/Psalm/Storage/MethodStorage.php"/>
<file name="src/Psalm/Storage/PropertyStorage.php"/>
<file name="src/Psalm/Internal/Scanner/VarDocblockComment.php"/>
<file name="src/Psalm/Internal/Scope/CaseScope.php"/>
</errorLevel>
</MissingConstructor>
2018-11-14 19:19:38 +01:00
<DeprecatedProperty errorLevel="suppress"/>
<UnusedParam>
2017-02-12 01:30:06 +01:00
<errorLevel type="suppress">
2018-11-14 19:19:38 +01:00
<directory name="examples"/>
2017-02-12 01:30:06 +01:00
</errorLevel>
</UnusedParam>
<PossiblyUnusedParam>
<errorLevel type="suppress">
2018-11-14 19:19:38 +01:00
<directory name="examples"/>
</errorLevel>
</PossiblyUnusedParam>
2017-02-12 01:30:06 +01:00
2017-12-16 16:51:04 +01:00
<UnusedClass>
<errorLevel type="suppress">
2018-11-14 19:19:38 +01:00
<directory name="examples"/>
<directory name="src/Psalm/Internal/Fork" />
2019-03-31 20:02:30 +02:00
<file name="src/Psalm/Plugin/Shepherd.php" />
2019-02-23 22:22:39 +01:00
<file name="src/Psalm/Plugin/Hook/MethodReturnTypeProviderInterface.php"/>
2017-12-16 16:51:04 +01:00
</errorLevel>
</UnusedClass>
<UnusedProperty>
<errorLevel type="info">
2018-11-14 19:19:38 +01:00
<file name="src/Psalm/Internal/FileManipulation/FunctionDocblockManipulator.php"/>
</errorLevel>
</UnusedProperty>
<PossiblyUnusedProperty>
<errorLevel type="info">
2018-11-14 19:19:38 +01:00
<file name="src/Psalm/Internal/LanguageServer/LanguageClient.php"/>
<file name="src/Psalm/Storage/FunctionLikeStorage.php"/>
<file name="src/Psalm/Type/Atomic/TCallableArray.php"/>
2018-11-14 19:19:38 +01:00
<file name="src/Psalm/Type/Atomic/TNonEmptyArray.php"/>
2019-02-23 22:22:39 +01:00
<file name="src/Psalm/Storage/PropertyStorage.php"/>
</errorLevel>
</PossiblyUnusedProperty>
2018-11-14 19:19:38 +01:00
<MissingThrowsDocblock errorLevel="info"/>
2018-06-22 07:26:10 +02:00
<PossiblyUnusedMethod>
<errorLevel type="info">
<file name="src/Psalm/Internal/Provider/FileReferenceProvider.php" />
</errorLevel>
<errorLevel type="suppress">
2018-11-14 19:19:38 +01:00
<directory name="src/Psalm/Plugin"/>
<directory name="src/Psalm/SourceControl/Git/"/>
2018-11-14 19:19:38 +01:00
<file name="src/Psalm/Internal/LanguageServer/Client/TextDocument.php"/>
<file name="src/Psalm/Internal/LanguageServer/Server/TextDocument.php"/>
<referencedMethod name="Psalm\Codebase::getParentInterfaces"/>
<referencedMethod name="Psalm\Codebase::getMethodParams"/>
<referencedMethod name="Psalm\Codebase::getMethodReturnType"/>
<referencedMethod name="Psalm\Codebase::getMethodReturnTypeLocation"/>
<referencedMethod name="Psalm\Codebase::getDeclaringMethodId"/>
<referencedMethod name="Psalm\Codebase::getAppearingMethodId"/>
<referencedMethod name="Psalm\Codebase::getOverriddenMethodIds"/>
<referencedMethod name="Psalm\Codebase::getCasedMethodId"/>
<referencedMethod name="Psalm\Codebase::createClassLikeStorage"/>
2018-11-14 19:19:38 +01:00
<referencedMethod name="Psalm\Codebase::isVariadic"/>
<referencedMethod name="Psalm\Codebase::getMethodReturnsByRef"/>
2018-02-04 00:52:35 +01:00
</errorLevel>
</PossiblyUnusedMethod>
<PropertyNotSetInConstructor>
<errorLevel type="suppress">
2018-11-14 19:19:38 +01:00
<file name="src/Psalm/Config.php"/>
</errorLevel>
</PropertyNotSetInConstructor>
<InternalMethod>
<errorLevel type="suppress">
<directory name="tests"/>
</errorLevel>
</InternalMethod>
2016-12-30 02:07:42 +01:00
</issueHandlers>
</psalm>