squizlabs/PHP_CodeSniffer — pull request #62 by tasuk (2012-10-11 22:37:35+00:00)
Title: Improve mixed line ending checking.

- Add PHP_CodeSniffer_File::getFileContents().
- Simplify mixed line ending checking.

This should speed up the checking by avoiding double-reading of files. Also, I personally find my way of checking the line endings easier to understand :)