Skip to content

Commit 6565136

Browse files
committed
MAGETWO-92279: An incorrect result of declaration:generate:whitelist execution
- add strict
1 parent b8c14dd commit 6565136

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

dev/tests/setup-integration/testsuite/Magento/Developer/Console/Command/TablesWhitelistGenerateCommandTest.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
* Copyright © Magento, Inc. All rights reserved.
44
* See COPYING.txt for license details.
55
*/
6+
declare(strict_types=1);
67

78
namespace Magento\Developer\Console\Command;
89

@@ -44,7 +45,7 @@ class TablesWhitelistGenerateCommandTest extends SetupTestCase
4445
/**
4546
* {@inheritdoc}
4647
*/
47-
public function setUp()
48+
public function setUp() : void
4849
{
4950
$this->objectManager = \Magento\TestFramework\Helper\Bootstrap::getObjectManager();
5051
$this->command = $this->objectManager->create(
@@ -65,7 +66,7 @@ public function setUp()
6566
* @moduleName Magento_TestSetupDeclarationModule1
6667
* @dataProvider contentsDataProvider
6768
*/
68-
public function testExecute(array $expectedWhitelistContent)
69+
public function testExecute(array $expectedWhitelistContent) : void
6970
{
7071
$moduleName = 'Magento_TestSetupDeclarationModule1';
7172
$this->cliCommand->install([$moduleName]);
@@ -94,7 +95,7 @@ public function testExecute(array $expectedWhitelistContent)
9495
* @return array
9596
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
9697
*/
97-
public function contentsDataProvider()
98+
public function contentsDataProvider() : array
9899
{
99100
return [
100101
[

0 commit comments

Comments
 (0)