<commit_before><?php

namespace Moonshiner\Cms;

use Illuminate\Support\ServiceProvider;

class CmsServiceProvider extends ServiceProvider
{
    /**
     * Bootstrap the application services.
     *
     * @return void
     */
    public function boot()
    {
        // if(!$this->app->runningInConsole()) return; 
            
        $this->registerMigrations();

        $this->publishes([
            __DIR__ . '/../config/cms.php' => config_path('cms.php'),
        ]);
        $this->loadRoutesFrom(__DIR__.'/routes/routes.php');     
         $this->publishes([
            __DIR__.'/../resources/assets' => resource_path('vendor/moonshine'),
        ], 'public');


    }

    /**
     * Register Passport's migration files.
     *
     * @return void
     */
    protected function registerMigrations()
    {
        return $this->loadMigrationsFrom(__DIR__.'/../database/migrations');

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

    /**
     * Register the service provider.
     *
     * @return void
     */
    public function register()
    {

    }
}<commit_msg>change migration tag<commit_after><?php

namespace Moonshiner\Cms;

use Illuminate\Support\ServiceProvider;

class CmsServiceProvider extends ServiceProvider
{
    /**
     * Bootstrap the application services.
     *
     * @return void
     */
    public function boot()
    {
        // if(!$this->app->runningInConsole()) return; 
            
        $this->registerMigrations();

        $this->publishes([
            __DIR__ . '/../config/cms.php' => config_path('cms.php'),
        ]);
        $this->loadRoutesFrom(__DIR__.'/routes/routes.php');     
         $this->publishes([
            __DIR__.'/../resources/assets' => resource_path('vendor/moonshine'),
        ], 'public');


    }

    /**
     * Register Passport's migration files.
     *
     * @return void
     */
    protected function registerMigrations()
    {
        return $this->loadMigrationsFrom(__DIR__.'/../database/migrations');

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

    /**
     * Register the service provider.
     *
     * @return void
     */
    public function register()
    {

    }
}
{'fraction_non_alphanumeric': 0.1510307109802272, 'fraction_numerical': 0.0, 'mean_word_length': 2.017766497461929, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 25, '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': '7289853', 'n_tokens_mistral': 706, 'n_tokens_neox': 695, 'n_words': 110}