<commit_before><?php

/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */

namespace Everypay;

use DateTime;

class ScheduleTest extends TestCase
{
    public function setUp()
    {
        $credentials = $this->getFixtures()->offsetGet('everypay');
        Everypay::setApiKey($credentials['secret_key']);
        Everypay::$isTest = false;
    }

    public function testScheduleCreate()
    {

        $this->mockResponse($this->successScheduleCreateResponse());

        $dates = array(
            (new DateTime())->modify('1 week')->format('c'),
            (new DateTime())->modify('1 month')->format('c'),
            (new DateTime())->modify('2 month')->format('c'),
        );<commit_msg>fix travis tests for php5.3<commit_after><?php

/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */

namespace Everypay;

use DateTime;

class ScheduleTest extends TestCase
{
    public function setUp()
    {
        $credentials = $this->getFixtures()->offsetGet('everypay');
        Everypay::setApiKey($credentials['secret_key']);
        Everypay::$isTest = false;
    }

    public function testScheduleCreate()
    {

        $this->mockResponse($this->successScheduleCreateResponse());

        $date1 = new DateTime();
        $date2 = new DateTime();
        $date3 = new DateTime();

        $dates = array(
            $date1->modify('1 week')->format('c'),
            $date2->modify('1 month')->format('c'),
            $date3->modify('2 month')->format('c'),
        );
{'fraction_non_alphanumeric': 0.16422872340425532, 'fraction_numerical': 0.013297872340425532, 'mean_word_length': 2.960526315789474, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 23, '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': '2189719', 'n_tokens_mistral': 439, 'n_tokens_neox': 434, 'n_words': 86}