endtoend-test-psl/psalm.xml

68 lines
2.7 KiB
XML
Raw Normal View History

2019-12-24 01:52:07 +01:00
<?xml version="1.0"?>
<psalm
totallyTyped="true"
resolveFromConfigFile="true"
2020-07-07 15:17:36 +02:00
forbidEcho="true"
strictBinaryOperands="true"
phpVersion="7.4"
allowPhpStormGenerics="true"
allowStringToStandInForClass="true"
2020-07-09 00:28:29 +02:00
rememberPropertyAssignmentsAfterCall="false"
skipChecksOnUnresolvableIncludes="false"
checkForThrowsDocblock="true"
checkForThrowsInGlobalScope="true"
2019-12-24 01:52:07 +01:00
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"
>
<projectFiles>
<directory name="src" />
<directory name="integration" />
2019-12-24 01:52:07 +01:00
<ignoreFiles>
<directory name="vendor" />
<file name="src/bootstrap.php"/>
2020-07-09 00:28:29 +02:00
<file name="src/preload.php"/>
2020-03-01 22:20:13 +01:00
<file name="src/Psl/Internal/Loader.php"/>
2019-12-24 01:52:07 +01:00
</ignoreFiles>
</projectFiles>
<issueHandlers>
2020-07-09 00:28:29 +02:00
<DuplicateFunction errorLevel="suppress" />
2020-07-09 00:28:29 +02:00
<LessSpecificReturnType errorLevel="error"/>
<DeprecatedMethod errorLevel="error"/>
<DeprecatedProperty errorLevel="error"/>
<DeprecatedClass errorLevel="error"/>
<DeprecatedConstant errorLevel="error"/>
<DeprecatedInterface errorLevel="error"/>
<DeprecatedTrait errorLevel="error"/>
2020-07-09 00:28:29 +02:00
<ForbiddenCode errorLevel="error"/>
<InternalMethod errorLevel="error"/>
<InternalProperty errorLevel="error"/>
<InternalClass errorLevel="error"/>
<MissingClosureReturnType errorLevel="error"/>
<MissingReturnType errorLevel="error"/>
<MissingPropertyType errorLevel="error"/>
<InvalidDocblock errorLevel="error"/>
2020-07-09 00:28:29 +02:00
<PropertyNotSetInConstructor errorLevel="error"/>
<MissingConstructor errorLevel="error"/>
<MissingClosureParamType errorLevel="error"/>
<MissingParamType errorLevel="error"/>
<DocblockTypeContradiction errorLevel="error"/>
<RawObjectIteration errorLevel="error"/>
<InvalidStringClass errorLevel="error"/>
2020-07-09 00:28:29 +02:00
<UnresolvableInclude errorLevel="error"/>
2021-03-05 12:23:25 +01:00
<!-- Redundant expressions should not be considered errors. -->
<!-- Sometimes we want to enforce things at runtime, as well using static analysis -->
<RedundantConditionGivenDocblockType errorLevel="suppress"/>
<RedundantCondition errorLevel="suppress"/>
<RedundantCast errorLevel="suppress"/>
<RedundantCastGivenDocblockType errorLevel="suppress"/>
</issueHandlers>
2021-02-09 21:15:06 +01:00
<plugins>
<pluginClass class="Psl\Integration\Psalm\Plugin"/>
2021-02-09 21:15:06 +01:00
</plugins>
2019-12-24 01:52:07 +01:00
</psalm>