diff --git a/.travis.yml b/.travis.yml index d63439f0d4..9e30970e86 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,10 +6,16 @@ php: - 5.6 - 7.0 - 7.1 + - 7.2 - hhvm dist: trusty +matrix: + include: + - php: 5.3 + dist: precise + sudo: false services: diff --git a/DeviceDetector.php b/DeviceDetector.php index b04728a189..658fe09410 100644 --- a/DeviceDetector.php +++ b/DeviceDetector.php @@ -679,7 +679,7 @@ protected function parseDevice() /** * Assume all devices running iOS / Mac OS are from Apple */ - if (empty($this->brand) && in_array($osShortName, ['ATV', 'IOS', 'MAC'])) { + if (empty($this->brand) && in_array($osShortName, array('ATV', 'IOS', 'MAC'))) { $this->brand = 'AP'; }