We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3ec2db5 commit 79e4f40Copy full SHA for 79e4f40
1 file changed
tests/bootstrap.php
@@ -27,3 +27,10 @@
27
require __DIR__ . '/' . $classFile;
28
}
29
});
30
+
31
+// to avoid the following warning incl. fail of all date-using tests:
32
+//
33
+// DateTime::createFromFormat(): It is not safe to rely on the system's timezone settings.
34
+// You are *required* to use the date.timezone setting or the date_default_timezone_set() function.
35
36
+date_default_timezone_set('UTC');
0 commit comments