Skip to content

Commit

Permalink
BUGFIX: Make phpunit provider methods static
Browse files Browse the repository at this point in the history
  • Loading branch information
paxuclus committed Jun 1, 2023
1 parent 8bf64af commit 7a56be1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tests/Unit/Domain/Service/VersionResolverTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public function Can_not_extract_version_string(string $migrationClassName): void
$this->versionResolver->extractVersion($migrationClassName);
}

public function invalidClassNames(): array
public static function invalidClassNames(): array
{
return [
'lower case class name' => ['version20201111145100'],
Expand All @@ -48,7 +48,7 @@ public function invalidClassNames(): array
];
}

public function validClassNames(): array
public static function validClassNames(): array
{
return [
'class name without namespace' => ['Version20190930132259', '20190930132259'],
Expand Down

0 comments on commit 7a56be1

Please sign in to comment.