From 33cdbaad980e37aebe2e055541d51cec4e5936ba Mon Sep 17 00:00:00 2001 From: Gregor Harlan Date: Mon, 21 Dec 2015 12:01:57 +0100 Subject: [PATCH] use nowdoc instead of heredoc --- Tests/CrawlerTest.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Tests/CrawlerTest.php b/Tests/CrawlerTest.php index 55a5942e..7c27d645 100644 --- a/Tests/CrawlerTest.php +++ b/Tests/CrawlerTest.php @@ -117,7 +117,7 @@ public function testAddHtmlContentWithErrors() $internalErrors = libxml_use_internal_errors(true); $crawler = new Crawler(); - $crawler->addHtmlContent(<<addHtmlContent(<<<'EOF' @@ -158,7 +158,7 @@ public function testAddXmlContentWithErrors() $internalErrors = libxml_use_internal_errors(true); $crawler = new Crawler(); - $crawler->addXmlContent(<<addXmlContent(<<<'EOF' @@ -518,7 +518,7 @@ public function testSelectButton() public function testSelectButtonWithSingleQuotesInNameAttribute() { - $html = << @@ -539,7 +539,7 @@ public function testSelectButtonWithSingleQuotesInNameAttribute() public function testSelectButtonWithDoubleQuotesInNameAttribute() { - $html = << @@ -578,7 +578,7 @@ public function testLink() public function testSelectLinkAndLinkFiltered() { - $html = <<