Skip to content

Commit

Permalink
use nowdoc instead of heredoc
Browse files Browse the repository at this point in the history
  • Loading branch information
gharlan committed Dec 21, 2015
1 parent be39e9b commit 33cdbaa
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Tests/CrawlerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ public function testAddHtmlContentWithErrors()
$internalErrors = libxml_use_internal_errors(true);

$crawler = new Crawler();
$crawler->addHtmlContent(<<<EOF
$crawler->addHtmlContent(<<<'EOF'
<!DOCTYPE html>
<html>
<head>
Expand Down Expand Up @@ -158,7 +158,7 @@ public function testAddXmlContentWithErrors()
$internalErrors = libxml_use_internal_errors(true);

$crawler = new Crawler();
$crawler->addXmlContent(<<<EOF
$crawler->addXmlContent(<<<'EOF'
<!DOCTYPE html>
<html>
<head>
Expand Down Expand Up @@ -518,7 +518,7 @@ public function testSelectButton()

public function testSelectButtonWithSingleQuotesInNameAttribute()
{
$html = <<<HTML
$html = <<<'HTML'
<!DOCTYPE html>
<html lang="en">
<body>
Expand All @@ -539,7 +539,7 @@ public function testSelectButtonWithSingleQuotesInNameAttribute()

public function testSelectButtonWithDoubleQuotesInNameAttribute()
{
$html = <<<HTML
$html = <<<'HTML'
<!DOCTYPE html>
<html lang="en">
<body>
Expand Down Expand Up @@ -578,7 +578,7 @@ public function testLink()

public function testSelectLinkAndLinkFiltered()
{
$html = <<<HTML
$html = <<<'HTML'
<!DOCTYPE html>
<html lang="en">
<body>
Expand Down

0 comments on commit 33cdbaa

Please sign in to comment.