phpspec/phpspec2 — pull request #38 by dancras (2012-10-13 19:52:03+00:00)
Title: Add .gitattributes for consistent line endings

Fixes a fatal error when running specs in windows.

PHPSpec2\Runner\Runner::getDependencies() does not behave correctly if files are CRLF: MockProphets created from doc blocks are not indexed under the same name as their parameter counterparts.

Rather than adding code to handle this case, I've added a .gitattributes to ensure that windows users will checkout php files with the correct line endings.

More info here https://help.github.com/articles/dealing-with-line-endings