@drotter @chirimoya @turbo-ele @michaelzangerle for auto end of line in phpstorm: file > settings >editor > tick "ensure line feed at file end on save"
Source: http://devnet.jetbrains.com/thread/303239