Code Duplication    Length = 12-12 lines in 5 locations

src/NodeVisitor/FunctionStmt/ScopeFunctionCallStmtNodeVisitor.php 1 location

@@ 32-43 (lines=12) @@
29
    private $useStatements;
30
    private $whitelist;
31
32
    public function __construct(
33
        string $prefix,
34
        NamespaceStmtCollection $namespaceStatements,
35
        UseStmtCollection $useStatements,
36
        array $whitelist
37
    ) {
38
        $this->prefix = $prefix;
39
        $this->namespaceStatements = $namespaceStatements;
40
        $this->useStatements = $useStatements;
41
        $this->whitelist = $whitelist;
42
    }
43
44
    /**
45
     * @inheritdoc
46
     */

src/NodeVisitor/FunctionStmt/ScopeStaticCallStmtNodeVisitor.php 1 location

@@ 32-43 (lines=12) @@
29
    private $useStmtCollection;
30
    private $whitelist;
31
32
    public function __construct(
33
        string $prefix,
34
        NamespaceStmtCollection $namespaceStatements,
35
        UseStmtCollection $useStatements,
36
        array $whitelist
37
    ) {
38
        $this->prefix = $prefix;
39
        $this->namespaceStatements = $namespaceStatements;
40
        $this->useStmtCollection = $useStatements;
41
        $this->whitelist = $whitelist;
42
    }
43
44
    /**
45
     * @inheritdoc
46
     */

src/NodeVisitor/NewStmt/ScopeNewStmtNodeVisitor.php 1 location

@@ 32-43 (lines=12) @@
29
    private $useStatements;
30
    private $whitelist;
31
32
    public function __construct(
33
        string $prefix,
34
        NamespaceStmtCollection $namespaceStatements,
35
        UseStmtCollection $useStatements,
36
        array $whitelist
37
    ) {
38
        $this->prefix = $prefix;
39
        $this->namespaceStatements = $namespaceStatements;
40
        $this->useStatements = $useStatements;
41
        $this->whitelist = $whitelist;
42
    }
43
44
    /**
45
     * @inheritdoc
46
     */

src/NodeVisitor/NewStmt/ScopeSingleLevelNewStmtNodeVisitor.php 1 location

@@ 32-43 (lines=12) @@
29
    private $useStatements;
30
    private $whitelist;
31
32
    public function __construct(
33
        string $prefix,
34
        NamespaceStmtCollection $namespaceStatements,
35
        UseStmtCollection $useStatements,
36
        array $whitelist
37
    ) {
38
        $this->prefix = $prefix;
39
        $this->namespaceStatements = $namespaceStatements;
40
        $this->useStatements = $useStatements;
41
        $this->whitelist = $whitelist;
42
    }
43
44
    /**
45
     * @inheritdoc
46
     */

src/NodeVisitor/ScopeConstStmtNodeVisitor.php 1 location

@@ 31-42 (lines=12) @@
28
    private $useStmtCollection;
29
    private $whitelist;
30
31
    public function __construct(
32
        string $prefix,
33
        NamespaceStmtCollection $namespaceStatements,
34
        UseStmtCollection $useStatements,
35
        array $whitelist
36
    ) {
37
        $this->prefix = $prefix;
38
        $this->namespaceStatements = $namespaceStatements;
39
        $this->useStmtCollection = $useStatements;
40
        $this->whitelist = $whitelist;
41
    }
42
43
    /**
44
     * @inheritdoc
45
     */