Use annotated target 1.1 #18
testing.yml
on: pull_request
continuous-integration
13s
Annotations
5 errors
RiskyTruthyFalsyComparison:
src/DocBlockArchitecturalDecision.php#L22
src/DocBlockArchitecturalDecision.php:22:17: RiskyTruthyFalsyComparison: Operand of type false|non-empty-string contains type non-empty-string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
RedundantCondition:
src/XmlDocumentGenerator.php#L77
src/XmlDocumentGenerator.php:77:13: RedundantCondition: Type DOMDocument for $contentsNode->ownerDocument is never null (see https://psalm.dev/122)
|
RiskyTruthyFalsyComparison:
src/XmlDocumentGenerator.php#L82
src/XmlDocumentGenerator.php:82:18: RiskyTruthyFalsyComparison: Operand of type list<Cspray\AnnotatedTarget\AnnotatedTarget>|null contains type list<Cspray\AnnotatedTarget\AnnotatedTarget>, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
|
RedundantCondition:
tests/Stub/Adr/StubMetaDataArchitecturalDecision.php#L25
tests/Stub/Adr/StubMetaDataArchitecturalDecision.php:25:9: RedundantCondition: Type DOMDocument for $dom is never null (see https://psalm.dev/122)
|
continuous-integration
Process completed with exit code 2.
|