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 = 4-4 lines in 2 locations

src/Loader/CallbackWorkflowFactory.php 1 location

@@ 133-136 (lines=4) @@
130
    public function getWorkflow($name, $validate = true)
131
    {
132
        $name = (string)$name;
133
        if (!array_key_exists($name, $this->workflows)) {
134
            $errMsg = sprintf('Нет workflow с именем %s', $name);
135
            throw new FactoryException($errMsg);
136
        }
137
        $c = $this->workflows[$name];
138
139
        if (null !== $c->descriptor) {

src/Loader/XmlWorkflowFactory.php 1 location

@@ 271-274 (lines=4) @@
268
    public function getWorkflow($name, $validate = true)
269
    {
270
        $name = (string)$name;
271
        if (!array_key_exists($name, $this->workflows)) {
272
            $errMsg = sprintf('Нет workflow с именем %s', $name);
273
            throw new FactoryException($errMsg);
274
        }
275
        $c = $this->workflows[$name];
276
277
        if (null !== $c->descriptor) {