I am working on a Symfony 2 project which uses Doctrine. Development is mainly happening on Windows which is why all files have as newline separator.
However, when adding new properties to my entity classes and then running app/console doctrine:generate:entities
Doctrine will add the generated code with
newline separators. This results in files with inconsistent newline separators. The next time I open them my editor/IDE will replace all the
with
and show all those lines as changed even though the only change was the newline separator.
How can I tell Doctrine that it should respect the newline separators which are already present in the file when generating code?