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');