diff options
author | Gregor Harlan <mail@gh01.de> | 2015-03-31 01:07:44 +0200 |
---|---|---|
committer | Gregor Harlan <mail@gh01.de> | 2015-04-07 19:54:22 +0200 |
commit | 9278dfa5dd6dfbcda01e947459b34fdd0e2e68bb (patch) | |
tree | ae8ba47324c97246c25fb640329f10c6ccbe5c1b /Tests/Core/Encoder/BCryptPasswordEncoderTest.php | |
parent | 197fd5c73c06c2b7032abe313a49a7b8d804fc38 (diff) | |
download | symfony-security-9278dfa5dd6dfbcda01e947459b34fdd0e2e68bb.zip symfony-security-9278dfa5dd6dfbcda01e947459b34fdd0e2e68bb.tar.gz symfony-security-9278dfa5dd6dfbcda01e947459b34fdd0e2e68bb.tar.bz2 |
CS: Pre incrementation/decrementation should be used if possible
Diffstat (limited to 'Tests/Core/Encoder/BCryptPasswordEncoderTest.php')
-rw-r--r-- | Tests/Core/Encoder/BCryptPasswordEncoderTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/Core/Encoder/BCryptPasswordEncoderTest.php b/Tests/Core/Encoder/BCryptPasswordEncoderTest.php index 61e2afe..3f8ba86 100644 --- a/Tests/Core/Encoder/BCryptPasswordEncoderTest.php +++ b/Tests/Core/Encoder/BCryptPasswordEncoderTest.php @@ -40,7 +40,7 @@ class BCryptPasswordEncoderTest extends \PHPUnit_Framework_TestCase public function testCostInRange() { - for ($cost = 4; $cost <= 31; $cost++) { + for ($cost = 4; $cost <= 31; ++$cost) { new BCryptPasswordEncoder($cost); } } |