<commit_before><?php
/**
 * Zym Framework
 *
 * LICENSE
 *
 * This source file is subject to the new BSD license that is bundled
 * with this package in the file LICENSE.txt.
 *
 * @category Zym
 * @package Zym_App
 * @subpackage Resource
 * @copyright  Copyright (c) 2008 Zym. (http://www.zym-project.com/)
 * @license http://www.zym-project.com/license New BSD License
 */

/**
 * @see Zym_App_Resource_Abstract
 */
require_once 'Zym/App/Resource/Abstract.php';

/**
 * Setup php environment
 *
 * @author <NAME>
 * @license http://www.zym-project.com/license New BSD License
 * @category Zym
 * @package Zym_App
 * @subpackage Resource
 * @copyright  Copyright (c) 2008 Zym. (http://www.zym-project.com/)
 */
class Zym_App_Resource_Php extends Zym_App_Resource_Abstract
{
    /**
     * Default Config
     *
     * @var array
     */
    protected $_defaultConfig = array(
        Zym_App::ENV_DEVELOPMENT => array(
            'error_reporting' => 8191, // E_ALL | E_STRICT
            'display_errors'  => true
        ),

        Zym_App::ENV_DEFAULT     => array(
            'date' => array(
                'force_default_timezone' => false
            ),

            'include_path' => array()
        )
    );

    /**
     * Array of items to skip from ini_set()
     *
     * @todo make this format similar to the config array instead
     * @var array
     */
    protected $_customConfigMap = array(
        'date.force_default_timezone',
        'include_path'
    );

    /**
     * Set as high priority to load first in the dispatch
     *
     * @var integer
     */
    protected $_priority = self::PRIORITY_HIGH;

    /**
     * Setup
     *
     * @param Zend_Config $config
     */<commit_msg>PHP error reporting<commit_after><?php
/**
 * Zym Framework
 *
 * LICENSE
 *
 * This source file is subject to the new BSD license that is bundled
 * with this package in the file LICENSE.txt.
 *
 * @category Zym
 * @package Zym_App
 * @subpackage Resource
 * @copyright  Copyright (c) 2008 Zym. (http://www.zym-project.com/)
 * @license http://www.zym-project.com/license New BSD License
 */

/**
 * @see Zym_App_Resource_Abstract
 */
require_once 'Zym/App/Resource/Abstract.php';

/**
 * Setup php environment
 *
 * @author <NAME>
 * @license http://www.zym-project.com/license New BSD License
 * @category Zym
 * @package Zym_App
 * @subpackage Resource
 * @copyright  Copyright (c) 2008 Zym. (http://www.zym-project.com/)
 */
class Zym_App_Resource_Php extends Zym_App_Resource_Abstract
{
    /**
     * Default Config
     *
     * @var array
     */
    protected $_defaultConfig = array(
        Zym_App::ENV_DEVELOPMENT => array(
            'error_reporting' => 8191, // E_ALL | E_STRICT
            'display_errors'  => true
        ),

        Zym_App::ENV_DEFAULT     => array(
            'date' => array(
                'force_default_timezone' => false
            ),

            'error_reporting' => 341, // E_PARSE | E_COMPILE_ERROR | E_ERROR | E_CORE_ERROR | E_USER_ERROR
            'display_errors' => false,
            
            'include_path' => array()
        )
    );

    /**
     * Array of items to skip from ini_set()
     *
     * @todo make this format similar to the config array instead
     * @var array
     */
    protected $_customConfigMap = array(
        'date.force_default_timezone',
        'include_path'
    );

    /**
     * Set as high priority to load first in the dispatch
     *
     * @var integer
     */
    protected $_priority = self::PRIORITY_HIGH;

    /**
     * Setup
     *
     * @param Zend_Config $config
     */
{'fraction_non_alphanumeric': 0.11947763267574327, 'fraction_numerical': 0.0075020839121978326, 'mean_word_length': 2.197158081705151, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 21, 'https://': 0, 'lorem ipsum': 0, 'www.': 8, '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': '1203229', 'n_tokens_mistral': 1151, 'n_tokens_neox': 1106, 'n_words': 285}