Skip to content

Commit 11f55de

Browse files
committed
Updated root files
1 parent bd4205a commit 11f55de

File tree

5 files changed

+45
-25
lines changed

5 files changed

+45
-25
lines changed

.gitignore

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,20 @@
44
.Trashes
55
Thumbs.db
66
Desktop.ini
7-
.idea
8-
phpunit.xml
9-
phpunit.phar
10-
composer.lock
11-
composer.phar
12-
vendor
7+
*.sassc
8+
*.scssc
9+
compass_app_log.txt
10+
/.sass-cache/
11+
/.idea/
12+
/.vagrant/
13+
/project.xml
14+
/phpunit.xml
15+
/phpunit.phar
16+
/composer.phar
17+
/composer.lock
18+
/vendor/
19+
/bower_components/
20+
/node_modules/
21+
/npm-debug.log
22+
/stylesheets/
23+
build.txt

.travis.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,22 @@
11
language: php
22

3+
env:
4+
- APP_ENV=travis
5+
36
php:
4-
- 5.3
57
- 5.4
68
- 5.5
79
- 5.6
810
- hhvm
911

1012
before_script:
11-
## Composer
13+
## Composer
1214
- composer self-update
1315
- composer install --prefer-source --no-interaction --dev
1416

15-
script: phpunit
17+
script:
18+
- phpunit
1619

1720
matrix:
1821
allow_failures:
19-
- php: 5.6
20-
- php: hhvm
22+
- php: hhvm

composer.json

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,22 @@
1717
}
1818
],
1919
"require": {
20-
"php": ">=5.3"
20+
"php": ">=5.3.0"
2121
},
2222
"require-dev": {
23-
"phpunit/phpunit": "4.1.*"
23+
"phpunit/phpunit": "~4"
24+
},
25+
"suggest": {
26+
"ext-gearman": "This library needs Gearman"
2427
},
2528
"autoload": {
2629
"psr-4": {
2730
"Browser\\": "src/Browser"
2831
}
32+
},
33+
"autoload-dev": {
34+
"psr-4": {
35+
"Browser\\Tests\\": ["tests/Browser/Tests", "tests/Browser/Tests/_includes"]
36+
}
2937
}
30-
}
38+
}

phpunit.xml.dist

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
convertWarningsToExceptions="true"
88
stopOnFailure="false"
99
syntaxCheck="false">
10-
<testsuites>
11-
<testsuite name="Browser Test Suite">
12-
<directory>./tests/Browser/</directory>
13-
</testsuite>
14-
</testsuites>
15-
</phpunit>
10+
<testsuites>
11+
<testsuite name="Browser Test Suite">
12+
<directory>./tests/Browser/</directory>
13+
</testsuite>
14+
</testsuites>
15+
</phpunit>

readme.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
PHP Browser
22
===========
33

4-
[![Build Status](https://travis-ci.org/gabrielbull/php-browser.svg)](https://travis-ci.org/gabrielbull/php-browser)
5-
[![Latest Stable Version](https://poser.pugx.org/gabrielbull/browser/v/stable.png)](https://packagist.org/packages/gabrielbull/browser)
6-
[![Total Downloads](https://poser.pugx.org/gabrielbull/browser/downloads.png)](https://packagist.org/packages/gabrielbull/browser)
7-
[![Latest Unstable Version](https://poser.pugx.org/gabrielbull/browser/v/unstable.png)](https://packagist.org/packages/gabrielbull/browser)
8-
[![License](https://poser.pugx.org/gabrielbull/browser/license.png)](https://packagist.org/packages/gabrielbull/browser)
4+
[![Build Status](https://img.shields.io/travis/gabrielbull/php-browser/master.svg?style=flat)](https://travis-ci.org/gabrielbull/php-browser)
5+
[![Latest Stable Version](http://img.shields.io/packagist/v/gabrielbull/php-browser.svg?style=flat)](https://packagist.org/packages/gabrielbull/php-browser)
6+
[![Total Downloads](https://img.shields.io/packagist/dt/gabrielbull/php-browser.svg?style=flat)](https://packagist.org/packages/gabrielbull/php-browser)
7+
[![License](https://img.shields.io/packagist/l/gabrielbull/php-browser.svg?style=flat)](https://packagist.org/packages/gabrielbull/php-browser)
98

109
Detecting the user's browser, operating system and language from PHP. Because browser detection is not always reliable and evolves at all time, use with care and feel free to contribute.
1110

0 commit comments

Comments
 (0)