DataTables / Editor-PHP

PHP server-side libraries for Editor
Other
35 stars 22 forks source link

Remove trailing spaces from all text files #23

Closed mvorisek closed 1 year ago

mvorisek commented 1 year ago

extracted from #17, non functional change

done by:

foreach ($files as $f) {
    $d = file_get_contents($f);

    $d = preg_replace("~ +(?=$|\n)~", "", $d);
    $d = trim($d);
    $d .= "\n";

    file_put_contents($f, $d);
}

and reviewed manually

mvorisek commented 1 year ago

Hi @AllanJard, I am not sure if you was notified about this PR. Let's merge this one and #24. I will then create the other PRs to address #17.

AllanJard commented 1 year ago

That's #24 merged. Thank you!

AllanJard commented 1 year ago

Can you drop me an e-mail with your DataTables.net account name please? I'll get an Editor license setup for you :). allan @ my domain will get to me.