Skip to content

Commit

Permalink
changes namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
mp3000mp committed Nov 1, 2020
1 parent 259ab93 commit e5cdafb
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 13 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# RedisClient

Simple class easy to use that wraps Redis extension without dependencies.

![Packagist Version](https://img.shields.io/packagist/v/mp3000mp/redis-client?color=%230273b3)
Expand All @@ -18,7 +19,7 @@ Installation
------------

```sh
composer require mp3000mp/RedisClient
composer require mp3000mp/redis-client
```


Expand Down Expand Up @@ -55,7 +56,7 @@ Use with Symfony
Add this to services.yml
```yml

mp3000mp\RedisClient\RedisClient:
Mp3000mp\RedisClient\RedisClient:
arguments: ['%env(REDIS_HOST)%', '%env(REDIS_PORT)%', '%env(REDIS_AUTH)%']

```
10 changes: 4 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
{
"name": "mp3000mp/redis-client",
"type": "library",
"license": "Apache 2.0",
"license": "Apache-2.0",
"description": "Simple class easy to use that wraps Redis extension without dependencies.",
"keywords": [
"redis"
],
"keywords": ["redis"],
"homepage": "https://github.com/mp3000mp/RedisClient",
"authors": [
{
Expand All @@ -15,12 +13,12 @@
],
"autoload": {
"psr-4": {
"mp3000mp\\RedisClient\\": "src/"
"Mp3000mp\\RedisClient\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"mp3000mp\\RedisClient\\Tests\\": "tests/"
"Mp3000mp\\RedisClient\\Tests\\": "tests/"
}
},
"require": {
Expand Down
2 changes: 1 addition & 1 deletion src/RedisClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace mp3000mp\RedisClient;
namespace Mp3000mp\RedisClient;

use Redis;

Expand Down
2 changes: 1 addition & 1 deletion src/RedisClientException.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

namespace mp3000mp\RedisClient;
namespace Mp3000mp\RedisClient;

class RedisClientException extends \Exception
{
Expand Down
6 changes: 3 additions & 3 deletions tests/RedisClientTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

declare(strict_types=1);

namespace mp3000mp\RedisClient\Tests;
namespace Mp3000mp\RedisClient\Tests;

use mp3000mp\RedisClient\RedisClient;
use mp3000mp\RedisClient\RedisClientException;
use Mp3000mp\RedisClient\RedisClient;
use Mp3000mp\RedisClient\RedisClientException;
use PHPUnit\Framework\TestCase;

/**
Expand Down

0 comments on commit e5cdafb

Please sign in to comment.