<commit_before><?php

namespace Krixon\DateTime\Test;

use Krixon\DateTime\DateTime;

class DateTimeTestCase extends \PHPUnit_Framework_TestCase
{
    protected static function assertSameDate(string $expected, DateTime $date)
    {
        $expected = DateTime::create($expected);
        
        self::assertTrue(
            $date->equals($expected),
            sprintf("Failed asserting that $date equals expected $expected.")
        );
    }
}<commit_msg>Ensure all tests run in the UTC timezone<commit_after><?php

namespace Krixon\DateTime\Test;

use Krixon\DateTime\DateTime;

class DateTimeTestCase extends \PHPUnit_Framework_TestCase
{
    public static function setUpBeforeClass()
    {
        parent::setUpBeforeClass();

        date_default_timezone_set('UTC');
    }


    protected static function assertSameDate(string $expected, DateTime $date)
    {
        $expected = DateTime::create($expected);
        
        self::assertTrue(
            $date->equals($expected),
            sprintf("Failed asserting that $date equals expected $expected.")
        );
    }
}
{'fraction_non_alphanumeric': 0.10091743119266056, 'fraction_numerical': 0.0, 'mean_word_length': 3.0557620817843865, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7430884', 'n_tokens_mistral': 285, 'n_tokens_neox': 285, 'n_words': 67}