<commit_before><?php
/* vim: set expandtab shiftwidth=4 softtabstop=4 tabstop=4 foldmethod=marker: */

/**
 * Main definition file
 *
 * The TiP framework requires PHP v.5.2.0 or later.
 *
 * LICENSE: This source file is subject to the New BSD license that is 
 * available through the world-wide-web at the following URI:
 * http://www.opensource.org/licenses/bsd-license.php
 * If you did not receive a copy of the New BSD License and are unable to
 * obtain it through the web, please send a note to <EMAIL> so we
 * can mail you a copy immediately.
 *
 * @author    <NAME> <<EMAIL>>
 * @copyright Copyright &copy; 2006-2008 <NAME>
 * @license   http://www.opensource.org/licenses/bsd-license.php New BSD License
 * @package   TIP
 * @since     0.0.1
 */

/**
 * This avoid E_STRICT errors generation. It will be removed when TIP will be
 * fully PHP-5 compliant.
 *
 * Now I have too many PHP-4 dependencies that cannot be updated (PEAR overall,
 * but also Text_Wiki, HTML_QuickForm and HTML_Menu).
 */
error_reporting(E_ALL);

/**
 * The default encoding for TIP based sites is utf8.
 */
mb_internal_encoding('UTF-8');

/**
 * Defs.php must precede anything because of TIP_ROOT
 */
require_once 'Defs.php';
require_once 'Renderer.php';

set_include_path(TIP::buildLogicPath('pear'));

require_once 'PEAR.php';
require_once 'HTTP.php';
require_once TIP::buildLogicPath('Type.php');
require_once TIP::buildLogicPath('Callback.php');<commit_msg>Removed Callback.php inclusion from TIP.php<commit_after><?php
/* vim: set expandtab shiftwidth=4 softtabstop=4 tabstop=4 foldmethod=marker: */

/**
 * Main definition file
 *
 * The TiP framework requires PHP v.5.2.0 or later.
 *
 * LICENSE: This source file is subject to the New BSD license that is 
 * available through the world-wide-web at the following URI:
 * http://www.opensource.org/licenses/bsd-license.php
 * If you did not receive a copy of the New BSD License and are unable to
 * obtain it through the web, please send a note to <EMAIL> so we
 * can mail you a copy immediately.
 *
 * @author    <NAME> <<EMAIL>>
 * @copyright Copyright &copy; 2006-2008 <NAME>
 * @license   http://www.opensource.org/licenses/bsd-license.php New BSD License
 * @package   TIP
 * @since     0.0.1
 */

/**
 * This avoid E_STRICT errors generation. It will be removed when TIP will be
 * fully PHP-5 compliant.
 *
 * Now I have too many PHP-4 dependencies that cannot be updated (PEAR overall,
 * but also Text_Wiki, HTML_QuickForm and HTML_Menu).
 */
error_reporting(E_ALL);

/**
 * The default encoding for TIP based sites is utf8.
 */
mb_internal_encoding('UTF-8');

/**
 * Defs.php must precede anything because of TIP_ROOT
 */
require_once 'Defs.php';
require_once 'Renderer.php';

set_include_path(TIP::buildLogicPath('pear'));

require_once 'PEAR.php';
require_once 'HTTP.php';
require_once TIP::buildLogicPath('Type.php');
{'fraction_non_alphanumeric': 0.11404728789986092, 'fraction_numerical': 0.014603616133518776, 'mean_word_length': 3.9947916666666665, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, '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': '4339200', 'n_tokens_mistral': 930, 'n_tokens_neox': 907, 'n_words': 321}