@@ -30,7 +30,8 @@ public function testToString()
3030
3131 public function testClose ()
3232 {
33- $ stream = new CallbackStream (function () {});
33+ $ stream = new CallbackStream (function () {
34+ });
3435
3536 $ stream ->close ();
3637
@@ -41,15 +42,17 @@ public function testClose()
4142
4243 public function testDetach ()
4344 {
44- $ callback = function () {};
45+ $ callback = function () {
46+ };
4547 $ stream = new CallbackStream ($ callback );
4648 $ ret = $ stream ->detach ();
4749 $ this ->assertSame ($ callback , $ ret );
4850 }
4951
5052 public function testEof ()
5153 {
52- $ stream = new CallbackStream (function () {});
54+ $ stream = new CallbackStream (function () {
55+ });
5356 $ ret = $ stream ->eof ();
5457 $ this ->assertFalse ($ ret );
5558
@@ -60,7 +63,8 @@ public function testEof()
6063
6164 public function testGetSize ()
6265 {
63- $ stream = new CallbackStream (function () {});
66+ $ stream = new CallbackStream (function () {
67+ });
6468 $ ret = $ stream ->getSize ();
6569 $ this ->assertNull ($ ret );
6670 }
@@ -70,27 +74,31 @@ public function testGetSize()
7074 */
7175 public function testTell ()
7276 {
73- $ stream = new CallbackStream (function () {});
77+ $ stream = new CallbackStream (function () {
78+ });
7479 $ stream ->tell ();
7580 }
7681
7782 public function testIsSeekable ()
7883 {
79- $ stream = new CallbackStream (function () {});
84+ $ stream = new CallbackStream (function () {
85+ });
8086 $ ret = $ stream ->isSeekable ();
8187 $ this ->assertFalse ($ ret );
8288 }
8389
8490 public function testIsWritable ()
8591 {
86- $ stream = new CallbackStream (function () {});
92+ $ stream = new CallbackStream (function () {
93+ });
8794 $ ret = $ stream ->isWritable ();
8895 $ this ->assertFalse ($ ret );
8996 }
9097
9198 public function testIsReadable ()
9299 {
93- $ stream = new CallbackStream (function () {});
100+ $ stream = new CallbackStream (function () {
101+ });
94102 $ ret = $ stream ->isReadable ();
95103 $ this ->assertFalse ($ ret );
96104 }
@@ -100,7 +108,8 @@ public function testIsReadable()
100108 */
101109 public function testSeek ()
102110 {
103- $ stream = new CallbackStream (function () {});
111+ $ stream = new CallbackStream (function () {
112+ });
104113 $ stream ->seek (0 );
105114 }
106115
@@ -109,7 +118,8 @@ public function testSeek()
109118 */
110119 public function testRewind ()
111120 {
112- $ stream = new CallbackStream (function () {});
121+ $ stream = new CallbackStream (function () {
122+ });
113123 $ stream ->rewind ();
114124 }
115125
@@ -118,7 +128,8 @@ public function testRewind()
118128 */
119129 public function testWrite ()
120130 {
121- $ stream = new CallbackStream (function () {});
131+ $ stream = new CallbackStream (function () {
132+ });
122133 $ stream ->write ('foobarbaz ' );
123134 }
124135
@@ -127,7 +138,8 @@ public function testWrite()
127138 */
128139 public function testRead ()
129140 {
130- $ stream = new CallbackStream (function () {});
141+ $ stream = new CallbackStream (function () {
142+ });
131143 $ stream ->read (3 );
132144 }
133145
@@ -143,7 +155,8 @@ public function testGetContents()
143155
144156 public function testGetMetadata ()
145157 {
146- $ stream = new CallbackStream (function () {});
158+ $ stream = new CallbackStream (function () {
159+ });
147160
148161 $ ret = $ stream ->getMetadata ('stream_type ' );
149162 $ this ->assertEquals ('callback ' , $ ret );
0 commit comments