<commit_before><?php

namespace AlgoliaSearch\Laravel;

use Illuminate\Support\Facades\Event;
use Illuminate\Support\ServiceProvider;

class AlgoliaServiceProvider extends ServiceProvider
{
    public function register()
    {
        $this->registerManager();<commit_msg>add custom user agent<commit_after><?php

namespace AlgoliaSearch\Laravel;

use AlgoliaSearch\Version;
use Illuminate\Support\Facades\Event;
use Illuminate\Support\ServiceProvider;

class AlgoliaServiceProvider extends ServiceProvider
{
    public function register()
    {
        Version::addPrefixUserAgentSegment('Laravel integration', '1.6.2');
        Version::addSuffixUserAgentSegment('PHP', phpversion());
        $laravel = app();
        Version::addSuffixUserAgentSegment('Laravel', $laravel::VERSION);

        $this->registerManager();
{'fraction_non_alphanumeric': 0.1071863580998782, 'fraction_numerical': 0.0036540803897685747, 'mean_word_length': 5.044117647058823, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '5977439', 'n_tokens_mistral': 226, 'n_tokens_neox': 229, 'n_words': 43}