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 = 6-6 lines in 3 locations

src/Loader/ActionDescriptor.php 1 location

@@ 133-138 (lines=6) @@
130
131
        $metaElements = XmlUtil::getChildElements($action, 'meta');
132
        $metaAttributes = [];
133
        foreach ($metaElements as $meta) {
134
            $value = XmlUtil::getText($meta);
135
            $name = XmlUtil::getRequiredAttributeValue($meta, 'name');
136
137
            $metaAttributes[$name] = $value;
138
        }
139
        $this->setMetaAttributes($metaAttributes);
140
141
        // set up validators -- OPTIONAL

src/Loader/StepDescriptor.php 1 location

@@ 107-112 (lines=6) @@
104
105
        $metaElements = XmlUtil::getChildElements($step, 'meta');
106
        $metaAttributes = [];
107
        foreach ($metaElements as $meta) {
108
            $value = XmlUtil::getText($meta);
109
            $name = XmlUtil::getRequiredAttributeValue($meta, 'name');
110
111
            $metaAttributes[$name] = $value;
112
        }
113
        $this->setMetaAttributes($metaAttributes);
114
115
        // set up pre-functions -- OPTIONAL

src/Loader/WorkflowDescriptor.php 1 location

@@ 300-305 (lines=6) @@
297
    protected function init(DOMElement $root)
298
    {
299
        $metaElements = XmlUtil::getChildElements($root, 'meta');
300
        foreach ($metaElements as $meta) {
301
            $value = XmlUtil::getText($meta);
302
            $name = XmlUtil::getRequiredAttributeValue($meta, 'name');
303
304
            $this->metaAttributes[$name] = $value;
305
        }
306
307
        // handle registers - OPTIONAL
308
        $r = XmlUtil::getChildElement($root, 'registers');