<commit_before><?php
declare(strict_types=1);

namespace Lopi\Bundle\PusherBundle\Twig;

class PusherExtension extends \Twig_Extension implements \Twig_Extension_GlobalsInterface
{
    private $pusher;

    public function __construct(\Pusher $pusher)
    {
        $this->pusher = $pusher;
    }

    public function getGlobals()
    {
        return [
            'pusher_key' => $this->pusher->getSettings()['auth_key'],
        ];
    }
}<commit_msg>Changes to new namespace and removes strict_types<commit_after><?php

namespace Lopi\Bundle\PusherBundle\Twig;

use Pusher\Pusher;

class PusherExtension extends \Twig_Extension implements \Twig_Extension_GlobalsInterface
{
    private $pusher;

    public function __construct(Pusher $pusher)
    {
        $this->pusher = $pusher;
    }

    public function getGlobals()
    {
        return [
            'pusher_key' => $this->pusher->getSettings()['auth_key'],
        ];
    }
}
{'fraction_non_alphanumeric': 0.11194029850746269, 'fraction_numerical': 0.0010660980810234541, 'mean_word_length': 3.1004366812227073, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 11, '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': '1745439', 'n_tokens_mistral': 303, 'n_tokens_neox': 317, 'n_words': 55}