<commit_before><?php // @codingStandardsIgnoreFile
/**
 * @author	<NAME>
 * @copyright	2001-2019 WoltLab GmbH
 * @license	GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
 * @package	WoltLabSuite\Core
 */
namespace {
	use wcf\system\WCF;

	// set exception handler
	set_exception_handler([WCF::class, 'handleException']);
	// set php error handler
	set_error_handler([WCF::class, 'handleError'], E_ALL);

	if (PHP_VERSION_ID >= 80200) {
		@ini_set('zend.exception_ignore_args', 0);
	}

	// set shutdown function
	register_shutdown_function([WCF::class, 'destruct']);
	// set autoload function
	spl_autoload_register([WCF::class, 'autoload'], true, true);
	
	/**
	 * @deprecated 5.5 Use prepared statements if possible. Directly call WCF::getDB()->escapeString() if prepared statements cannot be used.
	 */
	function escapeString($string) {
		return WCF::getDB()->escapeString($string);<commit_msg>Force enable `AssertionError` for assertion failures<commit_after><?php // @codingStandardsIgnoreFile
/**
 * @author	<NAME>
 * @copyright	2001-2019 WoltLab GmbH
 * @license	GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
 * @package	WoltLabSuite\Core
 */
namespace {
	use wcf\system\WCF;

	// set exception handler
	set_exception_handler([WCF::class, 'handleException']);
	// set php error handler
	set_error_handler([WCF::class, 'handleError'], E_ALL);

	if (PHP_VERSION_ID >= 80200) {
		@ini_set('zend.exception_ignore_args', 0);
	}
	@ini_set('assert.exception', 1);

	// set shutdown function
	register_shutdown_function([WCF::class, 'destruct']);
	// set autoload function
	spl_autoload_register([WCF::class, 'autoload'], true, true);
	
	/**
	 * @deprecated 5.5 Use prepared statements if possible. Directly call WCF::getDB()->escapeString() if prepared statements cannot be used.
	 */
	function escapeString($string) {
		return WCF::getDB()->escapeString($string);
{'fraction_non_alphanumeric': 0.14558595766649457, 'fraction_numerical': 0.017036654620547237, 'mean_word_length': 5.292207792207792, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 13, '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': '4930519', 'n_tokens_mistral': 671, 'n_tokens_neox': 612, 'n_words': 146}