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

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

@@ 93-99 (lines=7) @@
90
    /**
91
     * @param ContainerBuilder $container
92
     */
93
    private function loadPlaceholdersController(ContainerBuilder $container)
94
    {
95
        $definition = new Definition('Ciandt\Behat\PlaceholdersExtension\Cli\PlaceholdersController', array(
96
            new Reference(self::PLACEHOLDERS_REPOSITIORY_ID)));
97
        $definition->addTag(CliExtension::CONTROLLER_TAG, array('priority' => 1));
98
        $container->setDefinition(self::PLACEHOLDERS_CONTROLLER_ID, $definition);
99
    }
100
101
    protected function initializePlaceholderUtils($variantTags,$configTags){
102
        PlaceholderUtils::setVariantTags($variantTags);
@@ 123-131 (lines=9) @@
120
     *
121
     * @param ContainerBuilder $container
122
     */
123
    protected function loadScenarioBranchingFeatureTester(ContainerBuilder $container, $variantTags)
124
    {
125
        $definition = new Definition('Ciandt\Behat\PlaceholdersExtension\Tester\ScenarioBranchingFeatureTester', array(
126
            new Reference(TesterExtension::SPECIFICATION_TESTER_ID),
127
            new Reference(self::PLACEHOLDERS_REPOSITIORY_ID)
128
        ));
129
        $definition->addTag(TesterExtension::SPECIFICATION_TESTER_WRAPPER_TAG, array('priority' => 1000));
130
        $container->setDefinition(self::VARIANTS_PREPROCESSOR_ID, $definition);
131
    }
132
133
134
    /**
@@ 139-147 (lines=9) @@
136
     *
137
     * @param ContainerBuilder $container
138
     */
139
    protected function loadPlaceholdersTransformer(ContainerBuilder $container)
140
    {
141
        $definition = new Definition('Ciandt\Behat\PlaceholdersExtension\Transformer\PlaceholdersTransformer', array(
142
            new Reference(self::PLACEHOLDERS_REPOSITIORY_ID),
143
            new Reference(self::BEFORE_SCENARIO_SUBSCRIBER_ID)
144
        ));
145
        $definition->addTag(TransformationExtension::ARGUMENT_TRANSFORMER_TAG, array('priority' => 9999999));
146
        $container->setDefinition(self::PLACEHOLDERS_TRANSFORMER_ID, $definition);
147
    }
148
    
149
150
    protected function loadStepDecoratingScenarioTester(ContainerBuilder $container)
@@ 150-157 (lines=8) @@
147
    }
148
    
149
150
    protected function loadStepDecoratingScenarioTester(ContainerBuilder $container)
151
    {
152
        $definition = new Definition('Ciandt\Behat\PlaceholdersExtension\Tester\StepDecoratingScenarioTester', array(
153
            new Reference(TesterExtension::SCENARIO_TESTER_ID)
154
        ));
155
        $definition->addTag(TesterExtension::SCENARIO_TESTER_WRAPPER_TAG, array('priority' => 9999999));
156
        $container->setDefinition(self::STEPS_DECORATOR_ID, $definition);
157
    }
158
    
159
    protected function loadBeforeScenarioSubscriber(ContainerBuilder $container){
160
        $definition = new Definition('Ciandt\Behat\PlaceholdersExtension\Subscriber\BeforeScenarioSubscriber');