public function AbstractComparisonValidatorTestCase::provideAllInvalidComparisons in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/validator/Tests/Constraints/AbstractComparisonValidatorTestCase.php \Symfony\Component\Validator\Tests\Constraints\AbstractComparisonValidatorTestCase::provideAllInvalidComparisons()
Return value
array
1 method overrides AbstractComparisonValidatorTestCase::provideAllInvalidComparisons()
- NotIdenticalToValidatorTest::provideAllInvalidComparisons in vendor/
symfony/ validator/ Tests/ Constraints/ NotIdenticalToValidatorTest.php
File
- vendor/
symfony/ validator/ Tests/ Constraints/ AbstractComparisonValidatorTestCase.php, line 153
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;
}