File tree Expand file tree Collapse file tree 4 files changed +8
-6
lines changed
app/code/Magento/Cms/Setup
dev/tests/integration/testsuite/Magento Expand file tree Collapse file tree 4 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -22,10 +22,11 @@ class ContentConverter extends SerializedToJson
22
22
private $ parameterFactory ;
23
23
24
24
/**
25
- * Constructor
25
+ * ContentConverter constructor
26
26
*
27
27
* @param Serialize $serialize
28
28
* @param Json $json
29
+ * @param \Magento\Framework\Filter\Template\Tokenizer\ParameterFactory $parameterFactory
29
30
*/
30
31
public function __construct (
31
32
Serialize $ serialize ,
Original file line number Diff line number Diff line change @@ -130,6 +130,7 @@ private function createPage()
130
130
* Upgrade data to version 2.0.1,
131
131
*
132
132
* @return void
133
+ * @SuppressWarnings(PHPMD.ExcessiveMethodLength)
133
134
*/
134
135
private function upgradeVersionTwoZeroOne ()
135
136
{
Original file line number Diff line number Diff line change @@ -13,7 +13,8 @@ class ContentConverterTest extends \Magento\TestFramework\TestCase\AbstractContr
13
13
protected function setUp ()
14
14
{
15
15
$ this ->converter = \Magento \TestFramework \Helper \Bootstrap::getObjectManager ()->create (
16
- \Magento \Cms \Setup \ContentConverter::class);
16
+ \Magento \Cms \Setup \ContentConverter::class
17
+ );
17
18
}
18
19
19
20
/**
Original file line number Diff line number Diff line change 3
3
* Copyright © 2013-2017 Magento, Inc. All rights reserved.
4
4
* See COPYING.txt for license details.
5
5
*/
6
- namespace Magento \Cms \Setup ;
7
-
8
- use Magento \Widget \Setup \LayoutUpdateConverter ;
6
+ namespace Magento \Widget \Setup ;
9
7
10
8
class LayoutUpdateConverterTest extends \Magento \TestFramework \TestCase \AbstractController
11
9
{
@@ -15,7 +13,8 @@ class LayoutUpdateConverterTest extends \Magento\TestFramework\TestCase\Abstract
15
13
protected function setUp ()
16
14
{
17
15
$ this ->converter = \Magento \TestFramework \Helper \Bootstrap::getObjectManager ()->create (
18
- LayoutUpdateConverter::class);
16
+ LayoutUpdateConverter::class
17
+ );
19
18
}
20
19
21
20
/**
You can’t perform that action at this time.
0 commit comments