Code Duplication    Length = 8-8 lines in 3 locations

Tests/DataProvider/TestScalarDataProvider.php 3 locations

@@ 104-111 (lines=8) @@
101
        ];
102
    }
103
104
    public static function getDatetimeTestData()
105
    {
106
        $time = time();
107
        return [
108
            [null, null, true],
109
            [(new \DateTime())->setTimestamp($time), date('Y-m-d H:i:s', $time), true],
110
        ];
111
    }
112
113
    public static function getDatetimetzTestData()
114
    {
@@ 113-120 (lines=8) @@
110
        ];
111
    }
112
113
    public static function getDatetimetzTestData()
114
    {
115
        $time = time();
116
        return [
117
            [null, null, true],
118
            [(new \DateTime())->setTimestamp($time), date('r', $time), true],
119
        ];
120
    }
121
122
    public static function getDateTestData()
123
    {
@@ 122-129 (lines=8) @@
119
        ];
120
    }
121
122
    public static function getDateTestData()
123
    {
124
        $time = time();
125
        return [
126
            [null, null, true],
127
            [(new \DateTime())->setTimestamp($time), date('Y-m-d', $time), true],
128
        ];
129
    }
130
131
132
    public static function getTimestampTestData()