From b3cf4ad22ad96959da8a15339d2f4567994c7dff Mon Sep 17 00:00:00 2001 From: Danny Verkade Date: Sat, 17 Jun 2017 23:54:36 +0200 Subject: [PATCH] Fix coding standard in Magento\Cms namespace: - Removed @codingstandardIgnoreFile from files - Fixed line length --- app/code/Magento/Cms/Block/Block.php | 6 +++--- .../Cms/Model/Wysiwyg/Images/Storage/Collection.php | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/app/code/Magento/Cms/Block/Block.php b/app/code/Magento/Cms/Block/Block.php index 034343c1e1f9c..d0d75ea691195 100644 --- a/app/code/Magento/Cms/Block/Block.php +++ b/app/code/Magento/Cms/Block/Block.php @@ -4,14 +4,14 @@ * See COPYING.txt for license details. */ -// @codingStandardsIgnoreFile - namespace Magento\Cms\Block; +use Magento\Framework\View\Element\AbstractBlock; + /** * Cms block content block */ -class Block extends \Magento\Framework\View\Element\AbstractBlock implements \Magento\Framework\DataObject\IdentityInterface +class Block extends AbstractBlock implements \Magento\Framework\DataObject\IdentityInterface { /** * @var \Magento\Cms\Model\Template\FilterProvider diff --git a/app/code/Magento/Cms/Model/Wysiwyg/Images/Storage/Collection.php b/app/code/Magento/Cms/Model/Wysiwyg/Images/Storage/Collection.php index ea51c1ea5889f..88d440cfa84ae 100644 --- a/app/code/Magento/Cms/Model/Wysiwyg/Images/Storage/Collection.php +++ b/app/code/Magento/Cms/Model/Wysiwyg/Images/Storage/Collection.php @@ -4,8 +4,6 @@ * See COPYING.txt for license details. */ -// @codingStandardsIgnoreFile - namespace Magento\Cms\Model\Wysiwyg\Images\Storage; use Magento\Framework\App\Filesystem\DirectoryList; @@ -26,8 +24,10 @@ class Collection extends \Magento\Framework\Data\Collection\Filesystem * @param \Magento\Framework\Data\Collection\EntityFactory $entityFactory * @param \Magento\Framework\Filesystem $filesystem */ - public function __construct(\Magento\Framework\Data\Collection\EntityFactory $entityFactory, \Magento\Framework\Filesystem $filesystem) - { + public function __construct( + \Magento\Framework\Data\Collection\EntityFactory $entityFactory, + \Magento\Framework\Filesystem $filesystem + ) { $this->_filesystem = $filesystem; parent::__construct($entityFactory); }