Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b190d9f

Browse files
committed
[Yaml] Updated deprecation message
1 parent 3065055 commit b190d9f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Symfony/Component/Yaml/Parser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ private function doParse(string $value, int $flags)
392392
}
393393

394394
if (false !== strpos($line, ': ')) {
395-
@trigger_error('Support for mapping keys in multiline blocks is deprecated since version 4.3 and will throw a ParseException in 5.0.', E_USER_DEPRECATED);
395+
@trigger_error('Support for mapping keys in multi-line blocks is deprecated since Symfony 4.3 and will throw a ParseException in 5.0.', E_USER_DEPRECATED);
396396
}
397397

398398
if ('' === trim($line)) {

src/Symfony/Component/Yaml/Tests/ParserTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -527,7 +527,7 @@ public function testObjectsSupportDisabledWithExceptions()
527527

528528
/**
529529
* @group legacy
530-
* @expectedDeprecation Support for mapping keys in multiline blocks is deprecated since version 4.3 and will throw a ParseException in 5.0.
530+
* @expectedDeprecation Support for mapping keys in multi-line blocks is deprecated since Symfony 4.3 and will throw a ParseException in 5.0.
531531
*/
532532
public function testMappingKeyInMultiLineStringTriggersDeprecationNotice()
533533
{

0 commit comments

Comments
 (0)