change line endings for php files
fix all the sniff errors