Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rewrite Headers #872

Open
wants to merge 14 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

## Requirements

This library requires PHP 8.1+.
This library requires PHP 8.3+.
Also a PSR-3 compatible logger and a PSR-16 compatible cache are required.

## Installation
Expand Down
12 changes: 6 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@
"mimmi20/browser-detector-version": "^11.0.0",
"mimmi20/ios-build": "^4.0.0",
"mimmi20/macos-build": "^4.0.0",
"mimmi20/ua-browser-type": "^10.0.0",
"mimmi20/ua-device-type": "^10.0.0",
"mimmi20/ua-generic-request": "^9.0.1",
"mimmi20/ua-loader-interface": "^3.0.0",
"mimmi20/ua-browser-type": "^11.0.0",
"mimmi20/ua-device-type": "^11.0.0",
"mimmi20/ua-generic-request": "^10.0.1",
"mimmi20/ua-loader-interface": "^4.0.1",
"mimmi20/ua-normalizer": "^7.0.0",
"mimmi20/ua-parser-interface": "^1.0.0",
"mimmi20/ua-result": "^10.0.3",
"mimmi20/ua-parser-interface": "^2.0.0",
"mimmi20/ua-result": "^12.0.0",
"psr/http-message": "^2.0",
"psr/log": "^3.0.2",
"psr/simple-cache": "^3.0.0"
Expand Down
2 changes: 1 addition & 1 deletion data/devices/amazon/speaker.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"touch": false,
"size": null
},
"type": "speaker",
"type": "smart-speaker",
"platform": null
}
}
6 changes: 3 additions & 3 deletions data/devices/apple/speaker.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"touch": false,
"size": null
},
"type": "speaker",
"type": "smart-speaker",
"platform": "audio os"
},
"apple audioaccessory1,2": {
Expand All @@ -28,7 +28,7 @@
"touch": false,
"size": null
},
"type": "speaker",
"type": "smart-speaker",
"platform": "audio os"
},
"apple homepod": {
Expand All @@ -44,7 +44,7 @@
"touch": false,
"size": null
},
"type": "speaker",
"type": "smart-speaker",
"platform": "audio os"
}
}
54 changes: 27 additions & 27 deletions data/devices/apple/watch.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"touch": true,
"size": 1.5
},
"type": "watch",
"type": "smart-watch",
"platform": "watch os"
},
"apple watch1,1": {
Expand All @@ -28,7 +28,7 @@
"touch": true,
"size": 1.5
},
"type": "watch",
"type": "smart-watch",
"platform": "watch os"
},
"apple watch1,2": {
Expand All @@ -44,7 +44,7 @@
"touch": true,
"size": 1.65
},
"type": "watch",
"type": "smart-watch",
"platform": "watch os"
},
"apple watch5,10": {
Expand All @@ -60,7 +60,7 @@
"touch": true,
"size": 1.78
},
"type": "watch",
"type": "smart-watch",
"platform": "watch os"
},
"apple watch5,11": {
Expand All @@ -76,7 +76,7 @@
"touch": true,
"size": 1.57
},
"type": "watch",
"type": "smart-watch",
"platform": "watch os"
},
"apple watch5,12": {
Expand All @@ -92,7 +92,7 @@
"touch": true,
"size": 1.78
},
"type": "watch",
"type": "smart-watch",
"platform": "watch os"
},
"apple watch5,9": {
Expand All @@ -108,7 +108,7 @@
"touch": true,
"size": 1.57
},
"type": "watch",
"type": "smart-watch",
"platform": "watch os"
},
"apple watch2,6": {
Expand All @@ -124,7 +124,7 @@
"touch": true,
"size": 1.5
},
"type": "watch",
"type": "smart-watch",
"platform": "watch os"
},
"apple watch2,7": {
Expand All @@ -140,7 +140,7 @@
"touch": true,
"size": 1.65
},
"type": "watch",
"type": "smart-watch",
"platform": "watch os"
},
"apple watch2,3": {
Expand All @@ -156,7 +156,7 @@
"touch": true,
"size": 1.5
},
"type": "watch",
"type": "smart-watch",
"platform": "watch os"
},
"apple watch2,4": {
Expand All @@ -172,7 +172,7 @@
"touch": true,
"size": 1.65
},
"type": "watch",
"type": "smart-watch",
"platform": "watch os"
},
"apple watch3,1": {
Expand All @@ -188,7 +188,7 @@
"touch": true,
"size": 1.5
},
"type": "watch",
"type": "smart-watch",
"platform": "watch os"
},
"apple watch3,2": {
Expand All @@ -204,7 +204,7 @@
"touch": true,
"size": 1.65
},
"type": "watch",
"type": "smart-watch",
"platform": "watch os"
},
"apple watch3,3": {
Expand All @@ -220,7 +220,7 @@
"touch": true,
"size": 1.5
},
"type": "watch",
"type": "smart-watch",
"platform": "watch os"
},
"apple watch3,4": {
Expand All @@ -236,7 +236,7 @@
"touch": true,
"size": 1.65
},
"type": "watch",
"type": "smart-watch",
"platform": "watch os"
},
"apple watch4,1": {
Expand All @@ -252,7 +252,7 @@
"touch": true,
"size": 1.8
},
"type": "watch",
"type": "smart-watch",
"platform": "watch os"
},
"apple watch4,2": {
Expand All @@ -268,7 +268,7 @@
"touch": true,
"size": 2
},
"type": "watch",
"type": "smart-watch",
"platform": "watch os"
},
"apple watch4,3": {
Expand All @@ -284,7 +284,7 @@
"touch": true,
"size": 1.8
},
"type": "watch",
"type": "smart-watch",
"platform": "watch os"
},
"apple watch4,4": {
Expand All @@ -300,7 +300,7 @@
"touch": true,
"size": 2
},
"type": "watch",
"type": "smart-watch",
"platform": "watch os"
},
"apple watch5,1": {
Expand All @@ -316,7 +316,7 @@
"touch": true,
"size": 1.57
},
"type": "watch",
"type": "smart-watch",
"platform": "watch os"
},
"apple watch5,2": {
Expand All @@ -332,7 +332,7 @@
"touch": true,
"size": 1.78
},
"type": "watch",
"type": "smart-watch",
"platform": "watch os"
},
"apple watch5,3": {
Expand All @@ -348,7 +348,7 @@
"touch": true,
"size": 1.57
},
"type": "watch",
"type": "smart-watch",
"platform": "watch os"
},
"apple watch5,4": {
Expand All @@ -364,7 +364,7 @@
"touch": true,
"size": 1.78
},
"type": "watch",
"type": "smart-watch",
"platform": "watch os"
},
"apple watch6,1": {
Expand All @@ -380,7 +380,7 @@
"touch": true,
"size": 1.57
},
"type": "watch",
"type": "smart-watch",
"platform": "watch os"
},
"apple watch6,2": {
Expand All @@ -396,7 +396,7 @@
"touch": true,
"size": 1.78
},
"type": "watch",
"type": "smart-watch",
"platform": "watch os"
},
"apple watch6,3": {
Expand All @@ -412,7 +412,7 @@
"touch": true,
"size": 1.57
},
"type": "watch",
"type": "smart-watch",
"platform": "watch os"
},
"apple watch6,4": {
Expand All @@ -428,7 +428,7 @@
"touch": true,
"size": 1.78
},
"type": "watch",
"type": "smart-watch",
"platform": "watch os"
}
}
2 changes: 1 addition & 1 deletion data/devices/asus/watch.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"touch": true,
"size": 1.6
},
"type": "watch",
"type": "smart-watch",
"platform": null
}
}
2 changes: 1 addition & 1 deletion data/devices/gigaset/non-mobile-phone.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"touch": true,
"size": 10.1
},
"type": "non-mobile-phone",
"type": "phone",
"platform": "android"
}
}
4 changes: 2 additions & 2 deletions data/devices/huawei/watch.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"touch": true,
"size": 1.43
},
"type": "watch",
"type": "smart-watch",
"platform": "harmony-os"
},
"huawei gll-al04": {
Expand All @@ -28,7 +28,7 @@
"touch": true,
"size": 1.43
},
"type": "watch",
"type": "smart-watch",
"platform": "harmony-os"
}
}
2 changes: 1 addition & 1 deletion data/devices/iconbit/watch.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"touch": true,
"size": 1.5
},
"type": "watch",
"type": "smart-watch",
"platform": null
}
}
4 changes: 2 additions & 2 deletions data/devices/lg/watch.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"touch": true,
"size": 1.63
},
"type": "watch",
"type": "smart-watch",
"platform": null
},
"lg g watch r": {
Expand All @@ -28,7 +28,7 @@
"touch": true,
"size": 1.3
},
"type": "watch",
"type": "smart-watch",
"platform": null
}
}
6 changes: 3 additions & 3 deletions data/devices/motorola/watch.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"touch": true,
"size": null
},
"type": "watch",
"type": "smart-watch",
"platform": null
},
"motorola moto 360": {
Expand All @@ -28,7 +28,7 @@
"touch": true,
"size": 1.56
},
"type": "watch",
"type": "smart-watch",
"platform": null
},
"motorola motoactv": {
Expand All @@ -44,7 +44,7 @@
"touch": true,
"size": 1.6
},
"type": "watch",
"type": "smart-watch",
"platform": null
}
}
Loading
Loading