<commit_before><?php

require_once(__DIR__ . '/../vendor/autoload.php');

spl_autoload_register(function ($class) {
    $class = str_replace(['ReneFactor', '\\'], ['', DIRECTORY_SEPARATOR], $class);
    $classPath = __DIR__ . DIRECTORY_SEPARATOR . $class . '.php';

    require_once $classPath;
});

use Symfony\Component\Console\Output\ConsoleOutput;
use Symfony\Component\Console\Output\OutputInterface;
use Symfony\Component\Console\Logger\ConsoleLogger;

$consoleLogger = new ConsoleLogger(
    new ConsoleOutput(OutputInterface::VERBOSITY_DEBUG)
);
$consoleLogger->info('starting refactoring');

$refactor = new \ReneFactor\SplitYvesPackage($consoleLogger);
//$refactor->refactor();

$refactor = new \ReneFactor\SplitZedPackage($consoleLogger);
//$refactor->refactor();

$refactor = new \ReneFactor\GitiffyBundles($consoleLogger);
//$refactor->refactor();

$refactor = new \ReneFactor\PackageNameInPropelSchema($consoleLogger);
$refactor->refactor();

$refactor = new \ReneFactor\CodeCeptionIncludeList($consoleLogger);
//$refactor->refactor();

$refactor = new \ReneFactor\YvesPackageNamespaceReplacer($consoleLogger);
//$refactor->refactor();

$refactor = new \ReneFactor\GitIgnore($consoleLogger);
//$refactor->refactor();

$refactor = new \ReneFactor\YvesTestMover($consoleLogger);
$refactor->refactor();
<commit_msg>update scripts<commit_after><?php

require_once(__DIR__ . '/../vendor/autoload.php');

spl_autoload_register(function ($class) {
    $class = str_replace(['ReneFactor', '\\'], ['', DIRECTORY_SEPARATOR], $class);
    $classPath = __DIR__ . DIRECTORY_SEPARATOR . $class . '.php';

    require_once $classPath;
});

use Symfony\Component\Console\Output\ConsoleOutput;
use Symfony\Component\Console\Output\OutputInterface;
use Symfony\Component\Console\Logger\ConsoleLogger;

$consoleLogger = new ConsoleLogger(
    new ConsoleOutput(OutputInterface::VERBOSITY_DEBUG)
);
$consoleLogger->info('starting refactoring');

$refactor = new \ReneFactor\SplitYvesPackage($consoleLogger);
//$refactor->refactor();

$refactor = new \ReneFactor\SplitZedPackage($consoleLogger);
$refactor->refactor();

$refactor = new \ReneFactor\GitiffyBundles($consoleLogger);
//$refactor->refactor();

$refactor = new \ReneFactor\PackageNameInPropelSchema($consoleLogger);
$refactor->refactor();

$refactor = new \ReneFactor\CodeCeptionIncludeList($consoleLogger);
//$refactor->refactor();

$refactor = new \ReneFactor\YvesPackageNamespaceReplacer($consoleLogger);
//$refactor->refactor();

$refactor = new \ReneFactor\GitIgnore($consoleLogger);
//$refactor->refactor();

$refactor = new \ReneFactor\YvesTestMover($consoleLogger);
$refactor->refactor();

{'fraction_non_alphanumeric': 0.16144850999622784, 'fraction_numerical': 0.0, 'mean_word_length': 6.709302325581396, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 21, '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': '474054', 'n_tokens_mistral': 867, 'n_tokens_neox': 854, 'n_words': 123}