phpmyadmin/psalm.xml
Maurício Meneghini Fauth 65a309154e
Add test directory to psalm.xml
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2021-06-18 10:52:41 -03:00

67 lines
2.5 KiB
XML

<?xml version="1.0"?>
<psalm
autoloader="test/bootstrap-static.php"
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"
errorBaseline="psalm-baseline.xml"
>
<projectFiles>
<directory name="libraries"/>
<directory name="setup"/>
<directory name="test/classes"/>
<directory name="test/selenium"/>
<file name="js/messages.php"/>
<ignoreFiles>
<directory name="vendor"/>
<directory name="libraries/cache"/>
</ignoreFiles>
</projectFiles>
<plugins>
<pluginClass class="Psalm\PhpUnitPlugin\Plugin"/>
</plugins>
<issueHandlers>
<PropertyNotSetInConstructor errorLevel="info"/>
<RedundantCondition errorLevel="info"/>
<DocblockTypeContradiction errorLevel="info"/>
<UnresolvableInclude>
<errorLevel type="suppress">
<file name="libraries/classes/Config.php"/>
<file name="libraries/classes/Controllers/ImportController.php"/>
<file name="libraries/classes/Controllers/Table/ReplaceController.php"/>
<file name="libraries/classes/Display/Results.php"/>
<file name="libraries/classes/Plugins.php"/>
</errorLevel>
</UnresolvableInclude>
<PossiblyUndefinedGlobalVariable>
<errorLevel type="suppress">
<file name="libraries/config.default.php"/>
</errorLevel>
</PossiblyUndefinedGlobalVariable>
<InvalidGlobal>
<errorLevel type="suppress">
<file name="libraries/common.inc.php"/>
</errorLevel>
</InvalidGlobal>
<InvalidStringClass>
<errorLevel type="suppress">
<file name="libraries/classes/Config/Forms/BaseFormList.php"/>
<file name="libraries/classes/Config/PageSettings.php"/>
<file name="libraries/classes/Controllers/Setup/FormController.php"/>
<file name="libraries/classes/Navigation/NodeFactory.php"/>
<file name="libraries/classes/Plugins.php"/>
<file name="libraries/classes/TwoFactor.php"/>
<file name="libraries/common.inc.php"/>
</errorLevel>
</InvalidStringClass>
</issueHandlers>
</psalm>