8000 prevent deprecation being triggered from assertion · symfony/symfony@08fd622 · GitHub
[go: up one dir, main page]

Skip to content

Commit 08fd622

Browse files
committed
prevent deprecation being triggered from assertion
1 parent da0e2f9 commit 08fd622

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/DomCrawler/Test/Constraint/CrawlerSelectorTextContains.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ protected function matches($crawler): bool
4545
return false;
4646
}
4747

48-
return false !== mb_strpos($crawler->text(), $this->expectedText);
48+
return false !== mb_strpos($crawler->text(null, false), $this->expectedText);
4949
}
5050

5151
/**

0 commit comments

Comments
 (0)
0