// not take care of identical objects
$comparisons = self::
provideInvalidComparisons();
date_default_timezone_set($timezone);
return $comparisons;
} public static function provideInvalidComparisons(): array
{ $date =
new \
DateTime('2000-01-01'
);
$object =
new ComparisonTest_Class(2
);
$comparisons =
[ [3, '3', 3, '3', 'int'
],
['a', '"a"', 'a', '"a"', 'string'
],
[$date, 'Jan 1, 2000, 12:00 AM',
$date, 'Jan 1, 2000, 12:00 AM', 'DateTime'
],
[$object, '2',
$object, '2', __NAMESPACE__.'\ComparisonTest_Class'
],
];
return $comparisons;
}