2016-07-25 18:37:44 -04:00
|
|
|
<?xml version="1.0"?>
|
2018-12-19 20:01:27 -05: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"
|
|
|
|
xsi:schemaLocation="https://getpsalm.org/schema/config config.xsd"
|
|
|
|
>
|
2016-12-29 08:42:39 -05:00
|
|
|
<projectFiles>
|
2018-11-14 13:19:38 -05:00
|
|
|
<directory name="src"/>
|
|
|
|
<directory name="tests"/>
|
|
|
|
<directory name="examples"/>
|
2017-01-07 19:41:48 -05:00
|
|
|
<ignoreFiles>
|
2018-11-14 13:19:38 -05:00
|
|
|
<file name="src/Psalm/Internal/CallMap.php"/>
|
|
|
|
<directory name="src/Psalm/Internal/Stubs"/>
|
|
|
|
<directory name="tests/stubs"/>
|
|
|
|
<directory name="tests/DummyProject"/>
|
|
|
|
<file name="vendor/phpunit/phpunit/src/Framework/TestCase.php"/>
|
2019-01-31 18:40:40 -05:00
|
|
|
<file name="vendor/symfony/console/Command/Command.php" />
|
2018-11-14 13:19:38 -05:00
|
|
|
<file name="src/Psalm/Internal/Traverser/CustomTraverser.php"/>
|
2019-01-06 09:14:35 -05:00
|
|
|
<file name="tests/performance/a.test"/>
|
|
|
|
<file name="tests/performance/b.test"/>
|
2018-11-14 13:19:38 -05:00
|
|
|
<file name="tests/ErrorBaselineTest.php"/>
|
2017-01-07 19:41:48 -05:00
|
|
|
</ignoreFiles>
|
2016-12-29 08:42:39 -05:00
|
|
|
</projectFiles>
|
|
|
|
|
2018-06-22 01:26:10 -04:00
|
|
|
<ignoreExceptions>
|
2018-11-14 13:19:38 -05:00
|
|
|
<class name="UnexpectedValueException"/>
|
|
|
|
<class name="InvalidArgumentException"/>
|
|
|
|
<class name="LogicException"/>
|
2018-06-22 01:26:10 -04:00
|
|
|
</ignoreExceptions>
|
|
|
|
|
2018-12-10 23:18:53 -05:00
|
|
|
<stubs>
|
2019-02-05 19:00:13 -06:00
|
|
|
<file name="src/Psalm/Internal/Stubs/Amp.php"/>
|
2018-12-10 23:18:53 -05:00
|
|
|
</stubs>
|
|
|
|
|
2019-01-12 10:52:23 -05:00
|
|
|
<plugins>
|
|
|
|
<plugin filename="examples/plugins/FunctionCasingChecker.php" />
|
|
|
|
</plugins>
|
|
|
|
|
2016-12-29 20:07:42 -05:00
|
|
|
<issueHandlers>
|
2018-11-14 13:19:38 -05:00
|
|
|
<MisplacedRequiredParam errorLevel="suppress"/>
|
|
|
|
<PossiblyNullOperand errorLevel="suppress"/>
|
2018-05-03 11:38:27 -04:00
|
|
|
<MissingConstructor>
|
|
|
|
<errorLevel type="suppress">
|
2018-11-14 13:19:38 -05: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"/>
|
2018-11-18 11:39:14 -05:00
|
|
|
<file name="src/Psalm/Internal/Scope/CaseScope.php"/>
|
2018-05-03 11:38:27 -04:00
|
|
|
</errorLevel>
|
|
|
|
</MissingConstructor>
|
2018-11-14 13:19:38 -05:00
|
|
|
<DeprecatedProperty errorLevel="suppress"/>
|
2017-01-26 23:23:12 -07:00
|
|
|
|
2017-12-29 17:27:16 -05:00
|
|
|
<UnusedParam>
|
2017-02-11 19:30:06 -05:00
|
|
|
<errorLevel type="suppress">
|
2018-11-14 13:19:38 -05:00
|
|
|
<directory name="examples"/>
|
2017-02-11 19:30:06 -05:00
|
|
|
</errorLevel>
|
2017-12-29 17:27:16 -05:00
|
|
|
</UnusedParam>
|
|
|
|
|
|
|
|
<PossiblyUnusedParam>
|
|
|
|
<errorLevel type="suppress">
|
2018-11-14 13:19:38 -05:00
|
|
|
<directory name="examples"/>
|
2017-12-29 17:27:16 -05:00
|
|
|
</errorLevel>
|
|
|
|
</PossiblyUnusedParam>
|
2017-02-11 19:30:06 -05:00
|
|
|
|
2017-12-16 10:51:04 -05:00
|
|
|
<UnusedClass>
|
|
|
|
<errorLevel type="suppress">
|
2018-11-14 13:19:38 -05:00
|
|
|
<directory name="examples"/>
|
|
|
|
<directory name="tests"/>
|
2019-02-16 11:16:52 -05:00
|
|
|
<file name="src/Psalm/Plugin/Hook/MethodReturnTypeProviderInterface.php" />
|
2017-12-16 10:51:04 -05:00
|
|
|
</errorLevel>
|
|
|
|
</UnusedClass>
|
|
|
|
|
2018-01-10 23:29:18 -05:00
|
|
|
<UnusedProperty>
|
|
|
|
<errorLevel type="info">
|
2018-11-14 13:19:38 -05:00
|
|
|
<file name="src/Psalm/Internal/FileManipulation/FunctionDocblockManipulator.php"/>
|
2018-01-10 23:29:18 -05:00
|
|
|
</errorLevel>
|
|
|
|
</UnusedProperty>
|
|
|
|
|
|
|
|
<PossiblyUnusedProperty>
|
|
|
|
<errorLevel type="info">
|
2018-11-14 13:19:38 -05:00
|
|
|
<file name="src/Psalm/Internal/LanguageServer/LanguageClient.php"/>
|
|
|
|
<file name="src/Psalm/Storage/FunctionLikeStorage.php"/>
|
|
|
|
<file name="src/Psalm/Type/Atomic/TNonEmptyArray.php"/>
|
2019-01-11 17:21:50 -05:00
|
|
|
<file name="src/Psalm/Storage/PropertyStorage.php" />
|
2018-01-10 23:29:18 -05:00
|
|
|
</errorLevel>
|
|
|
|
</PossiblyUnusedProperty>
|
|
|
|
|
2018-11-14 13:19:38 -05:00
|
|
|
<MissingThrowsDocblock errorLevel="info"/>
|
2018-06-22 01:26:10 -04:00
|
|
|
|
2017-02-26 23:47:15 -05:00
|
|
|
<PossiblyUnusedMethod>
|
|
|
|
<errorLevel type="suppress">
|
2018-11-14 13:19:38 -05:00
|
|
|
<directory name="tests"/>
|
|
|
|
<directory name="src/Psalm/Plugin"/>
|
|
|
|
<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"/>
|
2019-01-10 16:59:44 -05:00
|
|
|
<referencedMethod name="Psalm\Codebase::createClassLikeStorage"/>
|
2018-11-14 13:19:38 -05:00
|
|
|
<referencedMethod name="Psalm\Codebase::isVariadic"/>
|
|
|
|
<referencedMethod name="Psalm\Codebase::getMethodReturnsByRef"/>
|
2018-02-03 18:52:35 -05:00
|
|
|
</errorLevel>
|
2017-02-26 23:47:15 -05:00
|
|
|
</PossiblyUnusedMethod>
|
|
|
|
|
2017-01-26 23:23:12 -07:00
|
|
|
<PropertyNotSetInConstructor>
|
|
|
|
<errorLevel type="suppress">
|
2018-11-14 13:19:38 -05:00
|
|
|
<directory name="tests"/>
|
|
|
|
<file name="src/Psalm/Config.php"/>
|
2017-01-26 23:23:12 -07:00
|
|
|
</errorLevel>
|
|
|
|
</PropertyNotSetInConstructor>
|
2016-12-29 00:32:12 -05:00
|
|
|
|
2016-12-14 12:55:23 -05:00
|
|
|
<MixedArgument>
|
2016-12-29 20:07:42 -05:00
|
|
|
<errorLevel type="suppress">
|
2018-11-14 13:19:38 -05:00
|
|
|
<directory name="tests"/>
|
2016-12-29 20:07:42 -05:00
|
|
|
</errorLevel>
|
2016-12-14 12:55:23 -05:00
|
|
|
</MixedArgument>
|
|
|
|
|
2016-12-24 11:03:55 +00:00
|
|
|
<MixedOperand>
|
2016-12-29 20:07:42 -05:00
|
|
|
<errorLevel type="suppress">
|
2018-11-14 13:19:38 -05:00
|
|
|
<directory name="tests"/>
|
2016-12-29 20:07:42 -05:00
|
|
|
</errorLevel>
|
2016-12-24 11:03:55 +00:00
|
|
|
</MixedOperand>
|
|
|
|
|
2016-12-14 12:55:23 -05:00
|
|
|
<MixedPropertyFetch>
|
2016-12-29 20:07:42 -05:00
|
|
|
<errorLevel type="suppress">
|
2018-11-14 13:19:38 -05:00
|
|
|
<directory name="tests"/>
|
2016-12-29 20:07:42 -05:00
|
|
|
</errorLevel>
|
2016-12-14 12:55:23 -05:00
|
|
|
</MixedPropertyFetch>
|
|
|
|
|
|
|
|
<NoInterfaceProperties>
|
2016-12-29 20:07:42 -05:00
|
|
|
<errorLevel type="suppress">
|
2018-11-14 13:19:38 -05:00
|
|
|
<directory name="tests"/>
|
2016-12-29 20:07:42 -05:00
|
|
|
</errorLevel>
|
2016-12-14 12:55:23 -05:00
|
|
|
</NoInterfaceProperties>
|
|
|
|
|
|
|
|
<NullArrayAccess>
|
2016-12-29 20:07:42 -05:00
|
|
|
<errorLevel type="suppress">
|
2018-11-14 13:19:38 -05:00
|
|
|
<directory name="tests"/>
|
2016-12-29 20:07:42 -05:00
|
|
|
</errorLevel>
|
2016-12-14 12:55:23 -05:00
|
|
|
</NullArrayAccess>
|
|
|
|
|
|
|
|
<NullPropertyFetch>
|
2016-12-29 20:07:42 -05:00
|
|
|
<errorLevel type="suppress">
|
2018-11-14 13:19:38 -05:00
|
|
|
<directory name="tests"/>
|
2016-12-29 20:07:42 -05:00
|
|
|
</errorLevel>
|
2016-12-14 12:55:23 -05:00
|
|
|
</NullPropertyFetch>
|
|
|
|
|
|
|
|
<NullArgument>
|
2016-12-29 20:07:42 -05:00
|
|
|
<errorLevel type="suppress">
|
2018-11-14 13:19:38 -05:00
|
|
|
<directory name="tests"/>
|
2016-12-29 20:07:42 -05:00
|
|
|
</errorLevel>
|
2016-12-14 12:55:23 -05:00
|
|
|
</NullArgument>
|
2017-01-02 01:10:48 -05:00
|
|
|
|
2017-12-19 13:08:47 -05:00
|
|
|
<PossiblyFalseArgument>
|
|
|
|
<errorLevel type="suppress">
|
2018-11-14 13:19:38 -05:00
|
|
|
<directory name="tests"/>
|
2017-12-19 13:08:47 -05:00
|
|
|
</errorLevel>
|
|
|
|
</PossiblyFalseArgument>
|
|
|
|
|
2017-01-02 01:10:48 -05:00
|
|
|
<TypeCoercion>
|
|
|
|
<errorLevel type="suppress">
|
2018-11-14 13:19:38 -05:00
|
|
|
<directory name="tests"/>
|
2017-01-02 01:10:48 -05:00
|
|
|
</errorLevel>
|
|
|
|
</TypeCoercion>
|
2018-12-01 18:37:49 -05:00
|
|
|
|
|
|
|
<InternalMethod>
|
|
|
|
<errorLevel type="suppress">
|
|
|
|
<directory name="tests"/>
|
|
|
|
</errorLevel>
|
|
|
|
</InternalMethod>
|
2016-12-29 20:07:42 -05:00
|
|
|
</issueHandlers>
|
2018-12-08 13:18:55 -05:00
|
|
|
</psalm>
|