File tree Expand file tree Collapse file tree 4 files changed +33
-3
lines changed Expand file tree Collapse file tree 4 files changed +33
-3
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " cheprasov/php-redis-client" ,
3
- "version" : " 1.0 .0" ,
3
+ "version" : " 1.1 .0" ,
4
4
"description" : " Php client for Redis" ,
5
5
"homepage" : " http://github.com/cheprasov/php-redis-client" ,
6
6
"minimum-stability" : " stable" ,
Original file line number Diff line number Diff line change 18
18
use RedisClient \Protocol \ProtocolInterface ;
19
19
use RedisClient \Protocol \RedisProtocol ;
20
20
21
-
22
21
abstract class AbstractRedisClient {
23
22
24
- const VERSION = '1.0 .0 ' ;
23
+ const VERSION = '1.1 .0 ' ;
25
24
26
25
const CONFIG_SERVER = 'server ' ;
27
26
const CONFIG_TIMEOUT = 'timeout ' ;
Original file line number Diff line number Diff line change 282
282
* Hashes
283
283
* @method Pipeline3x2 hstrlen($key, $field)
284
284
*
285
+ * Scripting
286
+ * @method Pipeline3x2 scriptDebug($param)
287
+ *
288
+ * Server
289
+ * @method Pipeline3x2 clientReply($param)
290
+ *
285
291
* Sets
286
292
* @method Pipeline3x2 spop($key, $count = null)
287
293
*
Original file line number Diff line number Diff line change
1
+ <?php
2
+ /**
3
+ * This file is part of RedisClient.
4
+ * git: https://github.com/cheprasov/php-redis-client
5
+ *
6
+ * (C) Alexander Cheprasov <[email protected] >
7
+ *
8
+ * For the full copyright and license information, please view the LICENSE
9
+ * file that was distributed with this source code.
10
+ */
11
+ namespace Test \Build ;
12
+
13
+ use RedisClient \Client \AbstractRedisClient ;
14
+
15
+ class VersionTest extends \PHPUnit_Framework_TestCase {
16
+
17
+ public function test_version () {
18
+ chdir (__DIR__ .'/../../ ' );
19
+ $ composer = json_decode (file_get_contents ('./composer.json ' ), true );
20
+
21
+ $ this ->assertSame (true , isset ($ composer ['version ' ]));
22
+ $ this ->assertSame (AbstractRedisClient::VERSION , $ composer ['version ' ]);
23
+ }
24
+
25
+ }
You can’t perform that action at this time.
0 commit comments