<commit_before><?php

namespace Mcms\Products;


use Mcms\Products\StartUp\RegisterAdminPackage;
use Mcms\Products\StartUp\RegisterEvents;
use Mcms\Products\StartUp\RegisterFacades;
use Mcms\Products\StartUp\RegisterMiddleware;
use Mcms\Products\StartUp\RegisterServiceProviders;
use Mcms\Products\StartUp\RegisterSettingsManager;
use Mcms\Products\StartUp\RegisterWidgets;
use Illuminate\Support\ServiceProvider;
use \App;
use \Installer, \Widget;
use Illuminate\Contracts\Events\Dispatcher as DispatcherContract;
use Illuminate\Contracts\Auth\Access\Gate as GateContract;
use Illuminate\Routing\Router;

class ProductsServiceProvider extends ServiceProvider
{
    /**
     * @var array
     */
    protected $commands = [
        \Mcms\Products\Console\Commands\Install::class,
        \Mcms\Products\Console\Commands\RefreshAssets::class,
    ];
    
    public $packageName = 'package-products';
    
    /**
     * Perform post-registration booting of services.
     *
     * @return void
     */
    public function boot(DispatcherContract $events, GateContract $gate, Router $router)
    {
        $this->publishes([
            __DIR__ . '/../config/config.php' => config_path('products.php'),
            __DIR__ . '/../config/product_settings.php' => config_path('product_settings.php'),
        ], 'config');

        $this->publishes([
            __DIR__ . '/../database/migrations/' => database_path('migrations')
        ], 'migrations');

        $this->publishes([
            __DIR__ . '/../database/seeds/' => database_path('seeds')
        ], 'seeds');

        $this->publishes([
            __DIR__ . '/../resources/views' => resource_path('views/products'),
        ], 'views');

        $this->publishes([
            __DIR__ . '/../resources/lang' => resource_path('lang'),
        ], 'lang');

        $this->publishes([
            __DIR__ . '/../resources/public' => public_path('package-products'),
        ], 'public');

        $this->publishes([
            __DIR__ . '/../resources/assets' => public_path('package-products'),
        ], 'assets');

        $this->publishes([
            __DIR__ . '/../config/admin.package.json' => storage_path('app/package-products/admin.package.json'),
        ], 'admin-package');
        <commit_msg>small fix<commit_after><?php

namespace Mcms\Products;


use Mcms\Products\StartUp\RegisterAdminPackage;
use Mcms\Products\StartUp\RegisterEvents;
use Mcms\Products\StartUp\RegisterFacades;
use Mcms\Products\StartUp\RegisterMiddleware;
use Mcms\Products\StartUp\RegisterServiceProviders;
use Mcms\Products\StartUp\RegisterSettingsManager;
use Mcms\Products\StartUp\RegisterWidgets;
use Illuminate\Support\ServiceProvider;
use \App;
use \Installer, \Widget;
use Illuminate\Contracts\Events\Dispatcher as DispatcherContract;
use Illuminate\Contracts\Auth\Access\Gate as GateContract;
use Illuminate\Routing\Router;

class ProductsServiceProvider extends ServiceProvider
{
    /**
     * @var array
     */
    protected $commands = [
        \Mcms\Products\Console\Commands\Install::class,
        \Mcms\Products\Console\Commands\RefreshAssets::class,
    ];
    
    public $packageName = 'package-products';
    
    /**
     * Perform post-registration booting of services.
     *
     * @return void
     */
    public function boot(DispatcherContract $events, GateContract $gate, Router $router)
    {
        $this->publishes([
            __DIR__ . '/../config/config.php' => config_path('products.php'),
            __DIR__ . '/../config/product_settings.php' => config_path('product_settings.php'),
        ], 'config');

        $this->publishes([
            __DIR__ . '/../database/migrations/' => database_path('migrations')
        ], 'migrations');

        $this->publishes([
            __DIR__ . '/../database/seeds/' => database_path('seeds')
        ], 'seeds');

        $this->publishes([
            __DIR__ . '/../resources/views' => resource_path('views/products'),
        ], 'views');

        $this->publishes([
            __DIR__ . '/../resources/lang' => resource_path('lang'),
        ], 'lang');

        $this->publishes([
            __DIR__ . '/../resources/public' => public_path('vendor/mcms/products'),
        ], 'public');

        $this->publishes([
            __DIR__ . '/../resources/assets' => public_path('vendor/mcms/products'),
        ], 'assets');

        $this->publishes([
            __DIR__ . '/../config/admin.package.json' => storage_path('app/package-products/admin.package.json'),
        ], 'admin-package');
        
{'fraction_non_alphanumeric': 0.1534740545294635, 'fraction_numerical': 0.0, 'mean_word_length': 2.68042071197411, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 37, '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': '645152', 'n_tokens_mistral': 1342, 'n_tokens_neox': 1313, 'n_words': 211}