Commit e6b2f815 authored by Gábor Hojtsy's avatar Gábor Hojtsy
Browse files

Issue #3092657 by webchick, Gábor Hojtsy: The very nittiest of picks: it's...

Issue #3092657 by webchick, Gábor Hojtsy: The very nittiest  of picks: it's "occurrence" not "occurance" (and should be plural when talking of more than one)
parent 76bcb6f1
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -37,9 +37,9 @@ This should result in the following files:
   when assuming the project follows core support cycles. Project usage data
   and Drupal 9 plan information is also included.

 - error_occurance_results.csv
 - error_occurence_results.csv

   Number of total occurances of normalized error messages as well as number of
   Number of total occurences of normalized error messages as well as number of
   affected projects and their listing with per project error results. Apple
   Numbers will not be able to show the full extent of this file as it has
   1600+ columns at this point.
+3 −3
Original line number Diff line number Diff line
@@ -213,14 +213,14 @@ foreach($error_stat as $num => $count) {
fclose($file);

// Generate error summary CSV.
$file = fopen('error_occurance_results.csv', 'w');
$file = fopen('error_occurence_results.csv', 'w');
fputcsv($file, [
  'Total occurance',
  'Total occurences',
  'Projects affected',
  'Topmost group',
  'Category',
  'Error',
  'List of projects [group] (occurance)'
  'List of projects [group] (occurences)'
], ";");
foreach($errors as $error => $counts) {
  $list = [array_sum($counts), count($counts)];