Skip to content

Update to 5.x

Update to 5.x #307

Re-run triggered November 12, 2024 10:54
Status Failure
Total duration 3m 22s
Artifacts

tests.yml

on: pull_request
Matrix: phpunit
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Tests on PHP 8.0, mysql, Mautic 5.1: plugins/CustomObjectsBundle/Command/GenerateSampleDataCommand.php#L84
Call to an undefined method Symfony\Component\Console\Helper\HelperInterface::ask().
Tests on PHP 8.0, mysql, Mautic 5.1: plugins/CustomObjectsBundle/CustomFieldType/DateOperatorTrait.php#L7
Trait MauticPlugin\CustomObjectsBundle\CustomFieldType\DateOperatorTrait is used zero times and is not analysed.
Tests on PHP 8.0, mysql, Mautic 5.1: plugins/CustomObjectsBundle/CustomObjectsBundle.php#L27
Parameter $factory of method MauticPlugin\CustomObjectsBundle\CustomObjectsBundle::installAllTablesIfMissing() has typehint with deprecated class Mautic\CoreBundle\Factory\MauticFactory: 2.0 to be removed in 3.0
Tests on PHP 8.0, mysql, Mautic 5.1: plugins/CustomObjectsBundle/Entity/CustomField.php#L694
Method MauticPlugin\CustomObjectsBundle\Entity\CustomField::getDateAdded() should return DateTime but returns DateTimeInterface|null.
Tests on PHP 8.0, mysql, Mautic 5.1: plugins/CustomObjectsBundle/Entity/CustomField.php#L704
Method MauticPlugin\CustomObjectsBundle\Entity\CustomField::getDateModified() should return DateTime but returns DateTimeInterface|null.
Tests on PHP 8.0, mysql, Mautic 5.1: plugins/CustomObjectsBundle/EventListener/CampaignSubscriber.php#L149
Parameter $event of method MauticPlugin\CustomObjectsBundle\EventListener\CampaignSubscriber::onCampaignTriggerAction() has typehint with deprecated class Mautic\CampaignBundle\Event\CampaignExecutionEvent: 2.13.0; to be removed in 3.0
Tests on PHP 8.0, mysql, Mautic 5.1: plugins/CustomObjectsBundle/EventListener/CampaignSubscriber.php#L189
PHPDoc tag @throws with type Doctrine\DBAL\DBALException|MauticPlugin\CustomObjectsBundle\Exception\InvalidArgumentException|MauticPlugin\CustomObjectsBundle\Exception\InvalidSegmentFilterException|MauticPlugin\CustomObjectsBundle\Exception\NotFoundException is not subtype of Throwable
Tests on PHP 8.0, mysql, Mautic 5.1: plugins/CustomObjectsBundle/EventListener/CampaignSubscriber.php#L189
Parameter $event of method MauticPlugin\CustomObjectsBundle\EventListener\CampaignSubscriber::onCampaignTriggerCondition() has typehint with deprecated class Mautic\CampaignBundle\Event\CampaignExecutionEvent: 2.13.0; to be removed in 3.0
Tests on PHP 8.0, mysql, Mautic 5.1: plugins/CustomObjectsBundle/EventListener/CustomFieldPostLoadSubscriber.php#L42
Parameter $args of method MauticPlugin\CustomObjectsBundle\EventListener\CustomFieldPostLoadSubscriber::postLoad() has typehint with deprecated class Doctrine\ORM\Event\LifecycleEventArgs: This class will be removed in ORM 3.0. Use one of the dedicated classes instead.
Tests on PHP 8.0, mysql, Mautic 5.1: plugins/CustomObjectsBundle/EventListener/CustomItemButtonSubscriber.php#L60
Parameter #2 $default of method Symfony\Component\HttpFoundation\InputBag<string>::get() expects string|null, false given.