Skip to content

Commit a7d3343

Browse files
author
Cari Spruiell
committed
MAGETWO-37464: Merge and Fix Builds
- fix build failures
1 parent 8483c66 commit a7d3343

File tree

6 files changed

+12
-9
lines changed

6 files changed

+12
-9
lines changed

app/code/Magento/Backend/App/Action/Plugin/Authentication.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77

88
use Magento\Framework\Exception\AuthenticationException;
99

10+
/**
11+
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
12+
*/
1013
class Authentication
1114
{
1215
/**

app/code/Magento/Backend/App/BackendApp.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,4 +70,4 @@ public function getAclResource()
7070
{
7171
return $this->aclResourceName;
7272
}
73-
}
73+
}

app/code/Magento/Backend/App/BackendAppList.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,4 +59,4 @@ public function getBackendApp($appName)
5959
}
6060
return null;
6161
}
62-
}
62+
}

app/code/Magento/Backend/Controller/Adminhtml/BackendApp/Redirect.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,4 +62,4 @@ protected function _isAllowed()
6262
}
6363
return true;
6464
}
65-
}
65+
}

app/code/Magento/Backend/Model/Session/AdminConfig.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,10 @@ class AdminConfig extends Config
4444
* @param \Magento\Framework\App\Config\ScopeConfigInterface $scopeConfig
4545
* @param \Magento\Framework\Stdlib\String $stringHelper
4646
* @param \Magento\Framework\App\RequestInterface $request
47-
* @param \Magento\Backend\App\BackendAppList $backendAppList
4847
* @param Filesystem $filesystem
4948
* @param DeploymentConfig $deploymentConfig
5049
* @param string $scopeType
50+
* @param \Magento\Backend\App\BackendAppList $backendAppList
5151
* @param FrontNameResolver $frontNameResolver
5252
* @param \Magento\Store\Model\StoreManagerInterface $storeManager
5353
* @param string $lifetimePath
@@ -59,10 +59,10 @@ public function __construct(
5959
\Magento\Framework\App\Config\ScopeConfigInterface $scopeConfig,
6060
\Magento\Framework\Stdlib\String $stringHelper,
6161
\Magento\Framework\App\RequestInterface $request,
62-
\Magento\Backend\App\BackendAppList $backendAppList,
6362
Filesystem $filesystem,
6463
DeploymentConfig $deploymentConfig,
6564
$scopeType,
65+
\Magento\Backend\App\BackendAppList $backendAppList,
6666
FrontNameResolver $frontNameResolver,
6767
\Magento\Store\Model\StoreManagerInterface $storeManager,
6868
$lifetimePath = self::XML_PATH_COOKIE_LIFETIME,
@@ -95,7 +95,7 @@ private function extractAdminPath()
9595
{
9696
$backendApp = $this->backendAppList->getCurrentApp();
9797
$cookiePath = null;
98-
$baseUrl = $parsedUrl = parse_url($this->_storeManager->getStore()->getBaseUrl(), PHP_URL_PATH);
98+
$baseUrl = parse_url($this->_storeManager->getStore()->getBaseUrl(), PHP_URL_PATH);
9999
if (!$backendApp) {
100100
$cookiePath = $baseUrl . $this->_frontNameResolver->getFrontName();
101101
return $cookiePath;

setup/src/Magento/Setup/Controller/Index.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ public function indexAction()
3636
{
3737
if ($this->objectManager->get('Magento\Framework\App\DeploymentConfig')->isAvailable()) {
3838
$this->objectManager->create(
39-
'Magento\Backend\Model\Auth\Session', [
40-
'sessionConfig' => $this->objectManager->get('Magento\Backend\Model\Session\AdminConfig')
41-
]);
39+
'Magento\Backend\Model\Auth\Session',
40+
['sessionConfig' => $this->objectManager->get('Magento\Backend\Model\Session\AdminConfig')]
41+
);
4242
if (!$this->objectManager->get('Magento\Backend\Model\Auth')->isLoggedIn()) {
4343
$view = new ViewModel();
4444
$view->setTemplate('/error/401.phtml');

0 commit comments

Comments
 (0)