Skip to content

Update main.yml

Update main.yml #120

Re-run triggered February 6, 2024 17:07
Status Failure
Total duration 13m 4s
Artifacts

main.yml

on: push
m2 tests & build
12m 50s
m2 tests & build
m2 integration test
2m 32s
m2 integration test
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 3 warnings
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
m2 integration test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
m2 tests & build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
m2 tests & build
Failed to remove 'http.https://github.com/.extraheader' from the git config