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

test/phpunit/tests/Loader/SecureDtdEntityResolverTest.php 1 location

@@ 140-152 (lines=13) @@
137
     *
138
     * @return void
139
     */
140
    public function testSetUriClassName()
141
    {
142
        $current = SecureDtdEntityResolver::getUriClassName();
143
144
        $expected = 'test';
145
        SecureDtdEntityResolver::setUriClassName($expected);
146
147
        $actual = SecureDtdEntityResolver::getUriClassName();
148
149
        SecureDtdEntityResolver::setUriClassName($current);
150
151
        static::assertEquals($expected, $actual);
152
    }
153
}
154

test/phpunit/tests/Loader/UrlWorkflowFactoryTest.php 1 location

@@ 240-250 (lines=11) @@
237
     *
238
     * @return void
239
     */
240
    public function testGetterSetterUriClassName()
241
    {
242
        $current = UrlWorkflowFactory::getUriClassName();
243
244
        $expected = 'test';
245
        UrlWorkflowFactory::setUriClassName($expected);
246
        $actual = UrlWorkflowFactory::getUriClassName();
247
        UrlWorkflowFactory::setUriClassName($current);
248
249
        static::assertEquals($expected, $actual);
250
    }
251
252
    /**
253
     * Тест получения workflow по url

test/phpunit/tests/Loader/XMLWorkflowFactory/WorkflowConfigTest.php 1 location

@@ 149-158 (lines=10) @@
146
    /**
147
     * Тестируем установку имени класса реализующего обертку для uri
148
     */
149
    public function testGetterSetterUriClassName()
150
    {
151
        $original = WorkflowConfig::getUriClassName();
152
        $expected = 'test';
153
        WorkflowConfig::setUriClassName($expected);
154
        $actual = WorkflowConfig::getUriClassName();
155
        WorkflowConfig::setUriClassName($original);
156
157
        static::assertEquals($expected, $actual);
158
    }
159
}
160