public function AbstractComparisonValidatorTestCase::provideAllInvalidComparisons in Plug 7
Return value
array
1 method overrides AbstractComparisonValidatorTestCase::provideAllInvalidComparisons()
- NotIdenticalToValidatorTest::provideAllInvalidComparisons in lib/
Symfony/ validator/ Symfony/ Component/ Validator/ Tests/ Constraints/ NotIdenticalToValidatorTest.php
File
- lib/
Symfony/ validator/ Symfony/ Component/ Validator/ Tests/ Constraints/ AbstractComparisonValidatorTestCase.php, line 149
Class
- AbstractComparisonValidatorTestCase
- @author Daniel Holmes <daniel@danielholmes.org>
Namespace
Symfony\Component\Validator\Tests\ConstraintsCode
public function provideAllInvalidComparisons() {
// The provider runs before setUp(), so we need to manually fix
// the default timezone
$this
->setDefaultTimezone('UTC');
$comparisons = self::addPhp5Dot5Comparisons($this
->provideInvalidComparisons());
$this
->restoreDefaultTimezone();
return $comparisons;
}