Skip to content

Commit

Permalink
Merge pull request #13 from netlogix/bugfix/static-providers
Browse files Browse the repository at this point in the history
BUGFIX: Make phpunit provider methods static
  • Loading branch information
toni-bessel authored Jun 1, 2023
2 parents 8bf64af + 7a56be1 commit 9debe5d
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 9debe5d

Please sign in to comment.