From dc3b1668114893de1112745e8e3e5df1a1b6acb8 Mon Sep 17 00:00:00 2001 From: Marco Pivetta Date: Sun, 27 Nov 2016 18:38:57 +0100 Subject: [PATCH] #6017 replaced `random_int()` with `rand()`, since we still support oldstable PHP (5.6.x) --- tests/Doctrine/Tests/ORM/EntityManagerTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Doctrine/Tests/ORM/EntityManagerTest.php b/tests/Doctrine/Tests/ORM/EntityManagerTest.php index c28ca150e..954a3f2f0 100644 --- a/tests/Doctrine/Tests/ORM/EntityManagerTest.php +++ b/tests/Doctrine/Tests/ORM/EntityManagerTest.php @@ -250,7 +250,7 @@ class EntityManagerTest extends OrmTestCase */ public function testClearManagerWithProxyClassName() { - $proxy = $this->_em->getReference(Country::class, ['id' => random_int(457, 100000)]); + $proxy = $this->_em->getReference(Country::class, ['id' => rand(457, 100000)]); $entity = new Country(456, 'United Kingdom');