@@ -24,7 +24,7 @@ public function testResources()
2424 return rand ();
2525 });
2626 CLI ::setResource ('first ' , function ($ second ) {
27- return 'first- ' . $ second ;
27+ return 'first- ' . $ second ;
2828 }, ['second ' ]);
2929 CLI ::setResource ('second ' , function () {
3030 return 'second ' ;
@@ -93,7 +93,7 @@ public function testAppArray()
9393 ->param ('email ' , null , new Text (0 ), 'Valid email address ' )
9494 ->param ('list ' , null , new ArrayList (new Text (256 )), 'List of strings ' )
9595 ->action (function ($ email , $ list ) {
96- echo $ email . '- ' . implode ('- ' , $ list );
96+ echo $ email. '- ' . implode ('- ' , $ list );
9797 });
9898
9999 $ cli ->run ();
@@ -112,15 +112,15 @@ public function testGetTasks()
112112 ->param ('email ' , null , new Text (0 ), 'Valid email address ' )
113113 ->param ('list ' , null , new ArrayList (new Text (256 )), 'List of strings ' )
114114 ->action (function ($ email , $ list ) {
115- echo $ email . '- ' . implode ('- ' , $ list );
115+ echo $ email. '- ' . implode ('- ' , $ list );
116116 });
117117
118118 $ cli
119119 ->task ('build2 ' )
120120 ->param ('email ' , null , new Text (0 ), 'Valid email address ' )
121121 ->param ('list ' , null , new ArrayList (new Text (256 )), 'List of strings ' )
122122 ->action (function ($ email , $ list ) {
123- echo $ email . '- ' . implode ('- ' , $ list );
123+ echo $ email. '- ' . implode ('- ' , $ list );
124124 });
125125
126126 $ this ->assertCount (2 , $ cli ->getTasks ());
@@ -135,15 +135,15 @@ public function testGetArgs()
135135 ->param ('email ' , null , new Text (0 ), 'Valid email address ' )
136136 ->param ('list ' , null , new ArrayList (new Text (256 )), 'List of strings ' )
137137 ->action (function ($ email , $ list ) {
138- echo $ email . '- ' . implode ('- ' , $ list );
138+ echo $ email. '- ' . implode ('- ' , $ list );
139139 });
140140
141141 $ cli
142142 ->task ('build2 ' )
143143 ->param ('email ' , null , new Text (0 ), 'Valid email address ' )
144144 ->param ('list ' , null , new ArrayList (new Text (256 )), 'List of strings ' )
145145 ->action (function ($ email , $ list ) {
146- echo $ email . '- ' . implode ('- ' , $ list );
146+ echo $ email. '- ' . implode ('- ' , $ list );
147147 });
148148
149149 $ this ->assertCount (2 , $ cli ->getArgs ());
@@ -173,7 +173,7 @@ public function testHook()
173173 ->param ('email ' , null , new Text (0 ), 'Valid email address ' )
174174 ->param ('list ' , null , new ArrayList (new Text (256 )), 'List of strings ' )
175175 ->action (function ($ email , $ list ) {
176- echo $ email . '- ' . implode ('- ' , $ list );
176+ echo $ email. '- ' . implode ('- ' , $ list );
177177 });
178178
179179 \ob_start ();
@@ -195,7 +195,7 @@ public function testInjection()
195195 ->inject ('test ' )
196196 ->param ('email ' , null , new Text (15 ), 'valid email address ' )
197197 ->action (function ($ test , $ email ) {
198- echo $ test . '- ' . $ email ;
198+ echo $ test. '- ' . $ email ;
199199 });
200200
201201 $ cli ->run ();
@@ -214,15 +214,15 @@ public function testMatch()
214214 ->param ('email ' , null , new Text (0 ), 'Valid email address ' )
215215 ->param ('list ' , null , new ArrayList (new Text (256 )), 'List of strings ' )
216216 ->action (function ($ email , $ list ) {
217- echo $ email . '- ' . implode ('- ' , $ list );
217+ echo $ email. '- ' . implode ('- ' , $ list );
218218 });
219219
220220 $ cli
221221 ->task ('build2 ' )
222222 ->param ('email ' , null , new Text (0 ), 'Valid email address ' )
223223 ->param ('list ' , null , new ArrayList (new Text (256 )), 'List of strings ' )
224224 ->action (function ($ email , $ list ) {
225- echo $ email . '- ' . implode ('- ' , $ list );
225+ echo $ email. '- ' . implode ('- ' , $ list );
226226 });
227227
228228 $ this ->assertEquals ('build2 ' , $ cli ->match ()->getName ());
@@ -234,15 +234,15 @@ public function testMatch()
234234 ->param ('email ' , null , new Text (0 ), 'Valid email address ' )
235235 ->param ('list ' , null , new ArrayList (new Text (256 )), 'List of strings ' )
236236 ->action (function ($ email , $ list ) {
237- echo $ email . '- ' . implode ('- ' , $ list );
237+ echo $ email. '- ' . implode ('- ' , $ list );
238238 });
239239
240240 $ cli
241241 ->task ('build2 ' )
242242 ->param ('email ' , null , new Text (0 ), 'Valid email address ' )
243243 ->param ('list ' , null , new ArrayList (new Text (256 )), 'List of strings ' )
244244 ->action (function ($ email , $ list ) {
245- echo $ email . '- ' . implode ('- ' , $ list );
245+ echo $ email. '- ' . implode ('- ' , $ list );
246246 });
247247
248248 $ this ->assertEquals (null , $ cli ->match ());
0 commit comments