Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf87315f

Browse files
committed
[Yaml] Updated deprecation message
1 parentb11e522 commitf87315f

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 inmultiline blocks is deprecated sinceversion 4.3 and will throw a ParseException in 5.0.',E_USER_DEPRECATED);
395+
@trigger_error('Support for mapping keys inmulti-line blocks is deprecated sinceSymfony 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 inmultiline blocks is deprecated sinceversion 4.3 and will throw a ParseException in 5.0.
530+
* @expectedDeprecation Support for mapping keys inmulti-line blocks is deprecated sinceSymfony 4.3 and will throw a ParseException in 5.0.
531531
*/
532532
publicfunctiontestMappingKeyInMultiLineStringTriggersDeprecationNotice()
533533
{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp