summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabien Potencier <fabien.potencier@gmail.com>2015-07-09 18:11:14 +0200
committerFabien Potencier <fabien.potencier@gmail.com>2015-07-09 18:11:14 +0200
commitb57956299e1d75663d748645564d76efcb9e72f3 (patch)
treeee3aab4a82e25ca38433ca0ca26bbc0b4f72c67e
parent2a1a7a58fbecdb00d8a2546252e5e276f2a1d53c (diff)
parent2d3106bc00eabe7706adb66ea4dc5fcca244a694 (diff)
downloadsymfony-security-b57956299e1d75663d748645564d76efcb9e72f3.zip
symfony-security-b57956299e1d75663d748645564d76efcb9e72f3.tar.gz
symfony-security-b57956299e1d75663d748645564d76efcb9e72f3.tar.bz2
Merge branch '2.7' into 2.8
* 2.7: Added 'default' color [HttpFoundation] Reload the session after regenerating its id [HttpFoundation] Add a test case to confirm a bug in session migration [Serializer] Fix ClassMetadata::sleep() [2.6] Static Code Analysis for Components and Bundles [Finder] Command::addAtIndex() fails with Command instance argument [DependencyInjection] Freeze also FrozenParameterBag::remove [Twig][Bridge] replaced `extends` with `use` in bootstrap_3_horizontal_layout.html.twig fix CS fixed CS Add a way to reset the singleton [Security] allow to use `method` in XML configs [Serializer] Fix Groups tests. Remove duplicate example Remove var not used due to returning early (introduced in 8982c32) [Serializer] Fix Groups PHPDoc Enhance hhvm test skip message fix for legacy asset() with EmptyVersionStrategy [Form] Added upgrade notes for #15061
-rw-r--r--Core/Tests/Util/SecureRandomTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Core/Tests/Util/SecureRandomTest.php b/Core/Tests/Util/SecureRandomTest.php
index 666af30..2e94cc1 100644
--- a/Core/Tests/Util/SecureRandomTest.php
+++ b/Core/Tests/Util/SecureRandomTest.php
@@ -138,7 +138,7 @@ class SecureRandomTest extends \PHPUnit_Framework_TestCase
*/
public function testSerialCorrelation($secureRandom)
{
- $shift = rand(1, 5000);
+ $shift = mt_rand(1, 5000);
$b = $this->getBitSequence($secureRandom, 20000);
$Z = 0;