<commit_before><?php

namespace GPUG\Providers;

use Illuminate\Support\ServiceProvider;

class AppServiceProvider extends ServiceProvider
{
    /**
     * Bootstrap any application services.
     *
     * @return void
     */
    public function boot()
    {
        //
    }

    /**
     * Register any application services.
     *<commit_msg>Setup the meetup provider in the AppServiceProviders boot method<commit_after><?php

namespace GPUG\Providers;

use GuzzleHttp\Client as HttpClient;
use SocialNorm\Meetup\MeetupProvider;
use Illuminate\Support\ServiceProvider;
use SocialNorm\Request as SocialNormRequest;

class AppServiceProvider extends ServiceProvider
{
    /**
     * Bootstrap any application services.
     *
     * @return void
     */
    public function boot()
    {
        // bind and register the SocialNorm MeetupProvider with EloquentOAuth
        $this->app->bind(MeetupProvider::class, function ($app) {
            return new MeetupProvider (
                $app['config']->get('eloquent-oauth.providers')['meetup'],
                new HttpClient(),
                new SocialNormRequest($app['request']->all())
            );
        });

        $this->app['adamwathan.oauth']->registerProvider('meetup', $this->app[MeetupProvider::class]);
    }

    /**
     * Register any application services.
     *
{'fraction_non_alphanumeric': 0.10986547085201794, 'fraction_numerical': 0.0, 'mean_word_length': 2.6684931506849314, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 10, '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': '4805988', 'n_tokens_mistral': 371, 'n_tokens_neox': 359, 'n_words': 83}