function CoderStyleTest::testStyleHerdocStrings in Coder 6.2
File
- tests/
coder_style.test, line 92
Class
Code
function testStyleHerdocStrings() {
$this
->assertCoderFail(" \$var = <<< __EOD__\n<br>\n__EOD__;");
$this
->assertCoderFail(" \$var = <<< __EOD__\n<B>\n__EOD__;");
$this
->assertCoderPass(" \$var = <<< __EOD__\n<br/>\n__EOD__;");
}