We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
static
rector/rector
1 parent 4340667 commit c45210bCopy full SHA for c45210b
Tests/DotenvTest.php
@@ -33,7 +33,7 @@ public function testParseWithFormatError($data, $error)
33
}
34
35
36
- public function getEnvDataWithFormatErrors()
+ public static function getEnvDataWithFormatErrors()
37
{
38
$tests = [
39
['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)
71
$this->assertSame($expected, $dotenv->parse($data));
72
73
74
- public function getEnvData()
+ public static function getEnvData()
75
76
putenv('LOCAL=local');
77
$_ENV['LOCAL'] = 'local';
0 commit comments