Skip to content

Commit 0b0c01f

Browse files
committed
AC-9499::Update Symfony dependency packages to the latest LTS version
1 parent 80db9f9 commit 0b0c01f

File tree

2 files changed

+29
-7
lines changed

2 files changed

+29
-7
lines changed

dev/tests/static/framework/Magento/TestFramework/CodingStandard/Tool/CodeMessDetector.php

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
namespace Magento\TestFramework\CodingStandard\Tool;
1111

1212
use \Magento\TestFramework\CodingStandard\ToolInterface;
13+
use Magento\TestFramework\CodingStandard\Tool\CodeMessOutput;
1314

1415
class CodeMessDetector implements ToolInterface
1516
{
@@ -21,16 +22,12 @@ class CodeMessDetector implements ToolInterface
2122
private $rulesetFile;
2223

2324
/**
24-
* Report file
25-
*
2625
* @var string
2726
*/
2827
private $reportFile;
2928

3029
/**
31-
* Constructor
32-
*
33-
* @param string $rulesetDir \Directory that locates the inspection rules
30+
* @param string $rulesetFile \Directory that locates the inspection rules
3431
* @param string $reportFile Destination file to write inspection report to
3532
*/
3633
public function __construct($rulesetFile, $reportFile)
@@ -50,7 +47,7 @@ public function canRun()
5047
}
5148

5249
/**
53-
* {@inheritdoc}
50+
* @inheritdoc
5451
*/
5552
public function run(array $whiteList)
5653
{
@@ -69,7 +66,7 @@ public function run(array $whiteList)
6966

7067
$options = new \PHPMD\TextUI\CommandLineOptions($commandLineArguments);
7168

72-
$command = new \PHPMD\TextUI\Command();
69+
$command = new \PHPMD\TextUI\Command(new CodeMessOutput());
7370

7471
return $command->run($options, new \PHPMD\RuleSetFactory());
7572
}
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<?php
2+
/**
3+
* Copyright © Magento, Inc. All rights reserved.
4+
* See COPYING.txt for license details.
5+
*/
6+
7+
/**
8+
* PHP Code Mess v1.3.3 tool wrapper
9+
*/
10+
declare(strict_types=1);
11+
12+
namespace Magento\TestFramework\CodingStandard\Tool;
13+
14+
use PHPMD\Console\Output;
15+
16+
class CodeMessOutput extends Output
17+
{
18+
/**
19+
* @inheritdoc
20+
*/
21+
protected function doWrite($message)
22+
{
23+
// TODO: Implement doWrite() method.
24+
}
25+
}

0 commit comments

Comments
 (0)