mirror of
https://github.com/danog/psalm.git
synced 2024-11-26 20:34:47 +01:00
105 lines
4.2 KiB
XML
105 lines
4.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" />
|
|
<TypeCoercion errorLevel="info" />
|
|
<RedundantCondition errorLevel="info" />
|
|
|
|
<PossiblyFalseArgument 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" />
|
|
<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" />
|
|
|
|
<!-- level 5 issues - should be avoided at mosts costs... -->
|
|
|
|
<ForbiddenCode errorLevel="info" />
|
|
<ImplicitToStringCast errorLevel="info" />
|
|
<InvalidScalarArgument errorLevel="info" />
|
|
<InvalidToString errorLevel="info" />
|
|
<MethodSignatureMismatch errorLevel="info" />
|
|
<NoInterfaceProperties errorLevel="info" />
|
|
<TooManyArguments errorLevel="info" />
|
|
<TypeDoesNotContainType errorLevel="info" />
|
|
<TypeDoesNotContainNull errorLevel="info" />
|
|
|
|
<!-- level 6 issues - really bad things -->
|
|
|
|
<InvalidNullableReturnType errorLevel="info" />
|
|
<NullableReturnStatement errorLevel="info" />
|
|
<ImplementedReturnTypeMismatch errorLevel="info" />
|
|
|
|
<MoreSpecificImplementedParamType errorLevel="info" />
|
|
<MoreSpecificImplementedReturnType errorLevel="info" />
|
|
|
|
<InvalidReturnStatement errorLevel="info" />
|
|
<InvalidReturnType errorLevel="info" />
|
|
<UndefinedThisPropertyAssignment errorLevel="info" />
|
|
|
|
<InvalidArgument errorLevel="info" />
|
|
|
|
<PossiblyUndefinedMethod errorLevel="info" />
|
|
<ReservedWord errorLevel="info" />
|
|
|
|
</issueHandlers>
|
|
</psalm>
|