@@ -29,7 +29,7 @@ protected function setUp(): void
2929 public function tearDown (): void
3030 {
3131 $ this ->comparisonFormatter = null ;
32- $ this ->operatorMock = null ;
32+ $ this ->operatorMock = null ;
3333 }
3434
3535 public function testEqual ()
@@ -51,8 +51,8 @@ public function testEqualCI()
5151 ['match ' => [
5252 'email ' => [
5353 'query ' => 'text@example.com ' ,
54- 'type ' => 'phrase '
55- ]
54+ 'type ' => 'phrase ' ,
55+ ],
5656 ]],
5757 $ this ->comparisonFormatter ->format ('email ' , $ this ->operatorMock , new SingleValue ('text@example.com ' ))
5858 );
@@ -69,8 +69,8 @@ public function testEqualCIEsVersion7()
6969 $ this ->assertEquals (
7070 ['match ' => [
7171 'email ' => [
72- 'query ' => 'text@example.com '
73- ]
72+ 'query ' => 'text@example.com ' ,
73+ ],
7474 ]],
7575 $ comparisonFormatter ->format ('email ' , $ this ->operatorMock , new SingleValue ('text@example.com ' ))
7676 );
@@ -157,10 +157,10 @@ public function testTimeFromInMinutes()
157157 $ this ->assertEquals ([
158158 'range ' => [
159159 'online ' => [
160- 'gt ' => strtotime ("-15 minute " , time ()),
160+ 'gt ' => strtotime ("-15 minute " , time ()),
161161 'format ' => 'epoch_second ' ,
162- ]
163- ]
162+ ],
163+ ],
164164 ], $ this ->comparisonFormatter ->format ('online ' , $ this ->operatorMock , new SingleValue (15 )));
165165 }
166166
@@ -214,12 +214,10 @@ public function testQueryString()
214214
215215 $ this ->assertEquals (
216216 [
217- 'query ' => [
218- 'query_string ' => [
219- 'query ' => 'username: *test* OR email: *test* ' ,
220- 'analyze_wildcard ' => true ,
221- ],
222- ]
217+ 'query_string ' => [
218+ 'query ' => 'username: *test* OR email: *test* ' ,
219+ 'analyze_wildcard ' => true ,
220+ ],
223221 ],
224222 $ this ->comparisonFormatter
225223 ->format ('' , $ this ->operatorMock , new SingleValue ('username: *test* OR email: *test* ' ))
@@ -237,8 +235,8 @@ public function testQueryStringVersion7()
237235 $ this ->assertEquals (
238236 [
239237 'query_string ' => [
240- 'query ' => 'username: *test* OR email: *test* '
241- ]
238+ 'query ' => 'username: *test* OR email: *test* ' ,
239+ ],
242240 ],
243241 $ comparisonFormatter ->format ('' , $ this ->operatorMock , new SingleValue ('username: *test* OR email: *test* ' ))
244242 );
0 commit comments