Skip to content

Commit

Permalink
Merge branch '5.4' into 6.2
Browse files Browse the repository at this point in the history
* 5.4:
  Migrate to `static` data providers using `rector/rector`
  • Loading branch information
nicolas-grekas committed Feb 14, 2023
2 parents 10202ed + c45210b commit f2b09b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tests/DotenvTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public function testParseWithFormatError($data, $error)
}
}

public function getEnvDataWithFormatErrors()
public static function getEnvDataWithFormatErrors()
{
$tests = [
['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"],
Expand Down Expand Up @@ -71,7 +71,7 @@ public function testParse($data, $expected)
$this->assertSame($expected, $dotenv->parse($data));
}

public function getEnvData()
public static function getEnvData()
{
putenv('LOCAL=local');
$_ENV['LOCAL'] = 'local';
Expand Down

0 comments on commit f2b09b7

Please sign in to comment.