Cant get my template file(Attached) to pass this test without adding.

<?php

at the end.

I added this snippet to the ruleset on my local machine.

<rule ref="DrupalCodingStandard.WhiteSpace.EmptyLines"> 
<!-- Do not run this sniff on template files. -->
 <exclude-pattern>*.tpl.php</exclude-pattern> 
</rule>

Right or wrong?

Comments

yol1982’s picture

Status: Active » Closed (fixed)

Ops.
Cloned the repo and found that u fixed this.

Mybad.