Skip to content

Commit 8e8cc9e

Browse files
committed
MC-40729: Disable Web Setup wizard
- Fixed CS issues
1 parent 62a7ec0 commit 8e8cc9e

File tree

4 files changed

+17
-3
lines changed

4 files changed

+17
-3
lines changed

setup/src/Magento/Setup/Controller/Navigation.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@
1111
use Zend\View\Model\ViewModel;
1212

1313
/**
14-
* Class Navigation
15-
*
14+
* Class Navigation builds the navigation view
1615
*/
1716
class Navigation extends AbstractActionController
1817
{
@@ -38,6 +37,8 @@ public function __construct(NavModel $navigation)
3837
}
3938

4039
/**
40+
* Set values for the index action
41+
*
4142
* @return JsonModel
4243
*/
4344
public function indexAction()
@@ -51,6 +52,8 @@ public function indexAction()
5152
}
5253

5354
/**
55+
* Set values for the view action
56+
*
5457
* @return array|ViewModel
5558
*/
5659
public function menuAction()

setup/src/Magento/Setup/Model/Navigation.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@
88

99
use Laminas\ServiceManager\ServiceLocatorInterface;
1010

11+
/**
12+
* Class Navigation implements the data model for the navigation menu
13+
*
14+
* @package Magento\Setup\Model
15+
*/
1116
class Navigation
1217
{
1318
/**
@@ -41,6 +46,8 @@ public function __construct(ServiceLocatorInterface $serviceLocator)
4146
}
4247

4348
/**
49+
* Type getter method
50+
*
4451
* @return string
4552
*/
4653
public function getType()
@@ -49,6 +56,8 @@ public function getType()
4956
}
5057

5158
/**
59+
* Data getter method
60+
*
5261
* @return array
5362
*/
5463
public function getData()

setup/src/Magento/Setup/Test/Unit/Controller/NavigationTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ class NavigationTest extends \PHPUnit\Framework\TestCase
2222
*/
2323
private $controller;
2424

25-
2625
/**
2726
* @var \Magento\Setup\Model\ObjectManagerProvider|\PHPUnit\Framework\MockObject\MockObject
2827
*/

setup/view/layout/layout.phtml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
* Copyright © Magento, Inc. All rights reserved.
44
* See COPYING.txt for license details.
55
*/
6+
7+
// @codingStandardsIgnoreFile
8+
69
?>
710
<?= $this->doctype() ?>
811
<!--[if !IE]><!-->

0 commit comments

Comments
 (0)