Author: Derick Rethans (derickr)
Date: 2026-05-21T14:27:04+01:00

Commit: 
https://github.com/php/web-master/commit/a47e2199a9c54f7c7e21a729e586a1895dc10d7b
Raw diff: 
https://github.com/php/web-master/commit/a47e2199a9c54f7c7e21a729e586a1895dc10d7b.diff

WS: Remove trailing spaces

Changed paths:
  M  public/entry/user-note.php
  M  public/fetch/cvsforwarding.php
  M  public/fetch/events.php


Diff:

diff --git a/public/entry/user-note.php b/public/entry/user-note.php
index 28fba93..e701f0d 100644
--- a/public/entry/user-note.php
+++ b/public/entry/user-note.php
@@ -76,7 +76,7 @@ function validateUser($user) {
   //the amount of allowed notes
   mail ('[email protected],[email protected],[email protected]',
        '[php-notes] Quota exceeded',
-       'Too many notes submitted in one minute.  Consider increasing quota' . 
"\n" . 
+       'Too many notes submitted in one minute.  Consider increasing quota' . 
"\n" .
         'Occured at '.date ('M d, Y g:i:s A') . "\n" .
        "User   : $user\n" .
        "Section: $sect\n" .
@@ -94,7 +94,7 @@ function validateUser($user) {
 
 $query = "INSERT INTO note (user, note, sect, ts, status) VALUES (?, ?, 
?,NOW(), NULL)";
 $pdo->safeQuery($query, [$user, $note, $sect]);
-$new_id = $pdo->lastInsertId();        
+$new_id = $pdo->lastInsertId();
 $msg = $note;
 
 $msg .= "\n----\n";
@@ -135,4 +135,4 @@ function validateUser($user) {
 mail($mailto,"note $new_id added to $sect",$msg,"From: 
\"$user\"<[email protected]>\r\nMessage-ID: <[email protected]>", 
"[email protected]");
 
 //var_dump(is_spammer('127.0.0.1')); // false
-//var_dump(is_spammer('127.0.0.2')); // true
\ No newline at end of file
+//var_dump(is_spammer('127.0.0.2')); // true
diff --git a/public/fetch/cvsforwarding.php b/public/fetch/cvsforwarding.php
index 111259e..c6fd75a 100644
--- a/public/fetch/cvsforwarding.php
+++ b/public/fetch/cvsforwarding.php
@@ -18,4 +18,4 @@
   echo "$row[username]@pair2.php.net: ",
         ($row['spamprotect'] ? "|/local/bin/automoderate," : ""),
         "$row[email];\n";
-}
\ No newline at end of file
+}
diff --git a/public/fetch/events.php b/public/fetch/events.php
index 5fe50bb..ac8a2f9 100644
--- a/public/fetch/events.php
+++ b/public/fetch/events.php
@@ -115,7 +115,7 @@ function load_month(DB $pdo, $year, $month, $cat)
                 list(, , $dd) = explode('-', $row['sdato']);
                 $events[(int)$dd][] = $row;
             break;
-            
+
             // Multiple-day event
             case 2:
                 list(, $mm, $dd) = explode('-', $row['sdato']);
@@ -134,7 +134,7 @@ function load_month(DB $pdo, $year, $month, $cat)
                     }
                 }
                 break;
-            
+
             // Recurring event
             case 3:
                 list($which,$dd) = explode(':', $row['recur']);
@@ -143,7 +143,7 @@ function load_month(DB $pdo, $year, $month, $cat)
                 break;
         }
     }
-    
+
     // Return events found
     return $events;
 }

Reply via email to