Set Europe/Istanbul timezone in PdfReportGenerator and ensure stable dates (v3.2.4)

This commit is contained in:
Enes Yakıştır
2026-07-31 17:03:22 +03:00
parent a0a0a369b8
commit b634e97921
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -20,6 +20,8 @@ class PdfReportGenerator
throw new \RuntimeException('To generate PDF certificates, please install dompdf via: composer require dompdf/dompdf');
}
date_default_timezone_set('Europe/Istanbul');
/** @var int $score */
$score = is_numeric($scanResult['score'] ?? null) ? intval($scanResult['score']) : 0;