Skip to content

Commit a5e8304

Browse files
Merge branch '6.2' into 6.3
* 6.2: minor #49253 [PHPUnit 10] Use `TestCase` suffix for abstract tests in `/Tests/` (OskarStark) [Intl] Generate all emoji short name returned by slack api [Serializer] Fix CsvEncoder decode on empty data [Tests] Migrate data providers to static ones stop using assertObjectHasAttribute()/assertObjectHasNotAttribute() [Cache] Fix Redis proxies [Dotenv] Fix phpdoc Dotenv [Config] Fix phpdoc nullable Replace deprecated/removed way to configure enabled_locales fix typo Fix some typos
2 parents 8151e65 + 97235cb commit a5e8304

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
/**
@@ -2401,7 +2401,7 @@ public function testParsingIniThrowsException()
24012401
$this->parser->parse($ini);
24022402
}
24032403

2404-
private function loadTestsFromFixtureFiles($testsFile)
2404+
private static function loadTestsFromFixtureFiles($testsFile)
24052405
{
24062406
$parser = new Parser();
24072407

0 commit comments

Comments
 (0)