gdbots/enrichments-bundle-php

View on GitHub

Showing 1 of 24 total issues

Method enrich has 33 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function enrich(PbjxEvent $pbjxEvent): void
    {
        /** @var UaParser $message */
        $message = $pbjxEvent->getMessage();
        if (!$message->has('ctx_ua')) {
Severity: Minor
Found in src/UaParserEnricher.php - About 1 hr to fix
    Severity
    Category
    Status
    Source
    Language