<commit_before><?php

if (defined('E_STRICT')) {
    // PHP 5
    $_Net_OpenID_allowed_deprecation =
        array('var',
              'is_a()'
              );

    function ignoreDeprecation($errno, $errstr, $errfile, $errline) {
        // Handle http://bugs.php.net/bug.php?id=32428
        // Augment this
        // regular expression if the bug exists in another version.
        if (preg_match('/^5\.1\.1$/', phpversion()) && $errno == 2) {
            $allowed_files = array(array('/Net/OpenID/CryptUtil.php',
                                         'xxx'),
                                   array('/Net/OpenID/OIDUtil.php',
                                         'parse_url'));

            foreach ($allowed_files as $entry) {
                list($afile, $msg) = $entry;
                $slen = strlen($afile);
                $slice = substr($errfile, strlen($errfile) - $slen, $slen);
                if ($slice == $afile && strpos($errstr, $msg) == 0) {
                    // Ignore this error
                    return;
                }
            }
        }

        global $_Net_OpenID_allowed_deprecation;

        switch ($errno) {
        case E_STRICT:
            // XXX: limit this to files we know about
            foreach ($_Net_OpenID_allowed_deprecation as $depr) {
                if (strpos($errstr, "$depr: Deprecated.") !== false) {<commit_msg>[project @ Fixed brace style in TestDriver]<commit_after><?php

if (defined('E_STRICT')) {
    // PHP 5
    $_Net_OpenID_allowed_deprecation =
        array('var',
              'is_a()'
              );

    function ignoreDeprecation($errno, $errstr, $errfile, $errline)
    {
        // Handle http://bugs.php.net/bug.php?id=32428
        // Augment this
        // regular expression if the bug exists in another version.
        if (preg_match('/^5\.1\.1$/', phpversion()) && $errno == 2) {
            $allowed_files = array(array('/Net/OpenID/CryptUtil.php',
                                         'xxx'),
                                   array('/Net/OpenID/OIDUtil.php',
                                         'parse_url'));

            foreach ($allowed_files as $entry) {
                list($afile, $msg) = $entry;
                $slen = strlen($afile);
                $slice = substr($errfile, strlen($errfile) - $slen, $slen);
                if ($slice == $afile && strpos($errstr, $msg) == 0) {
                    // Ignore this error
                    return;
                }
            }
        }

        global $_Net_OpenID_allowed_deprecation;

        switch ($errno) {
        case E_STRICT:
            // XXX: limit this to files we know about
            foreach ($_Net_OpenID_allowed_deprecation as $depr) {
                if (strpos($errstr, "$depr: Deprecated.") !== false) {
{'fraction_non_alphanumeric': 0.13497150997150997, 'fraction_numerical': 0.007834757834757835, 'mean_word_length': 1.4111587982832619, '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': 10, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4185267', 'n_tokens_mistral': 824, 'n_tokens_neox': 771, 'n_words': 171}