public function NotIdenticalToValidatorTest::provideAllInvalidComparisons in Plug 7
Return value
array
Overrides AbstractComparisonValidatorTestCase::provideAllInvalidComparisons
File
- lib/
Symfony/ validator/ Symfony/ Component/ 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;
}