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
+1 -1
View File
@@ -12,7 +12,7 @@
"yaknet"
],
"homepage": "https://forum.yak.net.tr",
"version": "3.2.3",
"version": "3.2.4",
"type": "library",
"license": "MIT",
"authors": [
+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;