<commit_before><?php
/**
 * @package     Mautic
 * @copyright   2014 Mautic Contributors. All rights reserved.
 * @author      Mautic
 * @link        http://mautic.org
 * @license     GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
 */

return array(
    'routes'   => array(
        'main' => array(
            'mautic_campaignevent_action' => array(
                'path'       => '/campaigns/events/{objectAction}/{objectId}',
                'controller' => 'MauticCampaignBundle:Event:execute'
            ),
            'mautic_campaignsource_action'      => array(
                'path'       => '/campaigns/sources/{objectAction}/{objectId}',
                'controller' => 'MauticCampaignBundle:Source:execute'
            ),
            'mautic_campaign_index'       => array(
                'path'       => '/campaigns/{page}',
                'controller' => 'MauticCampaignBundle:Campaign:index'
            ),
            'mautic_campaign_action'      => array(
                'path'       => '/campaigns/{objectAction}/{objectId}',
                'controller' => 'MauticCampaignBundle:Campaign:execute'
            ),
            'mautic_campaign_contacts'       => array(
                'path'       => '/campaigns/view/{objectId}/contact/{page}',
                'controller' => 'MauticCampaignBundle:Campaign:leads',
            ),

            //@deprecated to be removed in 2.0
            'mautic_campaign_leads'       => array(
                'path'       => '/campaigns/view/{objectId}/contacts/{page}',
                'controller' => 'MauticCampaignBundle:Campaign:leads',
            ),
            'mautic_campaign_leads_bc'       => array(
                'path'       => '/campaigns/view/{objectId}/leads/{page}',
                'controller' => 'MauticCampaignBundle:Campaign:leads',
            ),
        ),
        'api'  => array(
            'mautic_api_getcampaigns' => array(
                'path'       => '/campaigns',
                'controller' => 'MauticCampaignBundle:Api\CampaignApi:getEntities'
            ),
            'mautic_api_getcampaign'  => array(
                'path'       => '/campaigns/{id}',
                'controller' => 'MauticCampaignBundle:Api\CampaignApi:getEntity'
            ),
            'mautic_api_campaignaddcontact' => array(
                'path'       => '/campaigns/{id}/contact/add/{leadId}',
                'controller' => 'MauticCampaignBundle:Api\CampaignApi:addLead',
                'method'     => 'POST'
            ),
            'mautic_api_campaignremovecontact' => array(
                'path'       => '/campaigns/{id}/contact/remove/{leadId}',
                'controller' => 'MauticCampaignBundle:Api\CampaignApi:removeLead',
                'method'     => 'POST'
            ),

            // @deprecated - to be removed in 2.0
            'mautic_api_campaignaddlead' => array(
                'path'       => '/campaigns/{id}/contact/add/{leadId}',
                'controller' => 'MauticCampaignBundle:Api\CampaignApi:addLead',
                'method'     => 'POST'
            ),
            'mautic_api_campaignremovelead' => array(
                'path'       => '/campaigns/{id}/contact/remove/{leadId}',
                'controller' => 'MauticCampaignBundle:Api\CampaignApi:removeLead',
                'method'     => 'POST'
            ),
            'mautic_api_campaignaddlead_bc' => array(
                'path'       => '/campaigns/{id}/lead/add/{leadId}',
                'controller' => 'MauticCampaignBundle:Api\CampaignApi:addLead',
                'method'     => 'POST'
            ),
            'mautic_api_campaignremovelead_bc' => array(
                'path'       => '/campaigns/{id}/lead/remove/{leadId}',
                'controller' => 'MauticCampaignBundle:Api\CampaignApi:removeLead',
                'method'     => 'POST'
            )
        )
    ),

    'menu'     => array(
        'main' => array(
            'mautic.campaign.menu.index' => array(
                'iconClass' => 'fa-clock-o',
                'route'     => 'mautic_campaign_index',
                'access'    => 'campaign:campaigns:view',
                'priority'  => 50
            )
        )
    ),

    'categories' => array(
        'campaign' => null
    ),

    'services' => array(
        'events' => array(
            'mautic.campaign.subscriber'                => array(
                'class' => 'Mautic\CampaignBundle\EventListener\CampaignSubscriber'
            ),
            'mautic.campaign.leadbundle.subscriber'     => array(
                'class' => 'Mautic\CampaignBundle\EventListener\LeadSubscriber'
            ),
            'mautic.campaign.calendarbundle.subscriber' => array(
                'class' => 'Mautic\CampaignBundle\EventListener\CalendarSubscriber'
            ),
            'mautic.campaign.pointbundle.subscriber'    => array(
                'class' => 'Mautic\CampaignBundle\EventListener\PointSubscriber'
            ),
            'mautic.campaign.search.subscriber'         => array(
                'class' => 'Mautic\CampaignBundle\EventListener\SearchSubscriber'
            ),
            'mautic.campaign.dashboard.subscriber'           => array(
                'class' => 'Mautic\CampaignBundle\EventListener\DashboardSubscriber'
            ),
        ),
        'forms'  => array(
            'mautic.campaign.type.form'                 => array(
                'class'     => 'Mautic\CampaignBundle\Form\Type\CampaignType',
                'arguments' => 'mautic.factory',
                'alias'     => 'campaign'
            ),
            'mautic.campaignrange.type.action'          => array(
                'class' => 'Mautic\CampaignBundle\Form\Type\EventType',
                'alias' => 'campaignevent'
            ),
            'mautic.campaign.type.campaignlist'         => array(
                'class'     => 'Mautic\CampaignBundle\Form\Type\CampaignListType',
                'arguments' => 'mautic.factory',
                'alias'     => 'campaign_list'
            ),
            'mautic.campaign.type.trigger.leadchange'   => array(
                'class' => 'Mautic\CampaignBundle\Form\Type\CampaignEventLeadChangeType',
                'alias' => 'campaignevent_leadchange'
            ),
            'mautic.campaign.type.action.addremovelead' => array(
                'class' => 'Mautic\CampaignBundle\Form\Type\CampaignEventAddRemoveLeadType',
                'alias' => 'campaignevent_addremovelead'
            ),
            'mautic.campaign.type.canvassettings'       => array(
                'class' => 'Mautic\CampaignBundle\Form\Type\EventCanvasSettingsType',
                'alias' => 'campaignevent_canvassettings'
            ),
            'mautic.campaign.type.leadsource'           => array(
                'class'     => 'Mautic\CampaignBundle\Form\Type\CampaignLeadSourceType',
                'arguments' => 'mautic.factory',
                'alias'     => 'campaign_leadsource'
            ),
        )
    ), 
    'parameters' => array(
        'campaing_time_wait_on_event_false' => 'PT1H'
    )
);<commit_msg>US6530 correction of the variable name<commit_after><?php
/**
 * @package     Mautic
 * @copyright   2014 Mautic Contributors. All rights reserved.
 * @author      Mautic
 * @link        http://mautic.org
 * @license     GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
 */

