<commit_before><?php
/**
* Connect
*
* PHP version 5
*
* @category Connect
* @package  Innebandybokning
* @author   <NAME> <<EMAIL>>
* @license  http://www.opensource.org/licenses/mit-license.php MIT
* @link     https://github.com/thulin82/innebandybokning
*/
$mysql_server   = 'SERVER_NAME';
$mysql_user     = 'USER_NAME';
$mysql_password = '<PASSWORD>';
$mysql_database = 'DATABASE_NAME';

global $mysqli;
$mysqli = new mysqli($mysql_server, $mysql_user, $mysql_password, $mysql_database);
$mysqli->set_charset('utf8');

if (mysqli_connect_errno()) {
    echo mysqli_connect_error();
}<commit_msg>Removed mysqli as a global variable<commit_after><?php
/**
* Connect
*
* PHP version 5
*
* @category Connect
* @package  Innebandybokning
* @author   <NAME> <<EMAIL>>
* @license  http://www.opensource.org/licenses/mit-license.php MIT
* @link     https://github.com/thulin82/innebandybokning
*/
$mysql_server   = 'SERVER_NAME';
$mysql_user     = 'USER_NAME';
$mysql_password = '<PASSWORD>';
$mysql_database = 'DATABASE_NAME';

$mysqli = new mysqli($mysql_server, $mysql_user, $mysql_password, $mysql_database);
$mysqli->set_charset('utf8');

if (mysqli_connect_errno()) {
    echo mysqli_connect_error();
}
{'fraction_non_alphanumeric': 0.1611295681063123, 'fraction_numerical': 0.006644518272425249, 'mean_word_length': 5.478494623655914, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, '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': '854005', 'n_tokens_mistral': 452, 'n_tokens_neox': 441, 'n_words': 79}