Skip to content

Commit

Permalink
doctrine#6017 replaced random_int() with rand(), since we still s…
Browse files Browse the repository at this point in the history
…upport oldstable PHP (5.6.x)
  • Loading branch information
Ocramius committed Nov 27, 2016
1 parent 44a6141 commit dc3b166
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Doctrine/Tests/ORM/EntityManagerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ public function testClearManagerWithUnknownEntityName()
*/
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');

Expand Down

0 comments on commit dc3b166

Please sign in to comment.