php - How can I set the newline separator for Doctrine-generated code? -
i working on symfony 2 project uses doctrine. development happening on windows why files have \r\n newline separator.
however, when adding new properties entity classes , running app/console doctrine:generate:entities
doctrine add generated code \n newline separators. results in files inconsistent newline separators. next time open them editor/ide replace \n \r\n , show lines changed though change newline separator.
how can tell doctrine should respect newline separators present in file when generating code?
why don't wont use unix style newlines? every ide can hadle you. , there no problem windows php implementation handle unix style newlines.
Comments
Post a Comment