Cause all the .php files containing lines ending with \r\n to instead end with \n. DYI with: find fusionpbx -type f -name '*.php' -exec dos2unix '{}' \;
whitespace pass over files for reference regex that was used s/[ \t]+(\r?\n)/\1/