File tree Expand file tree Collapse file tree 1 file changed +0
-21
lines changed
src/Symfony/Component/Yaml Expand file tree Collapse file tree 1 file changed +0
-21
lines changed Original file line number Diff line number Diff line change @@ -1181,27 +1181,6 @@ private function parseQuotedString(string $yaml): ?string
1181
1181
}
1182
1182
1183
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
1184
}
1206
1185
1207
1186
private function lexInlineMapping (string $ yaml ): string
You can’t perform that action at this time.
0 commit comments