Skip to content

Commit 97235cb

Browse files
Merge branch '5.4' into 6.2
* 5.4: [Serializer] Fix CsvEncoder decode on empty data [Tests] Migrate data providers to static ones stop using assertObjectHasAttribute()/assertObjectHasNotAttribute() [Dotenv] Fix phpdoc Dotenv [Config] Fix phpdoc nullable Fix some typos
2 parents 100be1d + 7432eef commit 97235cb

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Tests/ParserTest.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -126,14 +126,14 @@ public function testSpecifications($expected, $yaml, $comment)
126126
$this->assertEquals($expected, var_export($this->parser->parse($yaml), true), $comment);
127127
}
128128

129-
public function getDataFormSpecifications()
129+
public static function getDataFormSpecifications()
130130
{
131-
return $this->loadTestsFromFixtureFiles('index.yml');
131+
return self::loadTestsFromFixtureFiles('index.yml');
132132
}
133133

134-
public function getNonStringMappingKeysData()
134+
public static function getNonStringMappingKeysData()
135135
{
136-
return $this->loadTestsFromFixtureFiles('nonStringKeys.yml');
136+
return self::loadTestsFromFixtureFiles('nonStringKeys.yml');
137137
}
138138

139139
/**
@@ -2392,7 +2392,7 @@ public function testParsingIniThrowsException()
23922392
$this->parser->parse($ini);
23932393
}
23942394

2395-
private function loadTestsFromFixtureFiles($testsFile)
2395+
private static function loadTestsFromFixtureFiles($testsFile)
23962396
{
23972397
$parser = new Parser();
23982398

0 commit comments

Comments
 (0)