Skip to content

Commit cdd2168

Browse files
committed
Merge branch '2.3' into 2.6
* 2.3: Fix tests in HHVM CS: Pre incrementation/decrementation should be used if possible Conflicts: src/Symfony/Bundle/TwigBundle/Command/LintCommand.php src/Symfony/Component/Console/Helper/TableHelper.php src/Symfony/Component/EventDispatcher/Tests/EventDispatcherTest.php src/Symfony/Component/HttpKernel/DataCollector/LoggerDataCollector.php src/Symfony/Component/HttpKernel/HttpCache/EsiResponseCacheStrategy.php src/Symfony/Component/Security/Acl/Dbal/AclProvider.php src/Symfony/Component/Security/Http/RememberMe/TokenBasedRememberMeServices.php
2 parents 398e0ee + 64e3fe3 commit cdd2168

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Loader/MoFileLoader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ private function parse($resource)
116116

117117
$messages = array();
118118

119-
for ($i = 0; $i < $count; $i++) {
119+
for ($i = 0; $i < $count; ++$i) {
120120
$singularId = $pluralId = null;
121121
$translated = null;
122122

Tests/PluralizationRulesTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ protected function generateTestData($plural, $langCodes)
112112
{
113113
$matrix = array();
114114
foreach ($langCodes as $langCode) {
115-
for ($count = 0; $count < 200; $count++) {
115+
for ($count = 0; $count < 200; ++$count) {
116116
$plural = PluralizationRules::get($count, $langCode);
117117
$matrix[$langCode][$count] = $plural;
118118
}

0 commit comments

Comments
 (0)