<commit_before><?php
/**
 * Pimcore
 *
 * LICENSE
 *
 * This source file is subject to the new BSD license that is bundled
 * with this package in the file LICENSE.txt.
 * It is also available through the world-wide-web at this URL:
 * http://www.pimcore.org/license
 *
 * @copyright  Copyright (c) 2009-2013 pimcore GmbH (http://www.pimcore.org)
 * @license    http://www.pimcore.org/license     New BSD License
 */

/**
 * initializes Pimcore before Phing is executed
 * required to get the autoloader...
 */
require_once dirname(__FILE__) . '/../../../../../../cli/startup.php';

if(Pimcore_API_Plugin_Broker::getInstance()->hasModule('Deployment_Module')){
    //add system and ext path to inlude path to prevent autoloading warning, that PropertyPromptTask.php and VersionTask.php could not be loaded
    set_include_path(get_include_path() . PATH_SEPARATOR . PIMCORE_PATH . '/modules/deployment/lib/Deployment/Phing/classes/phing/tasks/system/');
    set_include_path(get_include_path() . PATH_SEPARATOR . PIMCORE_PATH . '/modules/deployment/lib/Deployment/Phing/classes/phing/tasks/ext/');

    $autoloader = Zend_Loader_Autoloader::getInstance();
    #$autoloader->suppressNotFoundWarnings(true); //disable warning because Zend_Loader tries to load Phing classes...

    // do some general deployment setup stuff
    $deploymentAdapter = Deployment_Factory::getInstance()->getAdapter();
    $deploymentAdapter->setCommandLineParams();

    $deploymentStartup = PIMCORE_CONFIGURATION_DIRECTORY . "/deployment-startup.php";
    if(@is_file($deploymentStartup)) {<commit_msg>Added PEAR directory to include path for depmloyment<commit_after><?php
/**
 * Pimcore
 *
 * LICENSE
 *
 * This source file is subject to the new BSD license that is bundled
 * with this package in the file LICENSE.txt.
 * It is also available through the world-wide-web at this URL:
 * http://www.pimcore.org/license
 *
 * @copyright  Copyright (c) 2009-2013 pimcore GmbH (http://www.pimcore.org)
 * @license    http://www.pimcore.org/license     New BSD License
 */

/**
 * initializes Pimcore before Phing is executed
 * required to get the autoloader...
 */
require_once dirname(__FILE__) . '/../../../../../../cli/startup.php';
set_include_path(get_include_path() . PATH_SEPARATOR . PIMCORE_PATH . '/lib/PEAR');

if(Pimcore_API_Plugin_Broker::getInstance()->hasModule('Deployment_Module')){
    //add system and ext path to inlude path to prevent autoloading warning, that PropertyPromptTask.php and VersionTask.php could not be loaded
    set_include_path(get_include_path() . PATH_SEPARATOR . PIMCORE_PATH . '/modules/deployment/lib/Deployment/Phing/classes/phing/tasks/system/');
    set_include_path(get_include_path() . PATH_SEPARATOR . PIMCORE_PATH . '/modules/deployment/lib/Deployment/Phing/classes/phing/tasks/ext/');

    $autoloader = Zend_Loader_Autoloader::getInstance();
    #$autoloader->suppressNotFoundWarnings(true); //disable warning because Zend_Loader tries to load Phing classes...

    // do some general deployment setup stuff
    $deploymentAdapter = Deployment_Factory::getInstance()->getAdapter();
    $deploymentAdapter->setCommandLineParams();

    $deploymentStartup = PIMCORE_CONFIGURATION_DIRECTORY . "/deployment-startup.php";
    if(@is_file($deploymentStartup)) {
{'fraction_non_alphanumeric': 0.12488577520560463, 'fraction_numerical': 0.004873591227535791, 'mean_word_length': 4.229299363057325, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 6, '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': '7250198', 'n_tokens_mistral': 1028, 'n_tokens_neox': 995, 'n_words': 239}