<commit_before><?php
/**
 * @file
 * A script containing any set-up steps required for PHPUnit testing.
 */

require __DIR__ . '/../vendor/autoload.php';

putenv((new \Platformsh\Cli\CliConfig())->get('application.env_prefix') . 'DRUSH=' . CLI_ROOT . '/vendor/bin/drush');<commit_msg>Allow Drush location to be overridden for tests<commit_after><?php
/**
 * @file
 * A script containing any set-up steps required for PHPUnit testing.
 */

require __DIR__ . '/../vendor/autoload.php';

$env_prefix = (new \Platformsh\Cli\CliConfig())->get('application.env_prefix');
if (!getenv($env_prefix)) {
    putenv($env_prefix . 'DRUSH=' . CLI_ROOT . '/vendor/bin/drush');
}
{'fraction_non_alphanumeric': 0.1779788838612368, 'fraction_numerical': 0.0, 'mean_word_length': 4.228346456692913, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '876764', 'n_tokens_mistral': 225, 'n_tokens_neox': 219, 'n_words': 50}