Skip to content

Update main.yml

Update main.yml #118

Triggered via push January 17, 2024 13:23
Status Cancelled
Total duration 3m 44s
Artifacts

main.yml

on: push
m2 tests & build
3m 36s
m2 tests & build
m2 integration test
3s
m2 integration test
Fit to window
Zoom out
Zoom in

Annotations

12 errors
m2 integration test
The run was canceled by @seyuf.
m2 integration test
A task was canceled.
m2 tests & build
The run was canceled by @seyuf.
m2 tests & build: vendor/magento/module-email/Block/Adminhtml/Template/Preview.php#L65
Use service contracts to persist entities in favour of Magento\Email\Model\Template::load() method
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#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#L104
$this(Magento\Email\Model\BackendTemplate)::_getResource() is deprecated. Use Resource Models directly
m2 tests & build: vendor/magento/module-email/Model/Template.php#L348
$this(Magento\Email\Model\Template)::_getResource() is deprecated. Use Resource Models directly
m2 tests & build: vendor/magento/module-email/Model/Template.php#L368
Use service contracts to persist entities in favour of $this(Magento\Email\Model\Template)::load() method
m2 tests & build: vendor/magento/module-email/Setup/Patch/Data/FlagLegacyTemplates.php#L37
Method Magento\Email\Setup\Patch\Data\FlagLegacyTemplates::apply() should return $this(Magento\Email\Setup\Patch\Data\FlagLegacyTemplates) but return statement is missing.
m2 tests & build: vendor/magento/module-email/Test/Unit/Block/Adminhtml/Template/EditTest.php#L240
Setter methods like Magento\Email\Block\Adminhtml\Template\Edit::setTemplate() are deprecated in Block classes, use constructor arguments instead