<commit_before><?php

ini_set('date.timezone', 'UTC');

require __DIR__ . '/Oriancci/units/OriancciTest.php';

define('ORIANCCI_PHPUNIT_DIR_FIXTURES', __DIR__ . '/Oriancci/fixtures');

$loader = require_once __DIR__ . '/../vendor/autoload.php';

require __DIR__ . '/Oriancci/models/department.php';
require __DIR__ . '/Oriancci/models/user.php';

$log = null;
if (class_exists('Monolog\Logger')) {
    $log = new Monolog\Logger('Oriancci');
    $log->pushHandler(new Monolog\Handler\StreamHandler(realpath(__DIR__ . '/oriancci.log')));
}

$connection_manager = \Oriancci\ConnectionManager::getInstance();
$connection_manager->build = [
	'driver'	=> ORIANCCI_PHPUNIT_HOSTTYPE,
	'hostname'	=> ORIANCCI_PHPUNIT_HOSTNAME,
	'username'	=> ORIANCCI_PHPUNIT_USERNAME,
	'password'	=> <PASSWORD>,
	'database'	=> ORIANCCI_PHPUNIT_DATABASE,
	'logger'	=> $log
];

$connection_manager->setDefault('build');<commit_msg>trying new approach with vendor autoloading for travis CI<commit_after><?php

ini_set('date.timezone', 'UTC');

require __DIR__ . '/Oriancci/units/OriancciTest.php';

define('ORIANCCI_PHPUNIT_DIR_FIXTURES', __DIR__ . '/Oriancci/fixtures');

if (!@include __DIR__ . '/../vendor/autoload.php') {
    die(<<<'EOT'
You must set up the project dependencies, run the following commands:
wget http://getcomposer.org/composer.phar
php composer.phar install
EOT
    );
}


require __DIR__ . '/Oriancci/models/department.php';
require __DIR__ . '/Oriancci/models/user.php';

$log = null;
if (class_exists('Monolog\Logger')) {
    $log = new Monolog\Logger('Oriancci');
    $log->pushHandler(new Monolog\Handler\StreamHandler(realpath(__DIR__ . '/oriancci.log')));
}

$connection_manager = \Oriancci\ConnectionManager::getInstance();
$connection_manager->build = [
	'driver'	=> ORIANCCI_PHPUNIT_HOSTTYPE,
	'hostname'	=> ORIANCCI_PHPUNIT_HOSTNAME,
	'username'	=> ORIANCCI_PHPUNIT_USERNAME,
	'password'	=> <PASSWORD>,
	'database'	=> ORIANCCI_PHPUNIT_DATABASE,
	'logger'	=> $log
];

$connection_manager->setDefault('build');
{'fraction_non_alphanumeric': 0.1628599801390268, 'fraction_numerical': 0.0, 'mean_word_length': 5.85374149659864, 'pattern_counts': {'":': 0, '<': 10, '<?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': '5069146', 'n_tokens_mistral': 765, 'n_tokens_neox': 737, 'n_words': 115}