<commit_before><?php
/**
 * Bootstrap para os testes do PHPUnit
 *
 * @link      http://github.com/realejo/libraray-zf1
 * @copyright Copyright (c) 2014 Realejo (http://realejo.com.br)
 * @license   http://unlicense.org
 */

// Define path to application directory
defined('TEST_ROOT')
    || define('TEST_ROOT', realpath(__DIR__));

// Define application environment
define('APPLICATION_ENV', 'testing');

require_once __DIR__ . '/../vendor/autoload.php';

require_once 'library/TestAssets/BaseTestCase.php';

Zend_Loader_Autoloader::getInstance();

$locale = new Zend_Locale('pt_BR');
Zend_Locale_Format::setOptions(array('precision'=>2));
Zend_Registry::set('Zend_Locale', $locale);
date_default_timezone_set("America/Sao_Paulo");<commit_msg>uso do banco de dados no travis 4<commit_after><?php
/**
 * Bootstrap para os testes do PHPUnit
 *
 * @link      http://github.com/realejo/libraray-zf1
 * @copyright Copyright (c) 2014 Realejo (http://realejo.com.br)
 * @license   http://unlicense.org
 */

// Define path to application directory
defined('TEST_ROOT')
    || define('TEST_ROOT', realpath(__DIR__));

// Define application environment
define('APPLICATION_ENV', 'testing');

if (getenv('TRAVIS') !== false) {
    define('MARCA', 'travis');
}

require_once __DIR__ . '/../vendor/autoload.php';

require_once 'library/TestAssets/BaseTestCase.php';

Zend_Loader_Autoloader::getInstance();

$locale = new Zend_Locale('pt_BR');
Zend_Locale_Format::setOptions(array('precision'=>2));
Zend_Registry::set('Zend_Locale', $locale);
date_default_timezone_set("America/Sao_Paulo");
{'fraction_non_alphanumeric': 0.16159695817490494, 'fraction_numerical': 0.008238276299112801, 'mean_word_length': 5.719148936170213, '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': '5069149', 'n_tokens_mistral': 545, 'n_tokens_neox': 529, 'n_words': 97}