diff --git a/tests/Html/HtmlBuilderTest.php b/tests/Html/HtmlBuilderTest.php index 5ea4b572..e334d22a 100644 --- a/tests/Html/HtmlBuilderTest.php +++ b/tests/Html/HtmlBuilderTest.php @@ -81,7 +81,7 @@ public function testClean() $this->assertEquals('Test', $result); } - public function unsafeAttributeProvider() + public static function unsafeAttributeProvider() { return [ 'unquoted value' => ['', 'onerror'], @@ -124,7 +124,7 @@ public function testCleanRemovesUnsafeAttributes($html, $attribute) $this->assertStringNotContainsStringIgnoringCase($attribute, $result); } - public function safeMarkupProvider() + public static function safeMarkupProvider() { return [ 'heading' => ["# Hello\n"],