Skip to content

Update main.yml

Update main.yml #112

Triggered via push July 28, 2023 20:58
Status Failure
Total duration 16m 4s
Artifacts

main.yml

on: push
m2 tests & build
15m 53s
m2 tests & build
m2 integration test
7m 14s
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/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/Model/Template/Config/FileIterator.php#L40
Return type mixed of method Magento\Email\Model\Template\Config\FileIterator::current() is not covariant with tentative return type mixed of method Iterator::current().
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
m2 tests & build
Failed to remove 'http.https://github.com/.extraheader' from the git config