WhichBrowser / Parser-PHP

Browser sniffing gone too far — A useragent parser library for PHP
http://whichbrowser.net
MIT License
1.81k stars 238 forks source link

Wrong autoload #675

Closed lulco closed 7 months ago

lulco commented 2 years ago
"autoload": {
    "psr-4": {
        "WhichBrowser\\": [ "src/", "tests/src/" ]
    }
}

tests/src/ is exluded via .gitattributes, so it doesn't appear in vendor/whichbrowser/parser directory after installation. It should be probably moved to autoload-dev

NielsLeenheer commented 7 months ago

Fixed in the latest release