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

Hydrator/ReadOnlyHydrator.php 2 locations

@@ 110-118 (lines=9) @@
107
     * @param string $entityClassName
108
     * @return string
109
     */
110
    protected function getProxyNamespace($entityClassName)
111
    {
112
        if (isset($this->proxyNamespacesCache[$entityClassName]) == false) {
113
            $this->proxyNamespacesCache[$entityClassName] =
114
                'ReadOnlyProxies\\' . substr($entityClassName, 0, strrpos($entityClassName, '\\'));
115
        }
116
117
        return $this->proxyNamespacesCache[$entityClassName];
118
    }
119
120
    /**
121
     * @param string $entityClassName
@@ 124-132 (lines=9) @@
121
     * @param string $entityClassName
122
     * @return string
123
     */
124
    protected function getProxyClassName($entityClassName)
125
    {
126
        if (isset($this->proxyClassNamesCache[$entityClassName]) === false) {
127
            $this->proxyClassNamesCache[$entityClassName] =
128
                substr($entityClassName, strrpos($entityClassName, '\\') + 1);
129
        }
130
131
        return $this->proxyClassNamesCache[$entityClassName];
132
    }
133
134
    /**
135
     * As Doctrine\ORM\EntityManager::newHydrator() call new FooHydrator($this), we can't set parameters to Hydrator.