<commit_before><?php

namespace League\FactoryMuffin\Test;

use League\FactoryMuffin\Facade\FactoryMuffin;

class TestCase extends \PHPUnit_Framework_TestCase
{
    public static function setupBeforeClass()
    {
        FactoryMuffin::loadFactories(__DIR__ . '/factories');
        FactoryMuffin::setSaveMethod('save');
    }

    public static function tearDownAfterClass()
    {
        FactoryMuffin::deleteSaved();
    }
}
<commit_msg>Set delete method just to show how it's done<commit_after><?php

namespace League\FactoryMuffin\Test;

use League\FactoryMuffin\Facade\FactoryMuffin;

class TestCase extends \PHPUnit_Framework_TestCase
{
    public static function setupBeforeClass()
    {
        FactoryMuffin::loadFactories(__DIR__ . '/factories');
        FactoryMuffin::setSaveMethod('save');
    }

    public static function tearDownAfterClass()
    {
        FactoryMuffin::setDeleteMethod('delete');
        FactoryMuffin::deleteSaved();
    }
}

{'fraction_non_alphanumeric': 0.09989594172736732, 'fraction_numerical': 0.0, 'mean_word_length': 3.9587628865979383, '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': '7615913', 'n_tokens_mistral': 286, 'n_tokens_neox': 284, 'n_words': 51}