Skip to content

Add the ability to parse multipart MIME email strings #495

Add the ability to parse multipart MIME email strings

Add the ability to parse multipart MIME email strings #495

Triggered via pull request November 21, 2023 02:53
Status Failure
Total duration 1m 7s
Artifacts

continuous-integration.yml

on: pull_request
ci  /  Generate job matrix
11s
ci / Generate job matrix
Matrix: ci / QA Checks
Fit to window
Zoom out
Zoom in

Annotations

20 errors and 1 warning
ci / QA Checks (PHPCodeSniffer [8.1, locked], ubuntu-latest, laminas/laminas-continuous-integration-ac...: test/MessageTest.php#L866
Function trim() should not be referenced via a fallback global name, but via a use statement.
ci / QA Checks (PHPCodeSniffer [8.1, locked], ubuntu-latest, laminas/laminas-continuous-integration-ac...: test/MessageTest.php#L871
Function trim() should not be referenced via a fallback global name, but via a use statement.
MixedAssignment: src/Message.php#L579
src/Message.php:579:17: MixedAssignment: Unable to determine the type that $parameters is being assigned to (see https://psalm.dev/032)
PossiblyFalseReference: src/Message.php#L579
src/Message.php:579:46: PossiblyFalseReference: Cannot call method getParameters on possibly false value (see https://psalm.dev/105)
UndefinedMethod: src/Message.php#L579
src/Message.php:579:46: UndefinedMethod: Method ArrayIterator::getParameters does not exist (see https://psalm.dev/022)
MixedAssignment: src/Message.php#L580
src/Message.php:580:17: MixedAssignment: Unable to determine the type that $boundary is being assigned to (see https://psalm.dev/032)
MixedArrayAccess: src/Message.php#L580
src/Message.php:580:32: MixedArrayAccess: Cannot access array value on mixed variable $parameters (see https://psalm.dev/051)
ReferenceConstraintViolation: src/Message.php#L582
src/Message.php:582:13: ReferenceConstraintViolation: Variable $content is limited to values of type string because it is passed by reference, Laminas\Mime\Message type found (see https://psalm.dev/086)
MixedArgument: src/Message.php#L582
src/Message.php:582:66: MixedArgument: Argument 2 of Laminas\Mime\Message::createFromMessage cannot be mixed|null, expecting null|string (see https://psalm.dev/030)
MixedMethodCall: test/MessageTest.php#L859
test/MessageTest.php:859:48: MixedMethodCall: Cannot determine the type of the object on the left hand side of this expression (see https://psalm.dev/015)
PossiblyInvalidMethodCall: test/MessageTest.php#L859
test/MessageTest.php:859:48: PossiblyInvalidMethodCall: Cannot call method on possible string variable (see https://psalm.dev/113)
MixedAssignment: test/MessageTest.php#L860
test/MessageTest.php:860:9: MixedAssignment: Unable to determine the type that $parts is being assigned to (see https://psalm.dev/032)