80 lines
2.8 KiB
XML
80 lines
2.8 KiB
XML
<?xml version="1.0"?>
|
|
<psalm
|
|
totallyTyped="false"
|
|
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"
|
|
autoloader="lib/autoloader.php"
|
|
errorLevel="8"
|
|
>
|
|
<projectFiles>
|
|
<file name="admin/class_test.php" />
|
|
<file name="admin/config.php" />
|
|
<file name="admin/error_test.php" />
|
|
<file name="admin/l10n_test.php" />
|
|
<file name="admin/namespace_test.php" />
|
|
<file name="admin/other_test.php" />
|
|
<file name="admin/smarty_test.php" />
|
|
<file name="admin/various_class_test.php" />
|
|
<directory name="configs" />
|
|
<directory name="frontend" />
|
|
<directory name="includes" />
|
|
<directory name="lib" />
|
|
<directory name="layout" />
|
|
<ignoreFiles>
|
|
<directory name="vendor" />
|
|
<directory name="templates_c" />
|
|
<directory name="cache" />
|
|
<directory name="tmp" />
|
|
<directory name="log" />
|
|
<directory name="media" />
|
|
<directory name="lib/FileUpload" />
|
|
<directory name="lib/pChart" />
|
|
<directory name="lib/pChart2.1.4" />
|
|
<directory name="lib/Smarty" />
|
|
<directory name="lib/smarty-3.1.30" />
|
|
</ignoreFiles>
|
|
</projectFiles>
|
|
|
|
<issueHandlers>
|
|
<LessSpecificReturnType errorLevel="error" />
|
|
|
|
<!-- level 3 issues - slightly lazy code writing, but provably low false-negatives -->
|
|
|
|
<DeprecatedMethod errorLevel="error" />
|
|
<DeprecatedProperty errorLevel="error" />
|
|
<DeprecatedClass errorLevel="error" />
|
|
<DeprecatedConstant errorLevel="error" />
|
|
<DeprecatedFunction errorLevel="error" />
|
|
<DeprecatedInterface errorLevel="error" />
|
|
<DeprecatedTrait errorLevel="error" />
|
|
|
|
<InternalMethod errorLevel="error" />
|
|
<InternalProperty errorLevel="error" />
|
|
<InternalClass errorLevel="error" />
|
|
|
|
<MissingClosureReturnType errorLevel="error" />
|
|
<MissingReturnType errorLevel="error" />
|
|
<MissingPropertyType errorLevel="error" />
|
|
<InvalidDocblock errorLevel="error" />
|
|
<MisplacedRequiredParam errorLevel="error" />
|
|
|
|
<PropertyNotSetInConstructor errorLevel="error" />
|
|
<MissingConstructor errorLevel="error" />
|
|
<MissingClosureParamType errorLevel="error" />
|
|
<MissingParamType errorLevel="error" />
|
|
|
|
<RedundantCondition errorLevel="error" />
|
|
|
|
<DocblockTypeContradiction errorLevel="error" />
|
|
<RedundantConditionGivenDocblockType errorLevel="error" />
|
|
|
|
<UnresolvableInclude errorLevel="error" />
|
|
|
|
<RawObjectIteration errorLevel="error" />
|
|
|
|
<InvalidStringClass errorLevel="error" />
|
|
</issueHandlers>
|
|
</psalm>
|