Merge pull request #749 from jonnybarnes/748-fix-deprecation-warnings-in-the-phpunit-tests

Fix phpunit deprecation warnings
This commit is contained in:
Jonny Barnes 2023-04-07 16:13:55 +01:00 committed by GitHub
commit 8cfded9232
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -65,7 +65,7 @@ class HelpersTest extends TestCase
$this->assertEquals($expected, prettyPrintJson($json));
}
public function urlProvider(): array
public static function urlProvider(): array
{
return [
['https://example.org/', 'https://example.org'],

View file

@ -42,7 +42,7 @@ class TagsTest extends TestCase
$this->assertSame($expected, Tag::normalize($input));
}
public function tagsProvider(): array
public static function tagsProvider(): array
{
return [
['test', 'test'],