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

src/Ciandt/Behat/PlaceholdersExtension/ServiceContainer/PlaceholdersExtension.php 2 locations

@@ 116-125 (lines=10) @@
113
     *
114
     * @param ContainerBuilder $container
115
     */
116
    protected function loadScenarioForkingFeatureTester(ContainerBuilder $container, $variantTags)
117
    {
118
        $definition = new Definition('Ciandt\Behat\PlaceholdersExtension\Tester\ScenarioBranchingFeatureTester', array(
119
            new Reference(TesterExtension::SPECIFICATION_TESTER_ID),
120
            $variantTags,
121
            new Reference(self::PLACEHOLDERS_REPOSITIORY_ID)
122
        ));
123
        $definition->addTag(TesterExtension::SPECIFICATION_TESTER_WRAPPER_TAG, array('priority' => 1000));
124
        $container->setDefinition(self::VARIANTS_PREPROCESSOR_ID, $definition);
125
    }
126
127
    /**
128
     * Loads step tester.
@@ 132-141 (lines=10) @@
129
     *
130
     * @param ContainerBuilder $container
131
     */
132
    protected function loadStepTester(ContainerBuilder $container, $variantTags)
133
    {
134
        $definition = new Definition('Ciandt\Behat\PlaceholdersExtension\Tester\PlaceholdersReplacer', array(
135
            new Reference(TesterExtension::STEP_TESTER_ID),
136
            $variantTags,
137
            new Reference(self::PLACEHOLDERS_REPOSITIORY_ID)
138
        ));
139
        $definition->addTag(TesterExtension::STEP_TESTER_WRAPPER_TAG);
140
        $container->setDefinition(self::PLACEHOLDERS_REPLACER_ID, $definition);
141
    }
142
}
143