<commit_before><?php
/**
 * Bootstrap file for the different examples. This file should be included at the top of al examples to easiliy load
 * the library files and setup the defaults for the examples.
 *
 * PHP version 5.4
 *
 * @author     <NAME> <<EMAIL>>
 * @copyright  Copyright (c) 2012 The authors
 * @license    http://www.opensource.org/licenses/mit-license.html  MIT License
 */

/**
 * Bootstrap the library
 */
require_once __DIR__ . '/../src/OAuth/bootstrap.php';

/**
 * Setup error reporting
 */
error_reporting(E_ALL);
ini_set('display_errors', 1);

/**
 * Setup the timezone
 */
ini_set('date.timezone', 'Europe/Amsterdam');

/**
 * Create a new instance of the URI class with the current URI, stripping the query string
 */
$uriGenerator = new \OAuth\Common\Http\UriGenerator();
$currentUri = $uriGenerator->make($_SERVER, false);<commit_msg>Added init to bootstrap file<commit_after><?php
/**
 * Bootstrap file for the different examples. This file should be included at the top of al examples to easiliy load
 * the library files and setup the defaults for the examples.
 *
 * PHP version 5.4
 *
 * @author     <NAME> <<EMAIL>>
 * @copyright  Copyright (c) 2012 The authors
 * @license    http://www.opensource.org/licenses/mit-license.html  MIT License
 */

/**
 * Bootstrap the library
 */
require_once __DIR__ . '/../src/OAuth/bootstrap.php';

/**
 * Setup error reporting
 */
error_reporting(E_ALL);
ini_set('display_errors', 1);

/**
 * Setup the timezone
 */
ini_set('date.timezone', 'Europe/Amsterdam');

/**
 * Create a new instance of the URI class with the current URI, stripping the query string
 */
$uriGenerator = new \OAuth\Common\Http\UriGenerator();
$currentUri = $uriGenerator->make($_SERVER, false);

/**
 * Load the credential for the different services
 */
require_once __DIR__ . '/init.php';
{'fraction_non_alphanumeric': 0.13195201744820065, 'fraction_numerical': 0.007633587786259542, 'mean_word_length': 3.841688654353562, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 0, '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': '6681126', 'n_tokens_mistral': 558, 'n_tokens_neox': 538, 'n_words': 185}