@@ -90,7 +90,7 @@ public function testCastDateTime($time, $timezone, $xDate, $xTimestamp, $xInfos)
9090 $ this ->assertDumpMatchesFormat ($ xDump , $ cast ["\0~ \0date " ]);
9191 }
9292
93- public function provideDateTimes ()
93+ public static function provideDateTimes ()
9494 {
9595 return [
9696 ['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 ' ],
@@ -210,7 +210,7 @@ public function testCastInterval($intervalSpec, $ms, $invert, $xInterval, $xSeco
210210 $ this ->assertDumpMatchesFormat ($ xDump , $ cast ["\0~ \0interval " ]);
211211 }
212212
213- public function provideIntervals ()
213+ public static function provideIntervals ()
214214 {
215215 return [
216216 ['PT0S ' , 0 , 0 , '0s ' , '0s ' ],
@@ -309,7 +309,7 @@ public function testCastTimeZone($timezone, $xTimezone, $xRegion)
309309 $ this ->assertDumpMatchesFormat ($ xDump , $ cast ["\0~ \0timezone " ]);
310310 }
311311
312- public function provideTimeZones ()
312+ public static function provideTimeZones ()
313313 {
314314 $ xRegion = \extension_loaded ('intl ' ) ? '%s ' : '' ;
315315
@@ -386,7 +386,7 @@ public function testCastPeriod($start, $interval, $end, $options, $xPeriod, $xDa
386386 $ this ->assertDumpMatchesFormat ($ xDump , $ cast ["\0~ \0period " ]);
387387 }
388388
389- public function providePeriods ()
389+ public static function providePeriods ()
390390 {
391391 $ periods = [
392392 ['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