Skip to content

Commit 1230eab

Browse files
committed
minor #17126 [Security] Run tests on all PHP versions (jakzal)
This PR was merged into the 2.7 branch. Discussion ---------- [Security] Run tests on all PHP versions Symfony 2.7 supports PHP >= 5.3.9. Since #17073 was merged to 2.7 now, we need to remove the checks for 5.3.7 again. | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | - Commits ------- 4bec980 [Security] Run tests on all PHP versions
2 parents 90dd3fb + 4bec980 commit 1230eab

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/Symfony/Component/Security/Core/Tests/Encoder/BCryptPasswordEncoderTest.php

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -45,19 +45,13 @@ public function testCostInRange()
4545
}
4646
}
4747

48-
/**
49-
* @requires PHP 5.3.7
50-
*/
5148
public function testResultLength()
5249
{
5350
$encoder = new BCryptPasswordEncoder(self::VALID_COST);
5451
$result = $encoder->encodePassword(self::PASSWORD, null);
5552
$this->assertEquals(60, strlen($result));
5653
}
5754

58-
/**
59-
* @requires PHP 5.3.7
60-
*/
6155
public function testValidation()
6256
{
6357
$encoder = new BCryptPasswordEncoder(self::VALID_COST);
@@ -76,9 +70,6 @@ public function testEncodePasswordLength()
7670
$encoder->encodePassword(str_repeat('a', 73), 'salt');
7771
}
7872

79-
/**
80-
* @requires PHP 5.3.7
81-
*/
8273
public function testCheckPasswordLength()
8374
{
8475
$encoder = new BCryptPasswordEncoder(self::VALID_COST);

0 commit comments

Comments
 (0)