Skip to content

Commit be95311

Browse files
committed
fixes to ignored files and added php requirements to composer
1 parent 8626ba3 commit be95311

File tree

4 files changed

+12
-1549
lines changed

4 files changed

+12
-1549
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
.idea
22
vendor
33
.phpunit.result.cache
4+
/phpunit.xml
5+
/composer.lock

composer.json

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
{
22
"name": "cbschuld/browser.php",
33
"description": "A PHP Class to detect a user's Browser",
4-
"keywords": ["browser", "user agent", "detection"],
5-
"homepage": "http://chrisschuld.com/projects/browser-php-detecting-a-users-browser-from-php.html",
4+
"keywords": [
5+
"browser",
6+
"user agent",
7+
"detection"
8+
],
9+
"homepage": "https://chrisschuld.com/projects/browser-php-detecting-a-users-browser-from-php/",
610
"license": "MIT",
711
"authors": [
812
{
@@ -14,6 +18,9 @@
1418
"autoload": {
1519
"classmap": ["lib/Browser.php"]
1620
},
21+
"require": {
22+
"php": "^5.4"
23+
},
1724
"extra": {
1825
"branch-alias": {
1926
"dev-master": "1.9.x-dev"
@@ -22,4 +29,4 @@
2229
"require-dev": {
2330
"phpunit/phpunit": "^8"
2431
}
25-
}
32+
}

0 commit comments

Comments
 (0)