https://bugzilla.wikimedia.org/show_bug.cgi?id=44875

--- Comment #4 from Antoine "hashar" Musso <has...@free.fr> ---
Ah thanks for looking in codesniffer rules!

The Generic.PHP.CharacterBeforePHPOpeningTag rule looks almost like something
we could use. Unfortunately it complains whenever the T_OPEN_TAG token is not
the very first token, for example when we have several open tags in a file.

A few examples from core:

includes/Feed.php
includes/SkinTemplate.php
includes/api/ApiFormatBase.php
includes/templates/Userlogin.php


Not ideal yet :(

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to