mimmi20/browser-detector

View on GitHub
src/Helper/Desktop.php

Summary

Maintainability
A
30 mins
Test Coverage
A
100%

Avoid too many return statements within this method.
Open

        return 0 < preg_match(
            '/freebsd|openbsd|netbsd|bsd four|os\/2|warp|sunos|hp-?ux|beos|haiku|irix|solaris|openvms|aix|esx|unix|w3m|google desktop|eeepc|dillo|konqueror|eudora|masking-agent|safersurf|integrity|davclnt|cybeye|google pp default|microsoft office|nsplayer|ms ?frontpage|revolt|akregator|installatron|lynx|camino|osf1|barca|the bat!|libvlc|openvas|gvfs/i',
            $useragent,
        );
Severity: Major
Found in src/Helper/Desktop.php - About 30 mins to fix

    There are no issues that match your filters.

    Category
    Status