Skip to content

Update main.yml

Update main.yml #133

Triggered via push May 24, 2024 13:19
Status Failure
Total duration 21m 36s
Artifacts

main.yml

on: push
m2 tests & build
21m 25s
m2 tests & build
m2 integration test
5m 5s
m2 integration test
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
m2 tests & build: vendor/magento/module-email/Block/Adminhtml/Template/Edit/Form.php#L57
Parameter $variableFactory of method Magento\Email\Block\Adminhtml\Template\Edit\Form::__construct() has invalid type Magento\Variable\Model\VariableFactory.
m2 tests & build: vendor/magento/module-email/Block/Adminhtml/Template/Preview.php#L42
Parameter $emailFactory of method Magento\Email\Block\Adminhtml\Template\Preview::__construct() has invalid type Magento\Email\Model\TemplateFactory.
m2 tests & build: vendor/magento/module-email/Console/Command/DatabaseTemplateCompatibilityCommand.php#L26
Property Magento\Email\Console\Command\DatabaseTemplateCompatibilityCommand::$templateCollection has unknown class Magento\Email\Model\ResourceModel\Template\CollectionFactory as its type.
m2 tests & build: vendor/magento/module-email/Console/Command/DatabaseTemplateCompatibilityCommand.php#L47
Parameter $templateCollection of method Magento\Email\Console\Command\DatabaseTemplateCompatibilityCommand::__construct() has invalid type Magento\Email\Model\ResourceModel\Template\CollectionFactory.
m2 tests & build: vendor/magento/module-email/Controller/Adminhtml/Email/Template/Delete.php#L23
Use service contracts to persist entities in favour of Magento\Email\Model\BackendTemplate::delete() method
m2 tests & build: vendor/magento/module-email/Controller/Adminhtml/Email/Template/Preview.php#L25
Method Magento\Email\Controller\Adminhtml\Email\Template\Preview::execute() should return Magento\Framework\App\ResponseInterface|Magento\Framework\Controller\ResultInterface but return statement is missing.
m2 tests & build: vendor/magento/module-email/Model/AbstractTemplate.php#L199
Parameter $templateFactory of method Magento\Email\Model\AbstractTemplate::__construct() has invalid type Magento\Email\Model\TemplateFactory.
m2 tests & build: vendor/magento/module-email/Model/AbstractTemplate.php#L275
Use service contracts to persist entities in favour of $this(Magento\Email\Model\AbstractTemplate)::load() method
m2 tests & build: vendor/magento/module-email/Model/BackendTemplate.php#L55
Parameter $templateFactory of method Magento\Email\Model\BackendTemplate::__construct() has invalid type Magento\Email\Model\TemplateFactory.
m2 tests & build: vendor/magento/module-email/Model/BackendTemplate.php#L58
Parameter $filterFactory of method Magento\Email\Model\BackendTemplate::__construct() has invalid type Magento\Email\Model\Template\FilterFactory.
m2 tests & build
Failed to remove 'http.https://github.com/.extraheader' from the git config