Skip to content

Commit e0101ec

Browse files
committed
MDVA-267: Portdown MAGETWO-51807
- Fix for static tests
1 parent 72776bb commit e0101ec

File tree

4 files changed

+9
-0
lines changed

4 files changed

+9
-0
lines changed

dev/tests/integration/testsuite/Magento/Setup/Controller/ComponentGridTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919
* @deprecated
2020
*
2121
* @link setup/src/Magento/Setup/Test/Unit/Controller/ComponentGridTest.php
22+
*
23+
* @SuppressWarnings(PHPMD.UnusedPrivateField)
2224
*/
2325
class ComponentGridTest extends \PHPUnit_Framework_TestCase
2426
{
@@ -114,6 +116,7 @@ public function testSyncAction()
114116
* Prepare the timezone mock to expect calls and return formatted date and time
115117
*
116118
* @return none
119+
* @SuppressWarnings(PHPMD.UnusedPrivateMethod)
117120
*/
118121
private function setupTimezoneMock()
119122
{

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ private function getTimezone()
9696
* Set timezone
9797
*
9898
* @param \Magento\Framework\Stdlib\DateTime\TimezoneInterface $timezone
99+
* @return void
99100
* @throws \Exception
100101
*/
101102
public function setTimezone(\Magento\Framework\Stdlib\DateTime\TimezoneInterface $timezone)

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1118,6 +1118,8 @@ private function deleteDeploymentConfig()
11181118
*
11191119
* @throws \Magento\Setup\Exception
11201120
* @return void
1121+
*
1122+
* @SuppressWarnings(PHPMD.UnusedPrivateMethod)
11211123
*/
11221124
private function assertDeploymentConfigExists()
11231125
{

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515

1616
/**
1717
* Class UpdatePackagesCache manages information about available for update packages though the cache file.
18+
*
19+
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
1820
*/
1921
class UpdatePackagesCache
2022
{
@@ -95,6 +97,7 @@ private function getDateTime()
9597
* Set datetime
9698
*
9799
* @param \Magento\Framework\Stdlib\DateTime\DateTime $dateTime
100+
* @return void
98101
* @throws \Exception
99102
*/
100103
public function setDateTime(\Magento\Framework\Stdlib\DateTime\DateTime $dateTime)

0 commit comments

Comments
 (0)