Skip to content

Commit 423ace0

Browse files
minor #20364 CS: apply rules (keradus)
This PR was squashed before being merged into the 2.7 branch (closes #20364). Discussion ---------- CS: apply rules | Q | A | | --- | --- | | Branch? | 2.7 | | Bug fix? | no | | New feature? | no | | BC breaks? | no | | Deprecations? | no | | Tests pass? | n/a | | Fixed tickets | - | | License | MIT | | Doc PR | - | Commits ------- 22d4e15 CS: apply rules
2 parents 1787f6e + bbf3418 commit 423ace0

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Crawler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ function ($m) {
175175
if (0xF0 <= $m[$i]) {
176176
$c = (($m[$i++] - 0xF0) << 18) + (($m[$i++] - 0x80) << 12) + (($m[$i++] - 0x80) << 6) + $m[$i++] - 0x80;
177177
} elseif (0xE0 <= $m[$i]) {
178-
$c = (($m[$i++] - 0xE0) << 12) + (($m[$i++] - 0x80) << 6) + $m[$i++] - 0x80;
178+
$c = (($m[$i++] - 0xE0) << 12) + (($m[$i++] - 0x80) << 6) + $m[$i++] - 0x80;
179179
} else {
180180
$c = (($m[$i++] - 0xC0) << 6) + $m[$i++] - 0x80;
181181
}

Tests/FormTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,8 @@ public function testConstructor($message, $form, $values)
188188
$form = $this->createForm('<form>'.$form.'</form>');
189189
$this->assertEquals(
190190
$values,
191-
array_map(function ($field) {
191+
array_map(
192+
function ($field) {
192193
$class = get_class($field);
193194

194195
return array(substr($class, strrpos($class, '\\') + 1), $field->getValue());

0 commit comments

Comments
 (0)