diff --git a/public/supported.php b/public/supported.php index a55a362..8cecc2b 100644 --- a/public/supported.php +++ b/public/supported.php @@ -32,7 +32,7 @@ if ($item->isHit()) { $data = $item->get(); } else { $bots = []; - $parsedBots = Yaml::parse(file_get_contents(__DIR__ . '/../vendor/piwik/device-detector/regexes/bots.yml')); + $parsedBots = Yaml::parse(file_get_contents(__DIR__ . '/../vendor/matomo/device-detector/regexes/bots.yml')); foreach ($parsedBots as $parsedBot) { $bots[] = $parsedBot['name']; } diff --git a/src/IconPath.php b/src/IconPath.php index 9dec9da..abe53b3 100644 --- a/src/IconPath.php +++ b/src/IconPath.php @@ -9,8 +9,8 @@ use DeviceDetector\Parser\Client\Browser; use DeviceDetector\Parser\OperatingSystem; class IconPath { - private DeviceDetector $dd; - private string $iconDir = __DIR__ . "/../public"; + private $dd; + private $iconDir = __DIR__ . "/../public"; public function __construct(DeviceDetector $dd) { $this->dd = $dd; diff --git a/test.php b/test.php index 42b9de5..927fbcd 100644 --- a/test.php +++ b/test.php @@ -3,7 +3,7 @@ namespace DeviceDetectorNet; require_once "./vendor/autoload.php"; -$dir = "vendor/piwik/device-detector/Tests/fixtures/"; +$dir = "vendor/matomo/device-detector/Tests/fixtures/"; $testfiles = scandir($dir);