Skip to content

Commit 9b2ae3f

Browse files
committed
chore(yaml): adjust formatting and rename methods
1 parent e2e9aca commit 9b2ae3f

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

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

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1711,22 +1711,23 @@ public function testBackslashInQuotedMultiLineString()
17111711
}
17121712

17131713
/**
1714-
* @dataProvider WrappedUnquotedStrings
1714+
* @dataProvider wrappedUnquotedStringsProvider
17151715
*/
17161716
public function testWrappedUnquotedStringWithMultipleSpacesInValue(string $yaml, array $expected)
17171717
{
17181718
$this->assertSame($expected, $this->parser->parse($yaml));
17191719
}
1720-
public static function WrappedUnquotedStrings() {
1720+
1721+
public static function wrappedUnquotedStringsProvider() {
17211722
return [
1722-
'CurlyBraces' => [
1723+
'mapping' => [
17231724
'{ foo: bar bar, fiz: cat cat }',
17241725
[
17251726
'foo' => 'bar bar',
17261727
'fiz' => 'cat cat',
17271728
]
17281729
],
1729-
'SquareBraces' => [
1730+
'sequence' => [
17301731
'[ bar bar, cat cat ]',
17311732
[
17321733
'bar bar',

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy