<commit_before><?php

namespace Hootlex\Friendships;

use Illuminate\Support\ServiceProvider;

class FriendshipsServiceProvider extends ServiceProvider
{
    /**
     * Bootstrap any application services.
     *
     * @return void
     */
    public function boot()
    {
        if (class_exists('CreateFriendshipsTable')) {
            return;
        }

        $timestamp = date('Y_m_d_His', time());
        $stub      = __DIR__.'/database/migrations/create_friendships_table.php';
        $target    = database_path('migrations').'/'.$timestamp.'_create_friendships_table.php';
        $this->publishes([$stub => $target], 'migrations');<commit_msg>Register user's personal groups pivot table to publish<commit_after><?php

namespace Hootlex\Friendships;

use Illuminate\Support\ServiceProvider;

class FriendshipsServiceProvider extends ServiceProvider
{
    /**
     * Bootstrap any application services.
     *
     * @return void
     */
    public function boot()
    {
        if (class_exists('CreateFriendshipsTable') || class_exists('CreateFriendFriendshipGroupsTable')) {
            return;
        }

        $stub      = __DIR__.'/database/migrations/';
        $target    = database_path('migrations').'/';
        $this->publishes([
            $stub.'create_friendships_table.php'              => $target.date('Y_m_d_His', time()).'_create_friendships_table.php',
            $stub.'create_friend_friendship_groups_table.php' => $target.date('Y_m_d_His', time()+1).'_create_friend_friendship_groups_table.php',

        ], 'migrations');
{'fraction_non_alphanumeric': 0.12756410256410255, 'fraction_numerical': 0.000641025641025641, 'mean_word_length': 3.0545454545454547, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 8, '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': '4606872', 'n_tokens_mistral': 446, 'n_tokens_neox': 452, 'n_words': 71}