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

--- Comment #1 from Antoine "hashar" Musso <[email protected]> ---
phpcs defaults to iso-8859-1 defined in PHP_CODESNIFFER_ENCODING

CodeSniffer/Standards/Generic/Sniffs/Files/LineLengthSniff.php uses strlen(),
whenever the encoding is not iso-8859-1 it would use:

  iconv_strlen($lineContent, PHP_CODESNIFFER_ENCODING);

So need to pass:

 --encoding=UTF-8

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to