8000 minor #15681 [Validator] Cleanup a test (nicolas-grekas) · symfony/symfony@041dff5 · GitHub
[go: up one dir, main page]

Skip to content

Commit 041dff5

Browse files
committed
minor #15681 [Validator] Cleanup a test (nicolas-grekas)
This PR was merged into the 2.7 branch. Discussion ---------- [Validator] Cleanup a test | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | https://github.com/symfony/symfony/pull/15664/files#r38640423 | License | MIT | Doc PR | - Commits ------- 12ec734 [Validator] Cleanup a test
2 parents 323178e + 12ec734 commit 041dff5

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/Symfony/Component/Validator/Tests/Constraints/NotIdenticalToValidatorTest.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -82,11 +82,6 @@ public function provideInvalidComparisons()
8282
array($object, '2', $object, '2', __NAMESPACE__.'\ComparisonTest_Class'),
8383
);
8484

85-
if (version_compare(PHP_VERSION, '>=', '5.5')) {
86-
$immutableDate = new \DateTimeImmutable('2000-01-01');
87-
$comparisons[] = array($immutableDate, 'Jan 1, 2000, 12:00 AM', $immutableDate, 'Jan 1, 2000, 12:00 AM', 'DateTime');
88-
}
89-
9085
return $comparisons;
9186
}
9287
}

0 commit comments

Comments
 (0)
0