Adding date time setting manually to make sure DateTime tests run.
Fixing warning related to preg_replace -> changed to preg_replace_callback.
Updating dependencies.