Skip to content

Commit c45210b

Browse files
OskarStarknicolas-grekas
authored andcommitted
Migrate to static data providers using rector/rector
1 parent 4340667 commit c45210b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tests/DotenvTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public function testParseWithFormatError($data, $error)
3333
}
3434
}
3535

36-
public function getEnvDataWithFormatErrors()
36+
public static function getEnvDataWithFormatErrors()
3737
{
3838
$tests = [
3939
['FOO=BAR BAZ', "A value containing spaces must be surrounded by quotes in \".env\" at line 1.\n...FOO=BAR BAZ...\n ^ line 1 offset 11"],
@@ -71,7 +71,7 @@ public function testParse($data, $expected)
7171
$this->assertSame($expected, $dotenv->parse($data));
7272
}
7373

74-
public function getEnvData()
74+
public static function getEnvData()
7575
{
7676
putenv('LOCAL=local');
7777
$_ENV['LOCAL'] = 'local';

0 commit comments

Comments
 (0)