<commit_before><?php

namespace MrKoopie\WP_wrapper;

class WP_wrapper
{
<commit_msg>[improvement] Added listener for static calls<commit_after><?php

namespace MrKoopie\WP_wrapper;

class WP_wrapper
{
	/** 
	 * Call $function in the root namespace and pass the arguments.
	 * @param  string $function  The $function name.
	 * @param  array  $arguments The parameters for $function.
	 * @return various           Returned data by the function.
	 */
	public static function __callStatic($function, $arguments)
	{
		return call_user_func_array( '\\'.$function, $arguments);
	}

{'fraction_non_alphanumeric': 0.09913043478260869, 'fraction_numerical': 0.0, 'mean_word_length': 4.1891891891891895, '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': '2836908', 'n_tokens_mistral': 178, 'n_tokens_neox': 170, 'n_words': 54}