Skip to content

Commit 6346439

Browse files
Merge remote-tracking branch 'techdivision/MC-34429-with-removed-dependencies' into trigger-pr-1
2 parents ab1706a + d091135 commit 6346439

File tree

3 files changed

+0
-12
lines changed

3 files changed

+0
-12
lines changed

app/code/Magento/Developer/Model/Logger/Handler/Debug.php

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,6 @@ class Debug extends \Magento\Framework\Logger\Handler\Debug
2121
*/
2222
private $state;
2323

24-
/**
25-
* @var ScopeConfigInterface
26-
*/
27-
private $scopeConfig;
28-
2924
/**
3025
* @var DeploymentConfig
3126
*/
@@ -34,22 +29,19 @@ class Debug extends \Magento\Framework\Logger\Handler\Debug
3429
/**
3530
* @param DriverInterface $filesystem
3631
* @param State $state
37-
* @param ScopeConfigInterface $scopeConfig
3832
* @param DeploymentConfig $deploymentConfig
3933
* @param string $filePath
4034
* @throws \Exception
4135
*/
4236
public function __construct(
4337
DriverInterface $filesystem,
4438
State $state,
45-
ScopeConfigInterface $scopeConfig,
4639
DeploymentConfig $deploymentConfig,
4740
$filePath = null
4841
) {
4942
parent::__construct($filesystem, $filePath);
5043

5144
$this->state = $state;
52-
$this->scopeConfig = $scopeConfig;
5345
$this->deploymentConfig = $deploymentConfig;
5446
}
5547

app/code/Magento/Developer/Model/Logger/Handler/Syslog.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,10 @@ class Syslog extends \Magento\Framework\Logger\Handler\Syslog
2929
private $deploymentConfig;
3030

3131
/**
32-
* @param ScopeConfigInterface $scopeConfig Scope config
3332
* @param DeploymentConfig $deploymentConfig Deployment config
3433
* @param string $ident The string ident to be added to each message
35-
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
3634
*/
3735
public function __construct(
38-
ScopeConfigInterface $scopeConfig,
3936
DeploymentConfig $deploymentConfig,
4037
string $ident
4138
) {

app/code/Magento/Developer/Test/Unit/Model/Logger/Handler/SyslogTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ protected function setUp(): void
4444
$this->deploymentConfigMock = $this->createMock(DeploymentConfig::class);
4545

4646
$this->model = new Syslog(
47-
$this->scopeConfigMock,
4847
$this->deploymentConfigMock,
4948
'Magento'
5049
);

0 commit comments

Comments
 (0)