Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c72f853 commit 5907444Copy full SHA for 5907444
src/Symfony/Component/Yaml/Parser.php
@@ -1181,27 +1181,6 @@ private function parseQuotedString(string $yaml): ?string
1181
}
1182
1183
return $value;
1184
-
1185
- for ($i = 1; isset($yaml[$i]) && $quotation !== $yaml[$i]; ++$i) {
1186
- }
1187
1188
- // quoted single line string
1189
- if (isset($yaml[$i]) && $quotation === $yaml[$i]) {
1190
- return $yaml;
1191
1192
1193
- $lines = [$yaml];
1194
1195
- while ($this->moveToNextLine()) {
1196
- for ($i = 1; isset($this->currentLine[$i]) && $quotation !== $this->currentLine[$i]; ++$i) {
1197
1198
1199
- $lines[] = trim($this->currentLine);
1200
1201
- if (isset($this->currentLine[$i]) && $quotation === $this->currentLine[$i]) {
1202
- break;
1203
1204
1205
1206
1207
private function lexInlineMapping(string $yaml): string
0 commit comments