Code Duplication    Length = 11-11 lines in 2 locations

src/Console/External/Analyser/CodeAnalyser.php 1 location

@@ 60-70 (lines=11) @@
57
     * @param string  $binariesPath Composer binaries path.
58
     * @param array   $arguments    command line arguments.
59
     */
60
    public function __construct(CLImate $climate, $binariesPath, array $arguments)
61
    {
62
        $this->cli = $climate;
63
        $this->cli->description($this->getDescription());
64
        $this->cli->arguments->add($this->getArguments());
65
        $this->cli->arguments->parse($arguments);
66
67
        $this->arguments = $arguments;
68
        $this->binariesPath = $binariesPath;
69
        $this->setAnalysedPathsFromString($this->getArgumentValue('path'));
70
    }
71
72
    /**
73
     * Run Code-Analyser command.

src/Console/External/Explorer/DirectoryExplorer.php 1 location

@@ 60-70 (lines=11) @@
57
     * @param string  $binariesPath Composer binaries path.
58
     * @param array   $arguments    command line arguments.
59
     */
60
    public function __construct(CLImate $climate, $binariesPath, array $arguments)
61
    {
62
        $this->cli = $climate;
63
        $this->cli->description($this->getDescription());
64
        $this->cli->arguments->add($this->getArguments());
65
        $this->cli->arguments->parse($arguments);
66
67
        $this->arguments = $arguments;
68
        $this->binariesPath = $binariesPath;
69
        $this->setAnalysedPathsFromString($this->getArgumentValue('path'));
70
    }
71
72
    /**
73
     * Run Code-Analyser command.