<commit_before><?php

namespace Oro\Bundle\NotificationBundle\Controller;

use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template;

use Oro\Bundle\UserBundle\Annotation\Acl;
use Oro\Bundle\NotificationBundle\Entity\EmailNotification;
use Oro\Bundle\NotificationBundle\Datagrid\EmailNotificationDatagridManager;

/**
 * @Route("/email")
 * @Acl(
 *      id="oro_notification_emailnotification",
 *      name="Transactional emails",
 *      description="Notification rules manipulation",
 *      parent="root"
 * )
 */
class EmailNotificationController extends Controller
{
    /**
     * @Route(
     *      "/{_format}",
     *      requirements={"_format"="html|json"},
     *      defaults={"_format" = "html"}
     * )
     * @Acl(
     *      id="oro_user_user_view",<commit_msg>BAP-1066: Transaction emails    - ACL typo fix<commit_after><?php

namespace Oro\Bundle\NotificationBundle\Controller;

use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template;

use Oro\Bundle\UserBundle\Annotation\Acl;
use Oro\Bundle\NotificationBundle\Entity\EmailNotification;
use Oro\Bundle\NotificationBundle\Datagrid\EmailNotificationDatagridManager;

/**
 * @Route("/email")
 * @Acl(
 *      id="oro_notification_emailnotification",
 *      name="Transactional emails",
 *      description="Notification rules manipulation",
 *      parent="root"
 * )
 */
class EmailNotificationController extends Controller
{
    /**
     * @Route(
     *      "/{_format}",
     *      requirements={"_format"="html|json"},
     *      defaults={"_format" = "html"}
     * )
     * @Acl(
     *      id="oro_notification_emailnotification_index",
{'fraction_non_alphanumeric': 0.1288081239978621, 'fraction_numerical': 0.002137894174238375, 'mean_word_length': 4.086956521739131, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '421383', 'n_tokens_mistral': 540, 'n_tokens_neox': 538, 'n_words': 74}