return IdenticalTo::NOT_IDENTICAL_ERROR;
} public static function provideAllValidComparisons(): array
{ $timezone =
date_default_timezone_get();
date_default_timezone_set('UTC'
);
// Don't call addPhp5Dot5Comparisons() automatically, as it does
// not take care of identical objects
$comparisons = self::
provideValidComparisons();
date_default_timezone_set($timezone);
return $comparisons;
} public static function provideValidComparisons(): array
{ $date =
new \
DateTime('2000-01-01'
);
$object =
new ComparisonTest_Class(2
);