summaryrefslogtreecommitdiffstats
path: root/Csrf/Tests/TokenGenerator/UriSafeTokenGeneratorTest.php
diff options
context:
space:
mode:
authorFabien Potencier <fabien.potencier@gmail.com>2015-08-24 09:21:16 +0200
committerFabien Potencier <fabien.potencier@gmail.com>2015-08-24 09:21:16 +0200
commit71e7f364d47b122b0b6f2acd66ff9439495aaef6 (patch)
tree6a6d0ecd5a85a42f600c60b96e403c14ee8f9c80 /Csrf/Tests/TokenGenerator/UriSafeTokenGeneratorTest.php
parentc63a0c6b5f1d05f1e57d8b29cf2c38b770fad5b3 (diff)
parent1ce741e1c146dfadc1b8abc2bbc7626ac682f363 (diff)
downloadsymfony-security-71e7f364d47b122b0b6f2acd66ff9439495aaef6.zip
symfony-security-71e7f364d47b122b0b6f2acd66ff9439495aaef6.tar.gz
symfony-security-71e7f364d47b122b0b6f2acd66ff9439495aaef6.tar.bz2
Merge branch '2.8'
* 2.8: fixes CS fixed CS [DependencyInjection] Add missing file headers fixed typo made Symfony compatible with both Twig 1.x and 2.x [FrameworkBundle] Fix precedence of xdebug.file_link_format
Diffstat (limited to 'Csrf/Tests/TokenGenerator/UriSafeTokenGeneratorTest.php')
-rw-r--r--Csrf/Tests/TokenGenerator/UriSafeTokenGeneratorTest.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/Csrf/Tests/TokenGenerator/UriSafeTokenGeneratorTest.php b/Csrf/Tests/TokenGenerator/UriSafeTokenGeneratorTest.php
index 4fb0c99..1b325e5 100644
--- a/Csrf/Tests/TokenGenerator/UriSafeTokenGeneratorTest.php
+++ b/Csrf/Tests/TokenGenerator/UriSafeTokenGeneratorTest.php
@@ -21,7 +21,8 @@ class UriSafeTokenGeneratorTest extends \PHPUnit_Framework_TestCase
const ENTROPY = 1000;
/**
- * A non alpha-numeric byte string
+ * A non alpha-numeric byte string.
+ *
* @var string
*/
private static $bytes;
@@ -57,7 +58,7 @@ class UriSafeTokenGeneratorTest extends \PHPUnit_Framework_TestCase
{
$this->random->expects($this->once())
->method('nextBytes')
- ->with(self::ENTROPY/8)
+ ->with(self::ENTROPY / 8)
->will($this->returnValue(self::$bytes));
$token = $this->generator->generateToken();