Skip to content

Commit b4ab25f

Browse files
committed
Appease linter
1 parent ec9ad34 commit b4ab25f

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

app/code/Magento/SampleData/Console/Command/SampleDataDeployCommand.php

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
*/
3333
class SampleDataDeployCommand extends Command
3434
{
35-
const OPTION_NO_UPDATE = 'no-update';
35+
public const OPTION_NO_UPDATE = 'no-update';
3636

3737
/**
3838
* @var Filesystem
@@ -140,7 +140,11 @@ protected function execute(InputInterface $input, OutputInterface $output)
140140
return Cli::RETURN_FAILURE;
141141
}
142142

143-
$output->writeln('<info>' . 'Sample data modules have been added via composer. Please run bin/magento setup:upgrade' . '</info>');
143+
$output->writeln(
144+
'<info>'
145+
. 'Sample data modules have been added via composer. Please run bin/magento setup:upgrade'
146+
. '</info>'
147+
);
144148

145149
return Cli::RETURN_SUCCESS;
146150
} else {

app/code/Magento/SampleData/Test/Unit/Console/Command/SampleDataDeployCommandTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,8 @@ public function processDataProvider(): array
163163
'composerJsonContent' => [
164164
'require' => ["magento/product-community-edition" => "0.0.1"],
165165
],
166-
'expectedMsg' => 'Sample data modules have been added via composer. Please run bin/magento setup:upgrade'
166+
'expectedMsg' => 'Sample data modules have been added via composer.'
167+
. ' Please run bin/magento setup:upgrade'
167168
. PHP_EOL,
168169
'authExist' => true,
169170
],

0 commit comments

Comments
 (0)