You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@trigger_error(sprintf('The "%s()" method will have a new "string $selector = null" argument in version 5.0, not defining it is deprecated since Symfony 4.2.', __METHOD__), E_USER_DEPRECATED);
Copy file name to clipboardExpand all lines: Tests/CrawlerTest.php
+64Lines changed: 64 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1148,6 +1148,62 @@ public function testEvaluateThrowsAnExceptionIfDocumentIsEmpty()
1148
1148
(newCrawler())->evaluate('//form/input[1]');
1149
1149
}
1150
1150
1151
+
/**
1152
+
* @group legacy
1153
+
* @expectedDeprecation The "Symfony\Component\DomCrawler\Crawler::children()" method will have a new "string $selector = null" argument in version 5.0, not defining it is deprecated since Symfony 4.2.
0 commit comments