<commit_before><?php

namespace OpenOrchestra\ModelBundle\DataFixtures\MongoDB;

use Doctrine\Common\Persistence\ObjectManager;
use OpenOrchestra\ModelInterface\DataFixtures\OrchestraProductionFixturesInterface;
use OpenOrchestra\ModelInterface\DataFixtures\OrchestraFunctionalFixturesInterface;

/**
 * Class LoadStatusData
 */
class LoadStatusData extends AbstractLoadStatus implements OrchestraProductionFixturesInterface, OrchestraFunctionalFixturesInterface
{
    /**
     * @param ObjectManager $manager
     */
    public function load(ObjectManager $manager)
    {
        $manager->persist($this->loadStatus('Out of validation workflow', 'Non soumis au workflow de validation', 'outOfWorkflow', 'grayDark', true, false, false, true));
        $manager->persist($this->loadStatus('Draft', 'Brouillon', 'draft', 'green', false, true));
        $manager->persist($this->loadStatus('Published', 'Publié', 'published', 'red', true, false, true));
        $manager->persist($this->loadStatus('To translate', 'A traduire', 'toTranslate', 'blue', false, false, false, false, false, false, true));
        $manager->persist($this->loadStatus('Offline', 'Hors ligne', 'offline', 'dark-grey', false, false, false, false, false, true));

        $manager->flush();
    }

    /**
     * Get the order of this fixture
     *
     * @return integer
     */
    public function getOrder()
    {
        return 40;
    }
}
<commit_msg>fix remove content out of worklow (#763)<commit_after><?php

namespace OpenOrchestra\ModelBundle\DataFixtures\MongoDB;

use Doctrine\Common\Persistence\ObjectManager;
use OpenOrchestra\ModelInterface\DataFixtures\OrchestraProductionFixturesInterface;
use OpenOrchestra\ModelInterface\DataFixtures\OrchestraFunctionalFixturesInterface;

/**
 * Class LoadStatusData
 */
class LoadStatusData extends AbstractLoadStatus implements OrchestraProductionFixturesInterface, OrchestraFunctionalFixturesInterface
{
    /**
     * @param ObjectManager $manager
     */
    public function load(ObjectManager $manager)
    {
        $manager->persist($this->loadStatus('Out of validation workflow', 'Non soumis au workflow de validation', 'outOfWorkflow', 'grayDark', true, false, false, true, false, true));
        $manager->persist($this->loadStatus('Draft', 'Brouillon', 'draft', 'green', false, true));
        $manager->persist($this->loadStatus('Published', 'Publié', 'published', 'red', true, false, true));
        $manager->persist($this->loadStatus('To translate', 'A traduire', 'toTranslate', 'blue', false, false, false, false, false, false, true));
        $manager->persist($this->loadStatus('Offline', 'Hors ligne', 'offline', 'dark-grey', false, false, false, false, false, true));

        $manager->flush();
    }

    /**
     * Get the order of this fixture
     *
     * @return integer
     */
    public function getOrder()
    {
        return 40;
    }
}

{'fraction_non_alphanumeric': 0.13708563535911603, 'fraction_numerical': 0.0024171270718232043, 'mean_word_length': 4.394785847299814, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 25, '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': '5655660', 'n_tokens_mistral': 829, 'n_tokens_neox': 816, 'n_words': 192}