Make rules more file specific in psalm config

Signed-off-by: William Desportes <williamdes@wdes.fr>
This commit is contained in:
William Desportes 2020-04-28 23:55:39 +02:00
parent 74d2eaa0a3
commit 29bbf03c22
No known key found for this signature in database
GPG Key ID: 90A0EF1B8251A889

View File

@ -37,10 +37,30 @@
<DocblockTypeContradiction errorLevel="info" />
<RedundantConditionGivenDocblockType errorLevel="info" />
<UnresolvableInclude errorLevel="info" />
<UnresolvableInclude>
<errorLevel type="suppress">
<file name="libraries/classes/Display/Results.php" />
<file name="libraries/classes/Plugins.php" />
<file name="libraries/classes/Controllers/Table/ReplaceController.php" />
<file name="libraries/classes/Controllers/ImportController.php" />
<file name="libraries/classes/Config.php" />
</errorLevel>
</UnresolvableInclude>
<RawObjectIteration errorLevel="info" />
<RawObjectIteration>
<errorLevel type="suppress">
<file name="libraries/classes/Plugins/Export/ExportSql.php" />
</errorLevel>
</RawObjectIteration>
<InvalidStringClass errorLevel="info" />
<InvalidStringClass>
<errorLevel type="suppress">
<file name="libraries/classes/TwoFactor.php" />
<file name="libraries/classes/Plugins.php" />
<file name="libraries/classes/Navigation/NodeFactory.php" />
<file name="libraries/classes/Config/PageSettings.php" />
<file name="libraries/classes/Config/Forms/BaseFormList.php" />
</errorLevel>
</InvalidStringClass>
</issueHandlers>
</psalm>