<commit_before><?php

class TwilioTest extends PHPUnit_Framework_TestCase {
	public function testSms() {
		$env = c::getEnv();
		$twilio = c::twilio();

		$res = $twilio->account->sms_messages->create(
			c::config()->twilio->{$env}->outgoingTextDriver,
			'+1_PHONE_',
			'TWILIO-TRAVIS-TEST'
		);

		$this->assertTrue($res->sid ? true : false);
	}
}<commit_msg>updated for new twilio<commit_after><?php

class TwilioTest extends PHPUnit_Framework_TestCase {
	public function testSms() {
	/*
		$env = c::getEnv();
		$twilio = c::twilio();

		$res = $twilio->account->sms_messages->create(
			c::config()->twilio->{$env}->outgoingTextDriver,
			'+1_PHONE_',
			'TWILIO-TRAVIS-TEST'
		);
		*/
		
		$res = Crunchbutton_Message_Sms::send([
			'to' => '_PHONE_',
			'message' => 'TWILIO-TRAVIS-TEST'
		]);

		$this->assertTrue($res[0]->sid ? true : false);
	}
}
{'fraction_non_alphanumeric': 0.1983663943990665, 'fraction_numerical': 0.003500583430571762, 'mean_word_length': 4.296296296296297, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 21, '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': '4710757', 'n_tokens_mistral': 367, 'n_tokens_neox': 330, 'n_words': 49}