<commit_before><?php

/**
 * Bugsnag PHP Client
 * https://bugsnag.com
 *
 * Supports PHP 5.2+
 *
 * Full documentation here: 
 * https://bugsnag.com/docs/notifiers/php
 *
 * @package     Bugsnag
 * @author      <NAME> <<EMAIL>>
 * @copyright   (c) 2013 Bugsnag
 * @license     MIT License (http://www.opensource.org/licenses/mit-license.php)
 */
class Bugsnag {
    // "Constants"
    private static $NOTIFIER = array(
        'name' => 'Bugsnag PHP (Official)',
        'version' => '1.0.0',
        'url' => 'https://bugsnag.com'
    );                                                                      

    private static $ERROR_NAMES = array (
        \E_ERROR             => 'Fatal Error',
        \E_PARSE             => 'Parse Error',
        \E_COMPILE_ERROR     => 'Compile Error',
        \E_CORE_ERROR        => 'Core Error',
        \E_USER_ERROR        => 'User Error',
        \E_NOTICE            => 'Notice',
        \E_STRICT            => 'Strict',
        \E_USER_WARNING      => 'User Warning',
        \E_USER_NOTICE       => 'User Notice',
        \E_DEPRECATED        => 'Deprecated',
        \E_WARNING           => 'Warning',
        \E_USER_DEPRECATED   => 'User Deprecated',
        \E_CORE_WARNING      => 'Core Warning',
        \E_COMPILE_WARNING   => 'Compile Warning',
        \E_RECOVERABLE_ERROR => 'Recoverable Error'
    );

    private static $FATAL_ERRORS = array(
        E_ERROR,
        E_PARSE,
        E_CORE_ERROR,
        E_CORE_WARNING,
        E_COMPILE_ERROR,
        E_COMPILE_WARNING,
        E_STRICT
    );

    // Configuration state
    private static $apiKey;
    private static $releaseStage = 'production';
    private static $notifyReleaseStages = array('production');
    private static $useSSL = true;
    private static $projectRoot;
    private static $filters = array('password');
    private static $endpoint = 'notify.bugsnag.com';
    private static $context;<commit_msg>Rename error classes for clarity<commit_after><?php

/**
 * Bugsnag PHP Client
 * https://bugsnag.com
 *
 * Supports PHP 5.2+
 *
 * Full documentation here: 
 * https://bugsnag.com/docs/notifiers/php
 *
 * @package     Bugsnag
 * @author      <NAME> <<EMAIL>>
 * @copyright   (c) 2013 Bugsnag
 * @license     MIT License (http://www.opensource.org/licenses/mit-license.php)
 */
class Bugsnag {
    // "Constants"
    private static $NOTIFIER = array(
        'name' => 'Bugsnag PHP (Official)',
        'version' => '1.0.0',
        'url' => 'https://bugsnag.com'
    );                                                                      

    private static $ERROR_NAMES = array (
        \E_ERROR             => 'PHP Fatal Error',
        \E_PARSE             => 'PHP Parse Error',
        \E_COMPILE_ERROR     => 'PHP Compile Error',
        \E_CORE_ERROR        => 'PHP Core Error',
        \E_NOTICE            => 'PHP Notice',
        \E_STRICT            => 'PHP Strict',
        \E_DEPRECATED        => 'PHP Deprecated',
        \E_WARNING           => 'PHP Warning',
        \E_CORE_WARNING      => 'PHP Core Warning',
        \E_COMPILE_WARNING   => 'PHP Compile Warning',
        \E_RECOVERABLE_ERROR => 'PHP Recoverable Error',
        \E_USER_ERROR        => 'User Error',
        \E_USER_WARNING      => 'User Warning',
        \E_USER_NOTICE       => 'User Notice',
        \E_USER_DEPRECATED   => 'User Deprecated'
    );

    private static $FATAL_ERRORS = array(
        E_ERROR,
        E_PARSE,
        E_CORE_ERROR,
        E_CORE_WARNING,
        E_COMPILE_ERROR,
        E_COMPILE_WARNING,
        E_STRICT
    );

    // Configuration state
    private static $apiKey;
    private static $releaseStage = 'production';
    private static $notifyReleaseStages = array('production');
    private static $useSSL = true;
    private static $projectRoot;
    private static $filters = array('password');
    private static $endpoint = 'notify.bugsnag.com';
    private static $context;
{'fraction_non_alphanumeric': 0.12110463643273373, 'fraction_numerical': 0.004560425639726374, 'mean_word_length': 1.8402877697841726, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 45, 'https://': 6, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2433267', 'n_tokens_mistral': 1215, 'n_tokens_neox': 1187, 'n_words': 268}