<commit_before><?php

namespace OpenOrchestra\BaseBundle\Manager;

/**
 * Class TagManager
 */
class TagManager
{
    /**
     * Format node id tag
     * 
     * @param string $nodeId
     * 
     * @return string
     */
    public function formatNodeIdTag($nodeId)
    {
        return 'node-' . $nodeId;
    }

    /**
     * Format language tag
     * 
     * @param string $language
     *
     * @deprecated deprecated since version 1.2.0 and will be removed in 2.0.0
     *
     * @return string
     */
    public function formatLanguageTag($language)
    {
        @trigger_error('The '.__METHOD__.' method is deprecated since version 1.2.0 and will be removed in 2.0.0', E_USER_DEPRECATED);

        return 'language-' . $language;
    }

    /**
     * Format site id tag
     * 
     * @param string $siteId
     *
     * @deprecated deprecated since version 1.2.0 and will be removed in 2.0.0
     *
     * @return string
     */
    public function formatSiteIdTag($siteId)
    {
        @trigger_error('The '.__METHOD__.' method is deprecated since version 1.2.0 and will be removed in 2.0.0', E_USER_DEPRECATED);

        return 'site-' . $siteId;
    }

    /**
     * Format block type tag
     * 
     * @param string $blockType
     * 
     * @return string
     */
    public function formatBlockTypeTag($blockType)
    {
        return 'block-' . $blockType;
    }

    /**
     * Format content type tag
     * 
     * @param string $contentType
     *
     * @return string
     */
    public function formatContentTypeTag($contentType)
    {
        return 'contentType-' . $contentType;
    }

    /**
     * Format content id tag
     * 
     * @param string $contentId
     * 
     * @return string
     */
    public function formatContentIdTag($contentId)
    {
        return 'contentId-' . $contentId;
    }

    /**
     * Format media id tag
     * 
     * @param string $mediaId
     * 
     * @return string
     */
    public function formatMediaIdTag($mediaId)
    {
        return 'mediaId-' . $mediaId;
    }

    /**
     * Format menu tag
     *
     * @param string $siteId
     *
     * @return string
     */
    public function formatMenuTag($siteId)
    {
        return 'menu-' . $siteId;
    }
}
<commit_msg>revert deprecated tag manager (#110)<commit_after><?php

namespace OpenOrchestra\BaseBundle\Manager;

/**
 * Class TagManager
 */
class TagManager
{
    /**
     * Format node id tag
     * 
     * @param string $nodeId
     * 
     * @return string
     */
    public function formatNodeIdTag($nodeId)
    {
        return 'node-' . $nodeId;
    }

    /**
     * Format language tag
     * 
     * @param string $language
     *
     * @return string
     */
    public function formatLanguageTag($language)
    {
        return 'language-' . $language;
    }

    /**
     * Format site id tag
     * 
     * @param string $siteId
     *
     * @return string
     */
    public function formatSiteIdTag($siteId)
    {
        return 'site-' . $siteId;
    }

    /**
     * Format block type tag
     * 
     * @param string $blockType
     * 
     * @return string
     */
    public function formatBlockTypeTag($blockType)
    {
        return 'block-' . $blockType;
    }

    /**
     * Format content type tag
     * 
     * @param string $contentType
     *
     * @return string
     */
    public function formatContentTypeTag($contentType)
    {
        return 'contentType-' . $contentType;
    }

    /**
     * Format content id tag
     * 
     * @param string $contentId
     * 
     * @return string
     */
    public function formatContentIdTag($contentId)
    {
        return 'contentId-' . $contentId;
    }

    /**
     * Format media id tag
     * 
     * @param string $mediaId
     * 
     * @return string
     */
    public function formatMediaIdTag($mediaId)
    {
        return 'mediaId-' . $mediaId;
    }

    /**
     * Format menu tag
     *
     * @param string $siteId
     *
     * @return string
     */
    public function formatMenuTag($siteId)
    {
        return 'menu-' . $siteId;
    }
}

{'fraction_non_alphanumeric': 0.11306471306471307, 'fraction_numerical': 0.006593406593406593, 'mean_word_length': 1.69651086240948, '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': '5980370', 'n_tokens_mistral': 1296, 'n_tokens_neox': 1230, 'n_words': 306}