function CoderReviewStyleTest::testStyleHerdocStrings in Coder 7
Same name and namespace in other branches
- 7.2 coder_review/tests/coder_review_style.test \CoderReviewStyleTest::testStyleHerdocStrings()
File
- coder_review/
tests/ coder_review_style.test, line 103
Class
Code
function testStyleHerdocStrings() {
$this
->assertCoderReviewFail(" \$var = <<< __EOD__\n<br>\n__EOD__;");
$this
->assertCoderReviewFail(" \$var = <<< __EOD__\n<B>\n__EOD__;");
$this
->assertCoderReviewPass(" \$var = <<< __EOD__\n<br/>\n__EOD__;");
}