mirror of https://github.com/pixelfed/pixelfed
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
54 lines
1.9 KiB
XML
54 lines
1.9 KiB
XML
|
4 weeks ago
|
<?xml version="1.0"?>
|
||
|
|
<psalm
|
||
|
|
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"
|
||
|
|
errorLevel="8"
|
||
|
|
findUnusedCode="false"
|
||
|
|
ensureOverrideAttribute="false"
|
||
|
|
errorBaseline="psalm-baseline.xml"
|
||
|
|
>
|
||
|
|
<projectFiles>
|
||
|
|
<directory name="app"/>
|
||
|
|
<directory name="bootstrap"/>
|
||
|
|
<directory name="config"/>
|
||
|
|
<directory name="database"/>
|
||
|
|
<directory name="routes"/>
|
||
|
|
<!-- composer require psalm/plugin-phpunit psalm/plugin-mockery for the full tests support -->
|
||
|
|
<!-- <directory name="tests"/>-->
|
||
|
|
|
||
|
|
|
||
|
|
<file name="public/index.php"/>
|
||
|
|
<file name="artisan"/>
|
||
|
|
<ignoreFiles allowMissingFiles="true">
|
||
|
|
<directory name="bootstrap/cache"/>
|
||
|
|
<directory name="storage"/>
|
||
|
|
<directory name="vendor"/>
|
||
|
|
</ignoreFiles>
|
||
|
|
</projectFiles>
|
||
|
|
|
||
|
|
<plugins>
|
||
|
|
<!-- All Psalm Laravel options: https://github.com/psalm/psalm-plugin-laravel/blob/master/docs/config.md -->
|
||
|
|
<pluginClass class="Psalm\LaravelPlugin\Plugin">
|
||
|
|
<resolveDynamicWhereClauses value="true" />
|
||
|
|
<findMissingTranslations value="false" />
|
||
|
|
<findMissingViews value="false" />
|
||
|
|
</pluginClass>
|
||
|
|
</plugins>
|
||
|
|
|
||
|
|
<issueHandlers>
|
||
|
|
<ImplicitToStringCast errorLevel="info"/>
|
||
|
|
<MissingClosureReturnType errorLevel="info"/>
|
||
|
|
<MissingImmutableAnnotation errorLevel="info"/>
|
||
|
|
<MissingOverrideAttribute errorLevel="info"/>
|
||
|
|
<RedundantCast errorLevel="info"/>
|
||
|
|
<RedundantCondition errorLevel="info"/>
|
||
|
|
<UnnecessaryVarAnnotation errorLevel="suppress"/>
|
||
|
|
</issueHandlers>
|
||
|
|
|
||
|
|
<forbiddenFunctions>
|
||
|
|
<function name="var_dump" />
|
||
|
|
<function name="dd" />
|
||
|
|
</forbiddenFunctions>
|
||
|
|
</psalm>
|