<commit_before><?php namespace Sgtaziz\SteamAuth;

use Illuminate\Support\ServiceProvider;

class SteamAuthServiceProvider extends ServiceProvider
{

    /**
     * Indicates if loading of the provider is deferred.
     *
     * @var bool
     */
    // protected $defer = true;

    /**
     * Register bindings in the container.
     *
     * @return void
     */
    public function register()
    {
        $configPath = __DIR__ . '/../config/sgtaziz.steamauth.php';
        $this->mergeConfigFrom($configPath, 'sgtaziz.steamauth');
        $this->publishes([$configPath => config_path('sgtaziz.steamauth.php')], 'config');

        $this->app->bindShared('sgtaziz.steamauth', function ($app) {
            return new SteamAuth;
        });

        $this->app->alias('sgtaziz.steamauth', 'Sgtaziz\SteamAuth\SteamAuth');
    }

    /**
     * Get the services provided by the provider.
     *<commit_msg>Fix for L5<commit_after><?php namespace Sgtaziz\SteamAuth;

use Illuminate\Support\ServiceProvider;

class SteamAuthServiceProvider extends ServiceProvider
{

    /**
     * Indicates if loading of the provider is deferred.
     *
     * @var bool
     */
    // protected $defer = true;

    /**
     * Register bindings in the container.
     *
     * @return void
     */
    public function register()
    {
        $configPath = __DIR__ . '/../config/sgtaziz.steamauth.php';
        $this->mergeConfigFrom($configPath, 'sgtaziz.steamauth');
        $this->publishes([$configPath => config_path('sgtaziz.steamauth.php')], 'config');

        $this->app->singleton('sgtaziz.steamauth', function ($app) {
            return new SteamAuth;
        });

        $this->app->alias('sgtaziz.steamauth', 'Sgtaziz\SteamAuth\SteamAuth');
    }

    /**
     * Get the services provided by the provider.
     *
{'fraction_non_alphanumeric': 0.1368653421633554, 'fraction_numerical': 0.0005518763796909492, 'mean_word_length': 2.520388349514563, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 17, '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': '5915639', 'n_tokens_mistral': 570, 'n_tokens_neox': 563, 'n_words': 112}