GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

Code Duplication    Length = 10-11 lines in 4 locations

src/Loader/ConditionsDescriptor.php 1 location

@@ 38-47 (lines=10) @@
35
    /**
36
     * @param $element
37
     */
38
    public function __construct(DOMElement $element = null)
39
    {
40
        $this->conditions = new SplObjectStorage();
41
42
        parent::__construct($element);
43
44
        if (null !== $element) {
45
            $this->init($element);
46
        }
47
    }
48
49
    /**
50
     * @param DOMElement $element

src/Loader/JoinDescriptor.php 1 location

@@ 39-49 (lines=11) @@
36
    /**
37
     * @param $element
38
     */
39
    public function __construct(DOMElement $element = null)
40
    {
41
        $this->conditions = new SplObjectStorage();
42
43
        parent::__construct($element);
44
45
46
        if (null !== $element) {
47
            $this->init($element);
48
        }
49
    }
50
51
    /**
52
     * @param DOMElement $join

src/Loader/RestrictionDescriptor.php 1 location

@@ 29-38 (lines=10) @@
26
    /**
27
     * @param $element
28
     */
29
    public function __construct(DOMElement $element = null)
30
    {
31
        $this->conditions = new SplObjectStorage();
32
33
        parent::__construct($element);
34
35
        if (null !== $element) {
36
            $this->init($element);
37
        }
38
    }
39
40
    /**
41
     * @return ConditionsDescriptor[]|SplObjectStorage

src/Loader/SplitDescriptor.php 1 location

@@ 34-43 (lines=10) @@
31
    /**
32
     * @param $element
33
     */
34
    public function __construct(DOMElement $element = null)
35
    {
36
        $this->results = new SplObjectStorage();
37
38
        parent::__construct($element);
39
40
        if (null !== $element) {
41
            $this->init($element);
42
        }
43
    }
44
45
    /**
46
     * @param DOMElement $split