mirror of
https://github.com/codeigniter4/CodeIgniter4.git
synced 2025-02-20 11:44:28 +08:00
To suppress the following warnings: Warning: "findUnusedBaselineEntry" will be defaulted to "true" in Psalm 6. You should explicitly enable or disable this setting. Warning: "findUnusedCode" will be defaulted to "true" in Psalm 6. You should explicitly enable or disable this setting. findUnusedBaselineEntry="false" Because enabled PHP extensions vary depending on the developer's environment, setting this to true will likely result in errors.
39 lines
1.3 KiB
XML
39 lines
1.3 KiB
XML
<?xml version="1.0"?>
|
|
<psalm
|
|
errorLevel="8"
|
|
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="psalm_autoload.php"
|
|
cacheDirectory="build/psalm/"
|
|
errorBaseline="psalm-baseline.xml"
|
|
findUnusedBaselineEntry="false"
|
|
findUnusedCode="false"
|
|
>
|
|
<projectFiles>
|
|
<directory name="app/" />
|
|
<directory name="public/" />
|
|
<directory name="system/" />
|
|
<directory name="tests/" />
|
|
<file name="spark" />
|
|
<ignoreFiles>
|
|
<directory name="app/Views" />
|
|
<directory name="system/Commands/Generators/Views" />
|
|
<directory name="system/Validation/Views" />
|
|
<directory name="tests/system/View/Views" />
|
|
<directory name="tests/_support/View/Views" />
|
|
<directory name="system/ThirdParty" />
|
|
<directory name="vendor" />
|
|
</ignoreFiles>
|
|
</projectFiles>
|
|
|
|
<issueHandlers>
|
|
<UndefinedGlobalVariable>
|
|
<errorLevel type="suppress">
|
|
<directory name="tests/_support/View/Cells" />
|
|
</errorLevel>
|
|
</UndefinedGlobalVariable>
|
|
</issueHandlers>
|
|
</psalm>
|