Skip to content

Commit 05d4ea5

Browse files
Merge branch '4.4' into 5.4
* 4.4: CS fixes Bump Symfony version to 4.4.44 Update VERSION for 4.4.43 Update CONTRIBUTORS for 4.4.43 Update CHANGELOG for 4.4.43
2 parents 04e4292 + c2b28c1 commit 05d4ea5

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Dumper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ public function dump($input, int $inline = 0, int $indent = 0, int $flags = 0):
108108
continue;
109109
}
110110

111-
if ($inline - 1 <= 0 || null === $value->getValue() || is_scalar($value->getValue())) {
111+
if ($inline - 1 <= 0 || null === $value->getValue() || \is_scalar($value->getValue())) {
112112
$output .= ' '.$this->dump($value->getValue(), $inline - 1, 0, $flags)."\n";
113113
} else {
114114
$output .= "\n";

Inline.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public static function parse(string $value = null, int $flags = 0, array &$refer
6868
return '';
6969
}
7070

71-
if (2 /* MB_OVERLOAD_STRING */ & (int) ini_get('mbstring.func_overload')) {
71+
if (2 /* MB_OVERLOAD_STRING */ & (int) \ini_get('mbstring.func_overload')) {
7272
$mbEncoding = mb_internal_encoding();
7373
mb_internal_encoding('ASCII');
7474
}

Parser.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ public function parse(string $value, int $flags = 0)
8888

8989
$mbEncoding = null;
9090

91-
if (2 /* MB_OVERLOAD_STRING */ & (int) ini_get('mbstring.func_overload')) {
91+
if (2 /* MB_OVERLOAD_STRING */ & (int) \ini_get('mbstring.func_overload')) {
9292
$mbEncoding = mb_internal_encoding();
9393
mb_internal_encoding('UTF-8');
9494
}
@@ -982,7 +982,7 @@ private function isCurrentLineBlank(): bool
982982
*/
983983
private function isCurrentLineComment(): bool
984984
{
985-
//checking explicitly the first char of the trim is faster than loops or strpos
985+
// checking explicitly the first char of the trim is faster than loops or strpos
986986
$ltrimmedLine = '' !== $this->currentLine && ' ' === $this->currentLine[0] ? ltrim($this->currentLine, ' ') : $this->currentLine;
987987

988988
return '' !== $ltrimmedLine && '#' === $ltrimmedLine[0];

0 commit comments

Comments
 (0)