Fix Psalm errors #15
build.yaml
on: push
Matrix: code-coverage
Matrix: coding-standards
Matrix: dependency-analysis
Matrix: integration-tests
Matrix: Mutation tests
Matrix: static-code-analysis
Matrix: unit-tests
Annotations
58 errors
Dependency Analysis (PHP8.1 | Deps: highest | SF~6.4.0)
Process completed with exit code 255.
|
Dependency Analysis (PHP8.2 | Deps: highest | SF~6.4.0)
Process completed with exit code 255.
|
Dependency Analysis (PHP8.1 | Deps: highest | SF~5.4.0)
The job was canceled because "_8_2_highest__6_4_0" failed.
|
Dependency Analysis (PHP8.1 | Deps: highest | SF~5.4.0)
Process completed with exit code 255.
|
Dependency Analysis (PHP8.1 | Deps: lowest | SF~5.4.0)
The job was canceled because "_8_2_highest__6_4_0" failed.
|
Dependency Analysis (PHP8.2 | Deps: lowest | SF~6.4.0)
The job was canceled because "_8_2_highest__6_4_0" failed.
|
Dependency Analysis (PHP8.2 | Deps: lowest | SF~6.4.0)
Process completed with exit code 255.
|
Dependency Analysis (PHP8.2 | Deps: highest | SF~5.4.0)
The job was canceled because "_8_2_highest__6_4_0" failed.
|
Dependency Analysis (PHP8.2 | Deps: highest | SF~5.4.0)
Process completed with exit code 255.
|
Dependency Analysis (PHP8.1 | Deps: lowest | SF~6.4.0)
The job was canceled because "_8_2_highest__6_4_0" failed.
|
Dependency Analysis (PHP8.2 | Deps: lowest | SF~5.4.0)
The job was canceled because "_8_2_highest__6_4_0" failed.
|
Integration tests (PHP8.1 | Deps: lowest | SF~5.4.0)
Process completed with exit code 1.
|
Integration tests (PHP8.2 | Deps: lowest | SF~5.4.0)
The job was canceled because "_8_1_lowest__5_4_0" failed.
|
Integration tests (PHP8.2 | Deps: lowest | SF~5.4.0)
Process completed with exit code 1.
|
Integration tests (PHP8.1 | Deps: highest | SF~5.4.0)
The job was canceled because "_8_1_lowest__5_4_0" failed.
|
Integration tests (PHP8.2 | Deps: lowest | SF~6.4.0)
The job was canceled because "_8_1_lowest__5_4_0" failed.
|
MixedReturnTypeCoercion:
src/EventSubscriber/SymfonyMailerLoggerSubscriber.php#L37
src/EventSubscriber/SymfonyMailerLoggerSubscriber.php:37:51: MixedReturnTypeCoercion: The declared return type 'array<string, array{0?: array{0: string, 1?: int}|string, 1?: array{0: string, 1?: int}|int, ...<int<0, max>, array{0: string, 1?: int}>}|string>' for Setono\SyliusMailerPlugin\EventSubscriber\SymfonyMailerLoggerSubscriber::getSubscribedEvents is more specific than the inferred return type 'array{'Symfony\\Component\\Mailer\\Event\\MessageEvent'::class: list{'log', 10}, ...<mixed, list{'save', -10}>}' (see https://psalm.dev/197)
|
MixedReturnTypeCoercion:
src/EventSubscriber/SymfonyMailerLoggerSubscriber.php#L39
src/EventSubscriber/SymfonyMailerLoggerSubscriber.php:39:16: MixedReturnTypeCoercion: The type 'array{'Symfony\\Component\\Mailer\\Event\\MessageEvent'::class: list{'log', 10}, ...<mixed, list{'save', -10}>}' is more general than the declared return type 'array<string, array{0?: array{0: string, 1?: int}|string, 1?: array{0: string, 1?: int}|int, ...<int<0, max>, array{0: string, 1?: int}>}|string>' for Setono\SyliusMailerPlugin\EventSubscriber\SymfonyMailerLoggerSubscriber::getSubscribedEvents (see https://psalm.dev/197)
|
UndefinedClass:
src/EventSubscriber/SymfonyMailerLoggerSubscriber.php#L41
src/EventSubscriber/SymfonyMailerLoggerSubscriber.php:41:13: UndefinedClass: Class, interface or enum named Symfony\Component\Mailer\Event\SentMessageEvent does not exist (see https://psalm.dev/019)
|
UndefinedClass:
src/EventSubscriber/SymfonyMailerLoggerSubscriber.php#L79
src/EventSubscriber/SymfonyMailerLoggerSubscriber.php:79:26: UndefinedClass: Class, interface or enum named Symfony\Component\Mailer\Event\SentMessageEvent does not exist (see https://psalm.dev/019)
|
Static Code Analysis (PHP8.2 | Deps: highest | SF~5.4.0)
Process completed with exit code 2.
|
Static Code Analysis (PHP8.1 | Deps: lowest | SF~5.4.0)
The job was canceled because "_8_2_highest__5_4_0" failed.
|
UndefinedClass:
src/DependencyInjection/SetonoSyliusMailerExtension.php#L35
src/DependencyInjection/SetonoSyliusMailerExtension.php:35:65: UndefinedClass: Class, interface or enum named Symfony\Component\Mailer\MailerInterface does not exist (see https://psalm.dev/019)
|
MixedArgument:
src/DependencyInjection/SetonoSyliusMailerExtension.php#L35
src/DependencyInjection/SetonoSyliusMailerExtension.php:35:65: MixedArgument: Argument 2 of Symfony\Component\DependencyInjection\ContainerBuilder::willBeAvailable cannot be mixed, expecting string (see https://psalm.dev/030)
|
MixedReturnTypeCoercion:
src/EventSubscriber/SymfonyMailerLoggerSubscriber.php#L37
src/EventSubscriber/SymfonyMailerLoggerSubscriber.php:37:51: MixedReturnTypeCoercion: The declared return type 'array<string, array{0?: array{0: string, 1?: int}|string, 1?: array{0: string, 1?: int}|int, ...<int<0, max>, array{0: string, 1?: int}>}|string>' for Setono\SyliusMailerPlugin\EventSubscriber\SymfonyMailerLoggerSubscriber::getSubscribedEvents is more specific than the inferred return type 'non-empty-array<array-key, list{'log'|'save', -10|10}>' (see https://psalm.dev/197)
|
MixedArrayOffset:
src/EventSubscriber/SymfonyMailerLoggerSubscriber.php#L39
src/EventSubscriber/SymfonyMailerLoggerSubscriber.php:39:16: MixedArrayOffset: Cannot create mixed offset – expecting array-key (see https://psalm.dev/031)
|
MixedReturnTypeCoercion:
src/EventSubscriber/SymfonyMailerLoggerSubscriber.php#L39
src/EventSubscriber/SymfonyMailerLoggerSubscriber.php:39:16: MixedReturnTypeCoercion: The type 'non-empty-array<array-key, list{'log'|'save', -10|10}>' is more general than the declared return type 'array<string, array{0?: array{0: string, 1?: int}|string, 1?: array{0: string, 1?: int}|int, ...<int<0, max>, array{0: string, 1?: int}>}|string>' for Setono\SyliusMailerPlugin\EventSubscriber\SymfonyMailerLoggerSubscriber::getSubscribedEvents (see https://psalm.dev/197)
|
UndefinedClass:
src/EventSubscriber/SymfonyMailerLoggerSubscriber.php#L40
src/EventSubscriber/SymfonyMailerLoggerSubscriber.php:40:13: UndefinedClass: Class, interface or enum named Symfony\Component\Mailer\Event\MessageEvent does not exist (see https://psalm.dev/019)
|
UndefinedClass:
src/EventSubscriber/SymfonyMailerLoggerSubscriber.php#L41
src/EventSubscriber/SymfonyMailerLoggerSubscriber.php:41:13: UndefinedClass: Class, interface or enum named Symfony\Component\Mailer\Event\SentMessageEvent does not exist (see https://psalm.dev/019)
|
UndefinedClass:
src/EventSubscriber/SymfonyMailerLoggerSubscriber.php#L45
src/EventSubscriber/SymfonyMailerLoggerSubscriber.php:45:25: UndefinedClass: Class, interface or enum named Symfony\Component\Mailer\Event\MessageEvent does not exist (see https://psalm.dev/019)
|
UndefinedClass:
src/EventSubscriber/SymfonyMailerLoggerSubscriber.php#L79
src/EventSubscriber/SymfonyMailerLoggerSubscriber.php:79:26: UndefinedClass: Class, interface or enum named Symfony\Component\Mailer\Event\SentMessageEvent does not exist (see https://psalm.dev/019)
|
Static Code Analysis (PHP8.1 | Deps: lowest | SF~5.4.0)
Process completed with exit code 2.
|
Static Code Analysis (PHP8.2 | Deps: lowest | SF~6.4.0)
The job was canceled because "_8_2_highest__5_4_0" failed.
|
Integration tests (PHP8.2 | Deps: highest | SF~6.4.0)
The job was canceled because "_8_1_lowest__5_4_0" failed.
|
Integration tests (PHP8.2 | Deps: highest | SF~6.4.0)
The operation was canceled.
|
Integration tests (PHP8.1 | Deps: highest | SF~6.4.0)
The job was canceled because "_8_1_lowest__5_4_0" failed.
|
Integration tests (PHP8.1 | Deps: highest | SF~6.4.0)
The operation was canceled.
|
Static Code Analysis (PHP8.1 | Deps: highest | SF~5.4.0)
The job was canceled because "_8_2_highest__5_4_0" failed.
|
MixedReturnTypeCoercion:
src/EventSubscriber/SymfonyMailerLoggerSubscriber.php#L37
src/EventSubscriber/SymfonyMailerLoggerSubscriber.php:37:51: MixedReturnTypeCoercion: The declared return type 'array<string, array{0?: array{0: string, 1?: int}|string, 1?: array{0: string, 1?: int}|int, ...<int<0, max>, array{0: string, 1?: int}>}|string>' for Setono\SyliusMailerPlugin\EventSubscriber\SymfonyMailerLoggerSubscriber::getSubscribedEvents is more specific than the inferred return type 'array{'Symfony\\Component\\Mailer\\Event\\MessageEvent'::class: list{'log', 10}, ...<mixed, list{'save', -10}>}' (see https://psalm.dev/197)
|
MixedReturnTypeCoercion:
src/EventSubscriber/SymfonyMailerLoggerSubscriber.php#L39
src/EventSubscriber/SymfonyMailerLoggerSubscriber.php:39:16: MixedReturnTypeCoercion: The type 'array{'Symfony\\Component\\Mailer\\Event\\MessageEvent'::class: list{'log', 10}, ...<mixed, list{'save', -10}>}' is more general than the declared return type 'array<string, array{0?: array{0: string, 1?: int}|string, 1?: array{0: string, 1?: int}|int, ...<int<0, max>, array{0: string, 1?: int}>}|string>' for Setono\SyliusMailerPlugin\EventSubscriber\SymfonyMailerLoggerSubscriber::getSubscribedEvents (see https://psalm.dev/197)
|
UndefinedClass:
src/EventSubscriber/SymfonyMailerLoggerSubscriber.php#L41
src/EventSubscriber/SymfonyMailerLoggerSubscriber.php:41:13: UndefinedClass: Class, interface or enum named Symfony\Component\Mailer\Event\SentMessageEvent does not exist (see https://psalm.dev/019)
|
UndefinedClass:
src/EventSubscriber/SymfonyMailerLoggerSubscriber.php#L79
src/EventSubscriber/SymfonyMailerLoggerSubscriber.php:79:26: UndefinedClass: Class, interface or enum named Symfony\Component\Mailer\Event\SentMessageEvent does not exist (see https://psalm.dev/019)
|
Static Code Analysis (PHP8.1 | Deps: highest | SF~5.4.0)
Process completed with exit code 2.
|
Static Code Analysis (PHP8.1 | Deps: lowest | SF~6.4.0)
The job was canceled because "_8_2_highest__5_4_0" failed.
|
Static Code Analysis (PHP8.1 | Deps: highest | SF~6.4.0)
The job was canceled because "_8_2_highest__5_4_0" failed.
|
Static Code Analysis (PHP8.1 | Deps: highest | SF~6.4.0)
The operation was canceled.
|
Static Code Analysis (PHP8.2 | Deps: lowest | SF~5.4.0)
The job was canceled because "_8_2_highest__5_4_0" failed.
|
UndefinedClass:
src/DependencyInjection/SetonoSyliusMailerExtension.php#L35
src/DependencyInjection/SetonoSyliusMailerExtension.php:35:65: UndefinedClass: Class, interface or enum named Symfony\Component\Mailer\MailerInterface does not exist (see https://psalm.dev/019)
|
MixedArgument:
src/DependencyInjection/SetonoSyliusMailerExtension.php#L35
src/DependencyInjection/SetonoSyliusMailerExtension.php:35:65: MixedArgument: Argument 2 of Symfony\Component\DependencyInjection\ContainerBuilder::willBeAvailable cannot be mixed, expecting string (see https://psalm.dev/030)
|
MixedReturnTypeCoercion:
src/EventSubscriber/SymfonyMailerLoggerSubscriber.php#L37
src/EventSubscriber/SymfonyMailerLoggerSubscriber.php:37:51: MixedReturnTypeCoercion: The declared return type 'array<string, array{0?: array{0: string, 1?: int}|string, 1?: array{0: string, 1?: int}|int, ...<int<0, max>, array{0: string, 1?: int}>}|string>' for Setono\SyliusMailerPlugin\EventSubscriber\SymfonyMailerLoggerSubscriber::getSubscribedEvents is more specific than the inferred return type 'non-empty-array<array-key, list{'log'|'save', -10|10}>' (see https://psalm.dev/197)
|
MixedArrayOffset:
src/EventSubscriber/SymfonyMailerLoggerSubscriber.php#L39
src/EventSubscriber/SymfonyMailerLoggerSubscriber.php:39:16: MixedArrayOffset: Cannot create mixed offset – expecting array-key (see https://psalm.dev/031)
|
MixedReturnTypeCoercion:
src/EventSubscriber/SymfonyMailerLoggerSubscriber.php#L39
src/EventSubscriber/SymfonyMailerLoggerSubscriber.php:39:16: MixedReturnTypeCoercion: The type 'non-empty-array<array-key, list{'log'|'save', -10|10}>' is more general than the declared return type 'array<string, array{0?: array{0: string, 1?: int}|string, 1?: array{0: string, 1?: int}|int, ...<int<0, max>, array{0: string, 1?: int}>}|string>' for Setono\SyliusMailerPlugin\EventSubscriber\SymfonyMailerLoggerSubscriber::getSubscribedEvents (see https://psalm.dev/197)
|
UndefinedClass:
src/EventSubscriber/SymfonyMailerLoggerSubscriber.php#L40
src/EventSubscriber/SymfonyMailerLoggerSubscriber.php:40:13: UndefinedClass: Class, interface or enum named Symfony\Component\Mailer\Event\MessageEvent does not exist (see https://psalm.dev/019)
|
UndefinedClass:
src/EventSubscriber/SymfonyMailerLoggerSubscriber.php#L41
src/EventSubscriber/SymfonyMailerLoggerSubscriber.php:41:13: UndefinedClass: Class, interface or enum named Symfony\Component\Mailer\Event\SentMessageEvent does not exist (see https://psalm.dev/019)
|
UndefinedClass:
src/EventSubscriber/SymfonyMailerLoggerSubscriber.php#L45
src/EventSubscriber/SymfonyMailerLoggerSubscriber.php:45:25: UndefinedClass: Class, interface or enum named Symfony\Component\Mailer\Event\MessageEvent does not exist (see https://psalm.dev/019)
|
UndefinedClass:
src/EventSubscriber/SymfonyMailerLoggerSubscriber.php#L79
src/EventSubscriber/SymfonyMailerLoggerSubscriber.php:79:26: UndefinedClass: Class, interface or enum named Symfony\Component\Mailer\Event\SentMessageEvent does not exist (see https://psalm.dev/019)
|
Static Code Analysis (PHP8.2 | Deps: lowest | SF~5.4.0)
The operation was canceled.
|
Mutation tests (8.2, highest)
Process completed with exit code 1.
|