<commit_before><?php
/**
 * Created by PhpStorm.
 * User: Julián
 * Date: 04/10/2014
 * Time: 07:49 PM
 */
require_once ('DataBaseConstants.php');

class DataBase {
    public final static function getDataBaseConnection() //Obtener la BD
    {

        try {

            $connection=mysqli_connect("p:".host,user,password,database); //Host, usuario, password, base de datos

        } catch (Exception $e) {
            echo ($e);
        }

        return $connection;
    }

    public final static function CloseDataBase($connection) //Cerrar la BD
    {
        mysqli_close($connection);
    }
<commit_msg>Conexion con la base fix<commit_after><?php
/**
 * Created by PhpStorm.
 * User: Julián
 * Date: 04/10/2014
 * Time: 07:49 PM
 */
require_once ('DataBaseConstants.php');

class DataBase {
    public final static function getDataBaseConnection() //Obtener la BD
    {

        try {

            $connection=mysqli_connect("p:".host,user,password,database); //Host, usuario, password, base de datos

        } catch (Exception $e) {
            echo ($e);
        }

        return $connection;
    }

    public final static function closeDataBase($connection) //Cerrar la BD
    {
        mysqli_close($connection);
    }

{'fraction_non_alphanumeric': 0.1214574898785425, 'fraction_numerical': 0.019433198380566803, 'mean_word_length': 2.501416430594901, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, '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': '2202993', 'n_tokens_mistral': 406, 'n_tokens_neox': 379, 'n_words': 98}