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

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