@@ -74,7 +74,7 @@ public function testCastDateTime($time, $timezone, $xDate, $xTimestamp, $xInfos)
7474 $ this ->assertDumpMatchesFormat ($ xDump , $ cast ["\0~ \0date " ]);
7575 }
7676
77- public function provideDateTimes ()
77+ public static function provideDateTimes ()
7878 {
7979 return [
8080 ['2017-04-30 00:00:00.000000 ' , 'Europe/Zurich ' , '2017-04-30 00:00:00.0 Europe/Zurich (+02:00) ' , 1493503200 , 'Sunday, April 30, 2017%Afrom now%ADST On ' ],
@@ -194,7 +194,7 @@ public function testCastInterval($intervalSpec, $ms, $invert, $xInterval, $xSeco
194194 $ this ->assertDumpMatchesFormat ($ xDump , $ cast ["\0~ \0interval " ]);
195195 }
196196
197- public function provideIntervals ()
197+ public static function provideIntervals ()
198198 {
199199 return [
200200 ['PT0S ' , 0 , 0 , '0s ' , '0s ' ],
@@ -293,7 +293,7 @@ public function testCastTimeZone($timezone, $xTimezone, $xRegion)
293293 $ this ->assertDumpMatchesFormat ($ xDump , $ cast ["\0~ \0timezone " ]);
294294 }
295295
296- public function provideTimeZones ()
296+ public static function provideTimeZones ()
297297 {
298298 $ xRegion = \extension_loaded ('intl ' ) ? '%s ' : '' ;
299299
@@ -370,7 +370,7 @@ public function testCastPeriod($start, $interval, $end, $options, $xPeriod, $xDa
370370 $ this ->assertDumpMatchesFormat ($ xDump , $ cast ["\0~ \0period " ]);
371371 }
372372
373- public function providePeriods ()
373+ public static function providePeriods ()
374374 {
375375 $ periods = [
376376 ['2017-01-01 ' , 'P1D ' , '2017-01-03 ' , 0 , 'every + 1d, from [2017-01-01 00:00:00.0 to 2017-01-03 00:00:00.0[ ' , '1) 2017-01-01%a2) 2017-01-02 ' ],
0 commit comments