<commit_before><?php
if (!$loader = @include __DIR__.'/../vendor/autoload.php') {
    echo <<<EOM
You must set up the project dependencies by running the following commands:

    curl -s http://getcomposer.org/installer | php
    php composer.phar install --dev

EOM;

    exit(1);
}

$loader->add('Payum\Klarna\Checkout\Tests', __DIR__);
$loader->add('Payum\Core\Tests', __DIR__.'/../vendor/payum/payum/tests');<commit_msg>[tests] reduce code duplications in tests, intr GenericActionTest.<commit_after><?php
if (!$loader = @include __DIR__.'/../vendor/autoload.php') {
    echo <<<EOM
You must set up the project dependencies by running the following commands:

    curl -s http://getcomposer.org/installer | php
    php composer.phar install --dev

EOM;

    exit(1);
}

$rc = new \ReflectionClass('Payum\Core\PaymentInterface');
$coreDir = dirname($rc->getFileName()).'/Tests';

$loader->add('Payum\Core\Tests', $coreDir);
$loader->add('Payum\Klarna\Checkout\Tests', __DIR__);
{'fraction_non_alphanumeric': 0.1683673469387755, 'fraction_numerical': 0.0020408163265306124, 'mean_word_length': 4.245989304812834, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 8, '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': '6569151', 'n_tokens_mistral': 331, 'n_tokens_neox': 324, 'n_words': 77}