<commit_before><?php
namespace lib\engine;
class prepare
{
	// declare variables to set only one time each one of this variables


	public static function abc()
	{
		/**
		 * If DEBUG is TRUE you can see the full error description, If set to FALSE show userfriendly messages
		 * change it from project config.php
		 */
		if (!defined('DEBUG'))
		{
			if(\lib\option::config('debug'))
			{
				define('DEBUG', true);
			}
			else
			{
				define('DEBUG', false);
			}
		}

		if (DEBUG)
		{
			ini_set('display_errors'        , 'On');
			ini_set('display_startup_errors', 'On');
			ini_set('error_reporting'       , 'E_ALL | E_STRICT');
			ini_set('track_errors'          , 'On');
			ini_set('display_errors'        , 1);
			error_reporting(E_ALL);

			//Setting for the PHP Error Handler
			set_error_handler( "\\lib\\engine\\error::handle_error" );

			//Setting for the PHP Exceptions Error Handler
			set_exception_handler( "\\lib\\engine\\error::handle_exception" );

			//Setting for the PHP Fatal Error
			register_shutdown_function( "\\lib\\engine\\error::handle_fatal" );
		}
		else
		{
			error_reporting(0);
			ini_set('display_errors', 0);
		}

		$cookie_domain = null;
		if(isset($_SERVER['HTTP_HOST']))
		{
			$urlHostSegments = explode('.', $_SERVER['HTTP_HOST']);
			// if have subdomain
		    if(count($urlHostSegments) > 2)
		    {
				$cookie_domain = $urlHostSegments[0];
		    }
		}
<commit_msg>remove useless variable from prepare<commit_after><?php
namespace lib\engine;
class prepare
{
	// declare variables to set only one time each one of this variables


	public static function abc()
	{
		/**
		 * If DEBUG is TRUE you can see the full error description, If set to FALSE show userfriendly messages
		 * change it from project config.php
		 */
		if (!defined('DEBUG'))
		{
			if(\lib\option::config('debug'))
			{
				define('DEBUG', true);
			}
			else
			{
				define('DEBUG', false);
			}
		}

		if (DEBUG)
		{
			ini_set('display_errors'        , 'On');
			ini_set('display_startup_errors', 'On');
			ini_set('error_reporting'       , 'E_ALL | E_STRICT');
			ini_set('track_errors'          , 'On');
			ini_set('display_errors'        , 1);
			error_reporting(E_ALL);

			//Setting for the PHP Error Handler
			set_error_handler( "\\lib\\engine\\error::handle_error" );

			//Setting for the PHP Exceptions Error Handler
			set_exception_handler( "\\lib\\engine\\error::handle_exception" );

			//Setting for the PHP Fatal Error
			register_shutdown_function( "\\lib\\engine\\error::handle_fatal" );
		}
		else
		{
			error_reporting(0);
			ini_set('display_errors', 0);
		}

{'fraction_non_alphanumeric': 0.13896353166986564, 'fraction_numerical': 0.003071017274472169, 'mean_word_length': 3.065522620904836, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 4, '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': '733194', 'n_tokens_mistral': 995, 'n_tokens_neox': 821, 'n_words': 207}