public function NotIdenticalToValidatorTest::provideAllInvalidComparisons in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/validator/Tests/Constraints/NotIdenticalToValidatorTest.php \Symfony\Component\Validator\Tests\Constraints\NotIdenticalToValidatorTest::provideAllInvalidComparisons()
Return value
array
Overrides AbstractComparisonValidatorTestCase::provideAllInvalidComparisons
File
- vendor/
symfony/ validator/ Tests/ Constraints/ NotIdenticalToValidatorTest.php, line 57
Class
- NotIdenticalToValidatorTest
- @author Daniel Holmes <daniel@danielholmes.org>
Namespace
Symfony\Component\Validator\Tests\ConstraintsCode
public function provideAllInvalidComparisons() {
$this
->setDefaultTimezone('UTC');
// Don't call addPhp5Dot5Comparisons() automatically, as it does
// not take care of identical objects
$comparisons = $this
->provideInvalidComparisons();
$this
->restoreDefaultTimezone();
return $comparisons;
}