Compare commits
7 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9f0c743afd | ||
|
|
4e92cd0254 | ||
|
|
d61ddda4ef | ||
|
|
10ecb36d16 | ||
|
|
205483e14c | ||
|
|
6584b545ea | ||
|
|
ac6592b7a5 |
1
.gitignore
vendored
1
.gitignore
vendored
@@ -4,6 +4,7 @@ _site
|
||||
composer.lock
|
||||
composer.phar
|
||||
phpunit.xml
|
||||
geoip2.phar
|
||||
geoip2-php.sublime-*
|
||||
vendor/
|
||||
*.sw?
|
||||
|
||||
@@ -10,12 +10,12 @@ php:
|
||||
before_install:
|
||||
- composer self-update
|
||||
- composer install --dev -n --prefer-source
|
||||
- if [ "hhvm" != "$(phpenv version-name)" ]; then pyrus install pear/PHP_CodeSniffer; fi
|
||||
- if [ "5.5" == $TRAVIS_PHP_VERSION ]; then pyrus install pear/PHP_CodeSniffer; fi
|
||||
- phpenv rehash
|
||||
|
||||
script:
|
||||
- mkdir -p build/logs
|
||||
- if [ "hhvm" != "$(phpenv version-name)" ]; then phpcs --standard=PSR2 src/; fi
|
||||
- if [ "5.5" == $TRAVIS_PHP_VERSION ]; then phpcs --standard=PSR2 src/; fi
|
||||
- phpunit -c phpunit.xml.dist
|
||||
|
||||
after_script:
|
||||
|
||||
@@ -1,6 +1,13 @@
|
||||
CHANGELOG
|
||||
=========
|
||||
|
||||
0.6.3 (2014-05-12)
|
||||
------------------
|
||||
|
||||
* With the previous Phar builds, some users received `phar error: invalid url
|
||||
or non-existent phar` errors. The correct alias is now used for the Phar,
|
||||
and this should no longer be an issue.
|
||||
|
||||
0.6.2 (2014-05-08)
|
||||
------------------
|
||||
|
||||
|
||||
@@ -82,7 +82,7 @@ classes for the different parts of the data such as the city in which the
|
||||
IP address is located.
|
||||
|
||||
If the record is not found, a `\GeoIp2\Exception\AddressNotFoundException`
|
||||
is returned. If the database is invalid or corrupt, a
|
||||
is thrown. If the database is invalid or corrupt, a
|
||||
`\MaxMind\Db\InvalidDatabaseException` will be thrown.
|
||||
|
||||
See the API documentation for more details.
|
||||
|
||||
1
box.json
1
box.json
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"alias": "geoip2.phar",
|
||||
"main": "phar-stub.php",
|
||||
"output": "geoip2.phar",
|
||||
"compactors": [
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
require_once 'vendor/autoload.php';
|
||||
require_once 'phar://geoip2.phar/vendor/autoload.php';
|
||||
|
||||
// The following was taken from Guzzle (MIT license)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user