diff options
author | Fabien Potencier <fabien.potencier@gmail.com> | 2015-05-15 15:33:16 +0200 |
---|---|---|
committer | Fabien Potencier <fabien.potencier@gmail.com> | 2015-05-15 15:33:16 +0200 |
commit | 41cb2c25e9d0f2535ccb7f2b5ef4d74165c04df1 (patch) | |
tree | 443aa261c131816e4d9895476a9405fcd468c63e /Core/Tests/Authorization | |
parent | ad8373bcf455be18e2bdbcec1c37b6c032d5943c (diff) | |
parent | f81b1cd7a05c28ce191bc5d4295bbea7367368d4 (diff) | |
download | symfony-security-41cb2c25e9d0f2535ccb7f2b5ef4d74165c04df1.zip symfony-security-41cb2c25e9d0f2535ccb7f2b5ef4d74165c04df1.tar.gz symfony-security-41cb2c25e9d0f2535ccb7f2b5ef4d74165c04df1.tar.bz2 |
Merge branch '2.6' into 2.7
* 2.6:
[DebugBundle] Allow alternative destination for dumps
[DebugBundle] Use output mechanism of dumpers instead of echoing
[DebugBundle] Always collect dumps
Fix tests in HHVM
CS: Pre incrementation/decrementation should be used if possible
Conflicts:
src/Symfony/Component/Finder/Expression/Glob.php
Diffstat (limited to 'Core/Tests/Authorization')
-rw-r--r-- | Core/Tests/Authorization/AccessDecisionManagerTest.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Core/Tests/Authorization/AccessDecisionManagerTest.php b/Core/Tests/Authorization/AccessDecisionManagerTest.php index 126bfe8..3c970d1 100644 --- a/Core/Tests/Authorization/AccessDecisionManagerTest.php +++ b/Core/Tests/Authorization/AccessDecisionManagerTest.php @@ -153,13 +153,13 @@ class AccessDecisionManagerTest extends \PHPUnit_Framework_TestCase protected function getVoters($grants, $denies, $abstains) { $voters = array(); - for ($i = 0; $i < $grants; $i++) { + for ($i = 0; $i < $grants; ++$i) { $voters[] = $this->getVoter(VoterInterface::ACCESS_GRANTED); } - for ($i = 0; $i < $denies; $i++) { + for ($i = 0; $i < $denies; ++$i) { $voters[] = $this->getVoter(VoterInterface::ACCESS_DENIED); } - for ($i = 0; $i < $abstains; $i++) { + for ($i = 0; $i < $abstains; ++$i) { $voters[] = $this->getVoter(VoterInterface::ACCESS_ABSTAIN); } |