<commit_before><?php

/**
 * A detached logging facility for PHP to aid your daily development routine.
 *
 * Watch quick tutorial at: https://vimeo.com/58393977
 *
 * @link http://phpconsole.com
 * @link https://github.com/phpconsole
 * @copyright Copyright (c) 2012 - 2014 phpconsole.com
 * @license See LICENSE file
 * @version 3.0.2
 */

namespace Phpconsole;

class P
{
    protected static $phpconsole = null;

    public static function send($payload, $options = array())
    {
        return self::getPhpconsole()->send($payload, $options);
    }

    public static function success($payload, $options = array())
    {
        $options = array_merge(array('type' => 'success'), $options);

        return self::getPhpconsole()->send($payload, $options);
    }

    public static function info($payload, $options = array())
    {
        $options = array_merge(array('type' => 'info'), $options);

        return self::getPhpconsole()->send($payload, $options);
    }

    public static function error($payload, $options = array())
    {
        $options = array_merge(array('type' => 'error'), $options);

        return self::getPhpconsole()->send($payload, $options);
    }

    public static function sendToAll($payload, $options = array())
    {
        return self::getPhpconsole()->sendToAll($payload, $options);
    }
<commit_msg>Fix static class P<commit_after><?php

/**
 * A detached logging facility for PHP to aid your daily development routine.
 *
 * Watch quick tutorial at: https://vimeo.com/58393977
 *
 * @link http://phpconsole.com
 * @link https://github.com/phpconsole
 * @copyright Copyright (c) 2012 - 2014 phpconsole.com
 * @license See LICENSE file
 * @version 3.0.2
 */

namespace Phpconsole;

class P
{
    protected static $phpconsole = null;

    public static function send($payload, $options = array())
    {
        return self::getPhpconsole()->send($payload, $options);
    }

    public static function success($payload, $options = array())
    {
        if (is_string($options)) {
            $options = array('project' => $options);
        }

        $options = array_merge(array('type' => 'success'), $options);

        return self::getPhpconsole()->send($payload, $options);
    }

    public static function info($payload, $options = array())
    {
        if (is_string($options)) {
            $options = array('project' => $options);
        }

        $options = array_merge(array('type' => 'info'), $options);

        return self::getPhpconsole()->send($payload, $options);
    }

    public static function error($payload, $options = array())
    {
        if (is_string($options)) {
            $options = array('project' => $options);
        }

        $options = array_merge(array('type' => 'error'), $options);

        return self::getPhpconsole()->send($payload, $options);
    }

    public static function sendToAll($payload, $options = array())
    {
        return self::getPhpconsole()->sendToAll($payload, $options);
    }

{'fraction_non_alphanumeric': 0.15474598930481284, 'fraction_numerical': 0.01270053475935829, 'mean_word_length': 3.1, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 22, 'https://': 4, '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': '1264774', 'n_tokens_mistral': 890, 'n_tokens_neox': 842, 'n_words': 216}