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"
|
2019-03-05 15:45:09 -05:00
|
|
|
findUnusedCode="true"
|
2019-10-01 15:44:43 -04:00
|
|
|
ensureArrayStringOffsetsExist="true"
|
2019-10-21 07:15:46 -04:00
|
|
|
ensureArrayIntOffsetsExist="false"
|
2019-07-06 17:21:39 +01:00
|
|
|
resolveFromConfigFile="true"
|
2018-12-19 20:01:27 -05:00
|
|
|
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"/>
|
|
|
|
<file name="src/Psalm/Internal/Traverser/CustomTraverser.php"/>
|
|
|
|
<file name="tests/ErrorBaselineTest.php"/>
|
2019-11-25 14:01:33 -05:00
|
|
|
<file name="src/spl_object_id.php"/>
|
2019-05-09 18:23:14 -04:00
|
|
|
<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 17:57:15 -04:00
|
|
|
<directory name="vendor/phpunit" />
|
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>
|
2019-02-23 23:22:39 +02:00
|
|
|
<plugin filename="examples/plugins/FunctionCasingChecker.php"/>
|
2019-03-02 01:01:28 +02:00
|
|
|
<pluginClass class="Psalm\PhpUnitPlugin\Plugin"/>
|
|
|
|
</plugins>
|
2019-01-12 10:52:23 -05:00
|
|
|
|
2016-12-29 20:07:42 -05:00
|
|
|
<issueHandlers>
|
2018-11-14 13:19:38 -05:00
|
|
|
<PossiblyNullOperand errorLevel="suppress"/>
|
2019-11-25 15:20:31 -05:00
|
|
|
|
|
|
|
<DeprecatedMethod>
|
2018-05-03 11:38:27 -04:00
|
|
|
<errorLevel type="suppress">
|
2019-11-25 15:20:31 -05:00
|
|
|
<directory name="tests" />
|
2018-05-03 11:38:27 -04:00
|
|
|
</errorLevel>
|
2019-11-25 15:20:31 -05:00
|
|
|
</DeprecatedMethod>
|
2017-01-26 23:23:12 -07:00
|
|
|
|
2019-10-04 11:23:35 -04:00
|
|
|
<DeprecatedMethod>
|
|
|
|
<errorLevel type="suppress">
|
|
|
|
<directory name="tests" />
|
|
|
|
</errorLevel>
|
|
|
|
</DeprecatedMethod>
|
|
|
|
|
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"/>
|
2019-05-30 15:15:12 -04:00
|
|
|
<directory name="src/Psalm/Internal/Fork" />
|
2019-03-31 14:02:30 -04:00
|
|
|
<file name="src/Psalm/Plugin/Shepherd.php" />
|
2019-02-23 23:22:39 +02: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"/>
|
2019-03-06 18:24:52 -05:00
|
|
|
<file name="src/Psalm/Type/Atomic/TCallableArray.php"/>
|
2018-11-14 13:19:38 -05:00
|
|
|
<file name="src/Psalm/Type/Atomic/TNonEmptyArray.php"/>
|
2019-02-23 23:22:39 +02: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>
|
2019-04-12 18:28:07 -04:00
|
|
|
<errorLevel type="info">
|
|
|
|
<file name="src/Psalm/Internal/Provider/FileReferenceProvider.php" />
|
|
|
|
</errorLevel>
|
2017-02-26 23:47:15 -05:00
|
|
|
<errorLevel type="suppress">
|
2018-11-14 13:19:38 -05:00
|
|
|
<directory name="src/Psalm/Plugin"/>
|
2019-03-23 12:47:46 -04:00
|
|
|
<directory name="src/Psalm/SourceControl/Git/"/>
|
2018-11-14 13:19:38 -05: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"/>
|
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
|
|
|
<file name="src/Psalm/Config.php"/>
|
2017-01-26 23:23:12 -07:00
|
|
|
</errorLevel>
|
|
|
|
</PropertyNotSetInConstructor>
|
2016-12-29 00:32:12 -05:00
|
|
|
|
2018-12-01 18:37:49 -05:00
|
|
|
<InternalMethod>
|
|
|
|
<errorLevel type="suppress">
|
|
|
|
<directory name="tests"/>
|
|
|
|
</errorLevel>
|
|
|
|
</InternalMethod>
|
2019-09-18 14:21:06 -04:00
|
|
|
|
2019-11-11 10:11:42 -05:00
|
|
|
<PossiblyUndefinedStringArrayOffset>
|
2019-09-18 14:21:06 -04:00
|
|
|
<errorLevel type="suppress">
|
2019-10-01 15:44:43 -04:00
|
|
|
<directory name="src/Psalm/Internal/Provider/ReturnTypeProvider" />
|
|
|
|
<file name="src/Psalm/Internal/Type/AssertionReconciler.php" />
|
|
|
|
<file name="src/Psalm/Internal/Type/NegatedAssertionReconciler.php" />
|
2019-09-18 14:21:06 -04:00
|
|
|
<directory name="tests"/>
|
|
|
|
</errorLevel>
|
2019-11-11 10:11:42 -05:00
|
|
|
</PossiblyUndefinedStringArrayOffset>
|
2016-12-29 20:07:42 -05:00
|
|
|
</issueHandlers>
|
2018-12-08 13:18:55 -05:00
|
|
|
</psalm>
|