Skip to content

Commit 92e2a16

Browse files
author
Bohdan Korablov
committed
Merge remote-tracking branch 'mainlinec/develop' into new_pr_bugs
2 parents 1012b80 + ffa02d8 commit 92e2a16

File tree

16 files changed

+7557
-3733
lines changed

16 files changed

+7557
-3733
lines changed

app/code/Magento/Braintree/view/frontend/templates/creditcard/edit.phtml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
/** @var $block \Magento\Braintree\Block\Creditcard\Management */
1010

1111
echo $block->getLayout()->getMessagesBlock()->getGroupedHtml();
12-
$defaultExpMonth = $block->getTodayMonth();
13-
$defaultExpYear = $block->getTodayYear();
12+
$defaultExpMonth = '';
13+
$defaultExpYear = '';
1414
$countrySpecificCardTypeConfig = $block->getCountrySpecificCardTypeConfig();
1515
$applicableCardTypeConfig = $block->getCcApplicableTypes();
1616
if ($block->isEditMode()) {

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,10 @@
66

77
namespace Magento\Deploy\Model;
88

9-
use Symfony\Component\Console\Output\OutputInterface;
109
use Magento\Framework\App\State;
1110
use Magento\Framework\App\DeploymentConfig\Writer;
1211
use Magento\Framework\App\Filesystem\DirectoryList;
13-
use Magento\Developer\Console\Command\CssDeployCommand;
12+
use Magento\Developer\Console\Command\SourceThemeDeployCommand;
1413

1514
/**
1615
* A class to manage Magento modes
@@ -137,9 +136,10 @@ protected function deployCss(
137136
$themeLocalePairs = $this->storeView->retrieveThemeLocalePairs();
138137
foreach ($themeLocalePairs as $themeLocalePair) {
139138
$theme = $themeLocalePair['theme'] ?: self::DEFAULT_THEME;
140-
$cmd = $this->functionCallPath . 'dev:css:deploy less'
141-
. ' --' . CssDeployCommand::THEME_OPTION . '="' . $theme . '"'
142-
. ' --' . CssDeployCommand::LOCALE_OPTION . '="' . $themeLocalePair['locale'] . '"';
139+
$cmd = $this->functionCallPath . 'dev:source_theme:deploy'
140+
. ' --' . SourceThemeDeployCommand::TYPE_ARGUMENT . '="less"'
141+
. ' --' . SourceThemeDeployCommand::THEME_OPTION . '="' . $theme . '"'
142+
. ' --' . SourceThemeDeployCommand::LOCALE_OPTION . '="' . $themeLocalePair['locale'] . '"';
143143

144144
/**
145145
* @todo build a solution that does not depend on exec

app/code/Magento/Developer/Console/Command/CssDeployCommand.php

Lines changed: 0 additions & 241 deletions
This file was deleted.

0 commit comments

Comments
 (0)