summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabien Potencier <fabien.potencier@gmail.com>2015-07-09 18:07:40 +0200
committerFabien Potencier <fabien.potencier@gmail.com>2015-07-09 18:07:40 +0200
commit2d3106bc00eabe7706adb66ea4dc5fcca244a694 (patch)
tree58977905fefe94bc9be6e0e31750ad9e8a2c2eb1
parentd7338cbbe2c287f66bb7da9988fd8e8cd437ebb6 (diff)
parentbc07ab0b812567146980e40ab3987aa46a3f95a1 (diff)
downloadsymfony-security-2d3106bc00eabe7706adb66ea4dc5fcca244a694.zip
symfony-security-2d3106bc00eabe7706adb66ea4dc5fcca244a694.tar.gz
symfony-security-2d3106bc00eabe7706adb66ea4dc5fcca244a694.tar.bz2
Merge branch '2.6' into 2.7v2.7.2
* 2.6: Added 'default' color [HttpFoundation] Reload the session after regenerating its id [HttpFoundation] Add a test case to confirm a bug in session migration [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 Remove duplicate example Remove var not used due to returning early (introduced in 8982c32) Enhance hhvm test skip message
-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;