Last modified: 2014-11-19 21:50:14 UTC
We let BOM enter our repository which is definitely unwanted. Sam had to recently remove one in mediawiki/core https://gerrit.wikimedia.org/r/14622
This could be added to the linting job. We need a script to actually detect the BOM.
This is properly covered by the PHP_CodeSniffer rule "Generic.Files.ByteOrderMark" which we have in the MediaWiki standard. Still have to get Jenkins to fail on phpcs checks which are non voter for now.
I don't think we should have a generic job that scans all files everywhere for a BOM. Instead let's defer this to individual linters or coding style checkers. phpcs has a sniff for it. So that's good. Let's look into jscs as well.