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

tests/src/Period/MonthTest.php 2 locations

@@ 57-75 (lines=19) @@
54
    /**
55
     * @return array
56
     */
57
    public function nextMonthProvider()
58
    {
59
        return array(
60
            array('1999-11-30', '1999-12-01', '1999-12-31'),
61
            array('1999-12-31', '2000-01-01', '2000-01-31'),
62
            array('2000-01-15', '2000-02-01', '2000-02-29'),
63
            array('2000-02-01', '2000-03-01', '2000-03-31'),
64
            array('2000-03-01', '2000-04-01', '2000-04-30'),
65
            array('2000-04-01', '2000-05-01', '2000-05-31'),
66
            array('2000-05-01', '2000-06-01', '2000-06-30'),
67
            array('2000-06-01', '2000-07-01', '2000-07-31'),
68
            array('2000-07-01', '2000-08-01', '2000-08-31'),
69
            array('2000-08-01', '2000-09-01', '2000-09-30'),
70
            array('2000-09-01', '2000-10-01', '2000-10-31'),
71
            array('2000-10-01', '2000-11-01', '2000-11-30'),
72
            array('2000-11-01', '2000-12-01', '2000-12-31'),
73
            array('2000-12-01', '2001-01-01', '2001-01-31'),
74
        );
75
    }
76
77
    /**
78
     * @dataProvider previousMonthProvider
@@ 95-113 (lines=19) @@
92
    /**
93
     * @return array
94
     */
95
    public function previousMonthProvider()
96
    {
97
        return array(
98
            array('1999-11-30', '1999-10-01', '1999-10-31'),
99
            array('1999-12-31', '1999-11-01', '1999-11-30'),
100
            array('2000-01-15', '1999-12-01', '1999-12-31'),
101
            array('2000-02-01', '2000-01-01', '2000-01-31'),
102
            array('2000-03-01', '2000-02-01', '2000-02-29'),
103
            array('2000-04-01', '2000-03-01', '2000-03-31'),
104
            array('2000-05-01', '2000-04-01', '2000-04-30'),
105
            array('2000-06-01', '2000-05-01', '2000-05-31'),
106
            array('2000-07-01', '2000-06-01', '2000-06-30'),
107
            array('2000-08-01', '2000-07-01', '2000-07-31'),
108
            array('2000-09-01', '2000-08-01', '2000-08-31'),
109
            array('2000-10-01', '2000-09-01', '2000-09-30'),
110
            array('2000-11-01', '2000-10-01', '2000-10-31'),
111
            array('2000-12-01', '2000-11-01', '2000-11-30')
112
        );
113
    }
114
115
    public function testGetNumberOfDays()
116
    {