Skip to content

Commit a985ec4

Browse files
committed
minor #60950 Fix indentation in diff in UPGRADE file (OskarStark)
This PR was merged into the 8.0 branch. Discussion ---------- Fix indentation in diff in UPGRADE file | Q | A | ------------- | --- | Branch? | 8.0 | Bug fix? | no | New feature? | no | Deprecations? | no | Issues | -- | License | MIT Commits ------- c0f8290 Fix indentation in diff in UPGRADE file
2 parents 2349815 + c0f8290 commit a985ec4

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

UPGRADE-8.0.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ Serializer
403403

404404
// Using escape character with context builder
405405
use Symfony\Component\Serializer\Context\Encoder\CsvEncoderContextBuilder;
406-
406+
407407
$context = (new CsvEncoderContextBuilder())
408408
- ->withEscapeChar('\\')
409409
->toArray();
@@ -432,11 +432,11 @@ Translation
432432
* Remove the `$escape` parameter from `CsvFileLoader::setCsvControl()`
433433

434434
```diff
435-
use Symfony\Component\Translation\Loader\CsvFileLoader;
435+
use Symfony\Component\Translation\Loader\CsvFileLoader;
436+
437+
$loader = new CsvFileLoader();
436438

437-
$loader = new CsvFileLoader();
438-
439-
// Set CSV control characters including escape character
439+
// Set CSV control characters including escape character
440440
-$loader->setCsvControl(';', '"', '\\');
441441
+$loader->setCsvControl(';', '"');
442442
```

0 commit comments

Comments
 (0)