summaryrefslogtreecommitdiffstats
path: root/Tests/Core/Util/SecureRandomTest.php
diff options
context:
space:
mode:
authorFabien Potencier <fabien.potencier@gmail.com>2014-02-11 08:51:18 +0100
committerFabien Potencier <fabien.potencier@gmail.com>2014-02-11 11:29:24 +0100
commitfc8250e983069954aa8b74703664cf5dc988d863 (patch)
treeb5957d2b87831d6660486acc03b4eb44ea15593e /Tests/Core/Util/SecureRandomTest.php
parent586de0cf323da4453f94058efad5736f899eaec8 (diff)
downloadsymfony-security-fc8250e983069954aa8b74703664cf5dc988d863.zip
symfony-security-fc8250e983069954aa8b74703664cf5dc988d863.tar.gz
symfony-security-fc8250e983069954aa8b74703664cf5dc988d863.tar.bz2
fixed various inconsistenciesv2.3.10
Diffstat (limited to 'Tests/Core/Util/SecureRandomTest.php')
-rw-r--r--Tests/Core/Util/SecureRandomTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tests/Core/Util/SecureRandomTest.php b/Tests/Core/Util/SecureRandomTest.php
index 38e9121..05b4b02 100644
--- a/Tests/Core/Util/SecureRandomTest.php
+++ b/Tests/Core/Util/SecureRandomTest.php
@@ -111,8 +111,8 @@ class SecureRandomTest extends \PHPUnit_Framework_TestCase
{
$b = $this->getBitSequence($secureRandom, 20000);
- $longestRun = 0;
- $currentRun = $lastBit = null;
+ $longestRun = $currentRun = 0;
+ $lastBit = null;
for ($i = 0; $i < 20000; $i++) {
if ($lastBit === $b[$i]) {
$currentRun += 1;