Skip to content

Commit 0941a2e

Browse files
author
Igor Melnikov
committed
MAGETWO-50489: Prepare pull requst
Fixing static tests
1 parent 017df8f commit 0941a2e

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

app/code/Magento/Cms/Setup/UpgradeData.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
use Magento\Framework\Setup\ModuleDataSetupInterface;
1212
use Magento\Framework\Setup\UpgradeDataInterface;
1313

14+
/**
15+
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
16+
*/
1417
class UpgradeData implements UpgradeDataInterface
1518
{
1619
const PRIVACY_COOKIE_PAGE_ID = 4;
@@ -20,6 +23,9 @@ class UpgradeData implements UpgradeDataInterface
2023
*/
2124
private $pageFactory;
2225

26+
/**
27+
* @param PageFactory $pageFactory
28+
*/
2329
public function __construct(PageFactory $pageFactory)
2430
{
2531
$this->pageFactory = $pageFactory;

app/code/Magento/Deploy/Model/Filesystem.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,7 @@ protected function deployStaticContent(
155155
* Runs code multi-tenant compiler to generate code and DI information
156156
*
157157
* @param OutputInterface $output
158+
* @return void
158159
* @throws LocalizedException
159160
*/
160161
protected function compile(OutputInterface $output)

lib/internal/Magento/Framework/App/Test/Unit/ShellTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ public function setUp()
3434
);
3535
}
3636

37-
3837
public function testExecuteSuccess()
3938
{
4039
$output = 'success';
@@ -74,4 +73,3 @@ public function testExecuteFailure()
7473
$this->model->execute($command, []);
7574
}
7675
}
77-

0 commit comments

Comments
 (0)