<commit_before><?php namespace Braunson\FatSecret;

use Illuminate\Support\ServiceProvider;

class FatSecretServiceProvider extends ServiceProvider
{
	/**
	 * Indicates if loading of the provider is deferred.
	 *
	 * @var bool
	 */
	protected $defer = false;

	/**
	 * Bootstrap the application events.
	 *
	 * @return void
	 */
	public function boot()
	{
		$this->package('braunson/fat-secret');
	}

	/**
	 * Register the service provider.
	 *
	 * @return void
	 */
	public function register()
	{
		$this->app['fatsecret'] = $this->app->share(function($app)
		{
			return new FatSecret(\Config::get('services.fatsecret.key'), \Config::get('services.fatsecret.secret'));
		});
	}

	/**
	 * Get the services provided by the provider.
	 *
	 * @return array
	 */
	public function provides()
	{
		return array('fatsecret');
	}

}
<commit_msg>Updated boot method for 5.x<commit_after><?php namespace Braunson\FatSecret;

use Illuminate\Support\ServiceProvider;

class FatSecretServiceProvider extends ServiceProvider
{
	/**
	 * Indicates if loading of the provider is deferred.
	 *
	 * @var bool
	 */
	protected $defer = false;

	/**
	 * Bootstrap the application events.
	 *
	 * @return void
	 */
	public function boot()
	{
		// $this->package('braunson/fat-secret');
		$this->register();
	}

	/**
	 * Register the service provider.
	 *
	 * @return void
	 */
	public function register()
	{
		$this->app['fatsecret'] = $this->app->share(function($app)
		{
			return new FatSecret(\Config::get('services.fatsecret.key'), \Config::get('services.fatsecret.secret'));
		});
	}

	/**
	 * Get the services provided by the provider.
	 *
	 * @return array
	 */
	public function provides()
	{
		return array('fatsecret');
	}

}

{'fraction_non_alphanumeric': 0.15110851808634773, 'fraction_numerical': 0.0005834305717619603, 'mean_word_length': 3.4778067885117494, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 12, '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': '5557952', 'n_tokens_mistral': 587, 'n_tokens_neox': 522, 'n_words': 127}