<commit_before><?php

$mixCheckResult = 'Update can not be applied';

$sVer = $this->oDb->getOne("SELECT `version` FROM `sys_modules` WHERE `name` = 'system'");
if ('13.0.0.B1' == $sVer || '13.0.0-B1' == $sVer)
    $mixCheckResult = true;

return $mixCheckResult;
<commit_msg>Upgrade script from 13.0.0-B1 to 13.0.0-B2<commit_after><?php

$mixCheckResult = 'Update can not be applied';

if (!(PHP_VERSION_ID >= 70400)) {
    $mixCheckResult = 'This update requires a PHP version ">= 7.4.0". You are running ' . PHP_VERSION;
}
else {
    $sVer = $this->oDb->getOne("SELECT `version` FROM `sys_modules` WHERE `name` = 'system'");
    if ('13.0.0.B1' == $sVer || '13.0.0-B1' == $sVer)
        $mixCheckResult = true;
}

return $mixCheckResult;

{'fraction_non_alphanumeric': 0.19163292847503374, 'fraction_numerical': 0.05128205128205128, 'mean_word_length': 3.9798657718120807, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, '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': '7048861', 'n_tokens_mistral': 301, 'n_tokens_neox': 289, 'n_words': 69}