@@ -26,7 +26,7 @@ public function setUp(): void
2626 $ this ->loop = new StreamSelectLoop ();
2727 }
2828
29- public function testPing ()
29+ public function testPing (): void
3030 {
3131 $ redis = new RedisClient ($ this ->uri , null , $ this ->loop );
3232
@@ -38,7 +38,7 @@ public function testPing()
3838 $ this ->assertEquals ('PONG ' , $ ret );
3939 }
4040
41- public function testPingLazy ()
41+ public function testPingLazy (): void
4242 {
4343 $ redis = new RedisClient ($ this ->uri , null , $ this ->loop );
4444
@@ -53,7 +53,7 @@ public function testPingLazy()
5353 /**
5454 * @doesNotPerformAssertions
5555 */
56- public function testPingLazyWillNotBlockLoop ()
56+ public function testPingLazyWillNotBlockLoop (): void
5757 {
5858 $ redis = new RedisClient ($ this ->uri , null , $ this ->loop );
5959
@@ -65,7 +65,7 @@ public function testPingLazyWillNotBlockLoop()
6565 /**
6666 * @doesNotPerformAssertions
6767 */
68- public function testLazyClientWithoutCommandsWillNotBlockLoop ()
68+ public function testLazyClientWithoutCommandsWillNotBlockLoop (): void
6969 {
7070 $ redis = new RedisClient ($ this ->uri , null , $ this ->loop );
7171
@@ -74,7 +74,7 @@ public function testLazyClientWithoutCommandsWillNotBlockLoop()
7474 unset($ redis );
7575 }
7676
77- public function testMgetIsNotInterpretedAsSubMessage ()
77+ public function testMgetIsNotInterpretedAsSubMessage (): void
7878 {
7979 $ redis = new RedisClient ($ this ->uri , null , $ this ->loop );
8080
@@ -86,7 +86,7 @@ public function testMgetIsNotInterpretedAsSubMessage()
8686 await ($ promise , $ this ->loop );
8787 }
8888
89- public function testPipeline ()
89+ public function testPipeline (): void
9090 {
9191 $ redis = new RedisClient ($ this ->uri , null , $ this ->loop );
9292
@@ -98,7 +98,7 @@ public function testPipeline()
9898 await ($ promise , $ this ->loop );
9999 }
100100
101- public function testInvalidCommand ()
101+ public function testInvalidCommand (): void
102102 {
103103 $ redis = new RedisClient ($ this ->uri , null , $ this ->loop );
104104 $ promise = $ redis ->doesnotexist (1 , 2 , 3 );
@@ -112,7 +112,7 @@ public function testInvalidCommand()
112112 await ($ promise , $ this ->loop );
113113 }
114114
115- public function testMultiExecEmpty ()
115+ public function testMultiExecEmpty (): void
116116 {
117117 $ redis = new RedisClient ($ this ->uri , null , $ this ->loop );
118118 $ redis ->multi ()->then ($ this ->expectCallableOnceWith ('OK ' ));
@@ -121,7 +121,7 @@ public function testMultiExecEmpty()
121121 await ($ promise , $ this ->loop );
122122 }
123123
124- public function testMultiExecQueuedExecHasValues ()
124+ public function testMultiExecQueuedExecHasValues (): void
125125 {
126126 $ redis = new RedisClient ($ this ->uri , null , $ this ->loop );
127127
@@ -135,7 +135,7 @@ public function testMultiExecQueuedExecHasValues()
135135 await ($ promise , $ this ->loop );
136136 }
137137
138- public function testPubSub ()
138+ public function testPubSub (): void
139139 {
140140 $ consumer = new RedisClient ($ this ->uri , null , $ this ->loop );
141141 $ producer = new RedisClient ($ this ->uri , null , $ this ->loop );
@@ -156,7 +156,7 @@ public function testPubSub()
156156 await ($ deferred ->promise (), $ this ->loop , 0.1 );
157157 }
158158
159- public function testClose ()
159+ public function testClose (): void
160160 {
161161 $ redis = new RedisClient ($ this ->uri , null , $ this ->loop );
162162
@@ -167,7 +167,7 @@ public function testClose()
167167 $ redis ->get ('willBeRejectedRightAway ' )->then (null , $ this ->expectCallableOnce ());
168168 }
169169
170- public function testCloseLazy ()
170+ public function testCloseLazy (): void
171171 {
172172 $ redis = new RedisClient ($ this ->uri , null , $ this ->loop );
173173
0 commit comments