return array(
    'routes'   => array(
        'main' => array(
            'mautic_campaignevent_action' => array(
                'path'       => '/campaigns/events/{objectAction}/{objectId}',
                'controller' => 'MauticCampaignBundle:Event:execute'
            ),
            'mautic_campaignsource_action'      => array(
                'path'       => '/campaigns/sources/{objectAction}/{objectId}',
                'controller' => 'MauticCampaignBundle:Source:execute'
            ),
            'mautic_campaign_index'       => array(
                'path'       => '/campaigns/{page}',
                'controller' => 'MauticCampaignBundle:Campaign:index'
            ),
            'mautic_campaign_action'      => array(
                'path'       => '/campaigns/{objectAction}/{objectId}',
                'controller' => 'MauticCampaignBundle:Campaign:execute'
            ),
            'mautic_campaign_contacts'       => array(
                'path'       => '/campaigns/view/{objectId}/contact/{page}',
                'controller' => 'MauticCampaignBundle:Campaign:leads',
            ),

            //@deprecated to be removed in 2.0
            'mautic_campaign_leads'       => array(
                'path'       => '/campaigns/view/{objectId}/contacts/{page}',
                'controller' => 'MauticCampaignBundle:Campaign:leads',
            ),
            'mautic_campaign_leads_bc'       => array(
                'path'       => '/campaigns/view/{objectId}/leads/{page}',
                'controller' => 'MauticCampaignBundle:Campaign:leads',
            ),
        ),
        'api'  => array(
            'mautic_api_getcampaigns' => array(
                'path'       => '/campaigns',
                'controller' => 'MauticCampaignBundle:Api\CampaignApi:getEntities'
            ),
            'mautic_api_getcampaign'  => array(
                'path'       => '/campaigns/{id}',
                'controller' => 'MauticCampaignBundle:Api\CampaignApi:getEntity'
            ),
            'mautic_api_campaignaddcontact' => array(
                'path'       => '/campaigns/{id}/contact/add/{leadId}',
                'controller' => 'MauticCampaignBundle:Api\CampaignApi:addLead',
                'method'     => 'POST'
            ),
            'mautic_api_campaignremovecontact' => array(
                'path'       => '/campaigns/{id}/contact/remove/{leadId}',
                'controller' => 'MauticCampaignBundle:Api\CampaignApi:removeLead',
                'method'     => 'POST'
            ),

            // @deprecated - to be removed in 2.0
            'mautic_api_campaignaddlead' => array(
                'path'       => '/campaigns/{id}/contact/add/{leadId}',
                'controller' => 'MauticCampaignBundle:Api\CampaignApi:addLead',
                'method'     => 'POST'
            ),
            'mautic_api_campaignremovelead' => array(
                'path'       => '/campaigns/{id}/contact/remove/{leadId}',
                'controller' => 'MauticCampaignBundle:Api\CampaignApi:removeLead',
                'method'     => 'POST'
            ),
            'mautic_api_campaignaddlead_bc' => array(
                'path'       => '/campaigns/{id}/lead/add/{leadId}',
                'controller' => 'MauticCampaignBundle:Api\CampaignApi:addLead',
                'method'     => 'POST'
            ),
            'mautic_api_campaignremovelead_bc' => array(
                'path'       => '/campaigns/{id}/lead/remove/{leadId}',
                'controller' => 'MauticCampaignBundle:Api\CampaignApi:removeLead',
                'method'     => 'POST'
            )
        )
    ),

    'menu'     => array(
        'main' => array(
            'mautic.campaign.menu.index' => array(
                'iconClass' => 'fa-clock-o',
                'route'     => 'mautic_campaign_index',
                'access'    => 'campaign:campaigns:view',
                'priority'  => 50
            )
        )
    ),

    'categories' => array(
        'campaign' => null
    ),

    'services' => array(
        'events' => array(
            'mautic.campaign.subscriber'                => array(
                'class' => 'Mautic\CampaignBundle\EventListener\CampaignSubscriber'
            ),
            'mautic.campaign.leadbundle.subscriber'     => array(
                'class' => 'Mautic\CampaignBundle\EventListener\LeadSubscriber'
            ),
            'mautic.campaign.calendarbundle.subscriber' => array(
                'class' => 'Mautic\CampaignBundle\EventListener\CalendarSubscriber'
            ),
            'mautic.campaign.pointbundle.subscriber'    => array(
                'class' => 'Mautic\CampaignBundle\EventListener\PointSubscriber'
            ),
            'mautic.campaign.search.subscriber'         => array(
                'class' => 'Mautic\CampaignBundle\EventListener\SearchSubscriber'
            ),
            'mautic.campaign.dashboard.subscriber'           => array(
                'class' => 'Mautic\CampaignBundle\EventListener\DashboardSubscriber'
            ),
        ),
        'forms'  => array(
            'mautic.campaign.type.form'                 => array(
                'class'     => 'Mautic\CampaignBundle\Form\Type\CampaignType',
                'arguments' => 'mautic.factory',
                'alias'     => 'campaign'
            ),
            'mautic.campaignrange.type.action'          => array(
                'class' => 'Mautic\CampaignBundle\Form\Type\EventType',
                'alias' => 'campaignevent'
            ),
            'mautic.campaign.type.campaignlist'         => array(
                'class'     => 'Mautic\CampaignBundle\Form\Type\CampaignListType',
                'arguments' => 'mautic.factory',
                'alias'     => 'campaign_list'
            ),
            'mautic.campaign.type.trigger.leadchange'   => array(
                'class' => 'Mautic\CampaignBundle\Form\Type\CampaignEventLeadChangeType',
                'alias' => 'campaignevent_leadchange'
            ),
            'mautic.campaign.type.action.addremovelead' => array(
                'class' => 'Mautic\CampaignBundle\Form\Type\CampaignEventAddRemoveLeadType',
                'alias' => 'campaignevent_addremovelead'
            ),
            'mautic.campaign.type.canvassettings'       => array(
                'class' => 'Mautic\CampaignBundle\Form\Type\EventCanvasSettingsType',
                'alias' => 'campaignevent_canvassettings'
            ),
            'mautic.campaign.type.leadsource'           => array(
                'class'     => 'Mautic\CampaignBundle\Form\Type\CampaignLeadSourceType',
                'arguments' => 'mautic.factory',
                'alias'     => 'campaign_leadsource'
            ),
        )
    ),
    'parameters' => array(
        'campaign_time_wait_on_event_false' => 'PT1H'
    )
);
{'fraction_non_alphanumeric': 0.13765182186234817, 'fraction_numerical': 0.0022337009632835405, 'mean_word_length': 1.5959412937126292, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 211, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '6191920', 'n_tokens_mistral': 4282, 'n_tokens_neox': 3959, 'n_words': 483}