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/DoctrineWorkflowStory.php 2 locations

@@ 102-105 (lines=4) @@
99
        }
100
101
        $emFactoryOptions = $props[static::ENTITY_MANAGER_FACTORY];
102
        if (!is_array($emFactoryOptions)) {
103
            $errMsg = sprintf('Option %s is not array', static::ENTITY_MANAGER_FACTORY);
104
            throw new Exception\InvalidArgumentException($errMsg);
105
        }
106
107
108
        if (!array_key_exists(static::ENTITY_MANAGER_FACTORY_NAME, $emFactoryOptions)) {
@@ 108-111 (lines=4) @@
105
        }
106
107
108
        if (!array_key_exists(static::ENTITY_MANAGER_FACTORY_NAME, $emFactoryOptions)) {
109
            $errMsg = sprintf('Option %s->%s not found', static::ENTITY_MANAGER_FACTORY, static::ENTITY_MANAGER_FACTORY_NAME);
110
            throw new Exception\InvalidArgumentException($errMsg);
111
        }
112
        $this->entityManagerFactoryName = $emFactoryOptions[static::ENTITY_MANAGER_FACTORY_NAME];
113
114
        if (array_key_exists(static::ENTITY_MANAGER_FACTORY_OPTIONS, $emFactoryOptions) && is_array($emFactoryOptions[static::ENTITY_MANAGER_FACTORY_OPTIONS])) {