mirror of
https://github.com/danog/psalm.git
synced 2024-11-30 04:39:00 +01:00
77 lines
3.2 KiB
XML
77 lines
3.2 KiB
XML
<?xml version="1.0"?>
|
|
<psalm
|
|
totallyTyped="false"
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:schemaLocation="vendor/vimeo/psalm/config.xsd"
|
|
>
|
|
<projectFiles>
|
|
<directory name="src" />
|
|
</projectFiles>
|
|
|
|
<issueHandlers>
|
|
<LessSpecificReturnType errorLevel="info" />
|
|
|
|
<!-- level 3 issues - slightly lazy code writing, but provably low false-negatives -->
|
|
|
|
<DeprecatedMethod errorLevel="info" />
|
|
<DeprecatedProperty errorLevel="info" />
|
|
<DeprecatedClass errorLevel="info" />
|
|
|
|
<MissingClosureReturnType errorLevel="info" />
|
|
<MissingReturnType errorLevel="info" />
|
|
<MissingPropertyType errorLevel="info" />
|
|
<InvalidDocblock errorLevel="info" />
|
|
<MisplacedRequiredParam errorLevel="info" />
|
|
|
|
<PropertyNotSetInConstructor errorLevel="info" />
|
|
<MissingConstructor errorLevel="info" />
|
|
<MissingClosureParamType errorLevel="info" />
|
|
<MissingParamType errorLevel="info" />
|
|
|
|
<DocblockTypeContradiction errorLevel="info" />
|
|
<RedundantConditionGivenDocblockType errorLevel="info" />
|
|
|
|
<UnresolvableInclude errorLevel="info" />
|
|
|
|
<RawObjectIteration errorLevel="info" />
|
|
|
|
<!-- level 4 issues - points to possible deficiencies in logic, higher false-positives -->
|
|
|
|
<MoreSpecificReturnType errorLevel="info" />
|
|
<LessSpecificReturnStatement errorLevel="info" />
|
|
<TypeCoercion errorLevel="info" />
|
|
<RedundantCondition errorLevel="info" />
|
|
|
|
<PossiblyFalseArgument errorLevel="info" />
|
|
<PossiblyFalseIterator errorLevel="info" />
|
|
<PossiblyFalseOperand errorLevel="info" />
|
|
<PossiblyFalsePropertyAssignmentValue errorLevel="info" />
|
|
<PossiblyFalseReference errorLevel="info" />
|
|
<PossiblyInvalidArgument errorLevel="info" />
|
|
<PossiblyInvalidArrayAccess errorLevel="info" />
|
|
<PossiblyInvalidArrayAssignment errorLevel="info" />
|
|
<PossiblyInvalidArrayOffset errorLevel="info" />
|
|
<PossiblyInvalidFunctionCall errorLevel="info" />
|
|
<PossiblyInvalidIterator errorLevel="info" />
|
|
<PossiblyInvalidMethodCall errorLevel="info" />
|
|
<PossiblyInvalidOperand errorLevel="info" />
|
|
<PossiblyInvalidPropertyAssignment errorLevel="info" />
|
|
<PossiblyInvalidPropertyAssignmentValue errorLevel="info" />
|
|
<PossiblyInvalidPropertyFetch errorLevel="info" />
|
|
<PossiblyNullArgument errorLevel="info" />
|
|
<PossiblyNullArrayAccess errorLevel="info" />
|
|
<PossiblyNullArrayAssignment errorLevel="info" />
|
|
<PossiblyNullArrayOffset errorLevel="info" />
|
|
<PossiblyNullFunctionCall errorLevel="info" />
|
|
<PossiblyNullIterator errorLevel="info" />
|
|
<PossiblyNullOperand errorLevel="info" />
|
|
<PossiblyNullPropertyAssignment errorLevel="info" />
|
|
<PossiblyNullPropertyAssignmentValue errorLevel="info" />
|
|
<PossiblyNullPropertyFetch errorLevel="info" />
|
|
<PossiblyNullReference errorLevel="info" />
|
|
<PossiblyUndefinedGlobalVariable errorLevel="info" />
|
|
<PossiblyUndefinedVariable errorLevel="info" />
|
|
<PossiblyUndefinedMethod errorLevel="info" />
|
|
</issueHandlers>
|
|
</psalm>
|