Make phpunit provider methods static
This commit is contained in:
parent
2b1090130f
commit
aedbb4b327
2 changed files with 2 additions and 2 deletions
|
@ -65,7 +65,7 @@ class HelpersTest extends TestCase
|
||||||
$this->assertEquals($expected, prettyPrintJson($json));
|
$this->assertEquals($expected, prettyPrintJson($json));
|
||||||
}
|
}
|
||||||
|
|
||||||
public function urlProvider(): array
|
public static function urlProvider(): array
|
||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
['https://example.org/', 'https://example.org'],
|
['https://example.org/', 'https://example.org'],
|
||||||
|
|
|
@ -42,7 +42,7 @@ class TagsTest extends TestCase
|
||||||
$this->assertSame($expected, Tag::normalize($input));
|
$this->assertSame($expected, Tag::normalize($input));
|
||||||
}
|
}
|
||||||
|
|
||||||
public function tagsProvider(): array
|
public static function tagsProvider(): array
|
||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
['test', 'test'],
|
['test', 'test'],
|
||||||
|
|
Loading…
Add table
Reference in a new issue