Skip to content

Commit

Permalink
fix package name
Browse files Browse the repository at this point in the history
  • Loading branch information
Eugene Chernyshenko committed May 28, 2021
1 parent df01ddf commit 14958a0
Show file tree
Hide file tree
Showing 11 changed files with 61 additions and 61 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Usage:
Without memcached

```
use eugene-chernyshenko\ipgeobaseclient\Client;
use eugenechernyshenko\ipgeobaseclient\Client;
$client = new Client();
Expand All @@ -20,7 +20,7 @@ var_dump($region->getRegion());
With memcached

```
use eugene-chernyshenko\ipgeobaseclient\Client;
use eugenechernyshenko\ipgeobaseclient\Client;
$client = (new Client())
->setUseMemcached(true)
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "eugene-chernyshenko/ipgeobaseclient",
"name": "eugenechernyshenko/ipgeobaseclient",
"type": "library",
"description": "Php library for getting information of geo location by ip address.",
"keywords": [
Expand All @@ -10,7 +10,7 @@
},
"autoload": {
"psr-0": {
"eugene-chernyshenko\\ipgeobaseclient": "src"
"eugenechernyshenko\\ipgeobaseclient": "src"
}
}
}

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
<?php

namespace eugene-chernyshenko\ipgeobaseclient;
namespace eugenechernyshenko\ipgeobaseclient;

use eugene-chernyshenko\ipgeobaseclient\exceptions\InvalidIPException;
use eugene-chernyshenko\ipgeobaseclient\exceptions\IPNotFoundException;
use eugene-chernyshenko\ipgeobaseclient\exceptions\ResponseException;
use eugenechernyshenko\ipgeobaseclient\exceptions\InvalidIPException;
use eugenechernyshenko\ipgeobaseclient\exceptions\IPNotFoundException;
use eugenechernyshenko\ipgeobaseclient\exceptions\ResponseException;
use Memcached;
use SimpleXMLElement;

/**
* Class Client
*
* @package eugene-chernyshenko\ipgeobaseclient
* @package eugenechernyshenko\ipgeobaseclient
*/
class Client
{
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?php

namespace eugenechernyshenko\ipgeobaseclient\exceptions;

/**
* Class ClientException
*
* @package eugenechernyshenko\ipgeobaseclient\exceptions
*/
class ClientException extends \Exception
{

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?php

namespace eugenechernyshenko\ipgeobaseclient\exceptions;

/**
* Class IPNotFoundException
*
* @package eugenechernyshenko\ipgeobaseclient\exceptions
*/
class IPNotFoundException extends ClientException
{

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?php

namespace eugenechernyshenko\ipgeobaseclient\exceptions;

/**
* Class InvalidIPException
*
* @package eugenechernyshenko\ipgeobaseclient\exceptions
*/
class InvalidIPException extends ClientException
{

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?php

namespace eugenechernyshenko\ipgeobaseclient\exceptions;

/**
* Class ResponseException
*
* @package eugenechernyshenko\ipgeobase\client\exceptions
*/
class ResponseException extends ClientException
{

}

0 comments on commit 14958a0

Please sign in to comment.