<commit_before><?xml version="1.0" encoding="UTF-8" ?>
<constraint-mapping xmlns="http://symfony.com/schema/dic/constraint-mapping"
                    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                    xsi:schemaLocation="http://symfony.com/schema/dic/constraint-mapping http://symfony.com/schema/dic/constraint-mapping/constraint-mapping-1.0.xsd">

    <class name="WellCommerce\Bundle\AppBundle\Entity\Contact">
        <property name="enabled">
            <constraint name="NotNull">
                <option name="message">contact.enabled.error.not_null</option>
            </constraint>
        </property>
        <property name="translations">
            <constraint name="Valid">
                <option name="deep">true</option>
            </constraint>
        </property>
    </class>

    <class name="WellCommerce\Bundle\AppBundle\Entity\ContactTranslation">
        <property name="name">
            <constraint name="NotBlank">
                <option name="message">contact.error.name.not_blank</option>
            </constraint>
            <constraint name="NotNull">
                <option name="message">contact.error.name.not_null</option>
            </constraint>
        </property>
        <property name="email">
            <constraint name="NotBlank">
                <option name="message">contact.error.name.not_blank</option>
            </constraint>
            <constraint name="NotNull">
                <option name="message">contact.error.name.not_null</option>
            </constraint>
        </property>
    </class>

    <class name="WellCommerce\Bundle\PageBundle\Entity\Page">
        <property name="publish">
            <constraint name="NotNull">
                <option name="message">page.error.publish.not_null</option>
            </constraint>
        </property>
        <property name="translations">
            <constraint name="Valid">
                <option name="deep">true</option>
            </constraint>
        </property>
    </class>

    <class name="WellCommerce\Bundle\PageBundle\Entity\PageTranslation">
        <property name="name">
            <constraint name="NotBlank">
                <option name="message">page.error.name.not_blank</option>
            </constraint>
            <constraint name="NotNull">
                <option name="message">page.error.name.not_null</option>
            </constraint>
        </property>
        <property name="content">
            <constraint name="NotNull">
                <option name="message">page.error.content.not_null</option>
            </constraint>
        </property>
    </class>

    <class name="WellCommerce\Bundle\AppBundle\Entity\NewsTranslation">
        <property name="topic">
            <constraint name="NotBlank"/>
            <constraint name="NotNull"/>
        </property>
        <property name="summary">
            <constraint name="NotNull" />
        </property>
        <property name="content">
            <constraint name="NotNull"/>
        </property>
    </class>
</constraint-mapping>
<commit_msg>Finished restructurisation of bundles<commit_after><?xml version="1.0" encoding="UTF-8" ?>
<constraint-mapping xmlns="http://symfony.com/schema/dic/constraint-mapping"
                    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                    xsi:schemaLocation="http://symfony.com/schema/dic/constraint-mapping http://symfony.com/schema/dic/constraint-mapping/constraint-mapping-1.0.xsd">

    <class name="WellCommerce\Bundle\AppBundle\Entity\Contact">
        <property name="enabled">
            <constraint name="NotNull">
                <option name="message">contact.enabled.error.not_null</option>
            </constraint>
        </property>
        <property name="translations">
            <constraint name="Valid">
                <option name="deep">true</option>
            </constraint>
        </property>
    </class>

    <class name="WellCommerce\Bundle\AppBundle\Entity\ContactTranslation">
        <property name="name">
            <constraint name="NotBlank">
                <option name="message">contact.error.name.not_blank</option>
            </constraint>
            <constraint name="NotNull">
                <option name="message">contact.error.name.not_null</option>
            </constraint>
        </property>
        <property name="email">
            <constraint name="NotBlank">
                <option name="message">contact.error.name.not_blank</option>
            </constraint>
            <constraint name="NotNull">
                <option name="message">contact.error.name.not_null</option>
            </constraint>
        </property>
    </class>

    <class name="WellCommerce\Bundle\PageBundle\Entity\Page">
        <property name="publish">
            <constraint name="NotNull">
                <option name="message">page.error.publish.not_null</option>
            </constraint>
        </property>
        <property name="translations">
            <constraint name="Valid">
                <option name="deep">true</option>
            </constraint>
        </property>
    </class>

    <class name="WellCommerce\Bundle\PageBundle\Entity\PageTranslation">
        <property name="name">
            <constraint name="NotBlank">
                <option name="message">page.error.name.not_blank</option>
            </constraint>
            <constraint name="NotNull">
                <option name="message">page.error.name.not_null</option>
            </constraint>
        </property>
        <property name="content">
            <constraint name="NotNull">
                <option name="message">page.error.content.not_null</option>
            </constraint>
        </property>
    </class>

    <class name="WellCommerce\Bundle\NewsBundle\Entity\NewsTranslation">
        <property name="topic">
            <constraint name="NotBlank"/>
            <constraint name="NotNull"/>
        </property>
        <property name="summary">
            <constraint name="NotNull" />
        </property>
        <property name="content">
            <constraint name="NotNull"/>
        </property>
    </class>
</constraint-mapping>

{'fraction_non_alphanumeric': 0.14334031244966983, 'fraction_numerical': 0.003221130616846513, 'mean_word_length': 2.105, 'pattern_counts': {'":': 0, '<': 169, '<?xml version=': 2, '>': 169, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 6}, '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': '506733', 'n_tokens_mistral': 1617, 'n_tokens_neox': 1570, 'n_words': 243}