Skip to content

Commit f2743e0

Browse files
Merge branch '6.1' into 6.2
* 6.1: Fix integration test gha Update RedisTrait.php Use static methods inside data providers [VarExporter] Fix exporting classes with __unserialize() but not __serialize() [Validator] Fix IBAN format for Tunisia and Mauritania [Workflow] Allow spaces in place names so the PUML dump doesn't break
2 parents c079db4 + 8d82ffe commit f2743e0

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Tests/AbstractCrawlerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
abstract class AbstractCrawlerTest extends TestCase
2121
{
22-
abstract public function getDoctype(): string;
22+
abstract public static function getDoctype(): string;
2323

2424
protected function createCrawler($node = null, string $uri = null, string $baseHref = null)
2525
{

Tests/Html5ParserCrawlerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
class Html5ParserCrawlerTest extends AbstractCrawlerTest
1515
{
16-
public function getDoctype(): string
16+
public static function getDoctype(): string
1717
{
1818
return '<!DOCTYPE html>';
1919
}

Tests/NativeParserCrawlerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
class NativeParserCrawlerTest extends AbstractCrawlerTest
1515
{
16-
public function getDoctype(): string
16+
public static function getDoctype(): string
1717
{
1818
return '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">';
1919
}

0 commit comments

Comments
 (0)