<commit_before><?php

/*
 * Stock Module for Hipanel
 *
 * @link      https://github.com/hiqdev/hipanel-module-stock
 * @package   hipanel-module-stock
 * @license   BSD-3-Clause
 * @copyright Copyright (c) 2015-2016, HiQDev (http://hiqdev.com/)
 */

return [
    'aliases' => [
        '@model'    => '/stock/model',
        '@part'     => '/stock/part',
        '@move'     => '/stock/move',
        '@hwconfig' => '/stock/hwconfig',
    ],
    'modules' => [
        'stock' => [
            'class' => \hipanel\modules\stock\Module::class,
        ],
    ],
    'components' => [
        'i18n' => [
            'translations' => [
                'hipanel:stock' => [
                    'class' => \yii\i18n\PhpMessageSource::class,
                    'basePath' => '@hipanel/modules/stock/messages',
                ],
            ],
        ],
        'menuManager' => [
            'items' => [
                'sidebar' => [
                    'add' => [
                        'stock' => [
                            'menu' => \hipanel\modules\stock\menus\SidebarMenu::class,
                            'where' => [
                                'after'  => ['hosting', 'servers', 'domains', 'tickets', 'finance', 'clients', 'dashboard'],
                            ],
                        ],
                    ],
                ],
            ],
        ],
    ],
];<commit_msg>moved menus definitions to DI<commit_after><?php

/*
 * Stock Module for Hipanel
 *
 * @link      https://github.com/hiqdev/hipanel-module-stock
 * @package   hipanel-module-stock
 * @license   BSD-3-Clause
 * @copyright Copyright (c) 2015-2016, HiQDev (http://hiqdev.com/)
 */

return [
    'aliases' => [
        '@model'    => '/stock/model',
        '@part'     => '/stock/part',
        '@move'     => '/stock/move',
        '@hwconfig' => '/stock/hwconfig',
    ],
    'modules' => [
        'stock' => [
            'class' => \hipanel\modules\stock\Module::class,
        ],
    ],
    'components' => [
        'i18n' => [
            'translations' => [
                'hipanel:stock' => [
                    'class' => \yii\i18n\PhpMessageSource::class,
                    'basePath' => '@hipanel/modules/stock/messages',
                ],
            ],
        ],
    ],
    'container' => [
        'definitions' => [
            \hiqdev\thememanager\menus\AbstractSidebarMenu::class => [
                'add' => [
                    'stock' => [
                        'menu' => \hipanel\modules\stock\menus\SidebarMenu::class,
                        'where' => [
                            'after'  => ['hosting', 'servers', 'domains', 'tickets', 'finance', 'clients', 'dashboard'],
                        ],
                    ],
                ],
            ],
        ],
    ],
];
{'fraction_non_alphanumeric': 0.17755681818181818, 'fraction_numerical': 0.009232954545454546, 'mean_word_length': 1.2304038004750595, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 47, 'https://': 2, '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': '7111301', 'n_tokens_mistral': 858, 'n_tokens_neox': 851, 'n_words': 114}