Skip to content

Commit b3cf4ad

Browse files
committed
Fix coding standard in Magento\Cms namespace:
- Removed @codingstandardIgnoreFile from files - Fixed line length
1 parent 100af87 commit b3cf4ad

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

app/code/Magento/Cms/Block/Block.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44
* See COPYING.txt for license details.
55
*/
66

7-
// @codingStandardsIgnoreFile
8-
97
namespace Magento\Cms\Block;
108

9+
use Magento\Framework\View\Element\AbstractBlock;
10+
1111
/**
1212
* Cms block content block
1313
*/
14-
class Block extends \Magento\Framework\View\Element\AbstractBlock implements \Magento\Framework\DataObject\IdentityInterface
14+
class Block extends AbstractBlock implements \Magento\Framework\DataObject\IdentityInterface
1515
{
1616
/**
1717
* @var \Magento\Cms\Model\Template\FilterProvider

app/code/Magento/Cms/Model/Wysiwyg/Images/Storage/Collection.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
* See COPYING.txt for license details.
55
*/
66

7-
// @codingStandardsIgnoreFile
8-
97
namespace Magento\Cms\Model\Wysiwyg\Images\Storage;
108

119
use Magento\Framework\App\Filesystem\DirectoryList;
@@ -26,8 +24,10 @@ class Collection extends \Magento\Framework\Data\Collection\Filesystem
2624
* @param \Magento\Framework\Data\Collection\EntityFactory $entityFactory
2725
* @param \Magento\Framework\Filesystem $filesystem
2826
*/
29-
public function __construct(\Magento\Framework\Data\Collection\EntityFactory $entityFactory, \Magento\Framework\Filesystem $filesystem)
30-
{
27+
public function __construct(
28+
\Magento\Framework\Data\Collection\EntityFactory $entityFactory,
29+
\Magento\Framework\Filesystem $filesystem
30+
) {
3131
$this->_filesystem = $filesystem;
3232
parent::__construct($entityFactory);
3333
}

0 commit comments

Comments
 (0)