<commit_before><?php

namespace System\Controllers;

use Admin\Facades\AdminMenu;
use Admin\Facades\Template;
use Exception;
use Igniter\Flame\Exception\ApplicationException;
use Igniter\Flame\Support\Facades\Flash;
use Main\Classes\ThemeManager;
use System\Classes\ExtensionManager;
use System\Classes\UpdateManager;
use System\Models\Extensions_model;
use System\Models\Themes_model;

class Updates extends \Admin\Classes\AdminController
{
    public $checkUrl = 'updates';

    public $browseUrl = 'updates/browse';

    protected $requiredPermissions = 'Site.Updates';

    public function __construct()
    {
        parent::__construct();

        AdminMenu::setContext('updates', 'system');
    }

    public function index()
    {
        Extensions_model::syncAll();
        Themes_model::syncAll();

        $pageTitle = lang('system::lang.updates.text_title');<commit_msg>Minor fix<commit_after><?php

namespace System\Controllers;

use Admin\Facades\AdminMenu;
use Admin\Facades\Template;
use Exception;
use Igniter\Flame\Exception\ApplicationException;
use Main\Classes\ThemeManager;
use System\Classes\ExtensionManager;
use System\Classes\UpdateManager;
use System\Models\Extensions_model;
use System\Models\Themes_model;

class Updates extends \Admin\Classes\AdminController
{
    public $checkUrl = 'updates';

    public $browseUrl = 'updates/browse';

    protected $requiredPermissions = 'Site.Updates';

    public function __construct()
    {
        parent::__construct();

        AdminMenu::setContext('updates', 'system');
    }

    public function index()
    {
        Extensions_model::syncAll();
        Themes_model::syncAll();

        $pageTitle = lang('system::lang.updates.text_title');
{'fraction_non_alphanumeric': 0.11563044741429401, 'fraction_numerical': 0.0, 'mean_word_length': 4.25, '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': '3726469', 'n_tokens_mistral': 511, 'n_tokens_neox': 497, 'n_words': 96}