Skip to content

Commit 96e5bb7

Browse files
Merge remote-tracking branch '39345/2.4-develop' into 37018-test
2 parents ff216c9 + 7a64a95 commit 96e5bb7

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
/**
3-
* Copyright © Magento, Inc. All rights reserved.
4-
* See COPYING.txt for license details.
3+
* Copyright 2015 Adobe
4+
* All Rights Reserved.
55
*/
66

77
namespace Magento\SampleData\Console\Command;
@@ -91,7 +91,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
9191
$baseDir = $this->filesystem->getDirectoryRead(DirectoryList::ROOT)->getAbsolutePath();
9292
$commonArgs = ['--working-dir' => $baseDir, '--no-progress' => 1];
9393
if ($input->getOption(self::OPTION_NO_UPDATE)) {
94-
$commonArgs['--no-update'] = 1;
94+
$commonArgs['--no-update'] = true;
9595
}
9696
$packages = [];
9797
foreach ($sampleDataPackages as $name => $version) {

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
/**
3-
* Copyright © Magento, Inc. All rights reserved.
4-
* See COPYING.txt for license details.
3+
* Copyright 2015 Adobe
4+
* All Rights Reserved.
55
*/
66

77
namespace Magento\SampleData\Console\Command;
@@ -92,7 +92,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
9292
$baseDir = $this->filesystem->getDirectoryRead(DirectoryList::ROOT)->getAbsolutePath();
9393
$commonArgs = ['--working-dir' => $baseDir, '--no-interaction' => 1, '--no-progress' => 1];
9494
if ($input->getOption(self::OPTION_NO_UPDATE)) {
95-
$commonArgs['--no-update'] = 1;
95+
$commonArgs['--no-update'] = true;
9696
}
9797
$packages = array_keys($sampleDataPackages);
9898
$arguments = array_merge(['command' => 'remove', 'packages' => $packages], $commonArgs);

0 commit comments

Comments
 (0)