<commit_before><?php

namespace App\Controller;

use Exception;
use LogicException;
use Bugsnag\Client;
use Bugsnag\Report;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Routing\Annotation\Route;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;

class RedactedKeysController
{
    /**
     * @Route("/redacted-keys")
     */
    public function __invoke(Request $request, Client $bugsnag): Response
    {
        $bugsnag->notifyException(
            new Exception('This is a handled exception'),
            function (Report $report) {
                $report->addMetadata([
                    'testing' => [
                        'a' => 1,
                        'b' => 2,
                        'c' => 3,
                        'xyz' => 4,
                    ],
                ]);
            }
        );

        return new Response(__METHOD__);
    }
}<commit_msg>Remove unused imports<commit_after><?php

namespace App\Controller;

use Exception;
use Bugsnag\Client;
use Bugsnag\Report;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Routing\Annotation\Route;

class RedactedKeysController
{
    /**
     * @Route("/redacted-keys")
     */
    public function __invoke(Client $bugsnag): Response
    {
        $bugsnag->notifyException(
            new Exception('This is a handled exception'),
            function (Report $report) {
                $report->addMetadata([
                    'testing' => [
                        'a' => 1,
                        'b' => 2,
                        'c' => 3,
                        'xyz' => 4,
                    ],
                ]);
            }
        );

        return new Response(__METHOD__);
    }
}
{'fraction_non_alphanumeric': 0.11409395973154363, 'fraction_numerical': 0.0044742729306487695, 'mean_word_length': 1.6002906976744187, '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': '6000986', 'n_tokens_mistral': 484, 'n_tokens_neox': 457, 'n_words': 98}