Closed (fixed)
Project:
Drupal Code Sniffer
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Dec 2011 at 12:03 UTC
Updated:
16 Dec 2011 at 12:34 UTC
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
Comment #1
yol1982 commentedOps.
Cloned the repo and found that u fixed this.
Mybad.