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

tests/Commands/ExportCommandTest.php 2 locations

@@ 53-63 (lines=11) @@
50
    /**
51
     * @expectedException \Symfony\Component\Console\Exception\RuntimeException
52
     */
53
    public function testExportWithWrongArguments()
54
    {
55
        $application = new Application();
56
        $application->add(new ExportCommand());
57
58
        $command = $application->find('lang:export-to-yaml');
59
        $commandTester = new CommandTester($command);
60
        $commandTester->execute(array(
61
            'command'  => $command->getName(),
62
        ));
63
    }
64
65
    /**
66
     * @expectedException \EllipseSynergie\LocaleToYaml\Exceptions\FileNotFoundException
@@ 68-79 (lines=12) @@
65
    /**
66
     * @expectedException \EllipseSynergie\LocaleToYaml\Exceptions\FileNotFoundException
67
     */
68
    public function testExportWithInvalidFilename()
69
    {
70
        $application = new Application();
71
        $application->add(new ExportCommand());
72
73
        $command = $application->find('lang:export-to-yaml');
74
        $commandTester = new CommandTester($command);
75
        $commandTester->execute(array(
76
            'command'  => $command->getName(),
77
            'in' => 'tests/foo.php'
78
        ));
79
    }
80
}
81

tests/Commands/ImportCommandTest.php 2 locations

@@ 61-71 (lines=11) @@
58
    /**
59
     * @expectedException \Symfony\Component\Console\Exception\RuntimeException
60
     */
61
    public function testImportWithWrongArguments()
62
    {
63
        $application = new Application();
64
        $application->add(new ImportCommand());
65
66
        $command = $application->find('lang:import-from-yaml');
67
        $commandTester = new CommandTester($command);
68
        $commandTester->execute(array(
69
            'command'  => $command->getName(),
70
        ));
71
    }
72
73
    /**
74
     * @expectedException \EllipseSynergie\LocaleToYaml\Exceptions\FileNotFoundException
@@ 76-88 (lines=13) @@
73
    /**
74
     * @expectedException \EllipseSynergie\LocaleToYaml\Exceptions\FileNotFoundException
75
     */
76
    public function testImportWithInvalidFilename()
77
    {
78
        $application = new Application();
79
        $application->add(new ImportCommand());
80
81
        $command = $application->find('lang:import-from-yaml');
82
        $commandTester = new CommandTester($command);
83
        $commandTester->execute(array(
84
            'command'  => $command->getName(),
85
            'in' => 'tests/foo.yml',
86
            'out' => 'tests/foo.php'
87
        ));
88
    }
89
}
90