Skip to content

Commit 7bb3b22

Browse files
committed
MAGETWO-36818: Merge and Fix builds
- Code style changes to fix static test failures
1 parent eb85f99 commit 7bb3b22

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

app/code/Magento/Backend/Block/Menu.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -436,6 +436,7 @@ protected function _addSubMenu($menuItem, $level, $limit, $id = null)
436436
* @param array $colBrakes
437437
* @return string HTML
438438
* @SuppressWarnings(PHPMD.NPathComplexity)
439+
* @SuppressWarnings(PHPMD.CyclomaticComplexity)
439440
*/
440441
public function renderNavigation($menu, $level = 0, $limit = 0, $colBrakes = [])
441442
{

lib/internal/Magento/Framework/Reflection/Test/Unit/ExtensionAttributesProcessorTest.php

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,16 @@
99
use Magento\Framework\Api\Config\Converter;
1010
use Magento\Framework\Api\Config\Reader;
1111
use Magento\Framework\AuthorizationInterface;
12+
use Magento\Framework\Reflection\DataObjectProcessor;
1213
use Magento\Framework\Reflection\ExtensionAttributesProcessor;
1314
use Magento\Framework\Reflection\FieldNamer;
1415
use Magento\Framework\Reflection\MethodsMap;
1516
use Magento\Framework\Reflection\TypeCaster;
16-
use Magento\Framework\Reflection\TypeProcessor;
1717

1818
/**
1919
* ExtensionAttributesProcessor test
2020
*/
21-
class ExtensionsAttributesProcessorTest extends \PHPUnit_Framework_TestCase
21+
class ExtensionAttributesProcessorTest extends \PHPUnit_Framework_TestCase
2222
{
2323
/**
2424
* @var ExtensionAttributesProcessor
@@ -28,12 +28,12 @@ class ExtensionsAttributesProcessorTest extends \PHPUnit_Framework_TestCase
2828
/**
2929
* @var DataObjectProcessor
3030
*/
31-
private $dataObjectProcessor;
31+
private $dataObjectProcessorMock;
3232

3333
/**
3434
* @var MethodsMap
3535
*/
36-
private $methodsMapProcessor;
36+
private $methodsMapProcessorMock;
3737

3838
/**
3939
* @var FieldNamer
@@ -169,5 +169,4 @@ public function buildOutputDataArrayWithPermissionProvider()
169169
],
170170
];
171171
}
172-
173172
}

0 commit comments

Comments
 (0)