This repository has been archived by the owner on Jul 5, 2024. It is now read-only.
Fix static analysis issues #8
Annotations
10 errors
Tests on PHP 8.0, mysql, Mautic 5.x:
plugins/SparkpostBundle/Tests/Unit/Mailer/Factory/SparkpostTransportFactoryTest.php#L31
Class MauticPlugin\SparkpostBundle\Mailer\Factory\SparkpostTransportFactory constructor invoked with 5 parameters, 2-4 required.
|
Tests on PHP 8.0, mysql, Mautic 5.x:
plugins/SparkpostBundle/Tests/Unit/Mailer/Factory/SparkpostTransportFactoryTest.php#L32
Parameter #1 $transportCallback of class MauticPlugin\SparkpostBundle\Mailer\Factory\SparkpostTransportFactory constructor expects Mautic\EmailBundle\Model\TransportCallback, PHPUnit\Framework\MockObject\MockObject&Symfony\Contracts\Translation\TranslatorInterface given.
|
Tests on PHP 8.0, mysql, Mautic 5.x:
plugins/SparkpostBundle/Tests/Unit/Mailer/Factory/SparkpostTransportFactoryTest.php#L34
Parameter #3 $client of class MauticPlugin\SparkpostBundle\Mailer\Factory\SparkpostTransportFactory constructor expects Symfony\Contracts\HttpClient\HttpClientInterface|null, Mautic\EmailBundle\Model\TransportCallback&PHPUnit\Framework\MockObject\MockObject given.
|
Tests on PHP 8.0, mysql, Mautic 5.x:
plugins/SparkpostBundle/Tests/Unit/Mailer/Factory/SparkpostTransportFactoryTest.php#L35
Parameter #4 $logger of class MauticPlugin\SparkpostBundle\Mailer\Factory\SparkpostTransportFactory constructor expects Psr\Log\LoggerInterface|null, PHPUnit\Framework\MockObject\MockObject&Symfony\Contracts\HttpClient\HttpClientInterface given.
|
Tests on PHP 8.0, mysql, Mautic 5.x:
plugins/SparkpostBundle/Tests/Unit/Mailer/Transport/SparkpostTransportTest.php#L45
Class MauticPlugin\SparkpostBundle\Mailer\Transport\SparkpostTransport constructor invoked with 7 parameters, 3-6 required.
|
Tests on PHP 8.0, mysql, Mautic 5.x:
plugins/SparkpostBundle/Tests/Unit/Mailer/Transport/SparkpostTransportTest.php#L48
Parameter #3 $callback of class MauticPlugin\SparkpostBundle\Mailer\Transport\SparkpostTransport constructor expects Mautic\EmailBundle\Model\TransportCallback, PHPUnit\Framework\MockObject\MockObject&Symfony\Contracts\Translation\TranslatorInterface given.
|
Tests on PHP 8.0, mysql, Mautic 5.x:
plugins/SparkpostBundle/Tests/Unit/Mailer/Transport/SparkpostTransportTest.php#L49
Parameter #4 $client of class MauticPlugin\SparkpostBundle\Mailer\Transport\SparkpostTransport constructor expects Symfony\Contracts\HttpClient\HttpClientInterface|null, Mautic\EmailBundle\Model\TransportCallback&PHPUnit\Framework\MockObject\MockObject given.
|
Tests on PHP 8.0, mysql, Mautic 5.x:
plugins/SparkpostBundle/Tests/Unit/Mailer/Transport/SparkpostTransportTest.php#L50
Parameter #5 $dispatcher of class MauticPlugin\SparkpostBundle\Mailer\Transport\SparkpostTransport constructor expects Psr\EventDispatcher\EventDispatcherInterface|null, PHPUnit\Framework\MockObject\MockObject&Symfony\Contracts\HttpClient\HttpClientInterface given.
|
Tests on PHP 8.0, mysql, Mautic 5.x:
plugins/SparkpostBundle/Tests/Unit/Mailer/Transport/SparkpostTransportTest.php#L51
Parameter #6 $logger of class MauticPlugin\SparkpostBundle\Mailer\Transport\SparkpostTransport constructor expects Psr\Log\LoggerInterface|null, PHPUnit\Framework\MockObject\MockObject&Psr\EventDispatcher\EventDispatcherInterface given.
|
Tests on PHP 8.0, mysql, Mautic 5.x:
plugins/SparkpostBundle/Tests/Unit/Mailer/Transport/SparkpostTransportTest.php#L58
Call to static method PHPUnit\Framework\Assert::assertInstanceOf() with 'MauticPlugin\\SparkpostBundle\\Mailer\\Transport\\SparkpostTransport' and MauticPlugin\SparkpostBundle\Mailer\Transport\SparkpostTransport will always evaluate to true.
|