This class seems to be duplicated in your project.
Duplicated code is one of the most pungent code smells. If you need to duplicate
the same code in three or more different places, we strongly encourage you to
look into extracting the code into a single class or operation.
You can also find more detailed suggestions in the “Code” section of your repository.
Loading history...
8
{
9
/**
10
* @var bool
11
*/
12
private $randomMode;
13
/**
14
* @var null|string
15
*/
16
private $options;
17
/**
18
* @var string
19
*/
20
private $errorMessage;
21
/**
22
* @var bool
23
*/
24
private $enableFaces;
25
26
/**
27
* PhpUnitToolCommand constructor.
28
*
29
* @param bool $randomMode
30
* @param string|null $options
31
* @param string $errorMessage
32
* @param bool $enableFaces
33
*/
34
4
public function __construct($randomMode, $options, $errorMessage, $enableFaces)
Duplicated code is one of the most pungent code smells. If you need to duplicate the same code in three or more different places, we strongly encourage you to look into extracting the code into a single class or operation.
You can also find more detailed suggestions in the “Code” section of your repository.