<commit_before><?php

use OCP\AppFramework\App;

$app = new App('passwords');
$container = $app->getContainer();

$l = \OCP\Util::getL10N('passwords');

\OCP\App::registerAdmin('passwords', 'templates/admin.settings');
\OCP\App::registerPersonal('passwords', 'templates/personal.settings');

$urlGenerator = $container->query('OCP\IURLGenerator');
$l10n = $container->query('OCP\IL10N');

\OCP\App::addNavigationEntry(array(
		'id' => 'passwords',
		'order' => 9999,
		'href' => $urlGenerator->linkToRoute('passwords.page.index'),
		'icon' => $urlGenerator->imagePath('passwords', 'app.svg'),
		'name' => $l10n->t('Passwords'),
));<commit_msg>Static method of private class must not be called<commit_after><?php

use OCP\AppFramework\App;

$app = new App('passwords');
$container = $app->getContainer();

$l = \OCP\Util::getL10N('passwords');

\OCP\App::registerAdmin('passwords', 'templates/admin.settings');
\OCP\App::registerPersonal('passwords', 'templates/personal.settings');

$urlGenerator = $container->query('OCP\IURLGenerator');
$l10n = $container->query('OCP\IL10N');

\OC::$server->getNavigationManager()->add(
		'id' => 'passwords',
		'order' => 9999,
		'href' => $urlGenerator->linkToRoute('passwords.page.index'),
		'icon' => $urlGenerator->imagePath('passwords', 'app.svg'),
		'name' => $l10n->t('Passwords'),
);
{'fraction_non_alphanumeric': 0.22439759036144577, 'fraction_numerical': 0.018072289156626505, 'mean_word_length': 6.726744186046512, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 27, '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': '3572795', 'n_tokens_mistral': 494, 'n_tokens_neox': 470, 'n_words': 68}