A PHP Class to detect a user's Browser. This encapsulation provides a breakdown of the browser and the version of the browser using the browser's user-agent string. This is not a guaranteed solution but provides an overall accurate way to detect what browser a user is using.
This has potential impact for users relying on the existing typo to make their code work.
Comments were also fixed to take into account the correct name of the browser.
EDIT: On creation of the pull request, tests results were failing due to the fact that Travis CI dropped support of precise images and thus PHP 5.3. I removed PHP 5.3 in the .travis.yml file.
This has potential impact for users relying on the existing typo to make their code work. Comments were also fixed to take into account the correct name of the browser.
EDIT: On creation of the pull request, tests results were failing due to the fact that Travis CI dropped support of precise images and thus PHP 5.3. I removed PHP 5.3 in the
.travis.yml
file.